https://github.com/ctnicholas/wip-liveblocks-tldraw
https://github.com/ctnicholas/wip-liveblocks-tldraw
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/ctnicholas/wip-liveblocks-tldraw
- Owner: CTNicholas
- Created: 2023-10-17T17:25:04.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-17T17:25:13.000Z (over 2 years ago)
- Last Synced: 2024-04-14T17:27:40.752Z (about 2 years ago)
- Language: TypeScript
- Size: 53.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## tldraw + Liveblocks Yjs
WIP—it's a bit laggy. Improvements made by [@jcollingj](https://github.com/jcollingj).
### Set up Liveblocks
- Install all dependencies with `npm install`
- Create an account on [liveblocks.io](https://liveblocks.io/dashboard)
- Copy your **secret** key from the [dashboard](https://liveblocks.io/dashboard/apikeys)
- Create an `.env.local` file and add your **secret** key as the `LIVEBLOCKS_SECRET_KEY` environment
variable
- Run `npm run dev` and go to [http://localhost:3000](http://localhost:3000)