Dan Shipper
๐ค SpeakerAppearances Over Time
Podcast Appearances
And yeah, what I decided was it would be really cool to release it for free so anyone can do it without even logging in, log in unnecessary and open source.
And so we launched it and it went viral and people loved it.
And there was like, I don't know, four or 5,000 documents created in the first day or two.
And it was really cool.
Um, and I vibe coded it.
And so there were a lot of, there were a lot of problems with it.
Say more, say more.
Like what are we, what are we talking about here?
So collaborative documents are, um,
They're effectively a solved problem.
There's a couple of open source, well-known open source libraries that make doing collaborative documents fairly easy, or it can be fairly easy.
And so I obviously, like, I knew about those things, and I asked Codex to use their, the stack I use is YJS and Hocus Pocus.
YJS is this, like, underlying, like, library for collaborative documents, and Hocus Pocus is, like, a wrapper around it.
And I asked it to use that, and it did, and it was working, and what...
happened was as it as it was working it hadn't really read all of the like yjs hocus pocus best practices um
And there are a couple things you need to do at the very start of your project and a couple ways of thinking about how data should flow and who gets to write data when, for example.
Because it gets very complicated when you have someone typing over here and someone typing over here and an agent over here.
And you're trying to create a unified, always up-to-date version of the document.
You have to be pretty careful about how you set that up so that no one gets confused.
Right.