7 Commits
v4.0 ... main

Author SHA1 Message Date
961c24a6c6 Better README 2025-07-13 15:02:55 +00:00
a16db7be01 Better formatting 2025-07-13 15:01:54 +00:00
92db785511 Fixed typo 2025-07-13 15:00:51 +00:00
1f3db4dec8 Renamed 2025-07-13 14:59:21 +00:00
1edaa2c71d Screenshot better resolution + added "how it works" scheme + typo fixing. 2025-07-13 14:58:29 +00:00
004d227fd1 Fixed readme + docker compose 2025-07-12 22:48:17 +00:00
40d83cad12 Readme + docker compose fix 2025-07-12 22:47:45 +00:00
6 changed files with 29 additions and 24 deletions

View File

@ -11,9 +11,13 @@
**🤖 Nvidia Stock Bot** - A bot that alerts you in real-time about **Nvidia RTX FE** GPU stock availability through Discord notifications.
> [!NOTE]
>_The code was partially written and structured using a generative AI._
>
>_Github repo is a mirror of https://git.djeex.fr/Djeex/nvidia-stock-bot. You'll find full package, history and release note there._
>_Github repo is a mirror of https://git.djeex.fr/Djeex/nvidia-stock-bot. You'll find full package, history and release note there. LLM used for bugs check and languages files generation._
## 🖼️ Screenshots
<div align="center" >
<img src="https://git.djeex.fr/Djeex/nvidia-stock-bot/raw/branch/main/assets/img/nvidia-stock-bot-discord-screenshot.png" alt="Nvidia Stock Bot - screenshots">
</div>
## 📌 Table of Contents
@ -21,8 +25,8 @@
- [🐳 Docker Installation without cloning the repo (quick)](#-docker-installation-without-the-repo-quick)
- [🐙 Docker Installation with the repo (developer)](#-docker-installation-with-the-repo)
- [🐍 Python Installation (developer)](#-python-installation)
- [🖼️ Screenshots](#-screenshots)
- [🐞 Common issues](#-common-issues)
- [❓ How it works](#-how-it-works)
- [🧑‍💻 Contributors](#-contributors)
## ✨ Features
@ -68,8 +72,7 @@ services:
|---------------------|-------------------------------------------------|------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|
| `PRODUCT_NAMES` | The exact GPU names you're searching for | `RTX 5080, RTX 5090` | |
| `DISCORD_WEBHOOK_URL` | Your Discord webhook URL | A valid URL | |
| `COUNTRY` | Your country (only one). API localization, Discord notification currency and language will be set accordingly | `GB`, `US`, `CA`, `BE`, `NL`, `DK`, `DE`, `ES`, `FR`, `IT`, `NO`, `AT`, `PL`, `FI`, `SE`, `KR`, `JP`
| `US` |
| `COUNTRY` | Your country (only one). API localization, Discord notification currency and language will be set accordingly | `GB`, `US`, `CA`, `BE`, `NL`, `DK`, `DE`, `ES`, `FR`, `IT`, `NO`, `AT`, `PL`, `FI`, `SE`, `KR`, `JP` | `US` |
| `DISCORD_SERVER_NAME` | The name of your server, displayed in notification's footer | A text | Shared for free |
| `DISCORD_ROLES` | List of Discord roles ID in the same order than `PRODUCT_NAMES` values, found in your discord server settings (with user profile developer mode enabled) | `<@&12345><@&6789>` | @everyone |
| `REFRESH_TIME` | Script refresh interval in seconds | `60`, `30`, etc. | `30` |
@ -151,7 +154,7 @@ git clone https://git.djeex.fr/Djeex/nvidia-stock-bot.git
```sh
export DISCORD_WEBHOOK_URL="https://your_discord_url"
export COUNTRY=
export COUNTRY=US
export PRODUCT_NAMES=RTX 5080, RTX 5090
export DISCORD_ROLES=<@&12345>, <@&6789>
export REFRESH_TIME="60"
@ -165,19 +168,19 @@ export PYTHONUNBUFFERED=1
python nvidia-stock-bot.py
```
## 🖼️ Screenshots
<div align="center" >
<img src="https://git.djeex.fr/Djeex/nvidia-stock-bot/raw/branch/main/assets/img/nvidia-stock-bot-discord.png" alt="Nvidia Stock Bot - screenshots">
</div>
## 🐞 Common issues
Error when trying to reach product API url :
- `API_SKU_URL` may be wrong
- Custom `API_SKU_URL` may be wrong
- Your IP may be blacklisted by nvidia. Try to use a VPN.
- nvidia API may be down
## ❓ How it works
<div align="center" >
<img src="https://git.djeex.fr/Djeex/nvidia-stock-bot/raw/branch/main/assets/img/nvidia-stock-bot-scheme.svg" alt="Nvidia Stock Bot - screenshots">
</div>
## 🧑‍💻 Contributors
Thanks for their contributions:

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 739 KiB

View File

@ -1,5 +1,3 @@
PRODUCT_NAMES= # Exact GPU name (e.g. "RTX 5080, RTX 5090")
DISCORD_WEBHOOK_URL= # Your Discord webhook URL
API_URL_SKU= # API listing the product for your country
API_URL_STOCK= # API providing stock data for your country
PRODUCT_URL= # GPU purchase URL for your country
COUNTRY= # Set your country (e.g. 'US')

View File

@ -7,10 +7,9 @@ services:
- .env
environment:
# Minimal environment variables
- PRODUCT_NAMES= # Exact GPU name (e.g. "RTX 5080, RTX 5090")
- DISCORD_WEBHOOK_URL= # Your Discord webhook URL
- DISCORD_NOTIFICATION_CURRENCY= # Set your country currency
- API_URL_SKU= # API listing the product for your country
- API_URL_STOCK= # API providing stock data for your country
- PRODUCT_URL= # GPU purchase URL for your country
- PYTHONUNBUFFERED=1 # Enables real-time log output
environment:
# Minimal environment variables
- PRODUCT_NAMES=${PRODUCT_NAMES}
- DISCORD_WEBHOOK_URL=${DISCORD_WEBHOOK_URL}
- COUNTRY=${COUNTRY}
- PYTHONUNBUFFERED=1