Oh wow- I’m a huge fan of Supabase and have loved using it in a few Sveltekit projects so far! I gotta ask- how straightforward would it be to power a collaborative code editor with this?
I have a YJS powered collaborative Svelte REPL I built using y-monaco and y-webrtc, all “serverless” on Vercel using CFWorkers to connect/verify users. Supabase already houses the private REPL loading/saving/sharing features. Native Supabase CRDTs could be perfect for the next version of the app!
definitely. it's one of the primary use-cases we had in mind when developing this, and something we've wanted to offer for a long time. I'm happy to see it popping up early in the comments. We wouldn't offer our own CRDTs, but Realtime can be a nice transport layer for other CRDT implementations (which can then be serialised and persisted to your database)
> YJS powered
I'm also glad to see you're using Yjs - it's very cool. We hope that this implementation can be another Yjs Provider[0] if Kevin is onboard with that. Once that's implemented, you would be able to use it with all the same bindings (i.e. y-monaco).
I have a YJS powered collaborative Svelte REPL I built using y-monaco and y-webrtc, all “serverless” on Vercel using CFWorkers to connect/verify users. Supabase already houses the private REPL loading/saving/sharing features. Native Supabase CRDTs could be perfect for the next version of the app!