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.6.tar.gz (74.0 kB view details)

Uploaded Source

Built Distribution

channels_yroom-0.0.6-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

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

Hashes for channels_yroom-0.0.6.tar.gz
Algorithm Hash digest
SHA256 fd585ff71ce553236d3d1e54b7339d7ee9ecbe21433f9c5a170cb40d06cc7a0c
MD5 df8ffa0bfee4f6166cc8fd2bfd12e287
BLAKE2b-256 7dab073ebfb2e35a82886e2cb86e2eb80de1ca9b2ebd521317f2dbe291b56fa1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for channels_yroom-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6d15191025d99d80c52cf66de7a7c5909b003c7f48c92028b52677bc3f7aa5f2
MD5 e687eab4ffa6e3e5e76cb9511bcc6a61
BLAKE2b-256 75016a30044ad291ef1164a6ac9eeb1f00c73cf5aaab482a0fe35001e583abeb

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