Application de notification via pushover et discord pour les lives Twitch, avec interface web pour ajouter et supprimer les chaînes à surveiller.
- Notification en temps réel des streams Twitch via pushover et discord
- Interface utilisateur moderne et réactive
- Node.js (v16 ou supérieur)
- npm ou yarn
- Compte Twitch avec accès à l'API
- Compte Pushover
- Compte Discord
-
Cloner le dépôt :
git clone https://github.com/zlimteck/twitchnotifier.git cd twitchnotifier -
Installer les dépendances :
# Avec npm npm install # Ou avec yarn yarn install
-
Configurer les variables d'environnement : Créez un fichier
.envà la racine du projet avec les variables nécessaires :PUSHOVER_TOKEN=token PUSHOVER_USER=user TWITCH_CLIENT_ID=id TWITCH_CLIENT_SECRET=secret TWITCH_REFRESH_TOKEN=token PORT=port DISCORD_WEBHOOK_URL=webhook
Lancer l'application en mode développement :
# Démarrage du serveur backend
cd backend
node server.jsLancer l'application via Docker :
docker build -t twitchnotifier .
docker run -d \
--env-file backend/.env \
-p 3786:3786 \
--name twitchnotifier \
-v /path/to/backend/channels.json:/app/backend/channels.json \
twitchnotifier
