Static frontend for the torrent explorer - vanilla TypeScript, no framework. Bundled by Bun into a handful of static files that can be dropped onto any static host (Cloudflare Pages, Netlify, GitHub Pages, S3, nginx).
bun run buildOutput goes to ./dist. Upload that folder to your host.
The API URL is read at runtime from /config.json so you can change backends without rebuilding:
{
"apiUrl": "https://api.example.com"
}Edit public/config.json during development, or replace dist/config.json on your static host in production.
- Build:
bun run build - Connect the repo to Cloudflare Pages with these settings:
- Build command:
bun install && bun run build - Build output directory:
dist
- Build command:
- After the first deploy, edit
dist/config.jsonor set the API URL in your repo'spublic/config.jsonbefore deploying.
- Theme colors - edit the
:rootCSS variables inpublic/styles.css. - Brand - handled automatically from the backend's
GET /api/infoendpoint, so changingconfig.brand.releaseGroupon the backend is enough. - MediaInfo display - the key lists in
src/views/detail.ts(VIDEO_KEYS,AUDIO_KEYS,TEXT_KEYS,GENERAL_KEYS) control which fields are surfaced in the summary cards.