WordyMe OSS
Open-source educational platform
Self-hostable education workspace with hierarchical documents, real-time sync, and a rich editor.
I jumped in to tackle the most complex backend features—specifically figuring out how to efficiently store nested document hierarchies and getting real-time collaboration to stay perfectly in sync.
- Monorepo setup
- Turborepo splits the SDK, types, UI, and editor into their own packages — so nothing bleeds where it shouldn't.
- Live collaboration
- Socket.io handles the syncing so two people can edit the same doc without stepping on each other.
- Nested documents
- Spaces, notes inside notes, favorites, version history — basically the hierarchy you'd expect from a real workspace.
- Built to self-host
- Fully self-hostable so teams can deploy it on their own infrastructure and keep complete control over their internal documents.
- auth.getSessionbetterAuth.getSession4ms
- zod.parsezod.parse(UpdateDocument)1ms
- db.documents.updatedb.documents.update9ms
- db.revisions.insertdb.revisions.insert6ms
- io.to(space).emitio.to(space).emit4 peers3ms
illustrative · mirrors how the request is wired, not measured
