An unofficial, read-only Hacker News reader.

PocketBase has moved off GitHub (opens external site)

317 points by p2detar 12 hours ago | github.com | 143 comments on HN

View full thread · View on Hacker News

Comment thread (9)

  1. I don't mind people wanting to move off GitHub, but why not go to Forgejo or something? Ah well, to each their own.

    Has anyone tried Pocketbase, or another Supabase alternative? Are they good? I want a backend for my small, otherwise static apps and silly games, like https://quarto.stavros.io. What's good that supports websockets/realtime and maybe basic users?

    Replies (4)
    1. PocketBase is excellent IMO, accelerating the building of a wide class of 3-tier apps and being very simple and straight forward to deploy and manage. A single Go executable with an SQLite database and optional custom extensions registered with hooks gives you the entire backend and management console. There's a frontend SDK too. I've used it with the built-in subscriptions (SSE) for a real(ish) time scoring system and it works fine for light concurrency.
      Replies (1)
      1. Thanks! You've convinced me, I'm deploying it right now.
    2. Supabase is pretty heavyweight. I personally like PocketBase with one small exception - it doesn't support null as a valid value, even though the backing database is SQLite.

      You can work around it (aka a magic constant), but if all floating-point values have a meaning for a given column then you effectively have to create an additional boolean column, `isColumnFilled` to indicate whether the data in there is valid.

      Replies (1)
      1. Huh, that's a pretty weird limitation, I wonder why that decision was made. Still, seems worth trying out, thanks!
    3. All of the Superbase/Firebase alternatives will either have difficult self hosting or strange limited hosted options .

      I’d probably use Django and vibe code any custom functions needed.

      PS: Carefully evaluate if you really want to add multiplayer to a small game. So many considerations are involved with security and other issues. It can quickly take the fun out of building it

      Replies (1)
      1. Eh for a game between friends it's fine, and I don't want a full backend for it. I use a simple message queue for the state but maybe Pocketbase has a little nicer primitives for this.

        I'll look into it more, but even just better channels is enough for the kind of 20-minute games I build (like the one above, or https://justone.stavros.io/ to quickly play with friends).

        Replies (1)
        1. Any reason you don’t want to roll your own with NodeJS and web sockets.

          Claude should be able to build it pretty easily.

    4. It is my go-to "backend" for every little tool I'm building.

      There are some annoyances with its admin interface I have to live with when manually adding/editing records (to give an example, the datetime field uses MM-DD-YYYY and there's no way to change that), but it does the job I want it to do and I never felt the need to look for an alternative.