Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jackyzha0/cursor-chat
- Owner: jackyzha0
- License: mit
- Created: 2022-03-24T22:05:08.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-27T20:25:30.000Z (over 1 year ago)
- Last Synced: 2025-01-16T11:24:26.116Z (7 days ago)
- Topics: cursor-chat, p2p, vite, yjs
- Language: TypeScript
- Homepage: https://jackyzha0.github.io/cursor-chat/
- Size: 2.88 MB
- Stars: 232
- Watchers: 5
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# cursor-chat
💬 (63.4kB) lightweight cursor chat à la Figma for digital co-existing + presenceAs 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")```