|Urban Guacamole a0de20aa54||1 month ago|
|api||1 month ago|
|crawl-rss||3 months ago|
|generate-top-torrents||1 year ago|
|import-magnetico-db||3 months ago|
|index-generator||10 months ago|
|seedleech-daemon||3 months ago|
|spider||3 months ago|
|static||1 month ago|
|website||1 month ago|
|.gitignore||3 months ago|
|README.md||3 months ago|
|go.mod||3 months ago|
|go.sum||3 months ago|
|snippets.sql||3 months ago|
|update-index.sh||10 months ago|
If you don't know what Torrent Paradise is, see the website.
This is a repository of all the tools I use to build and run torrent-paradise.ml. The 'code name' of the project is nextgen (next gen torrent search), so don't be surprised if it comes up somewhere.
Maybe, open an issue. Be sure to demonstrate an effort that you tried to solve the problem yourself.
Here's what the setup looks like rn:
The programs create their own tables in the DB that they need. Database name is "nextgen". You need to create the materialized views (fresh and search). You can find some useful SQL code in snippets.sql.
Each of the daemons (api, crawl-rss, seedleech-daemon) is its own standalone Go package and resulting binary. You have to compile the binaries yourself. There are systemd .service files available for each of the daemons.
The torrent collection is a mashup of the (now no longer provided) TPB dumps, my own DHT spidering efforts, and magnetico community database dumps.
The easiest way to get your own site up and running is to start with my .csv dump. It should be easy to import into any kind of system. It contains seed/leech counts too (!). If I were to import it, I'd modify import-magnetico-db.
Generation of the IPFS index will prob take a long time, a machine with high single-core perf recommended (ipfsearch runs on node.js)
go build in spider/ to compile and scp the binary it to the server. You can use the systemd service file in
spider/spider.service to start the spider on server boot.
go build in seedleech-daemon/ to compile and scp the binary it to the server. You can use the systemd service file in
Use sqlite3 on a the decompressed dump to generate a .csv file. Format: infohash,name,length(bytes). Optionally quoted.
Then use the go binary in import-magnetico-db to do the import.
The directory website gets deployed to IPFS, static gets deployed to the server. Static calls the API, the IPFS version doesn't.
Before working on something, open an issue to ask if it would be okay. I would love to KISS.