Pronote Notifier is a Python script that periodically checks for new grades on Pronote and sends notifications to a Discord channel using webhooks.
- Python 3.8+
discord_webhookpronotepycoloramarequests
-
Clone the repository:
git clone https://github.com/Awakno/PronoteNotifier.git cd PronoteNotifier -
Install the required packages:
pip install -r requirements.txt
-
Create a
.envfile based on the.env.examplefile and fill in your Pronote credentials and Discord webhook URL:cp .env.example .env
-
Edit the
.envfile with your credentials and webhook URLs:# Crendentials for the pronote account PRONOTE_URL="https://your-pronote-url" PRONOTE_USERNAME="your-username" PRONOTE_PASSWORD="your-password" # Webhook DISCORD_WEBHOOK_URL="your-discord-webhook-url" CUSTOM_WEBHOOK_URL="your-custom-webhook-url" CUSTOM_WEBHOOK_PASS="your-custom-webhook-pass" # Telegram (optional) TELEGRAM_BOT_TOKEN="your-bot-token" TELEGRAM_CHAT_ID="your-chat-id" # Debug (optional) DEBUG=True # Optional: limit EDT fetch horizon (default 14 days) PRONOTE_EDT_DAYS=14
Run the script:
python main.pyBuild & run with Docker Compose (uses .env for configuration):
docker compose up --buildOr plain Docker:
docker build -t pronote-notifier .
docker run --rm --env-file .env pronote-notifierOptional: run a quick configuration check before starting (verifies env keys and imports):
python scripts/health_check.pyEnjoy ⭐