Gollab is a library written in pure Go providing basic functionality needed to implement a collaborative editor similar to Google Docs or Office 365. Gollab has zero external dependencies.
The project is self-documented in its source code - check out the auto-generated documentation at pkg.go.dev.
You can check out a working example here. I'm working on setting up a repository with a bunch of examples and a separate library providing WebAssembly, WebSocket and Redis integrations (as used in the example above).
This code is available under the terms of the MIT license. You can read its full terms in the LICENSE file.