Live data from Hacker News

Pocketbase: Open-source back end in one file

pocketbase.io

21–30 of 151 posts

Re: Pocketbase: Open-source back end in one file

#21
post #9

It seems to me that redbean is a much simpler, vastly lighter one-file web server + sqlite DB: https://redbean.dev/ As a bonus, the same file runs on basically any OS without any dependencies on the local system, not even libc.

I love redbean, just holding out for ARM support.

Re: Pocketbase: Open-source back end in one file

#25

Cool homepage but I don't even understand what this thing does.

Are you a developer? Because it seems to be geared towards developers. It's something like a all-in-one backend that you can use as a starting point and extend if needed.

Personally, I think the website is clear and concise. Doesn't even have any marketing filler which is a huge plus in my corner.

Re: Pocketbase: Open-source back end in one file

#26

Scouring the documentation there's mention of a way to use PocketBase without JavaScript or Dart. Are they the only methods?

It seems to be Golang based from what I can tell? And I'm guessing it either exposes a HTTP or WebSocket API, both which are usable from any language.

Re: Pocketbase: Open-source back end in one file

#27
post #15

What are realistic bottlenecks to expect from a backend like this? Eg. a web app serving users that write posts simultaneously

More than one server. Sqlite should be thread safe and simple services can scale to thousands of parallal users. If you are OK with some downtime every 6 months when server goes down it will scale well. Deploy/ rollback will be an effort.

Downside with separate SQLite databases will be when you want to have statistics over many users.

Re: Pocketbase: Open-source back end in one file

#28
It is great to see the number of good opensource projects in this area. Grist and NocoDB deserve mentions, although more targeted towards database management. It is also amazing that they provide so simple ways to get started (single file/electron)

- https://github.com/gristlabs

- https://nocodb.com/

Re: Pocketbase: Open-source back end in one file

#29
post #9

It seems to me that redbean is a much simpler, vastly lighter one-file web server + sqlite DB: https://redbean.dev/ As a bonus, the same file runs on basically any OS without any dependencies on the local system, not even libc.

It's like saying nginx is better than superbase/firebase. Apples to oranges.

You could replicate PocketBase in Readbean, but you would have to implement from scratch: - resources with CRUD API and real time subscriptions - admin UI - authz & authn system

Re: Pocketbase: Open-source back end in one file

#30
post #26

Scouring the documentation there's mention of a way to use PocketBase without JavaScript or Dart. Are they the only methods?

It seems to be Golang based from what I can tell? And I'm guessing it either exposes a HTTP or WebSocket API, both which are usable from any language.

This is correct. It's golang and it exposes a plentiful API.
Post reply on HN