frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: A media server designed to be hosted on a VPS [more in the text]

https://github.com/maury91/miauflix
1•maury91•10m ago
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.

Let's walk backwards from the worst case to the realistic case.

1a. The absolute worst case, someone takes a memory dump of your VPS, well you are screwed if something fishy is going on they will find about it.

1b. Someone mounts the .qcow2 image and inspects your VPS like if its a docker image without leaving any trace, also in this case, you are screwed.

So we can already say, this project is not to defend you once you become a target, that's already too late.

Now let's see what can be actually done.

Someone takes a file system dump, yes we can work with this.

An automated script looks around the file system for something fishy, yes this is literally the use case.

But how to achieve this?

First we need to decide what an actor wants to detect in our media server:

- media files: if you do not have authorization to host them, this is the absolute worst. So how to tackle this?

First step: 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. If you have both of them you can decrypt the file, if even only one is missing they cannot be decrypted.

At this point it becomes important what level of safety we want...

Do you want to stop automated scripts? The database can live in the VPS, unless a script is targeting exactly this project they will not be able to know that file X needs to be decrypted with Y

Do you want to be "safe" in case of a file system snapshot? The database then must be external to the VPS

Second step: The length of the media file is a giveaway, let's add some random padding to it.

- torrent info hashes, names, magnets, blobs, etc... This are in the gray zone, but a script could still treat the presence of a specific torrent infohash in your system as something to flag you for. 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. Both VPS and DB are needed at the same time.

Yes, I'm aware this is not enough to stop a determined sysop, but this is not the purpose of it, the purpose is to never reach the point where they inspect you.

If this peculiarity of the project intrigues you, you can find out more about it at: https://github.com/maury91/miauflix

I do also have another feature I'm quite proud of, ahead-of-time downloads. I think the process of imdb_id -> torrent hash -> torrent file -> loading seeds -> download initial parts to be too long ( time wise ), so I worked for it to happen before you click "watch":

- catalog data ( TMDB/Trakt ) is constantly synched in backgrounds queues - sources are searched by priority in background queues - torrent health ( seeders/leachers ) are kept up-to-date periodically in background queues - torrent metadata is download in background queues and in case of mismatching data the torrent is deleted (a torrent containing movie_name.exe is marked as fake) - the initial sectors needed to stream a file are download when you enter the details page, if you don't click on "watch" like flash but you spend a little bit of time reading the description ( or in future watching the trailer ), everything will be warm and streaming can start immediately

I don't know if someone ever used it, but I contributed to webtorrent because when I was reloading a torrent it would make the server hang: https://github.com/webtorrent/webtorrent/pull/2878 [I was a little bit burn out at the time of this PR]

Show HN: Sales tool in one Chrome extension

https://salesutils.app/
1•devarifhossain•41s ago•0 comments

Anthropic's IPO price would make it the 12th most valuable US company

https://www.kadoa.com/companies/insights/anthropic-ipo-pricing
1•hubraumhugo•1m ago•0 comments

An 8-minute powers-of-ten film rendered in Python

https://www.youtube.com/watch?v=RSlctyQmVSE
1•PaiVelmoxia•2m ago•0 comments

Amazon's Ring unveils flying drone and robot to patrol homes and businesses

https://www.cnbc.com/2026/11/10/amazons-ring-unveils-flying-drone-robot-to-patrol-homes-businesse...
1•smn1234•3m ago•0 comments

Supply Chain Attacks in Practice

https://kerkour.com/supply-chain-attacks-in-practice
1•Megabinator•3m ago•0 comments

WikiSkill: Compiling Agent Experience into Knowledge for Skill Evolution

https://arxiv.org/abs/2608.27454
1•gmays•4m ago•0 comments

Google's Custom Search JSON API Ends January 1, 2027

https://specstream.ai/google-custom-search-api-shutdown
1•specstream•4m ago•0 comments

The LLM Overruled the Math and It Was Right

https://lonriesberg.com/posts/trends-radar-two-brains/
1•lriesberg•4m ago•0 comments

A turbo-tax level tax return you can play around

https://smartonlabs.com/examples/federal-tax.html
2•weiqj•4m ago•1 comments

Tell HN: The tcl.tk domain has been hijacked

2•vconnor•6m ago•0 comments

The Future will not be televised, the Future will be contextualized

https://fusionauth.registration.goldcast.io/webinar/6d2c2895-bcd6-4b38-a3d8-c0bed23ccd02
1•mooreds•7m ago•0 comments

Boulder Police and Fire Communications Center Launches New Technology

https://bouldercolorado.gov/news/boulder-police-and-fire-communications-center-launches-new-techn...
1•mooreds•7m ago•0 comments

The Death Knell of Digital Search

https://www.newyorker.com/culture/infinite-scroll/the-death-knell-of-digital-search
1•bookofjoe•7m ago•1 comments

Topic Digest – Follow YouTube topics, not channels (BYOK, local-first)

https://chromewebstore.google.com/detail/topic-digest-for-youtube/bfaegdfnkgngfpmfkakpiplclknlkhmk
1•ignosaur•8m ago•0 comments

The core reason to be against AI

https://jasonpolak.substack.com/p/the-core-reason-to-be-against-ai
1•bemtevi•8m ago•0 comments

Repurposing Thin Clients

https://www.parkytowers.me.uk/thin/
1•ForHackernews•8m ago•0 comments

Show HN: A media server designed to be hosted on a VPS [more in the text]

https://github.com/maury91/miauflix
1•maury91•10m ago•0 comments

x86 Ace v2 / AVX10.3 Architecture Specification [pdf]

https://x86ecosystem.org/wp-content/uploads/2026/11/ACE_v2_AVX10_3_Specification_public.pdf
1•ksec•10m ago•0 comments

Show HN: Offline First Ham Radio Tools

https://github.com/armysarge/ham-radio-tools
1•armysarge•11m ago•0 comments

Claude Opus 5.5 won a game of Civ VI

https://www.reddit.com/r/ClaudePlaysPokemon/comments/1xpj55a/claude_won_a_game_of_civilization_vi/
1•softwaredoug•11m ago•0 comments

The Doorman Fallacy for Software Engineers

https://www.adriankrebs.ch/blog/ai-and-the-doorman-fallacy/
1•hubraumhugo•12m ago•0 comments

The Price of Happiness: Horizontal vs. Vertical Wealth

https://chibuikeani.blogspot.com/2017/02/the-price-of-happiness-horizontal-vs.html
1•skadamat•13m ago•0 comments

Lost Updates in the GitHub, Grafana and PostHog MCP Servers

https://isokron.ai/research/mcp-lost-updates-three-servers
1•flycensed•13m ago•0 comments

Why a Java pod gets OOMKilled in Kubernetes with a half-empty heap

https://zhukovskyi.space/blog/jvm-oomkilled-kubernetes/
1•andronaft•14m ago•0 comments

Show HN: Pico Bay – manage Pico and ESP32 boards via browser or MCP

https://github.com/ctrlpi/pico-bay
1•ctrlPi•16m ago•0 comments

The Future of Software

https://thomwolf.substack.com/p/the-future-of-software
1•nicksergeant•16m ago•0 comments

In the UK, Face Sitting Porn Might Land You in Jail

https://www.404media.co/uk-crime-and-policing-act-pornography/
1•iamnothere•19m ago•0 comments

Evidence for the decay B0→μ+μ– and improved measurements of Bs0→μ+μ

https://lhcb-outreach.web.cern.ch/2026/11/03/evidence-for-the-decay-b0%E2%86%92%CE%BC%CE%BC-and-i...
1•rq1•19m ago•0 comments

An Interview with Geoff Mattson

https://ciamweekly.substack.com/p/an-interview-with-geoff-mattson
1•mooreds•19m ago•0 comments

Designing human and generative AI collaboration

https://academic.oup.com/pnasnexus/article/5/11/pgag353/9025436
1•geox•21m ago•0 comments