72

Pocketbase – open-source realtime back end in 1 file

Is this really realtime?

From looking at the description it sounds more like subscriptions to events of data changes that are dispatched close to the data operation

How would realtime even work for a networked system going over tcp?

https://en.wikipedia.org/wiki/Real-time_computing

3 minutes agoffsm8

Realtime in tech is considered in timespans with short delays allowed, last time i have read about it it was like 100ms.

2 minutes agozwnow

Whats the method to maintain a git repo of JS and unit tests? I remember a team with Firebase copy pasting code from dev to prod and between "modules" within an env and making a ton of mistakes.

5 minutes agoaitchnyu

Trailbase is the same concept, but written in Rust instead of Go.

25 minutes agorubenvanwyk

TrailBase has a comparison page https://trailbase.io/comparison/pocketbase/

12 minutes agoodie5533

What a respectfully and humbly written comparison page. Ditto for their Supabase comparison. I can't rate the objectivity since I know very little about TrailBase but they got my attention now. It brings me such joy to see such a writeup in a world where humility is perceived as weakness. Kudos.

a minute agocyco130

I appreciate their honesty. After a quick look I’d give another point to Pocketbase for it’s admin UI. The TrailBase one is pretty sloppy (on mobile at least), and looks like it’s using bootstrap.

Pocketbase has a sense of quality/care around it that seems missing.

2 minutes agorudedogg

It got some good discussion back in January, 2024: https://news.ycombinator.com/item?id=38898934

There have been a ton of releases since then. It looked like a pretty interesting project at the time. It made me want to look for a project to use it for but I never got around to it.

I'd be interested to hear from people who have been using it and how keeping up with the releases has been (compatibility / breaking changes in API, ease of migration, issues, etc).

39 minutes agoEvanAnderson

I've been using it for a while. There was only one release that required manual migrations. I think 0.23.0 and apparently the dev is backporting security updates for those who haven't upgraded.

I use Go so all I have to do is `go get -u` and `go mod tidy` and then it's upgraded. It works great.

33 minutes agoimpure

Been following this for some time now and it's a real delight to use. SSE subscription is really nice.

18 minutes agozipping1549

Is this some sort of supabase but with sqlite and without the operational complexity?

an hour agomickael-kerjean

Yes that is what it is.

15 minutes agoodie5533

> PocketBase is an open source backend consisting of embedded database (SQLite) with realtime subscriptions

I am not sure I understand—is this a wrapper around SQLite?

26 minutes agowowamit

It makes SQLite a service that provides you with an authenticated data access layer via a REST API. It is not a wrapper although it does use SQLite as its database.

15 minutes agoodie5533

It creates a REST API for your SQLite database with some extras.

20 minutes agoRedShift1

This is an amazing project, can't wait to see the 1.0

an hour agosjdonado

Apparently 1 file just means a static go binary with a bunch of separate assets compiled in.

I guess for some reason I was hoping for source code that was only one file.

44 minutes agoranger_danger
[deleted]
2 minutes ago

Same

34 minutes agoflorians

Like a single header c lib from some eastern European S tier programmer.

24 minutes agodustbunny

tsoding mentioned