Skip to content

Latest commit

 

History

History
executable file
·
60 lines (40 loc) · 1.74 KB

README.md

File metadata and controls

executable file
·
60 lines (40 loc) · 1.74 KB

Remote Transmission Telegram Bot

CI

This bot allows you to send magnet links to bot and start tasks to preconfigured server with preconfigured directories

Build locally

docker build -t bot .

or

# install rustup
sudo apt install gcc pkg-config libssl-dev
cargo build

Run with local .env file

docker run --rm -it --env-file ./.env bot

Migration with diesel cli

cargo install diesel_cli --no-default-features --features postgres

Prepare for testing

docker compose up -d && sleep 3 && export $(grep -v '^#' .env.test | xargs -0) && diesel migration run

Optionally remote init test database

diesel --database-url="postgres://postgres:[email protected]:5432/postgres" migration run

Key features:

  • Download torrents by:
    • magnet link
    • rutracker page link
    • sent file torrent (*)
  • Support multiple servers
  • Friend another user (with friend code)
  • Share server with a friend
  • Share directories with a friend (with poll)
  • Download to a friends server
  • Manage sharing
  • Rename directory aliases
  • Perform actions with confirmation
  • Persist resolved transmission task name even after deletion
Use the bot

Support the project: Donate button