diff --git a/README.md b/README.md index ca61d20..c4c1e8f 100644 --- a/README.md +++ b/README.md @@ -1,25 +1,25 @@ # Torrent Indicator -![Capture d'ecran du widget](https://git.azuze.fr/kawa/torrent-indicator/raw/branch/main/screenshot.png) +![Screencapture](https://git.azuze.fr/kawa/torrent-indicator/raw/branch/main/screenshot.png) -Widget d'état de torrent. Affiche seeders, leechers, santé et popularité en temps réel à chaque chargement de page. +Torrent health widget. -## Fichiers utiles +## Files -| Fichier | Rôle | +| File | Role | |---|---| -| `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) | +| `scrape_server.py` | Python Server — polls BitTorrent trackers | +| `torrent-scrape.service` | systemd service to autostart the server | +| `ghost-inject.html` | *Optionnal* Paste this snippet in Ghost (Settings > Code injection) | -## Démarrage rapide +## Quick start ```bash -# 1. Lancer le serveur (test) +# 1. Launch the server (test) python3 scrape_server.py -# 2. Tester l'API +# 2. Test the API curl "http://127.0.0.1:8765/?hash=3b245504cf5f11bbdbe1201cea6a6bf45aee1bc0" ``` -[Documentation complète](https://git.azuze.fr/kawa/Torrent-Indicator/wiki/?action=_pages) · [Démo interactive](https://team4kw.fr/trigun-remaster-1080p/#infos) +[Complete documentation](https://git.azuze.fr/kawa/Torrent-Indicator/wiki/?action=_pages) · [Demo page](https://demo.kawa.zip/demo.html)