12 Commits
Author SHA1 Message Date
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
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
ner 75880e5ac7 feat(tlk): cartoon/anime sections and alias-aware search 2026-10-23 20:51:53 +03:00
ner f642dad64e feat(torrents): Toloka section filter by show type, year scope for movies only 2026-09-13 19:14:42 +03:00
nerandClaude Opus 4.8 ecc57ff135 feat(player): external subtitles via OpenSubtitles
Add an OpenSubtitles client, /api/subtitles routes and useSubtitles to
fetch subtitles by show/episode/filename, wire them as player tracks
alongside embedded ones, and strip hls.js's auto-added tracks. New
OPENSUBTITLES_* / SUBTITLE_LANGUAGES env vars (documented in env.example).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-08 13:17:12 +03:00
nerandClaude Opus 4.8 3ddba5e6a2 feat(tlk): refresh endpoint to re-pull a thread's current magnet
Add /api/refresh?tid=<id> that re-downloads a Toloka thread's .torrent
server-side and returns a fresh magnet + m3u. Pass the thread id (tlk)
into the m3u params for series. Drop the per-magnet cache so refreshes
always reflect the thread's current state (new episodes while airing).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-07 20:24:44 +03:00
nerandClaude Fable 5 2e81908b22 feat(torrents): series parsing, S:E/Year columns, magnet cache
- parse Toloka Ukrainian season/episode naming (Сезони 1-10,
  серій 7 з 8, homoglyphs) into a clean title + episodes field
- add series-only sortable S:E column, desktop-only Year column;
  strip year/source meta from the title cell
- filter out torrents with fewer than 5 seeders in the API route
- cache Toloka magnets in Redis so each .torrent is downloaded once
  across serverless instances; append public trackers to magnets
  (never the passkey-bearing announce URLs from the .torrent)
- fix play button hover state while magnet is pending

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-06 22:14:58 +03:00
nerandClaude Fable 5 131beeb07f feat(tlk): persist Toloka session in Redis across cold starts
Store the serialized cookie jar in Upstash Redis after login and
restore it on instance start, so serverless cold starts reuse the
session instead of re-authenticating. Falls back to the previous
in-memory behavior when Redis is not configured or unavailable.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-06 21:02:13 +03:00
ner f447cf3423 fix: new address for yts provider 2025-12-13 20:16:46 +02:00
ner 6fc34e3797 feat: video format restrictions 2025-08-15 18:42:49 +03:00
ner 82c14c1d5c feat: added download status 2025-08-14 21:38:24 +03:00
ner dfdfb79169 fix: SITE_URL 2024-10-28 17:20:05 +02:00