secubox-deb/packages/secubox-torrent/www/torrent
CyberMind-FR 405d287f06 feat(torrent): server wiring + purge sweep + player webui (ref #917)
Adds server.js (env-driven Engine/Library/buildApi wiring, ephemeral
torrent purge sweep on a timer, static webui serving) and the runPurge
unit tests (TTL + kept-flag + disk-floor sweep, in-memory Library only).
webtorrent and @fastify/static are imported dynamically inside start()
so runPurge stays testable without the native wrtc build.

Replaces the old Transmission-container panel with a single-page
WebTorrent player webui (magnet add, list with keep/remove, in-browser
playback via /stream, BitTorrent-only status badge) per the cyan
hybrid-dark self-contained module vhost guidelines.

Co-Authored-By: Gerald KERMA <devel@cybermind.fr>
2026-07-28 15:22:16 +02:00
..
index.html feat(torrent): server wiring + purge sweep + player webui (ref #917) 2026-07-28 15:22:16 +02:00