Hypertube
Stream while it downloads.

A Netflix-style streaming platform built solo: a Django/DRF + libtorrent backend that streams movies straight from torrents, a Next.js frontend, OAuth login and on-demand subtitles, all containerized with Docker.
The problem
Streaming a film from a torrent normally means waiting for the full download in a separate client. The goal was a complete product, not just a player: browse a catalogue, press play, and start watching while the file is still downloading, with accounts, OAuth and subtitles around it.
How I built it
- 01A Django REST backend that drives libtorrent and streams the video to the browser before the download finishes.
- 02A catalogue backed by TMDb with automatic fallback to OMDb, and subtitles fetched on demand from OpenSubtitles.
- 03Full account system: email verification, password reset over SMTP, JWT auth and OAuth with 42 and Google, editable profiles.
- 04Torrent management and scheduled jobs run in the background with Celery and Celery Beat on Redis; one command starts Postgres, Redis, Django, Celery and the Next.js frontend.
Key takeaways
- — Streaming a video to the browser while it is still being downloaded.
- — Designing a backend around slow external work with queues and background workers.
- — Shipping the whole product surface (auth, profiles, catalogue, player) alone, end to end.
Hypertube was built as part of the software engineering curriculum at 1337 Coding School (42 Network, UM6P), where every project is built from scratch and reviewed by peers.