Skip to content

feat(real-time): add cross-platform WebSocket and Yjs integration#81

Merged
SOG-web merged 1 commit intomainfrom
nest
Apr 27, 2025
Merged

feat(real-time): add cross-platform WebSocket and Yjs integration#81
SOG-web merged 1 commit intomainfrom
nest

Conversation

@SOG-web
Copy link
Copy Markdown
Contributor

@SOG-web SOG-web commented Apr 27, 2025

This commit introduces a comprehensive WebSocket adapter system (crossws) for handling real-time communication across multiple platforms (Node.js, Bun, Deno, Cloudflare Workers). It also integrates Yjs for collaborative editing and synchronization. The changes include:

  • New WebSocket adapters for Node.js, Bun, Deno, and Cloudflare Workers.
  • Yjs integration for real-time document synchronization.
  • Utility functions for handling WebSocket messages, connections, and errors.
  • Persistence layer for Yjs documents using LevelDB.
  • Callback system for handling document updates and synchronization events.

The implementation ensures cross-platform compatibility and provides a robust foundation for real-time collaborative applications.

This commit introduces a comprehensive WebSocket adapter system (`crossws`) for handling real-time communication across multiple platforms (Node.js, Bun, Deno, Cloudflare Workers). It also integrates Yjs for collaborative editing and synchronization. The changes include:

- New WebSocket adapters for Node.js, Bun, Deno, and Cloudflare Workers.
- Yjs integration for real-time document synchronization.
- Utility functions for handling WebSocket messages, connections, and errors.
- Persistence layer for Yjs documents using LevelDB.
- Callback system for handling document updates and synchronization events.

The implementation ensures cross-platform compatibility and provides a robust foundation for real-time collaborative applications.
@SOG-web SOG-web merged commit b0ffab8 into main Apr 27, 2025
@SOG-web SOG-web deleted the nest branch May 16, 2025 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant