You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
Heretic e00f7ea279 Adding a dockerignore. 1 year ago
data@f20ce235c0 Updating torrents-csv-data. 1 year ago
docker Updating deploy script 1 year ago
src Adding rusqlite async. Fixes #2 (#3) 1 year ago
ui@5961585fe1 Updating torrents-csv-data. 1 year ago
.dockerignore Adding a dockerignore. 1 year ago
.gitignore First re-org commit. 4 years ago
.gitmodules Updating submodules 1 year ago
.rustfmt.toml Upgrading deps. 2 years ago
Cargo.lock Adding rusqlite async. Fixes #2 (#3) 1 year ago
Cargo.toml Adding rusqlite async. Fixes #2 (#3) 1 year ago
LICENSE Adding license. 2 years ago
README.md Removing file search, using new db import method. 1 year ago
search.sh Adding search.md tool 4 years ago
update_data.sh Updating API. 3 years 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://git.torrents-csv.ml/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://git.torrents-csv.ml/heretic/torrents-csv-server
cd torrents-csv-server/docker/dev
./docker_update.sh

Command Line Searching

Requirements

Running

git clone --recurse-submodules https://git.torrents-csv.ml/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]