Giter VIP home page Giter VIP logo

autotorrent2's Introduction

Autotorrent2

Test result

Match torrents and data, remove torrents based on data, cleanup your disk for unseeded files. Autotorrent2 does everything you currently miss in your flow.

Supported

  • Torrent clients: rtorrent, Deluge, Transmission and qBittorrent
  • OS: Any, but only tested on linux
  • Python: 3.7+ are the only tested versions, might work with lower 3.x.

Quickstart guide

Install Autotorrent2

python3 -m venv ~/.autotorrent # Create virtual environment where we install autotorrent2
~/.autotorrent/bin/pip install autotorrent2 # Actually install autotorrent2

# Optional, add at2 to your commandline
echo "alias at2=~/.autotorrent/bin/at2" >> ~/.bashrc
source ~/.bashrc

The first time Autotorrent2 is run without a known config file, it will create a base config file.

at2 check-config

The default location is ~/.config/autotorrent/config.toml - edit it to match your setup. See the example configuration file for setting description found here.

Test the connections and see if it can connect to all your configured clients.

at2 test-connection

Now you are ready to actually use it, check out the Usage page for fun things to do and CLI page for featurelist

Note about running autotorrent2 in a script

It can be fun to run scripts automatically and see cross-seeding just happen. Autotorrent2 is not really designed for multiple instances at once so it is recommenced to use a lock to prevent this.

Instead of just at2 then use e.g. flock ~/.autotorrent.lock -c 'at2' which prevents multiple instances of Autototrrent2 at once.

Note about Docker

If you use Autotorrent2 in a docker container or with a torrent client running in docker then the recommendation is to align the paths. If your torrent data is located in /mnt/data outside docker then you should map it similarly inside the docker container and you will save yourself from a lot of headaches.

Personally I recommend mounting your data source as read-only because bittorrent clients are write-happy that might corrupt your data.

Todo

Assortment of stuff that is planned.

  • When Autotorrent2 is working on a task, e.g. copying a file to cache, then it might look like as it is stalled. An indicator should be added.
  • Client normalization indexing, e.g. index based on how transmission and qbittorrent handles problematic filenames
  • Torrent discovery for a torrent site.

Known bugs

Assortment of stuff I am not sure I can do much about.

  • Transmission (3.x) does not parse all emojis correctly and will return the wrong filename

License

MIT

autotorrent2's People

Contributors

johndoee avatar kannibalox avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.