Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jackyzha0/cursor-chat

💬 cursor chat à la Figma for digital co-existing + presence
https://github.com/jackyzha0/cursor-chat

cursor-chat p2p vite yjs

Last synced: about 7 hours ago
JSON representation

💬 cursor chat à la Figma for digital co-existing + presence

Awesome Lists containing this project

README

        

# cursor-chat
💬 (63.4kB) lightweight cursor chat à la Figma for digital co-existing + presence

As a warning, this library is for experimental purposes and should not be used in production (but very suitable for personal websites and playful experiments!).

Built on top of [yjs](https://github.com/yjs/yjs) and [perfect-cursors](https://github.com/steveruizok/perfect-cursors)

For a React version of this library, check out [y-presence](https://github.com/nimeshnayaju/y-presence).

## Demo
![Cursor Chat Demo](./docs/demo.gif)

Press `/` to start chatting and `esc`

## Usage
Include this fragment in your HTML somewhere to include the base HTML divs, the compiled JavaScript bundle, and the styling.

```html



import { initCursorChat } from 'https://esm.sh/cursor-chat'
initCursorChat("your-room-name-here")

```