Files
ner c41f1f098f feat(torrents): add Galaxy (TorrentGalaxy) provider with IMDb-first search and inline magnets
- new tg parser: /imdb-detail/<tt...> when an IMDb id is available (exact title, local seeder/size sort), keyword search as fallback; rows carry full magnets inline so Play works without a second fetch
- wire tg into /api/torrents and /api/magnet, TG_HOST env (default https://torrentgalaxy.info)
- Galaxy tab in the torrents modal; tabs now share equal space and hidden-scroll on overflow
- fix tab drag&drop: reorder on the sanitized order so tabs added later (like Galaxy) can be dragged
2026-10-25 18:24:08 +02:00

25 lines
1.3 KiB
Plaintext

MOVIE_DB_TOKEN=YOUR_TOKEN
PIRATE_BAY_HOST=https://thepiratebay10.org
YTS_HOST=https://yts.mx/api/v2/list_movies.json
TG_HOST=https://torrentgalaxy.info
TOLOKA_HOST=https://toloka.to
TOLOKA_USERNAME=your_toloka_username
TOLOKA_PASSWORD=your_toloka_password
ODC_HOST=https://tracker.0day.community
ODC_USERNAME=your_0day_username
ODC_PASSWORD=your_0day_password
NEXT_PUBLIC_TORRENT_PROXY=http://localhost:8090
# Optional: external subtitles in the web player — free API key at https://www.opensubtitles.com/en/consumers
OPENSUBTITLES_API_KEY=your_api_key
# Optional: logging in raises the download quota (anonymous keys get ~5 downloads/day)
OPENSUBTITLES_USERNAME=your_opensubtitles_username
OPENSUBTITLES_PASSWORD=your_opensubtitles_password
# Comma-separated preferred subtitle languages (ISO 639-1)
SUBTITLE_LANGUAGES=en,uk
# Optional: self-hosted OpenPanel analytics. Unset means analytics is a no-op and no script loads.
NEXT_PUBLIC_OPENPANEL_CLIENT_ID=your_openpanel_client_id
NEXT_PUBLIC_OPENPANEL_API_URL=https://analytics.example.org/api
NEXT_PUBLIC_OPENPANEL_SCRIPT_URL=https://analytics.example.org/op1.js
# Optional: persists the Toloka session across serverless cold starts (falls back to in-memory)
UPSTASH_REDIS_REST_URL=https://your-db.upstash.io
UPSTASH_REDIS_REST_TOKEN=your_upstash_token