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
File details
Details for the file channels_yroom-0.0.6.tar.gz
.
File metadata
- Download URL: channels_yroom-0.0.6.tar.gz
- Upload date:
- Size: 74.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd585ff71ce553236d3d1e54b7339d7ee9ecbe21433f9c5a170cb40d06cc7a0c |
|
MD5 | df8ffa0bfee4f6166cc8fd2bfd12e287 |
|
BLAKE2b-256 | 7dab073ebfb2e35a82886e2cb86e2eb80de1ca9b2ebd521317f2dbe291b56fa1 |
File details
Details for the file channels_yroom-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: channels_yroom-0.0.6-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d15191025d99d80c52cf66de7a7c5909b003c7f48c92028b52677bc3f7aa5f2 |
|
MD5 | e687eab4ffa6e3e5e76cb9511bcc6a61 |
|
BLAKE2b-256 | 75016a30044ad291ef1164a6ac9eeb1f00c73cf5aaab482a0fe35001e583abeb |