Yjs sync protocol server for Django channels
Project description
Channels-Yroom
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
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file channels_yroom-0.0.5.tar.gz.
File metadata
- Download URL: channels_yroom-0.0.5.tar.gz
- Upload date:
- Size: 73.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
852251a045daa1554e6852673cb5b67973ed577691889c2dc88dfc74470ba70c
|
|
| MD5 |
b965a763928b7052f641ffa0d75e1310
|
|
| BLAKE2b-256 |
b74dd49e11b31ef9bf0268630b589c12b4510c0fde822b89c602b373e43e0684
|
File details
Details for the file channels_yroom-0.0.5-py3-none-any.whl.
File metadata
- Download URL: channels_yroom-0.0.5-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64fdffa5500966b23180c932d399680b2734eed254d93122d49aad02fb81a6d7
|
|
| MD5 |
c4730b0a286060d62bfeb46adac666b2
|
|
| BLAKE2b-256 |
223e00f3b34c5e3d156aace32ad8182320e587647989089014b443548e3816de
|