A Telegram bot that watches nyaa.si for new anime episodes from SubsPlease and Erai-raws, and auto-downloads new episodes for your subscriptions.
-
Copy
.env.exampleto.envand fill in your bot token and Telegram user id:BOT_TOKEN=your-telegram-bot-token ADMIN_ID=your-telegram-user-id -
Run it:
docker compose up --build -d
-
Message your bot
/startin Telegram.
Everything else (downloader connection, poll interval, subscriptions) is configured through the bot itself, and stored in data/db.json.
- Settings: connect your torrent client's Web UI and set how often the bot polls nyaa.si.
- Add Subscription: enter the exact release title, pick a provider and a resolution.
- Subscriptions: view or remove existing subscriptions.
Only the Telegram user in ADMIN_ID can use the bot.
npm install
npm run dev # run with tsx
npm run build # bundle to dist/bot.js