Open-source debrid service. Add a magnet link, get a stream.
Torrin downloads torrents on remote servers through a VPN and gives you direct HTTPS streaming URLs. No torrent client needed, no IP exposure, no seeding. Content is cached so repeat requests are instant.
- User submits a magnet link or searches for content
- API checks cache and content providers. If available, returns stream URLs instantly
- If not available, downloads the torrent behind a VPN
- On completion, uploads to object storage
- User streams via signed HTTPS URL
- Shared cache across all users
- Instant streaming for popular content
- Stremio integration
- Plan-based limits (concurrent slots, max torrent size, priority queue)
- Tiered content retention based on popularity
- Subscription management with pause/resume
- Stall detection with progressive recovery
- Built-in player that handles all formats (MKV, HEVC, AV1, 4K HDR)
- WebDAV server for mounting content in VLC, Infuse, Kodi, or any file manager
internal/ # Open-source core (MIT)
availability/ # Cache checking
eviction/ # Retention engine
jobs/ # Job model + store
poller/ # Download > upload > cleanup pipeline
qbit/ # Torrent engine client
r2/ # Object storage client + URL signing
iptv/ # Content provider client + proxy
private/ # Proprietary (not included)
cmd/api/ # HTTP API server
cmd/stremio/ # Stremio addon server
internal/ # Auth, billing, plans, middleware
web/ # Frontend
worker/ # Streaming CDN worker
Requirements:
- Linux server with Docker
- Object storage with CDN
- VPN provider
cp .env.example .env
# Fill in your credentials
docker compose up -dMIT. See LICENSE.