miauflix
miauflix is a media server designed to be deployed on a VPS. Media files are always persisted encrypted, with an encryption key combining a general key and a random value stored in the database (which can be kept external to the VPS so a filesystem or DB snapshot alone is not enough to decrypt); torrent infohashes and metadata are stored encrypted, and random padding masks media file lengths. It syncs catalog data (TMDB/Trakt), searches sources, tracks torrent health, and downloads torrent metadata in background queues, flagging fake torrents. Its ahead-of-time downloads prefetch the initial sectors needed to stream before the user clicks 'watch', so streaming can start immediately.
What it addresses
Streaming a torrent involves a long chain (imdb_id -> torrent hash -> torrent file -> loading seeds -> downloading initial parts) that delays playback, and hosting media on a VPS risks automated scripts flagging unauthorized media files or torrent infohashes in filesystem dumps.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
miauflix
miauflix is a media server designed to be deployed on a VPS. Media files are always persisted encrypted, with an encryption key combining a general key and a random value stored in the database (which can be kept external to the VPS so a filesystem or DB snapshot alone is not enough to decrypt); torrent infohashes and metadata are stored encrypted, and random padding masks media file lengths. It syncs catalog data (TMDB/Trakt), searches sources, tracks torrent health, and downloads torrent metadata in background queues, flagging fake torrents. Its ahead-of-time downloads prefetch the initial sectors needed to stream before the user clicks 'watch', so streaming can start immediately.
Problem: Streaming a torrent involves a long chain (imdb_id -> torrent hash -> torrent file -> loading seeds -> downloading initial parts) that delays playback, and hosting media on a VPS risks automated scripts flagging unauthorized media files or torrent infohashes in filesystem dumps.
Posted by @maury91 · Original source ↗
Story title · @maury91 · · Source ↗
Show HN: A media server designed to be hosted on a VPS [more in the text]
Submitted URL · @maury91 · · Source ↗
https://github.com/maury91/miauflix
Source text · @maury91 · · Source ↗
I've been working on this project for the last 2 years, this is the second iteration and this iteration was designed with the intent of being deployed into a VPS.
Source text · @maury91 · · Source ↗
The project encrypts them, each media file is always persisted encrypted, the encryption key is a combination of a general encryption key, and a random value stored in the database.
Source text · @maury91 · · Source ↗
We store them encrypted in the database, if you separate the database from the VPS then you have the decryption key in the VPS and the encrypted infohash in the database, a snapshot of the DB alone is not enough.
Source text · @maury91 · · Source ↗
I do also have another feature I'm quite proud of, ahead-of-time downloads.
Source text · @maury91 · · Source ↗
catalog data ( TMDB/Trakt ) is constantly synched in backgrounds queues
Source text · @maury91 · · Source ↗
I think the process of imdb_id -> torrent hash -> torrent file -> loading seeds -> download initial parts to be too long ( time wise )