You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Heretic beadb8bfed Updating torrents-csv-data. 2 weeks ago
data@b207584cd0 Updating torrents-csv-data. 2 weeks ago
docker Upping version. 4 weeks ago
src Fix clippy 4 months ago
ui@0002d8a722 Updating torrents-csv-data. 9 months ago
.gitignore First re-org commit. 1 year ago
.gitmodules Adding data and ui submodules. 11 months ago
.rustfmt.toml First re-org commit. 1 year ago
Cargo.lock Upgrading deps 3 months ago
Cargo.toml Upgrading deps 3 months ago
README.md Updating API. 10 months ago
build_sqlite.sh Refactored docker-compose file. 11 months ago
search.sh Adding search.md tool 11 months ago
update_data.sh Updating API. 10 months ago

README.md

Torrents.csv

Demo Server

Torrents.csv is a collaborative repository of torrents and their files, consisting of a searchable torrents.csv, and torrent_files.csv. With it you can search for torrents, or files within torrents. It aims to be a universal file system for popular data.

Its initially populated with a January 2017 backup of the pirate bay, and new torrents are periodically added from various torrents sites. It comes with a self-hostable Torrents.csv webserver, a command line search, and a folder scanner to add torrents, and their files.

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

img

To request more torrents, or add your own, go here.

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

Webserver

Torrents.csv comes with a simple webserver. Demo Server

Docker

wget https://codeberg.org/heretic/torrents-csv-server/raw/branch/main/docker/prod/docker-compose.yml
docker-compose up -d

And goto http://localhost:8902

Docker Development

git clone --recurse-submodules https://codeberg.org/heretic/torrents-csv-server
cd torrents-csv-server/docker/dev
./docker_update.sh

Command Line Searching

Requirements

Running

git clone --recurse-submodules https://codeberg.org/heretic/torrents-csv-server
cd torrents-csv-server
./search.sh "bleh season 1"
bleh season 1 (1993-)
	seeders: 33
	size: 13GiB
	link: magnet:?xt=urn:btih:INFO_HASH_HERE

API

A JSON output of search results is available at:

http://localhost:8902/service/search?q=[QUERY]&size=[NUMBER_OF_RESULTS]&page=[PAGE]&type=[torrent | file]

New torrents are at:

http://localhost:8902/service/new?size=[NUMBER_OF_RESULTS]&page=[PAGE]&type=[torrent | file]