Loading video...

Video Failed to Load

Go Home

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 views • 3 months ago •via X (Twitter)

43 Comments

Sanket Sahu's profile picture
Sanket Sahu3 months ago

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.

Sanket Sahu's profile picture
Sanket Sahu3 months ago

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

Sanket Sahu's profile picture
Sanket Sahu3 months ago

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! 🍻

Fernando's profile picture
Fernando3 months ago

neat project, here i a visualization of it

Sanket Sahu's profile picture
Sanket Sahu3 months ago

what a lovely visualization!

удар в псину's profile picture
удар в псину3 months ago

you serious?

Sanket Sahu's profile picture
Sanket Sahu3 months ago

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

🧞‍♂️Martin Donadieu - oss/acc's profile picture
🧞‍♂️Martin Donadieu - oss/acc3 months ago

We need extensions like pgcron etc to be full compatibility

Ashutosh Jha's profile picture
Ashutosh Jha3 months ago

This sounds amazing @sanketsahu

Carlo Taleon's profile picture
Carlo Taleon3 months ago

Very cool :D

Vitaly Baum's profile picture
Vitaly Baum3 months ago

Sounds amazing! Love PocketBase for simple projects

Sanket Sahu's profile picture
Sanket Sahu3 months ago

You might use this one beyond simple projects :)

Micha(el) Bladowski 🇩🇪 🇺🇦's profile picture
Micha(el) Bladowski 🇩🇪 🇺🇦3 months ago

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

Sanket Sahu's profile picture
Sanket Sahu3 months ago

Do have the link lol

Cam Pak's profile picture
Cam Pak3 months ago

Man, this is exciting!!

Arpit Bhalla's profile picture
Arpit Bhalla3 months ago

This is really slick. Congrats on the launch! 🚀

Sanket Sahu's profile picture
Sanket Sahu3 months ago

Thanks 🙌

Winner's profile picture
Winner3 months ago

This is really cool

Daniel Henrique - cpfhub.io's profile picture
Daniel Henrique - cpfhub.io3 months ago

that is so cool, nice job !!!

Alin Climente's profile picture
Alin Climente3 months ago

Nice!

Aditya Trivedi's profile picture
Aditya Trivedi3 months ago

This is great Sanket. Will check it out right away

Marcelo Josephine's profile picture
Marcelo Josephine3 months ago

Thanks broo

Durgesh Gupta's profile picture
Durgesh Gupta3 months ago

Supabase is quite heavy. This is interesting

Alin Climente's profile picture
Alin Climente3 months ago

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)?

Sanket Sahu's profile picture
Sanket Sahu3 months ago

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

Beach Please's profile picture
Beach Please3 months ago

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

Sanket Sahu's profile picture
Sanket Sahu3 months ago

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

Beach Please's profile picture
Beach Please3 months ago

>it was very difficult with docker? why?

Sanket Sahu's profile picture
Sanket Sahu3 months ago

memory and disk usage on macOS is over 1.5gbs

Beach Please's profile picture
Beach Please3 months ago

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

Sanket Sahu's profile picture
Sanket Sahu3 months ago

For 1 instance

Beach Please's profile picture
Beach Please3 months ago

>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?

Sanket Sahu's profile picture
Sanket Sahu3 months ago

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

Adhham's profile picture
Adhham3 months ago

Bro WTH!! Really amazing. Gonna try now.

Niclas's profile picture
Niclas3 months ago

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

Sanket Sahu's profile picture
Sanket Sahu3 months ago

I'll fix it as soon as I can

Rakesh Waghela's profile picture
Rakesh Waghela3 months ago

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

Sanket Sahu's profile picture
Sanket Sahu3 months ago

@niclas__4 haha, why not

pxnz3r's profile picture
pxnz3r3 months ago

@webiyo @niclas__4 Can i help with this?

Sanket Sahu's profile picture
Sanket Sahu3 months ago

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

Florian Bienefelt's profile picture
Florian Bienefelt3 months ago

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

Sanket Sahu's profile picture
Sanket Sahu3 months ago

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

D Kashyap's profile picture
D Kashyap3 months ago

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.

Related Videos