Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Introducing (open-source) A Supabase-compatible backend in a single binary - real Postgres with RLS, no docker (with ~36mb install footprint)! It's like PocketBase, but with Postgres instead of SQLite!

46,008 Aufrufe • vor 3 Monaten •via X (Twitter)

43 Kommentare

Profilbild von Sanket Sahu
Sanket Sahuvor 3 Monaten

A quick comparison of install footprint and memory under load, the full benchmark is available as open-source! The benchmark was run on macOS 15 on Apple Silicon with 48GB RAM.

Profilbild von Sanket Sahu
Sanket Sahuvor 3 Monaten

Got a little studio UI as well with table editor, SQL editor, auth, RLS, Database, Storage, Email UI for OTPs as well.

Profilbild von Sanket Sahu
Sanket Sahuvor 3 Monaten

And it works inside browsers too, in case you need it for a dev env in your browser! Go ahead and try to run your projects locally using `npx tinbase start`. Bugs are expected, happy to fix them! Cheers! 🍻

Profilbild von Fernando
Fernandovor 3 Monaten

neat project, here i a visualization of it

Profilbild von Sanket Sahu
Sanket Sahuvor 3 Monaten

what a lovely visualization!

Profilbild von удар в псину
удар в псинуvor 3 Monaten

you serious?

Profilbild von Sanket Sahu
Sanket Sahuvor 3 Monaten

honestly, thinking of a Rust version too, to reduce the footprint

Profilbild von 🧞‍♂️Martin Donadieu - oss/acc
🧞‍♂️Martin Donadieu - oss/accvor 3 Monaten

We need extensions like pgcron etc to be full compatibility

Profilbild von Ashutosh Jha
Ashutosh Jhavor 3 Monaten

This sounds amazing @sanketsahu

Profilbild von Carlo Taleon
Carlo Taleonvor 3 Monaten

Very cool :D

Profilbild von Vitaly Baum
Vitaly Baumvor 3 Monaten

Sounds amazing! Love PocketBase for simple projects

Profilbild von Sanket Sahu
Sanket Sahuvor 3 Monaten

You might use this one beyond simple projects :)

Profilbild von Micha(el) Bladowski 🇩🇪 🇺🇦
Micha(el) Bladowski 🇩🇪 🇺🇦vor 3 Monaten

Glad you didn't post a link so nobody accidentally installs it 👍

Profilbild von Sanket Sahu
Sanket Sahuvor 3 Monaten

Do have the link lol

Profilbild von Cam Pak
Cam Pakvor 3 Monaten

Man, this is exciting!!

Profilbild von Arpit Bhalla
Arpit Bhallavor 3 Monaten

This is really slick. Congrats on the launch! 🚀

Profilbild von Sanket Sahu
Sanket Sahuvor 3 Monaten

Thanks 🙌

Profilbild von Winner
Winnervor 3 Monaten

This is really cool

Profilbild von Daniel Henrique - cpfhub.io
Daniel Henrique - cpfhub.iovor 3 Monaten

that is so cool, nice job !!!

Profilbild von Alin Climente
Alin Climentevor 3 Monaten

Nice!

Profilbild von Aditya Trivedi
Aditya Trivedivor 3 Monaten

This is great Sanket. Will check it out right away

Profilbild von Marcelo Josephine
Marcelo Josephinevor 3 Monaten

Thanks broo

Profilbild von Durgesh Gupta
Durgesh Guptavor 3 Monaten

Supabase is quite heavy. This is interesting

Profilbild von Alin Climente
Alin Climentevor 3 Monaten

One question: In pocketbase you have the option to extend it with js (with some limitations) or with Go (no limitations). With tinbase I guess you can use JS to extend it as you would for a normal app (install npm packages etc)?

Profilbild von Sanket Sahu
Sanket Sahuvor 3 Monaten

So, you have supabase functions (js) that you can use, it works the same with tinbase!

Profilbild von Beach Please
Beach Pleasevor 3 Monaten

>no docker wouldn't hurt to have one tbh. please?

Profilbild von Sanket Sahu
Sanket Sahuvor 3 Monaten

i had to run 100 instances on one server, it was very difficult

Profilbild von Beach Please
Beach Pleasevor 3 Monaten

>it was very difficult with docker? why?

Profilbild von Sanket Sahu
Sanket Sahuvor 3 Monaten

memory and disk usage on macOS is over 1.5gbs

Profilbild von Beach Please
Beach Pleasevor 3 Monaten

>memory and disk usage on macOS is over 1.5gbs for a 100 instances? that's cheap

Profilbild von Sanket Sahu
Sanket Sahuvor 3 Monaten

For 1 instance

Profilbild von Beach Please
Beach Pleasevor 3 Monaten

>For 1 instance ok that's obviously way more than the raw package but it'll still find it's use, single image supabase package is a 100% easy win. how do you create/update/run edge functions there though? or you don't?

Profilbild von Sanket Sahu
Sanket Sahuvor 3 Monaten

I'm not sure if I understand your question well but edge functions are read from the Supabase/function foldse from fs. correct? the cli picks it up, right? I haven't stress tested booting multiple Supabase instances, tested on Mac only which bloats it because of docker vms I assume

Profilbild von Adhham
Adhhamvor 3 Monaten

Bro WTH!! Really amazing. Gonna try now.

Profilbild von Niclas
Niclasvor 3 Monaten

I like the idea but can you please atleast take the time to polish your page a tiny bit before launching this.

Profilbild von Sanket Sahu
Sanket Sahuvor 3 Monaten

I'll fix it as soon as I can

Profilbild von Rakesh Waghela
Rakesh Waghelavor 3 Monaten

@niclas__4 If one is not embarassed after launching, they are not going fast enough 😂 Very useful tool btw..

Profilbild von Sanket Sahu
Sanket Sahuvor 3 Monaten

@niclas__4 haha, why not

Profilbild von pxnz3r
pxnz3rvor 3 Monaten

@webiyo @niclas__4 Can i help with this?

Profilbild von Sanket Sahu
Sanket Sahuvor 3 Monaten

@cryptopeterg0x @webiyo @niclas__4 help with? this was fixed yesterday!

Profilbild von Florian Bienefelt
Florian Bienefeltvor 3 Monaten

If this helps to run multiple agents on my machine with each their own supabase (impossible right now..), then this is huge!

Profilbild von Sanket Sahu
Sanket Sahuvor 3 Monaten

interesting use-case, let me know how it goes. also, I am extending pg-mem to be more complete, it would be much faster to choose pg-mem over full postgres for this use-case

Profilbild von D Kashyap
D Kashyapvor 3 Monaten

single binary with real Postgres instead of SQLite is the right call for anything that outlives a demo. SQLite backed tools are great until someone needs concurrent writes in production and finds out the hard way.

Ähnliche Videos