Magnet Feed Sync is a Telegram bot designed to automate the management of torrent downloads from trackers. It parses pages to extract magnet links, creates download tasks on a Synology NAS, and logs task details in a database. The bot also monitors for updates on tracked pages and schedules new download tasks as needed.
- Automated creation of download tasks on Synology NAS from provided magnet links.
- Real-time interaction and management via Telegram.
- Persistent storage and management of download tasks.
- Database logging for task status and history.
Magnet Feed Sync can be interacted through Telegram commands and automated cron jobs:
Users can send commands to initiate downloads, view active tasks, or manage settings.
To create a new download task, send a message to the bot with tracker page.
Supported Trackers:
Commands:
/get_active_tasks
- Retrieve tasks for monitoring/ping
- Check if bot is running
Set to run every hour, checking for updates on tracked pages and initiating new download tasks if updates are found
Configure the bot using the following environment variables:
SYNOLOGY_URL
: URL to your Synology NAS.SYNOLOGY_USERNAME
: NAS username.SYNOLOGY_PASSWORD
: NAS password.TELEGRAM_TOKEN
: Telegram bot token.TELEGRAM_SUPER_USERS
: Comma-separated list of Telegram user IDs allowed to manage the bot.
To contribute to magnet-feed-sync
, please fork the repository, create a feature branch, and submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.