Skip to main content

Yjs sync protocol server for Django channels

Project description

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

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

channels_yroom-0.0.5.tar.gz (73.3 kB view details)

Uploaded Source

Built Distribution

channels_yroom-0.0.5-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

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

Hashes for channels_yroom-0.0.5.tar.gz
Algorithm Hash digest
SHA256 852251a045daa1554e6852673cb5b67973ed577691889c2dc88dfc74470ba70c
MD5 b965a763928b7052f641ffa0d75e1310
BLAKE2b-256 b74dd49e11b31ef9bf0268630b589c12b4510c0fde822b89c602b373e43e0684

See more details on using hashes here.

File details

Details for the file channels_yroom-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for channels_yroom-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 64fdffa5500966b23180c932d399680b2734eed254d93122d49aad02fb81a6d7
MD5 c4730b0a286060d62bfeb46adac666b2
BLAKE2b-256 223e00f3b34c5e3d156aace32ad8182320e587647989089014b443548e3816de

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page