Skip to content

red-avtovo/r_trans_bot_rs

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages