AI made self-hosting fun again

(janlukas.blog)

160 points | by jlelse 2 hours ago

36 comments

  • cliche 36 minutes 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 26 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 14 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.
    • singingtoday 1 minute 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 23 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 8 minutes ago
        Any examples of these businesses going to 5-20M ARR in a few months?
      • cliche 9 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 15 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 7 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.
    • noosphr 14 minutes ago
      We are entering levels of bipolar lisp developer never before seen in the history of programming.
    • sentacraft 14 minutes ago
      [dead]
  • jasonriddle 5 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 1 minute 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.

  • 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 37 minutes 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 34 minutes 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 30 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 55 minutes 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 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 54 minutes ago
            Are they comparable, though?
          • 0xdeafbeef 14 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
          • whacko_quacko 35 minutes ago
            I use windows, btw
    • dofm 24 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.

    • turtlebits 1 hour ago
      Keep it all internal with Tailscale, or use Pangolin (or Cloudflare)
    • InsidiousWombat 56 minutes ago
      debian + unattended-upgrades + scheduled reboot for kernel upgrades gets you most of the way there
    • 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.

    • esseph 41 minutes ago
      Or you can just use wire guard to your router, or tail scale, or cloudflare tunnels and never actually expose the endpoint directly.
    • LtWorf 1 hour ago
      • 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 36 minutes 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 26 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.
  • singingtoday 3 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!

  • oliyoung 8 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 58 minutes 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.
  • scottydelta 14 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 38 minutes 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 14 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.

      https://mise.jdx.dev/bootstrap.html

  • xtracto 1 hour 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...)
  • markasoftware 1 hour 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 57 minutes 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 57 minutes ago
            Which were trained on the paid models. You’re just one step removed.
            • the-real-cha0s 46 minutes ago
              > You got all the benefits and all you didn't get was a lifetime subscription dependency

              Darn, so close to liberation.

          • bakugo 22 minutes ago
            Do you have the hundreds of GBs of VRAM required to self-host a competent model at home?
        • solyin 58 minutes 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 16 minutes ago
            What? Like honestly what are you even trying to say here?
    • GCUMstlyHarmls 33 minutes 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 1 hour 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 19 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.

  • dawnerd 18 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.
  • bendauphinee 38 minutes 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.

  • manjalyc 1 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.

  • trowawee 1 hour 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 1 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 37 minutes 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 1 hour 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 1 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.
  • randypewick 1 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".
  • killingtime74 1 hour 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 1 hour 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.

  • jrecyclebin 1 hour 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 1 hour 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.
  • jraph 1 hour ago
    It did the opposite: self hosting has been fun, but now you have to fight the constant flow of AI bots.
  • jerty13 38 minutes 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 1 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?
  • 1239876144 1 hour 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:

    https://gmplib.org/

  • ares623 31 minutes ago
    $2 trillion dollars in capex can make _anything_ fun again.
  • bakugo 1 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 27 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 21 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”.
  • holoduke 1 hour 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 1 hour ago
    Also made it necessary. #hardforkeverything
  • niumeta_TZ 5 minutes ago
    [dead]
  • sick_of_slop 10 minutes ago
    [dead]
  • igotsomad 14 minutes ago
    [dead]
  • therealmarv 1 hour 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.

    • turtlebits 11 minutes ago
      Easy, don't expose anything to the public internet.
    • danparsonson 1 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.
    • probably_wrong 1 hour 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.

    • manjalyc 1 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 58 minutes ago
      Everything behind a VPN. I don't even have SSH open these days.
    • Always42 1 hour ago
      put it behind cloudflare login?
  • GalaxyNova 1 hour ago
    I don't think it made it less but it definitely didn't make it more fun.