https://github.com/brianhung/tldraw-yjs
An example of using tldraw together with yjs with codemirror and prosemirror.
https://github.com/brianhung/tldraw-yjs
codemirror prosemirror tldraw yjs
Last synced: 6 months ago
JSON representation
An example of using tldraw together with yjs with codemirror and prosemirror.
- Host: GitHub
- URL: https://github.com/brianhung/tldraw-yjs
- Owner: BrianHung
- Created: 2024-02-27T22:56:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-28T08:12:48.000Z (over 1 year ago)
- Last Synced: 2025-03-25T09:12:14.121Z (7 months ago)
- Topics: codemirror, prosemirror, tldraw, yjs
- Language: TypeScript
- Homepage: https://canvas-yjs.vercel.app
- Size: 81.1 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This repository shows how you might use [tldraw](https://github.com/tldraw/tldraw) together with the [yjs](https://yjs.dev) library. It also makes a good example for how to use tldraw with other backend services!
## Bootsrapping Locally
To run the local development server, first clone this repo.
Install dependencies:
```bash
npm i
```Start the local development server:
For macOS/Linux:
```bash
npm run dev
```
For Windows:
```bash
npm run dev:win
```Open the example project at `localhost:5173`.