tiger9644's Thread
is it ok to build real time collaborative stuff with convex?
e.g. cursor moving around as you move the mouse around?
17 Replies
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. If this is a support question related question please create a post in #support-community. If not, carry on! Thanks
i typically use liveblocks for this
but im wondering if convex is ok
My assumption is that it wouldn't be the best, as there would be a huge excess of mutations / users subscribed to the associated queries
Exactly π―
Was thinking the same
I think you can make this work. @sujayakar had a great internal demo that batched and replayed. If everyone is watching the same quiet then it will be cached too. Not sure how baked the demo was @sujayakar
Implementing Presence with Convex
Some patterns for incorporating presence into a web app leveraging Convex, and sharing some tips & utilities I built along the way.
An older post, but perhaps still relevant.
@ian just published this one today:
https://stack.convex.dev/add-a-collaborative-document-editor-to-your-app
Add a collaborative document editor to your app
Or how I learned to love Tiptap and ProseMirror OT sync.
@Tiger π
we have to polish it a bit, but hereβs the demo indyβs talking about: https://github.com/get-convex/multiplayer-cursors
GitHub
GitHub - get-convex/multiplayer-cursors
Contribute to get-convex/multiplayer-cursors development by creating an account on GitHub.
deployed demo: https://multiplayer-cursors.vercel.app/
yeah hoping to make a presence component in the new year, as well as add some presence to another collaborative document editor component
interesting
gonna check it out
what i do here is update presence with liveblocks on pointer move https://github.com/tigerabrodi/gojo/blob/main/app/routes/boards_.%24id/route.tsx#L243
their collaborative servers sit on the edge, so its pretty fast
GitHub
gojo/app/routes/boards_.$id/route.tsx at main Β· tigerabrodi/gojo
A real-time multiplayer brainstorming web app built with Remix and Liveblocks. - tigerabrodi/gojo
oh yeah im definitly going with liveblocks
thats way too complex
i wouldve just updated with a mutation
not sure if that's too much strain on the server
yeah, makes sense. still very early on our side π
totally understandable β€οΈ
ty for all the work!
might be something i pick up myself
its a very interesting problem to make "good"
or better said
make it feel good
but no promises lol
i got 3 weeks off
gonna grind on variouis projects and learnings
multiplayer-cursors.. another app i missed.. I spent quite a bit of time with presence, the cursor tracking part is definitely a bit more advanced then everything else. Id say the only thing harder than that is creating a compelling app that uses cursors. π