AI made self-hosting fun again (janlukas.blog)
185 points by jlelse 2 hours ago
cliche an hour ago
> When implementing an idea becomes so easy, it’s perhaps more important than ever to occasionally ask myself whether it’s actually worth implementing in the first place.
Wish I had this restraint. I’ve been vibing everything I can think of. It’s got to the point I made a small platform on top of k3s so that the agent can yolo deploy into a homeserver behind Tailscale. Once deployed it becomes natural selection for which vibes live and which die.
Solo vibey self hosting llm usage - bliss.
Corporate agentic engineering working with others - soul crushing.
indigodaddy 41 minutes ago
Yeah, I've been doing everything I've ever wanted, it's been amazing.. a seeded procedural unlimited lode runner web game, scrabble on the living room TV controlled by phones, a web remake of an old PC game from 1996 called WSOP Deluxe Casino Pak, my own CF JF-compatible frontend/management/pipeline to my videos living on cheap PHP storage (to name just a few).
Whatever I've always wanted to do, I just do it.
Incredible times to have been a kid at the dawn of the personal computer, and now to also be living through this LLM age, probably the single best generation for tech imo.
keyle 29 minutes ago
Love the ideas and the wide range of use you've put it through. Regarding the 'best generation for tech'... For many, this will be their last era. Many people don't see this as superpower and see this as the end of their career. It's amazing what perspective can do.
the__alchemist 4 minutes ago
Very cool! What are some of the things you built with this technique you're most proud out
singingtoday 17 minutes ago
It's worth implementing more often than not I've found, these days anyways. You sometimes don't know if an ideas good until it's realized. Add implementing them is often a /goal with several follow-ups.
It's almost too easy! But, like you said, bliss!
echelon 38 minutes ago
AI is a dream come true.
Opportunity cost is melting away. So many things are within reach, it's amazing.
Instead of working for corp, work for yourself. It's easy to get token spend on a product if you put in solo marketing. I've seen dozens of people get to $5-20M ARR in a few months, and I've done it myself more than once. (VCs won't even fund this anymore because it's become so commonplace.)
Spend your weekend building the side project to fire your employer.
MisterKent 23 minutes ago
Any examples of these businesses going to 5-20M ARR in a few months?
45sdasf45 10 minutes ago
cliche 24 minutes ago
I’m just enjoying doing it for myself. I always had ideas to try and make a living of something I built and owned. Now I realise I’m too ADHD for that and if I succeed it will probably become soul sucking too.
I’m just enjoying the moment. It feels like I went back in time 15 years to place I fell in love with computers and building weird stuff. Gonna just do that until it stops being fun.
Corporate jobs are great for feeding the kids addiction to shelter and basic sustenance.
Gigachad 30 minutes ago
Do you really think this is sustainable? We might be in a period where early movers can get people to pay for vibecoded products, but that era seems short lived. Eventually you won't have subscribers or an employer, but still need money for rent and food.
anonzzzies 22 minutes ago
noosphr 29 minutes ago
We are entering levels of bipolar lisp developer never before seen in the history of programming.
jjcm 2 hours ago
In some ways it's better, in some ways it's worse.
It's certainly easier than ever to spin up a VPS/cloudflare proxy and deploy. Agents can pretty much do that end to end.
The bigger issue is you're then accountable for keeping up with security. Previously that meant using fail2ban and running a system update every few months. Now it means patching within 24hrs of a CVE9+ dropping, which is happening at an accelerated rate.
It got so bad during October I made https://firefighter.sh/ as a joke (a root-permissioned agent that continuously monitors for CVEs and patches your system live as soon as they drop - it's a security nightmare given the nondeterministic aspect of AI), but I'm actually starting to come around to the idea for my non-critical servers.
cromka 9 minutes ago
> Previously that meant using fail2ban and running a system update every few months. Now it means patching within 24hrs of a CVE9+ dropping,
Honestly, most of those issues can be mitigated by NOT exposing your services to the web and instead relying on Wireguard — and I am not mentioning other VPNs here because they, too, are vulnerable with their vast attack surfaces, like OpenVPN.
In fact I believe all this will lead to better VPN integration in our devices. I REALLY hope Wireguard gets widely adopted to the point every major platform finally adds support for it.
usui an hour ago
> Now it means patching within 24hrs of a CVE9+ dropping
I know security by obscurity is not a good defense, but if the internet were on IPv6, it would be a lot harder for bots to find hosts by scanning the whole IP space, whereas when I open a port on IPv4 I can always see activity on it almost immediately. I've been watching traffic to IPv6-only hosts despite connecting to them from outside the local network and it's been completely silent from strangers. This would buy extra time for any critical CVE that needs patching.
yardstick an hour ago
Maybe, but if using https with a public CA then your domain info is already well know. DIY CA not an issue, but has worse caveats imo.
usui an hour ago
pkulak an hour ago
I'm updating my stuff WAY more often with AI. I have an agent check the current version, pull changelogs, look for anything that could go wrong, do a backup, stop, pull, start, verify, then delete backups and dangling containers. Pre AI I did that... basically never. Now I do it once a week. Could even schedule it if I really felt like it.
Also, I don't put two things on the open internet. My other 2-dozen services are behind Tailscale only.
skullone 2 hours ago
I have AI craft make files for common operations, patching, deploys etc. The makefiles compose terraform, ansible, misc scripts, DB migrations etc. this way, something reproducible and tested can be "trusted" to let AI operate with without it getting carried away or deep into the weeds on simple shit. Of course, I also use the same makefiles too when I want, and it's just great. Keeps credentials safe-ish, AI doesn't need to SSH itself or even know about the actual systems.
alexpotato an hour ago
LLMs that write and then update your Ansible really is the super combo.
If you throw in tests that the LLM also writes and it brings together the best of DevOps and LLM.
0xdeafbeef an hour ago
If only nixos existed and llms were good at it :)
skullone an hour ago
hparadiz an hour ago
turtlebits an hour ago
Keep it all internal with Tailscale, or use Pangolin (or Cloudflare)
dofm 39 minutes ago
> Previously that meant using fail2ban and running a system update every few months. Now it means patching within 24hrs of a CVE9+ dropping, which is happening at an accelerated rate.
Yeah. This has fully changed my approach to web dev; for me as a solo/freelance developer at this scale, pretty much all interpreted languages are too great a risk in various different ways.
AloysB an hour ago
Another massive drawback is the slop-avalanche on self-hosting communication channels.
I don't mind someone vibing something out for their needs; but as soon as you advertise it and invite external users, I feel there was a moral obligation to provide a certain level of quality and security. Which doesn't seem to be as prevalent now.
Building out a project used to take a fair amount of investment for the creator; now that producing code is "cheap", that price-to-entry is so low that anyone can spin up a project in a couple of hours.
It has added a lot of noise to the community channels - making it hard for good projects to stand out among the noise.
InsidiousWombat an hour ago
debian + unattended-upgrades + scheduled reboot for kernel upgrades gets you most of the way there
LtWorf 2 hours ago
selcuka an hour ago
Unattended upgrades will only patch system packages installed via apt-get. You still need to patch node, python packages, or random software you downloaded and installed (via curl piped to sh).
fph an hour ago
jazzyjackson 2 hours ago
I have a public ip VPS proxying to my home lab and I’m wondering where to go for the least attack surface if I’m just running caddy and wireguard.
Fedora CoreOS is an interesting offering, and Debian with unattended updates sounds good too. I like what SELinux can do for hardening the filesystem. Seems like even if a subprocess gets owned you get isolation from siblings.
OnlineTux 41 minutes ago
abroszka33 an hour ago
esseph an hour ago
Or you can just use wire guard to your router, or tail scale, or cloudflare tunnels and never actually expose the endpoint directly.
jasonriddle 20 minutes ago
This resonates with how I'm feeling.
I have a Synology nas, and I use portainer to run and manage docker apps. It's mostly fine, but Synology does a lot of weird things like how they handle file permissions, and they have their own seperate set of proprietary cli tools for interacting with the system. It was super annoying figuring out how all of these things glue together and their documentation is pretty terrible.
It's still super annoying, but I've started building out an aiwiki, where the agent starts in that wiki and it adds to that anytime it encounters anything odd or weird or anything I tell it to add to that. So it has an understand of my tailscale network, applications I'm running, how to ssh into things, etc. It saves a lot of time because I can just ask my agent to read 15 or so relevent wiki files and it has enough context to start working on a task.
It's not a perfect flow. Certain actions require you to use the Synology webui, which is painful and slow at times, but I haven't found a way to give agents access to that, while being able to monitor what they do.
I've also been having luck with agents configuring things related to kubernetes. I'll spin up a cluster in the cloud with something like digitalocean, and then the agent can deploy apps to it and monitor things. Kubernetes is much easier to give better scope access to certain resources, so I'm slowly trying to migrate things from Synology over to kubernetes.
Anything I don't feel like managing myself, I just use pikapods for hosting. If I need more control over it, I migrate it over to either my NAS or to kubernetes.
DaveChurchill 17 minutes ago
I was doing the same thing as you but eventually moved all my hosting off the synology itself to a Dell optiplex micro sitting next to it. I've noticed performance of the NAS go up a lot since then
The only thing I run on the NAS now is qbittorrent so that it can write downloads directly to the drives instead of duplicating the traffic over the network.
oliyoung 23 minutes ago
I have a claude code managed self-hosted server that I would _never_ had time to put together as cleanly or complete as I have now. It's a fully complete docker managed budgetting, web, photos, git and media server, with automated backups, home automation, and vpns.
There's almost 60 services running, with API access to backblaze, unifi and cloudflare to manage the network.
I have an idea for a service I want, claude goes off and does it. I haven't had this much personal web infra under my own roof in decades.
Bender an hour ago
Certainly more fun for me. I am not a proper developer. LLM's have made private forks of my favorite things and helped me remove things I did not care for and add things I wanted. I have personally found these exercises more fun that video games. I have learned a little bit of Lua, C and Go. Not enough to write anything anyone else would find useful by myself but more than enough to satisfy my curiosity. LLM's have helped me add landlock protection to all my internet facing daemons to reduce the filesystem blast radius of future 0-days, including petty things like protecting tcpdump from writing or executing where it should not.
singingtoday 18 minutes ago
It very much did!
I've had an explosion of creativity and new projects over the last 6 months. Ideas I had been thinking of for years but never had the time. Some are even getting Google traffic, though that's not really my goal.
It's pure entertainment for me. Better than any game I played in my life. I'm having a blast with all these powerful tools!
45sdasf45 13 minutes ago
Hard disagree. Self-hosting (public on internet) is foolish in this day and age. Unless you suddenly want to drop everything and patch everything every day. All those janky apps will be hacked over and over again.
AI has made hosting ANYTHING an exercise in rapid exploitation, which makes the internet a worse place for everyone. I have shut down dozens of VMS in the last few months because maintenance is an impossible time sink in this internet storm.
Bunker down and remove anything internet facing.
hparadiz 6 minutes ago
I always run my primary desktop as a DMZ facing the internet. It's way more fun that way.
benenrjdnz a few seconds ago
Many possibly do. It’s reachable via IPv6 and they hand that over to every remote peer. I remember when an IPv6 time server was feeding the client addresses back into its port scanning engine. Pre ai.
alana314 7 minutes ago
Lately I've been backing up and then having AI ssh in and fix the latest CVEs that have been hitting. So far it hasn't failed, and has saved me a lot of time.
markasoftware 2 hours ago
What's the purpose of self hosting? Sure, part of it is data sovereignty and reducing dependence on big tech and whatever, but for me the main purpose and effect was to learn and to have pride in my setup (same reason one might buy an old car), both of which LLMs negate
DarmokJalad1701 2 hours ago
I couldn't care less about knowing the details of how to configure some specific web app with all its quirks. What I do care about is not being nickel and dimed by subscriptions for every little thing.
jamesfinlayson an hour ago
I initially did it as a learning/keeping my skills sharp thing but knowing it was always going to be a flat $5 a month quickly became the real reason.
bakugo 2 hours ago
But becoming entirely reliant on AI subscriptions is somehow better?
c-hendricks an hour ago
solyin an hour ago
GCUMstlyHarmls an hour ago
I think this is just a repeat of why some people are programmers (lifestyle, they wrote code before it was a job, they'll write code after they retire) and some people are programmers (career, it makes (made?) good money and they could do it but they would be equally passionate about being an accountant, network tech, sysadmin, ...).
Some people just like fiddling with servers, some people just ended up fiddling with servers because no one else would do it for them but now the agent can.
ygjb 2 hours ago
That's not true. I self host and build a lot of software using LLMs. I read everything and frequently add something like "provide a step by step configure guide rooted in documentation with supporting links, and an explanation of why you are recommending that."
Coupled with running it in a shell my agent has visibility into, I can makes sure I learn what I am building and get interactive help if something doesn't work and links to the reasons why.
ivanjermakov 34 minutes ago
Control, customization, permanence, pride, learning, fun.
jazzyjackson 2 hours ago
I just want jellyfin and immich running even if the internet is out
HolyLampshade 2 hours ago
Honestly I think these days those first two bits can be incentive enough. I’ve been self hosting a few apps (split between LLM hack jobs and some personal projects), and I’m just unwilling to pay for the ‘privilege’ of hosting the services or the data.
Spivak 2 hours ago
I can see the appeal honestly, I self host a lot of stuff and every app is bespoke; they require pouring through often outdated and incomplete documentation and usually the source to make apps conform to the rest of my system. Stuff line OIDC and storing all data in 1-2 kinds of db and object storage (sometimes requiring FUSE for apps that demand a filesystem), backups, updates, monitoring, crash recovery.
Writing down how the app should conform to my setup into a skill and then letting the AI do the tedious bits and outputting an Ansible role to do it would save a lot of time and let me experiment more often. I can't imagine letting AI actually build without the framework because the resulting system would be a huge mess.
antisthenes 2 hours ago
Having pride in your setup is a lot less important than self-hosting something for your friends that can bring joy to many people.
I'm hosting Jellyfin and FoundryVTT (D&D platform) and a few other things for my friends. Couldn't care less about the "pride" in the setup - the only difference is it takes me 5 minutes with an LLM or 30 minutes following an old-school guide to set it up. This stuff isn't complicated one way or another.
LLMs just make the discovery (e.g. that part where you look at config setup examples and troubleshooting) and troubleshooting a breeze.
Besides, no one is really stopping you from doing it old school. By all means, learn from linux CLI utilities man pages and write complicated bash scripts from scratch by yourself.
scottydelta 29 minutes ago
Using AI, I am making it fun and accessible to even non tech crowd. I am working on https://tarvis.io which makes running your own apps from github or open source apps one click job on a server.
I abstracted the VPS, docker, networking, firewall, domains, SSL and backups from the user so that they just think of it as a workspace rather than a server.
I have already been self-hosting things for over a decade and over the years the things I built to manage my own workloads evolved into this product which now can make self hosting accessible to anyone.
I literally have non-technical users using Tarvis to develop and self host their next.js app with db and background workers. What a time to be alive!
vagab0nd an hour ago
NixOS is a must-have for this. There's no way I and the LLM could have created and manage about 20+ services and 30+ timers in a sane way on arch, which I had been running for 10 years until 2026.
brachkow 29 minutes ago
Yes, and finally there is a sane way to use NixOS, which otherwise has quite steep learning curve.
And for those who don't want to commit to a quirky OS – mise version manager has bootstrap/deploy commands that do a similar job of defining systems in configs but without OS and reproducibility.
xtracto 2 hours ago
I like to self-host but all my services run behind a Wireguard VPN. Otherwise they are services waiting to be PWNED by North Korea or any other random bad actor. I should know, a droplet I had with some PoC app I had got pwned. (well, only the docker container which ran with its own non-root user, but still...)
dawnerd 33 minutes ago
Self hosted apps used to have fairly unique designs and sometimes quirky ui. Now it’s all half baked Claud uis. Even older apps that had good ui have switched to be more ai looking.
manjalyc an hour ago
AI has made it ridiculously easy and extremely useful. Messing with self-hosted applications that would take me days to set, configure properly, and debug is now a few minutes of chatting. It’s exhilarating.
Seems like a lot of people here roll their own security configs, if you’re application can sit behind a gate like Cloudflare zero trust it makes security a lot simpler.
bendauphinee an hour ago
The robot caught a cryptominer that had been put into my Plex system within about an hour of it being dropped into my system. It was able to pin down the what where and why within five minutes of me noticing the system was sluggish, and not only helped me clean it up, but also patch my system, and walked me through rotating my Plex credentials.
System administration has become in some ways a lot less burdensome, and is definitely helping me to make sure updates are getting handled a lot faster.
trowawee 2 hours ago
I've had almost the exact same experience (right down to using Nix and repurposing my couple-years-old gaming box as a combo gaming machine/home server) and it's been great. I've been having more fun with homelab stuff than ever, mostly because I'm spending way less time fiddling with Docker configs and way more time actually enjoying the fruits of that work: watching shows and movies, reading books, streaming games, etc.
AntonJidkov an hour ago
So much more fun! I'm now turning my old phones into servers for all the side projects I'm spinning up. Pre ai I would have had zero inclination to go through the setup and maintenance process.
whacko_quacko an hour ago
for me it's the other way around. now that every other day a model finds an RCE exploit in a big software project or framework, I don't feel like I can trust myself to react fast enough to keep my infra secure...
onaclov2000 2 hours ago
Self hosting at home is a blast!
I run my AI stuff in docker containers so I am still working on ways to improve idea to actually working thing I can interact with, without having to go to a computer necessarily
comrade1234 an hour ago
I've been self-hosting for years and lately I've been using ai as a support-bot for configurations. It's nice but sometimes after a long day of back-and-forth communication with the ai and configuration changes I feel like I accomplished tons but then I step back and think about it and realize I probably would have been faster if I had just read some man pages and other documentation.
begueradj an hour ago
Same impression here.
killingtime74 2 hours ago
I just set up a K3S Kubernetes cluster on my mini server and AI is able to easily host things, check logs, deploy, everything fully automated. While I do know Kubernetes, you wouldn't have to know it to do this because AI does it all for you.
I use Cloud Native PG to provide databases and the Cloudflare Tunnel Operator to provide connectivity to my domain name.
Don't have to expose any network ports or anything.
skybrian 2 hours ago
It seems like a good time to get into client-side encryption. From now on, I plan to write code using a coding agent, but that doesn't mean I want to give it access to the family photos.
If the data is encrypted blobs, putting it in on R2 or whatever seems okay?
This is using encryption as a system boundary to make accidental leaks less likely. It doesn't mean I want to compete with Signal. Access control still matters.
rhines 7 minutes ago
This is something I've been working on, just making a client I can run that encrypts any files I want to store on the cloud and has a DB for metadata. I'm sure there's plenty of existing tools for this but it's something I'm interested in so it's a fun project.
randypewick an hour ago
I have been happy lately using LLMs with nixos: lots of small tasks that I had there waiting, pending, I managed to complete in a few days of sparse interaction with open LLMs. Best thing is that nix makes reviews very easy to me, so it was "do, wait for my review, deploy".
jrecyclebin 2 hours ago
Not just at a personal level - seeing a lot of businesses self-host their apps as well!
For myself, I've been working on a personal server that I can publish to over MCP. It also automates publishing over SSH - so I can manage remote servers from it. https://gitHub.com/jrecyclebin/freshbreath
lazzurs 2 hours ago
Yep, totally agree with this and pretty much mirror it. I've been self hosting for 25 years or more but recently it's gotten easier and i've been doing more of it. Security is part of that for sure and wanting to not have my home dependant on cloud services that might be compromised.
0c3ca83 11 minutes ago
It never needed to be hard. People just loved complex solutions, and built unmanageable garbage.
api 8 minutes ago
I’ve long seen the love of complexity or at least the tendency to overcomplicate as the great scourge of software. Almost everything is needlessly complex and arcane in most software ecosystems.
jraph 2 hours ago
It did the opposite: self hosting has been fun, but now you have to fight the constant flow of AI bots.
jerty13 an hour ago
Getting hardware that can run open weight models is not worth. The models are so cheap that it's better to rent them. Unless you have to keep the data confidential..
_def an hour ago
it made me move away from docker to ansible managed lxc containers on proxmox. Not sure yet if that was a good idea but on the other hand I don't have to do most of the plumbing anyway, so.. i guess it's fine?
bakugo an hour ago
> I used to hate cooking, but thanks to food delivery apps, I now love cooking again!
Slight variations of this exact post are made probably every hour, yet they somehow always fly to the top of the front page...
xandrius 42 minutes ago
More like: I used to mow the lawn with just scissors, but thanks to lawnmowers, now I actually enjoy mowing the lawn again.
risyachka 36 minutes ago
Its more like “I used to mow the lawn myself and it took hours, how I just pay a subscription and someone does it for me”.
seanclayton 14 minutes ago
1239876144 2 hours ago
Do people get an existential crisis if there is no new AI success story post for more than 10 min?
Here are some folks who don't find self hosting easy or outsourcable to AI:
ares623 an hour ago
$2 trillion dollars in capex can make _anything_ fun again.
holoduke 2 hours ago
Curious about others. I am running a few apps and websites for about 18 years now. I have about 50 servers on Hetzner. And till about 6 months ago issues were quite rare. But today I am in a constant fight with bot/scraper traffic. It's so extreme that if I disable things like Anubis, manual ip blocks, Cloudflare measures etc, I am getting so much traffic that my complete setup comes to a halt. Network io, disc io and cpu are all affected. Terabyte per minute is nothing crazy. Traffic originates from many different places. Some legit, some disguised as browsers. Lots of AI labs from the US, China or Singapore. But sudden moments of 1000s of ips from Germany or wherever is happening a lot. Most of the time I am able to mitigate the issues and have no downtimes in the apps. Although bot traffic remains the majority. Luckily I have a couple of AI agents that are helping me to find malicious behavior. It's the only way for I see otherwise one will lose this battle.
cyanydeez 2 hours ago
Also made it necessary. #hardforkeverything
therealmarv 2 hours ago
While it's true that self-hosting is easier now, good luck securing your own server and keeping it updated against all the new AI threats. For example, distros seem pretty slow lately at patching major security bugs (especially Ubuntu with their recent kernel fix).
Because of this, the maintenance burden has only grown.
So it's not a clear win.
danparsonson an hour ago
Consider hiding everything behind Wireguard and if you can afford a second server and your provider lets you build a private network, use a gateway as your public server, then you can remove all direct public access to your main server. Configure your providers firewall as well as the software firewalls and now your public attack surface is one Wireguard port and the firewalls. Not perfect by any means but it gives you a bit of breathing space when patches are delayed. Of course you should still patch everything and keep good security within your private network.
Always42 an hour ago
+1 wireguard
probably_wrong 2 hours ago
Security was always a problem, as there always were more CVEs than one can reasonably read and automated attacks are the background noise of the internet. Good practices (service isolation, one purpose per server) remain good practices, LLMs or not.
Fun fact: I recently learned of a server with a 10/10 vulnerability that had been online without updates for the last two years. Sometimes being small pays off.
turtlebits 26 minutes ago
Easy, don't expose anything to the public internet.
manjalyc an hour ago
Alternative to wireguard for some apps you can just put the public facing apps behind Cloudflare’s zero trust login
Self-hosters should not be rolling their own security solution in this environment. It doesn't matter how fast you update, its basically the wild west right now.
randypewick an hour ago
Everything behind a VPN. I don't even have SSH open these days.
Always42 an hour ago
put it behind cloudflare login?
GalaxyNova 2 hours ago
I don't think it made it less but it definitely didn't make it more fun.