Files
movie-advisor/env.example
T
ner 1fd8f0f7e5 feat(torrents): add 0day.community tracker as a torrent provider
Private xbtit tracker (tracker.0day.community): session login via
takelogin.php with cookie jar persisted to Redis, cp1251-decoded
word-AND search scoped to movie/TV categories, magnet built from the
fetched .torrent (download.php requires the name param) + public
trackers. Generalizes /api/magnet to dispatch by provider.
2026-10-25 17:09:51 +02:00

24 lines
1.2 KiB
Plaintext

MOVIE_DB_TOKEN=YOUR_TOKEN
PIRATE_BAY_HOST=https://thepiratebay10.org
YTS_HOST=https://yts.mx/api/v2/list_movies.json
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