···11-# tldraw sync, simple Node/Bun server example
11+# tldraw for selfhosting
2233-This is a simple example of a backend for [tldraw sync](https://tldraw.dev/docs/sync) with a Node or Bun server.
33+A minimal implementation of [tldraw](https://tldraw.dev) based on the starter/templates [simple-sever](https://github.com/tldraw/tldraw/tree/main/templates/simple-server-example) and [sync-cloudflare](https://github.com/tldraw/tldraw/tree/main/templates/sync-cloudflare).
4455-Run `yarn dev-node` or `yarn dev-bun` in this folder to start the server + client.
55+This implementation offers:
6677-For a production-ready example specific to Cloudflare, see /templates/sync-cloudflare.
77+* basic whiteboard with [tldraw sync](https://tldraw.dev/docs/sync) for multiplayer/realtime collaboration
88+* Unique Rooms, IE `mydomain.com/my-tldraw-room`, backed by file storage
99+* User uploads backed by file storage
1010+* A development environment with devcontainer
1111+* All assets selfhosted (no cdn)
1212+* Docker image and docker compose example for quick deployment
81399-## License
1414+## Usage and tldraw License
10151111-This project is provided under the MIT license found [here](https://github.com/tldraw/tldraw/blob/main/apps/simple-server-example/LICENSE.md). The tldraw SDK is provided under the [tldraw license](https://github.com/tldraw/tldraw/blob/main/LICENSE.md).
1616+When deployed on `localhost`, or when developing, this implementation is usable.
12171313-## Trademarks
1818+If you deploy this to a valid TLD (`mydomain.com`) **you will need to provide a [license](https://tldraw.dev/community/license).** Hobby licenses, which are free, are available with application.
14191515-Copyright (c) 2024-present tldraw Inc. The tldraw name and logo are trademarks of tldraw. Please see our [trademark guidelines](https://github.com/tldraw/tldraw/blob/main/TRADEMARKS.md) for info on acceptable usage.
1616-1717-## Distributions
1818-1919-You can find tldraw on npm [here](https://www.npmjs.com/package/@tldraw/tldraw?activeTab=versions).
2020-2121-## Contribution
2222-2323-Please see our [contributing guide](https://github.com/tldraw/tldraw/blob/main/CONTRIBUTING.md). Found a bug? Please [submit an issue](https://github.com/tldraw/tldraw/issues/new).
2020+To include your license you will need to build the image yourself.
24212525-## Community
2222+TODO: Add the build-arg `VITE_TLDRAW_LICENSE_KEY` or fill in using compose.yaml, then build.
26232727-Have questions, comments or feedback? [Join our discord](https://discord.tldraw.com/?utm_source=github&utm_medium=readme&utm_campaign=sociallink). For the latest news and release notes, visit [tldraw.dev](https://tldraw.dev).
2424+## License
28252929-## Contact
3030-3131-Find us on Twitter/X at [@tldraw](https://twitter.com/tldraw).
2626+This project is provided under the MIT license found [here](https://github.com/tldraw/tldraw/blob/main/apps/simple-server-example/LICENSE.md). The tldraw SDK is provided under the [tldraw license](https://github.com/tldraw/tldraw/blob/main/LICENSE.md).