Top
Best
New

Posted by jlelse 2 hours ago

AI made self-hosting fun again(janlukas.blog)
206 points | 115 comments
cliche 1 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 53 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 41 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.
wholinator2 50 seconds ago||
Perspective changes a lot the closer you get to retirement. For many young people it has literally been the death of the industry. Juniors were laid off in mass.
singingtoday 28 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!

the__alchemist 16 minutes ago|||
Very cool! What are some of the things you built with this technique you're most proud out
echelon 50 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 35 minutes ago|||
Any examples of these businesses going to 5-20M ARR in a few months?
45sdasf45 22 minutes ago||
haha no, because any idiot can make an app that does the same thing as you now. There is no money in SaaS now, and you are just putting your gullible customers at risk when you are inevitably hacked and you lose all your customer data/credentials.
cliche 36 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 42 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 34 minutes ago||
Our products are mostly not vibe coded but we are seeing this more and more; clients are replacing more and more just by using Claude code to make their own version of some module or app. It’s quite wild already; many of these people barely knew how to make a screenshot (they still cannot do that themselves but AI can) and now they are making apps for their business or department in a few weeks that replace things they paid for for years or even decades.
dolebirchwood 2 minutes ago||
This is where people complaining about the "end of my career" should be paying attention. There's tons of opportunities for contracting and consulting to help small and mid-sized businesses create custom solutions for their tech problems that they were never able to afford in the past. Now there are actually cost-effective options on the table, but most business owners still don't want to deal with it themselves. Now you can be a whole software engineering at a fraction of the old world cost. I've already got months of work lined up that would not have been here for me pre-AI.
noosphr 41 minutes ago|||
We are entering levels of bipolar lisp developer never before seen in the history of programming.
cliche 9 minutes ago||
Had to look up the reference. Describes me very accurately. Weirdly though only on the graveyard of side projects. My professional life I’ve managed to get head down and ship the software. And I still take pride in what I build - professional software engineering.

I think a lot of folks like myself just do something out of interest, get the initial buzz and learn some stuff.

Not everything needs to be economically productive. I’m quite grateful for LLMs that I’ve been able to get at least some side projects into a useable state… even if just for myself as an unprofessional software engineer.

sentacraft 41 minutes ago||
[dead]
joshstrange 3 minutes ago||
I couldn't agree more. I've been self-hosting/home-lab-ing for decades now and my, already high, usage of open source software has ballooned in the last year. I think I set up Immich myself earlier this year on my server but since then, pretty much every project has been deployed/managed by an agent.

Any changes/checks/updates/etc needed, I mostly do through an agent. It will surface any release notes I need to see, it will do the backups I never did (lazy), it will make sure to lock down access better than I have in the past (due to mistakes/misconfiguration).

I'm much more likely to try out an open source project since the time investment for setup is practically 0, therefore "ROI" is easier to achieve. I've spun up and down many things, I've written even more from scratch (with agents), and it's just so much easier to do things "right". I have backups of critical data now, I have hourly/nightly postgres backups depending on the service (backed up to the cloud), I'm actually checking the backups and testing them unlike in the past.

I love that closed models are enabling more independence and making it easier to switch away from the big clouds/tech. And when they rug-pull, I'll switch to the very capable (though not as good as the frontier) open models, maybe pay for 1 more month of Claude to have it help convert everything to GLM/DS/etc (which would be delicious itself).

jjcm 1 hour 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.

usui 1 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 1 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 57 minutes ago||
Yeah, that's a point worth mentioning, but none of the hosts I connect to have public DNS records pointing to them or use a public CA.
pkulak 1 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.

cromka 21 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.

schleck8 12 minutes ago|||
> 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.

You can automate that

skullone 1 hour 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 1 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 1 hour ago|||
If only nixos existed and llms were good at it :)
skullone 1 hour ago|||
I'm just way more comfortable and used to traditional bare metal, kvm, and k8s via RKE2.
hparadiz 1 hour ago|||
gentoo is far superior in every way :)
oblio 1 hour ago|||
Are they comparable, though?
hparadiz 13 minutes ago||
Not really no. I tend to think everyone should be building their entire stack from source these days. I don't know why these distros with binaries pre-compiled are so popular these days when an LLM can fork it for you at any time. Especially among the Nix crowd. Like why would you want someone else to compile your software? I mean this seriously. Between you and bare metal there's really not that much. Linux kernel? 20 minute compile. Grub2, OpenRC / Systemd / sddm, kde or hyprland w/e, the browser is actually the thing that will take the longest to build. So do it. There's no excuses anymore. You can do it while you sleep.
0xdeafbeef 41 minutes ago||||
Is it reproduicable though? Can you run nixos-anywhere <host>, then ssh into into it run borg restore and you have same server as you backuped? Doubts
hparadiz 23 minutes ago||
Gentoo ebuilds are the original byte for byte immutable build architecture. Have an LLM explain it to you.
whacko_quacko 1 hour ago|||
I use windows, btw
turtlebits 1 hour ago|||
Keep it all internal with Tailscale, or use Pangolin (or Cloudflare)
dofm 51 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 1 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 1 hour ago|||
debian + unattended-upgrades + scheduled reboot for kernel upgrades gets you most of the way there
LtWorf 1 hour ago|||
https://manpages.debian.org/trixie/unattended-upgrades/unatt...
selcuka 1 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 1 hour ago||
And for some reason these days everyone and their cat wants you to install their software with `curl http://some-sketchy-site.com/install | bash`, even if building packages is easier than ever with LLMs and free Github Actions.
jazzyjackson 1 hour 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 53 minutes ago|||
Fedora IOT on a Raspberry Pi with automatic updates works pretty well too for internal network services (pihole, jellyfin etc)
abroszka33 1 hour ago|||
Same setup. I went with Debian. Non standard ssh port, no pass, key only and wireguard. So far so good.
hparadiz 19 minutes ago||
You're not gonna get pwned through SSH. You'll get pwned through some random dependency one of your things is using.
esseph 1 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.
kikoreis 3 minutes ago||
Fun, possible and on occasion necessary. There is a lot of misalignment of interest with modern service providers, so we all need to a) pick them carefully and b) use some proportion of self hosted services -- kinda "stay sharp or become the mark".

I have been running a bunch of stuff self hosted now including BBS (with ENIGMA1/2) and SMTP (with mox) and it is a strange adventure (with QSD grade nostalgia mixed in).

Currently looking for something simple for git for a small team.

jasonriddle 32 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 28 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 35 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 1 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.
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 1 hour 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 1 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 1 hour ago|||
But becoming entirely reliant on AI subscriptions is somehow better?
c-hendricks 1 hour ago|||
Plenty of self hostable models can be used in self hostable chat / coding harnesses with a hostable web search tool.
snowe2010 1 hour ago|||
Which were trained on the paid models. You’re just one step removed.
the-real-cha0s 1 hour ago||
> You got all the benefits and all you didn't get was a lifetime subscription dependency

Darn, so close to liberation.

bakugo 49 minutes ago|||
Do you have the hundreds of GBs of VRAM required to self-host a competent model at home?
solyin 1 hour ago|||
$20/month for OpenAI vs first you guys dodge three different non-wordpress vendors, then you gotta give WordPress you're email address. Then you gotta deal with WordPress plugins. Yes, I'd rather just give OpenAI $20/month and be done with it.
dawnerd 43 minutes ago||
What? Like honestly what are you even trying to say here?
GCUMstlyHarmls 1 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 46 minutes ago|||
Control, customization, permanence, pride, learning, fun.
jazzyjackson 1 hour ago|||
I just want jellyfin and immich running even if the internet is out
HolyLampshade 1 hour 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 1 hour 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 1 hour 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.

singingtoday 30 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 25 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.

Trasmatta 4 minutes ago||
That's why you use a mini PC running on your home network and only access it via Tailscale / Headscale. There are still risks, but way way less than running services fully exposed to the Internet on a VPS somewhere.
comrade1234 5 minutes ago|||
My self-hosted git server has better uptime than GitHub. My personal email server has better uptime than Gmail. I have way better uptime than Aws and azure.
hparadiz 18 minutes ago||
I always run my primary desktop as a DMZ facing the internet. It's way more fun that way.
More comments...