Загрузка видео...

Не удалось загрузить видео

На главную

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 просмотров • 3 месяцев назад •via X (Twitter)

Комментарии: 43

Фото профиля Sanket Sahu
Sanket Sahu3 месяцев назад

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
Sanket Sahu3 месяцев назад

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

Фото профиля Sanket Sahu
Sanket Sahu3 месяцев назад

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
Fernando3 месяцев назад

neat project, here i a visualization of it

Фото профиля Sanket Sahu
Sanket Sahu3 месяцев назад

what a lovely visualization!

Фото профиля удар в псину
удар в псину3 месяцев назад

you serious?

Фото профиля Sanket Sahu
Sanket Sahu3 месяцев назад

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

Фото профиля 🧞‍♂️Martin Donadieu - oss/acc
🧞‍♂️Martin Donadieu - oss/acc3 месяцев назад

We need extensions like pgcron etc to be full compatibility

Фото профиля Ashutosh Jha
Ashutosh Jha3 месяцев назад

This sounds amazing @sanketsahu

Фото профиля Carlo Taleon
Carlo Taleon3 месяцев назад

Very cool :D

Фото профиля Vitaly Baum
Vitaly Baum3 месяцев назад

Sounds amazing! Love PocketBase for simple projects

Фото профиля Sanket Sahu
Sanket Sahu3 месяцев назад

You might use this one beyond simple projects :)

Фото профиля Micha(el) Bladowski 🇩🇪 🇺🇦
Micha(el) Bladowski 🇩🇪 🇺🇦3 месяцев назад

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

Фото профиля Sanket Sahu
Sanket Sahu3 месяцев назад

Do have the link lol

Фото профиля Cam Pak
Cam Pak3 месяцев назад

Man, this is exciting!!

Фото профиля Arpit Bhalla
Arpit Bhalla3 месяцев назад

This is really slick. Congrats on the launch! 🚀

Фото профиля Sanket Sahu
Sanket Sahu3 месяцев назад

Thanks 🙌

Фото профиля Winner
Winner3 месяцев назад

This is really cool

Фото профиля Daniel Henrique - cpfhub.io
Daniel Henrique - cpfhub.io3 месяцев назад

that is so cool, nice job !!!

Фото профиля Alin Climente
Alin Climente3 месяцев назад

Nice!

Фото профиля Aditya Trivedi
Aditya Trivedi3 месяцев назад

This is great Sanket. Will check it out right away

Фото профиля Marcelo Josephine
Marcelo Josephine3 месяцев назад

Thanks broo

Фото профиля Durgesh Gupta
Durgesh Gupta3 месяцев назад

Supabase is quite heavy. This is interesting

Фото профиля Alin Climente
Alin Climente3 месяцев назад

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
Sanket Sahu3 месяцев назад

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

Фото профиля Beach Please
Beach Please3 месяцев назад

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

Фото профиля Sanket Sahu
Sanket Sahu3 месяцев назад

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

Фото профиля Beach Please
Beach Please3 месяцев назад

>it was very difficult with docker? why?

Фото профиля Sanket Sahu
Sanket Sahu3 месяцев назад

memory and disk usage on macOS is over 1.5gbs

Фото профиля Beach Please
Beach Please3 месяцев назад

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

Фото профиля Sanket Sahu
Sanket Sahu3 месяцев назад

For 1 instance

Фото профиля Beach Please
Beach Please3 месяцев назад

>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
Sanket Sahu3 месяцев назад

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
Adhham3 месяцев назад

Bro WTH!! Really amazing. Gonna try now.

Фото профиля Niclas
Niclas3 месяцев назад

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

Фото профиля Sanket Sahu
Sanket Sahu3 месяцев назад

I'll fix it as soon as I can

Фото профиля Rakesh Waghela
Rakesh Waghela3 месяцев назад

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

Фото профиля Sanket Sahu
Sanket Sahu3 месяцев назад

@niclas__4 haha, why not

Фото профиля pxnz3r
pxnz3r3 месяцев назад

@webiyo @niclas__4 Can i help with this?

Фото профиля Sanket Sahu
Sanket Sahu3 месяцев назад

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

Фото профиля Florian Bienefelt
Florian Bienefelt3 месяцев назад

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

Фото профиля Sanket Sahu
Sanket Sahu3 месяцев назад

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
D Kashyap3 месяцев назад

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.

Похожие видео