5 ms·
It seems to me that redbean is a much simpler, vastly lighter one-file web server + sqlite DB: https://redbean.dev/ https://redbean.dev/ As a bonus, the same f
by brabel 3y ago
It seems to me that redbean is a much simpler, vastly lighter one-file web server + sqlite DB: https://redbean.dev/ https://redbean.dev/
As a bonus, the same file runs on basically any OS without any dependencies on the local system, not even libc.
- lars_francke 3y agoTo me it seems as if both tools serve a pretty different purpose. Redbean doesn't have authentication or the client SDKs at least.
- brabel 3y agoThe self-described purpose is "opensource backend in one file". They both offer that.
- toastercat 3y agoI love redbean, just holding out for ARM support.
- jart 3y agoIt's here! Download the nightly build, which is a fat binary for x86+arm: wget https://cosmo.zip/pub/cosmos/bin/redbean chmod +x redbean ./redbean Enjoy! I'll get a release out on redbean.dev soon.
- toastercat 3y agoBest late X-Mas present ever. :) Thank you.
- TeddyDD 3y agoIt'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
- testless 3y agoI think you meant supabase.com instead of superbase.com.
- brabel 3y agoI 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.
- Philpax 3y agoYour 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.
- brabel 3y agoThey are comparable solutions to the problem "Open-source backend in one file". I don't care at all about "realtime database, authentication" and whatever, I care about what the title of the post says. For that purpose, Redbean is a nice alternative. > It's like comparing a kit car to a luxury car If all I need is a bicycle, a kit car is already over the top but will do. A luxury car makes no sense. You're thinking like everyone has the same needs that you have or something.
- Philpax 3y agoAh, I see - my apologies, I think there's an unfortunate misalignment over the word "backend." When Pocketbase is talking about a backend, they're talking about something like Firebase, which is a complete backend-as-a-service that implements everything you need for a service where the majority of the logic is in the frontend; it's meant to involve as little backend engineering as possible. You're referring to the more general, standard sense of the word "backend". I agree with the sibling comment that you're not necessarily wrong in offering Redbean as a point of comparison, but the target user of Pocketbase has limited overlap with the targeted user of Redbean; the people looking for a Firebase-like solution would not be served by Redbean, and your initial post could be read as suggesting that they could be. I do think the use of the word "backend" here is unfortunate, because it's really referring to something much more specific than the conventional use of the term.
- imperialdrive 3y agoWanted 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!