Skip to content

Django Channels WebSocket consumer and worker for synchronizing Yjs clients

License

Notifications You must be signed in to change notification settings

JannKleen/channels-yroom

 
 

Repository files navigation

Channels-Yroom

PyPI

channels-yroom is a Django Channels WebSocket consumer and worker for synchronizing Yjs clients. It implements the network protocol for Yjs doc synchronization and awareness updates and makes them available as Django Channels WebSocket consumer and worker.

Documentation

Read the documentation

Showcase: text collaboration example

The example folder contains a simple project that uses y-prosemirror to allow for realtime collaboration on rich text.

Run the included Docker compose file to check it out:

docker compose up
# Then visit localhost:8000

Development

Project uses hatch for the development workflow:

pip install hatch

hatch run +py=3.10 test:test

License

MIT

About

Django Channels WebSocket consumer and worker for synchronizing Yjs clients

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 81.6%
  • JavaScript 14.4%
  • HTML 2.7%
  • Other 1.3%