- Copiez cette clé :
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIyQC8hdWHJgc1sct+GFxnbuc9i6ac7LOHKlASiLavdJ croziors@github.com - GitHub.com → Settings → SSH keys → New → Collez → Save
- Téléchargez : https://desktop.docker.com/win/main/amd64/Docker%20Desktop%20Installer.exe
- Installez → Redémarrez → Lancez Docker Desktop
git clone git@github.com:croziors/follower.git
cd followerMéthode Simple :
- Ouvrez Docker Desktop
- Glissez-déposez
docker-compose.ymldans Docker Desktop - Cliquez "Run"
- Attendez 2 minutes
- Cliquez "Open in Browser"
Méthode Pro :
docker-compose up -d --build- Allez sur : http://127.0.0.1:3000
- Console (F12) → Tapez :
testFollower('TestUser') - Vous devriez voir l'animation !
- https://dev.twitch.tv/console → Nouvelle app
- Éditez
config/config.json:
{
"twitch": {
"clientId": "VOTRE_CLIENT_ID",
"clientSecret": "VOTRE_CLIENT_SECRET"
}
}- Console navigateur (F12) :
fetch('/api/setup', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ username: 'VOTRE_NOM_TWITCH' })
})Source Navigateur :
- URL :
http://127.0.0.1:3000 - 150x120px
# Mise à jour
git pull origin main
docker-compose down && docker-compose up -d --build
# Logs
docker-compose logs -f
# Tests
curl http://127.0.0.1:3000/api/test/followerPort occupé : Changez 3000:3000 en 3001:3000 dans docker-compose.yml
Docker ne démarre pas : Redémarrez Docker Desktop
Pas de followers : Vérifiez vos credentials Twitch
- INSTALLATION.md - Guide détaillé
- DOCKER-DESKTOP-GUIDE.md - Interface graphique
- DEPLOY.md - Déploiement avancé
🎉 Vous êtes prêt ! L'overlay fonctionne sur http://127.0.0.1:3000