Commit initial
This commit is contained in:
23
README.md
Normal file
23
README.md
Normal 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)
|
||||
Reference in New Issue
Block a user