Ask HN: What's on your home server?
519 pointsIt's been years (over a decade?) since I've had a server at home but I'm setting one up for media and I got to thinking: what else should I do with this box? So I was wondering what cool/nerdy/weird stuff you all are using home servers for. DNS and file sharing seem like obvious applications I could set up. I already run email and web on a VPS so that's taken care of. What are you doing with your home server?
Comments (456) 205 threads
Earlier commentsBox 1: Truly ancient HP Proliant N54L - Bastion/DMZ machine, router forwards all incoming traffic to it - NAS - JBOD that I cobbled together over the years, storage is only ~12TB, and mostly used for media. - NGINX - proxies traffic to the rest of my network
Box 2: Some SFF Lenovo desktop - NVR, running zonemonitor - Dedicated storage for my home security cameras
Box 3: Some HP Prokesk Mini SFF - Homeassistant - Various docker containers running homeassistant ajacent stuff
Box 4: Another HP Prodesk SFF, but with 10th gen i3: Media server - Everything in docker - Emby - Radarr - Sonarr - Transmission - etc. - Latest addition to the family, I deployed this a week ago. I have to say I'm mighty surprised by the performance of the i3 for media transcoding. It can do at least one 4k->720p transcode without even breaking a sweat.
I use Radarr and Sonarr to automatically download movies and tv shows. I use mdblist.com to autogenerate movie lists based on criteria like imdbrating, number of votes etc. And use these lists directly in Radarr, one plus point is that these lists are autoupdated with new movies and Radarr automatically downloads them. I've configured Radarr/Sonarr to download items automatically with usenet and debrid(no direct torrents).
I have setup Plex, WebDAV(for Kodi), ftp and a generic http server with basic authentication on the media folder. I have 1Gbps unmetered connection and have added a bunch of my friends to plex. I can easily stream 4k remux blu-ray rips to my smart tv from the Plex server.
- Write-only file upload under an obscure domain. A bit dangerous, but a life saver when someone wants to send you a 200MB file. "Just go to frequentrain.com and upload there". With desktop notifications on my side, text upload for quick note taking from any computer, etc.
- Custom RSS feed reader, and downloader for YouTube channels or websites that I like but fear may go offline.
- Cronjob for checking internet connectivity (to router, to DNS server, to nearby servers, to far away servers). Very useful for both troubleshooting and forcing the ISP to admit there's a problem.
- Fire-and-forget jobs. Long video transcoding, downloading large files from flaky servers, running long tests, etc.
Keep in mind that DNS records, including subdomains, are public. Consider putting the service on a random page instead (e.g. "frequentrain.com/sunnysometimes") and/or using something simple like http basic auth if you're not already.
That said, this is a cool idea and I'll be stealing it :)
A few more details if you want to make your own:
- The public page accepts drag and drop anywhere for file upload, and has a text field that uploads its contents immediately upon Ctrl+v. Coupled with a short domain name, it's extremely low friction to upload files or notes from any computer. You can't see what you upload (write-only), so it's not useful to abuse.
- It also opens a Server-Sent Events channel and executes all incoming messages as Javascript code. I use it for redirecting users, sending files, showing text, and pranks. It's only a couple lines of code, massively flexible, and surprisingly reliable.
- The authenticated page can see a list of all uploaded files, along with links to download and delete them. A service worker shows desktop notifications when somebody uploads something.
- Finally, the authenticated page also has a live list of all visitors (SSE channels), with buttons to send them code to execute, or to make them authenticated sessions.
It's the kind of stuff that would horrify me if it was a commercial product, but works marvelously between friends and family.
All comments shown.
Couldn't load more comments. Check your connection and try again.