Commit initial

This commit is contained in:
2026-03-08 01:33:56 +01:00
commit c5f42cf958
8 changed files with 1230 additions and 0 deletions

23
README.md Normal file
View File

@@ -0,0 +1,23 @@
# Torrent Indicator
Widget d'état de torrent. Affiche seeders, leechers, santé et popularité en temps réel à chaque chargement de page.
## Fichiers utiles
| Fichier | Rôle |
|---|---|
| `scrape_server.py` | Serveur Python — interroge les trackers BitTorrent |
| `torrent-scrape.service` | Service systemd pour démarrage automatique |
| `ghost-inject.html` | Snippet à coller dans Ghost (CSS + JS du widget) |
## Démarrage rapide
```bash
# 1. Lancer le serveur (test)
python3 scrape_server.py
# 2. Tester l'API
curl "http://127.0.0.1:8765/?hash=3b245504cf5f11bbdbe1201cea6a6bf45aee1bc0"
```
Documentation complète → [docs/](docs/) · Démo interactive → [demo.html](demo.html)