Host your own private torrent search without the insane ads and popups.
Currently supports YTS.mx and thepiratebay.
Basic authentication to keep it from being overused or misused.
This is a Sveltekit application, built for use on Cloudflare Pages.
On the backend, it uses the open movie database as well as api calls out to the Yify and TPB sites for torrent data.
Also uses Cloudflare KV store for caching data retrieved from those sites, to speed things up and also prevent placing a noticeable burden on the services used.
-
Fork this repo.
-
Get an api key from open movie database
-
(Optional) Create a KV namespace at cloudflare
-
Create a new Cloudflare Pages app, configured for Sveltekit, and drawing from this codebase.
It should have the following environment variables:
- OMDB_API_KEY=****
- ADMIN_LOGIN=username:password
- KV_NAMESPACE=CLOUDFLARE_KV_BINDING <-- omit or leave blank to skip using KV.
-
Deploy & Enjoy!