# AnubhavFlix: A personal Netflix on a VPS

A project by [Anubhav Choubey](https://anubhavchoubey.com/) · Full Stack & Media Streaming · Featured

A self-hosted streaming service: uploads and torrents are transcoded into adaptive HLS and played in a Netflix-style React app with viewer profiles.

## Highlights

- FFmpeg pipelines transcode every video into multi-resolution HLS renditions with a master playlist and thumbnails, with 1080p on the way.
- Nginx X-Accel-Redirect serves protected segments, so FastAPI checks access without ever carrying the video bytes.
- Magnet links are fetched with libtorrent, transcoded in the background and filed into playlists automatically.
- A "Who's watching?" profile picker, an hls.js player and JWT login with refresh, with per-user quality limits next.

Tech: Python, FastAPI, SQLModel, Alembic, FFmpeg, HLS, libtorrent, Nginx, React, TypeScript, hls.js

Links: [Backend](https://github.com/LazyyVenom/VPS-to-Streaming-Service) · [Frontend](https://github.com/LazyyVenom/VPS-to-Streaming-Service-React)

## FAQ

**What is AnubhavFlix?** A self-hosted streaming service: uploads and torrents are transcoded into adaptive HLS and played in a Netflix-style React app with viewer profiles.

**Who built AnubhavFlix?** Anubhav Choubey, a Founding Engineer and full-stack software developer from Bengaluru, India, designed and built it end to end.

**What is AnubhavFlix built with?** Python, FastAPI, SQLModel, Alembic, FFmpeg, HLS, libtorrent, Nginx, React, TypeScript, hls.js.

**Where can I see AnubhavFlix?** Backend: https://github.com/LazyyVenom/VPS-to-Streaming-Service · Frontend: https://github.com/LazyyVenom/VPS-to-Streaming-Service-React.
