Comment by brabel
2 years ago
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
I didn't say it's better. Why are people always misinterperting what they read (it's like you've never had text interpretation classes at school, or logic lessons to undestand how to infer implications from logical statements correctly)? Please read again: I said it's vastly simpler (which may not be better for you!) and lighter (just measure it). The comparison is apt for me because the description "open-source backend in one file" matches both projects well and it's something I'm interested in, with readbean being far closer to my alley.
Your initial comment presents Redbean as a comparable solution, which it's not; they serve very different use cases.
Redbean requires you to write server code; Pocketbase does not. Redbean does not offer a realtime database, authentication, an admin dashboard, integrated file storage, or an inbuilt API.
I like Redbean, but it's in a completely different "market sector". It's like comparing a kit car to a luxury car: yes, they both technically serve the same purpose, but one requires much less assembly and offers a much more usable experience out of the box.
2 replies →
I think people are being a bit harsh but your original comment (especially starting with "It seems to me" which makes it sound like a value judgment) was phrased in a way that did sound a lot like you were implying that redbean was better for the same requirements, although you didn't actually explicitly say that.
I think you would have gotten a more positive reaction if you said something like "As an alternative take on the idea of an "open-source backend in one file, redbean is a much simpler, vastly lighter one-file web server + sqlite DB: https://redbean.dev/" to make redbean isn't necessarily intended to be the same type of "open-source backend in one file"
Anyway, redbean does look really neat even if it's not necessarily totally interchangeable with pocketbase
I think you meant supabase.com instead of superbase.com.
Fruits can be compared
To me it seems as if both tools serve a pretty different purpose.
Redbean doesn't have authentication or the client SDKs at least.
The self-described purpose is "opensource backend in one file". They both offer that.
Wanted to say thanks for the comment because TIL redbean, which in turn led me to learn about Justine Tunney, who appears to be a super-human programmer based on what I've read so far. Lots of inspirational discoveries on HN this weekend for me—Thanks ya'll!
I love redbean, just holding out for ARM support.
It's here! Download the nightly build, which is a fat binary for x86+arm:
Enjoy! I'll get a release out on redbean.dev soon.
Best late X-Mas present ever. :) Thank you.