Go to file
Dessalines dbe5fa16d3 Updates from skytorrents. 2018-10-22 17:08:12 -07:00
new_torrents_fetcher Adding a fetch from skytorrents 2018-10-11 21:13:04 -07:00
scripts Updates from skytorrents. 2018-10-22 17:08:12 -07:00
server Finishing up library version of ripgrep. 2018-10-22 15:31:34 -07:00
.gitignore Added a Rust + Inferno Webserver. 2018-10-11 14:59:30 -07:00
LICENSE Script mostly working. 2018-10-04 13:23:57 -07:00
README.md Testing library version of ripgrep 2018-10-22 11:55:47 -07:00
search.sh Import of TPB Jan 2017 backup. Updating search and add scripts. Adding prune.sh 2018-10-07 22:43:12 -07:00

README.md

Torrents.csv

Torrents.csv is a collaborative, vetted repository of torrents, consisting of a single, searchable torrents.csv file. Its initially populated with a January 2017 backup of the pirate bay, and new torrents are periodically added from various torrents sites via a rust script.

Torrents.csv will only store torrents with at least one seeder to keep the file small, and will be periodically purged of non-seeded torrents, and sorted by seeders descending.

It also comes with a self-hostable Torrents.csv webserver

img

To request more torrents, or add your own to the file, submit a pull request here.

Made with Rust, ripgrep, Actix, Inferno, Typescript.

Searching

Requirements

Running

To find torrents, run ./search.sh "bleh season 1"

bleh season 1 (1993-)
	seeders: 33
	size: 13GiB
	link: magnet:?xt=urn:btih:INFO_HASH_HERE

Running the webserver

Requirements

  • Rust
  • ripgrep
  • Yarn

Running

Torrents.csv comes with a simple webserver. Run cd scripts && ./webserver.sh, and goto http://localhost:8080

If running on a different host, open up server/ui/src/env.ts and change your hostname.

Uploading

An upload, consists of making a pull request after running the add_torrents.sh script, which adds torrents from a directory you choose to the .csv file, after checking that they aren't already there, and that they have seeders.

Requirements

Running

Click here to fork this repo.

git clone https://gitlab.com/[MY_USER]/torrents.csv
cd torrents.csv/scripts
./add_torrents.sh MY_TORRENTS_DIR # `MY_TORRENTS_DIR` is `~/.local/share/data/qBittorrent/BT_backup/` for qBittorrent on linux, but you can search for where your torrents are stored for your client.
git commit -am "Adding my torrents"
git push

Then click here to do a pull/merge request to my branch.

How the file looks

infohash;name;size_bytes;created_unix;seeders;leechers;completed;scraped_date
# torrents here...

Made with Rust, ripgrep, Actix, Inferno, and Typescript.

Potential sources for new torrents