torrents.csv/README.md

73 lines
2.5 KiB
Markdown
Raw Normal View History

2018-10-04 23:33:33 +00:00
# Torrents.csv
2018-10-03 17:12:12 +00:00
2018-10-11 21:59:30 +00:00
`Torrents.csv` is a collaborative, vetted git 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.
2018-10-09 22:44:49 +00:00
`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.
2018-10-03 17:12:12 +00:00
2018-10-11 21:59:30 +00:00
It also comes with a simple [Torrents.csv webserver](TODO)
2018-10-11 22:11:26 +00:00
![img](https://i.imgur.com/qVmSVMC.png)
2018-10-11 21:59:30 +00:00
To request more torrents, or add your own to the file, submit a pull request here.
Made with [Rust](https://www.rust-lang.org), [ripgrep](https://github.com/BurntSushi/ripgrep), [Actix](https://actix.rs/), [Inferno](https://www.infernojs.org), [Typescript](https://www.typescriptlang.org/).
## Searching
2018-10-11 21:59:30 +00:00
To find torrents, run `./search.sh "bleh season 1"`
```
2018-10-11 21:59:30 +00:00
bleh season 1 (1993-)
seeders: 33
size: 13GiB
2018-10-11 21:59:30 +00:00
link: magnet:?xt=urn:btih:INFO_HASH_HERE
```
2018-10-04 20:23:57 +00:00
2018-10-11 21:59:30 +00:00
## Running the webserver
`Torrents.csv` comes with a simple webserver. Run `./webserver.sh`, and goto http://localhost:8080
## Uploading
2018-10-09 22:44:49 +00:00
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.
2018-10-05 06:48:51 +00:00
[Click here](https://gitlab.com/dessalines/torrents.csv/forks/new) to fork this repo.
```sh
2018-10-04 23:33:33 +00:00
git clone https://gitlab.com/[MY_USER]/torrents.csv
cd torrents.csv
./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
```
2018-10-04 20:23:57 +00:00
2018-10-04 23:33:33 +00:00
Then [click here](https://gitlab.com/dessalines/torrents.csv/merge_requests/new) to do a pull/merge request to my branch.
2018-10-04 20:23:57 +00:00
## How the file looks
2018-10-11 21:59:30 +00:00
```sh
infohash;name;size_bytes;created_unix;seeders;leechers;completed;scraped_date
# torrents here...
```
2018-10-03 17:12:12 +00:00
## Requirements
### Searching
- [ripgrep](https://github.com/BurntSushi/ripgrep)
2018-10-11 21:59:30 +00:00
### Web server
- Rust
- ripgrep
- Yarn
### Uploading
2018-10-11 21:59:30 +00:00
- [Torrent tracker scraper](https://github.com/ZigmundVonZaun/torrent-tracker-scraper)
2018-10-10 17:15:53 +00:00
- [Transmission-cli](https://transmissionbt.com/)
- [Human Friendly](https://humanfriendly.readthedocs.io/en/latest/readme.html#command-line)
## Potential sources for new torrents
2018-10-11 21:59:30 +00:00
- https://www.skytorrents.lol/top100
- https://1337x.to/top-100
- https://1337x.to/trending