An unofficial, read-only Hacker News reader.

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

1163 points by jlelse 3 days ago | janlukas.blog | 550 comments on HN

View full thread · View on Hacker News

Comment thread (17)

  1. 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.
            Replies (1)
            1. I tried self hosting a model and it was dog slow.

              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.