attractorr icon indicating copy to clipboard operation
attractorr copied to clipboard

Tool written in Rust to search for torrents

Attractorr

GitHub Actions Build Status Crates.io Version Crates.io Downloads AUR version

Attractorr attracts magnets!

It is a tool, written in Rust, to search on various websites and APIs for magnet links.

Supported Websites

  • 1337x
  • YTS
  • piratebay
  • torrent-csv

Building

On Linux, make sure to have openssl installed:

# ArchLinux
$ sudo pacman -S openssl
# Ubuntu
$ sudo apt-get install libssl-dev

Then just use cargo to build

$ cargo build

Install

cargo install attractorr

Distro Packages

Arch Linux

On Arch Linux it is available from the AUR. You can use an AUR helper to install:

paru -S attractorr

Usage

Just execute

$ cargo run "search term"

To search for "search term" in all supported sources.

With --search-providers one may limit the sources:

$ cargo run -- --sort seeders --search-providers yts,pirate-bay,torrent-csv test

Alternatives

Here is a list of projects which do similar things:

  • https://crates.io/crates/tpb
  • https://crates.io/crates/torrentfind/
  • https://crates.io/crates/nyaadesu
  • https://crates.io/crates/ktorrent
  • https://crates.io/crates/magnetfinder
  • https://crates.io/crates/kickasstorrent

License

Licensed under either of

  • Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

at your option.