An unofficial, read-only Hacker News reader.

AI made self-hosting fun again (opens external site)

1159 points by jlelse 2 days ago | janlukas.blog | 550 comments on HN

View full thread · View on Hacker News

Comment thread (32)

  1. 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
    Replies (13)
    1. 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.

    2. 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.
    3. 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.

    4. 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.
      Replies (3)
      1. But becoming entirely reliant on AI subscriptions is somehow better?
        Replies (3)
        1. Plenty of self hostable models can be used in self hostable chat / coding harnesses with a hostable web search tool.
          Replies (2)
          1. Which were trained on the paid models. You’re just one step removed.
            Replies (2)
            1. > You got all the benefits and all you didn't get was a lifetime subscription dependency

              Darn, so close to liberation.

            2. Who cares? I can download it from Hugging face today and pay nothing to run it.
          2. Do you have the hundreds of GBs of VRAM required to self-host a competent model at home?
            Replies (1)
            1. Turns out you don't need very competent models to google "[project] docker compose" and write some yaml.

              Continue this thread (1 replies) →

        2. $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.
          Replies (1)
          1. What? Like honestly what are you even trying to say here?
        3. I can get a lot for $20/mo. When I am actively working on larger projects, I can even justify $100. My laptop is good enough to run Inkling 2 Mini which can now do a lot of this stuff for free as well if I ever choose to do that.

          I get a ton of value out of my AI subscription just for fixing random problems for me. What I don't want to do is pay anything from $5-$15 per month each for tracking my kid's feedings/diaper changes, or for tracking my finances or so many other things. The open source apps exist. But it used to be a hassle to maintain them with docker + config files and everything else. Now I just open up a SSH link to my local server with a unix socket tunnel and have an agent connect and just do it for me. Then I have it set up a CloudFlare tunnel without the hassle of going and doing it manually through their web interface.

          It takes away so much friction.

      2. 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.
      3. > I couldn't care less about knowing the details of how to configure some specific web app with all its quirks.

        You might know this, but there could be security issues hidden in those details. One common example people miss is that Docker opens any ports you export on a container on the host as well. It's so common they've added a warning[1].

        > Publishing container ports is insecure by default. Meaning, when you publish a container's ports it becomes available not only to the Docker host, but to the outside world as well.

        This means that you might set it up behind a proxy with authentication and everything as you should but Docker was helpful and enabled bypassing the authentication by accessing the port directly (on the local network).

        So you should care.

        [1]: https://docs.docker.com/engine/network/port-publishing/

        Replies (1)
        1. I host my apps on a local server that is not open to the internet. The only way they can be accessed is over Cloudflare tunnel or on the local network. So I am a lot less worried about that.
          Replies (1)
          1. Who is on that local network and are you sure they're as capable as you are? Their apps and even websites on some browsers can scan the local network.

            Either way my point is, always read the docs and know the tools you use. Don't offload your security out of laziness.

    5. 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.

    6. I just want jellyfin and immich running even if the internet is out
    7. I think this is just a repeat of why some people are programmers (lifestyle[0]) and some people are programmers (career[1]).

      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.

      [0] lifestyle: they wrote code before it was a job, they'll write code after they retire.

      [1]: career: it makes (made?) good money and they could do it but they would be equally passionate about being an accountant, network tech, sysadmin, ...

      Replies (1)
      1. I would have definitely put myself in the former category: I've been programming since I was 6, I would comfortably have said I wrote code every day, I've done a lot of stupid things[0] with code for the hell of it, etc.

        What's changed is the scope of what I take on now, and where I am involved in the process. I'm doing the same work, but now at the architecture and planning level. I'm not asking Claude to "one shot x app make no mistakes", I'm planning, revising, designing.

        It's closer to having been a carpenter when power tools came out. I love carpentry, and maybe before I thought I loved the pulling the saw back and forth or the chiseling, but no, I enjoyed the actual carpentry, and now I'm doing a lot more of it.

        0: https://github.com/pjlsergeant/xslt-fever-dream

    8. Control, customization, permanence, pride, learning, fun.
    9. It's really nice making your applications that solve your specific problems.
      Replies (1)
      1. Exactly. I don't know why this gets overlooked by all the skeptics here.

        Small and extremely bespoke software is just _nice_. You can have it easily now - especially if you are already competent. Why not do it?

    10. Its cheaper, you get better hardware, more control, more privacy.
    11. It doesn't negate it if you treat it like real pairing.
    12. Especially when it comes to LLMs, I don't like constantly being told, “Boo-hoo-hoo, I'm not going to do that for you because it's bad, bad, bad!”
    13. I manage all of my company's services and hosting. Some on bare metal, some on kubernetes, and some on shared hosting. And I could not find anything worthy of self hosting other than home asistant and an e-book manager for my e-book reader.