Go to file
Orion Reed 3ccb69c94c wip 2025-07-28 19:26:05 -04:00
public init 2024-07-17 15:59:09 +02:00
src wip 2025-07-28 19:26:05 -04:00
.eslintrc.cjs init 2024-07-17 15:59:09 +02:00
.gitignore init 2024-07-17 15:59:09 +02:00
README.md init 2024-07-17 15:59:09 +02:00
biome.json try deploy 2024-07-19 23:33:20 +02:00
index.html palace 2024-07-20 03:21:16 +02:00
package-lock.json wip 2025-07-28 19:26:05 -04:00
package.json fix dev port 2024-07-31 19:51:13 +01:00
partykit.json palace 2024-07-20 03:21:16 +02:00
todo.md collect values from multiple users 2024-07-19 17:04:07 +02:00
tsconfig.json init 2024-07-17 15:59:09 +02:00
tsconfig.node.json init 2024-07-17 15:59:09 +02:00
vite.config.ts init 2024-07-17 15:59:09 +02:00
vite.config.ts.timestamp-1753741951144-bd279742b1dc8.mjs wip 2025-07-28 19:26:05 -04:00

README.md

This repository shows how you might use tldraw together with the yjs library. It also makes a good example for how to use tldraw with other backend services!

This branch shows a partykit integration.

For production:

  • First create a .env file with:
VITE_PRODUCTION_URL=https://tldraw-partykit-yjs-example.YOUR_USERNAME.partykit.dev

...replacing YOUR_USERNAME with your partykit username.

  • Then run yarn deploy

If it's your first time using partykit, you may need to try deploying first in order to get your username. While the instructions above should work, the real way to do this is to point the VITE_PRODUCTION_URL at whatever URL you're deploying the website to.