tldraw/README.md

75 lines
3.7 KiB
Markdown
Raw Normal View History

2023-04-10 17:23:12 +00:00
> **Note** We're between versions! The code in this repository is for the **original version** of tldraw, which is hosted at [old.tldraw.com](https://old.tldraw.com). The new version (hosted at [tldraw.com](https://tldraw.com)) is not yet open source. It is _distributed_ however, and you can read more about the new version on **the new docs site** at [docs.tldraw.dev](https://docs.tldraw.dev). This should all be cleaned up soon. 🚧
2023-04-10 17:17:49 +00:00
---
<div style="text-align: center; transform: scale(.5);">
2022-03-09 16:11:30 +00:00
<img src="https://github.com/tldraw/tldraw/raw/main/assets/card-repo.png"/>
</div>
![A screenshot of the tldraw web app](./assets/screenshot.png)
Welcome to the [tldraw](https://tldraw.com) monorepo.
2021-07-08 08:39:27 +00:00
2021-11-11 12:25:25 +00:00
🙌 Questions? Join the [Discord channel](https://discord.gg/SBBEVCA4PG) or start a [discussion](https://github.com/tldraw/tldraw/discussions/new).
2021-11-11 12:23:55 +00:00
2021-11-18 14:05:44 +00:00
💕 Love this project? Consider [becoming a sponsor](https://github.com/sponsors/steveruizok?frequency=recurring&sponsor=steveruizok).
Thanks to our corporate sponsors:
2022-06-16 13:15:35 +00:00
<div style="display: flex; flex-wrap: wrap; gap: 32px;">
<a href="https://sentry.io"><img src="./assets/sentry.svg"></img></a>
<a href="https://vercel.com/?utm_source=team-slug&utm_campaign=oss"><img src="./assets/vercel.svg"></img></a>
2022-01-06 07:06:05 +00:00
<a href="https://oppizi.com"><img src="./assets/oppizi.png" width="212"></img></a>
2022-06-16 13:15:35 +00:00
<a href="https://logseq.com"><img src="./assets/logseq.svg" width="80"></img></a>
<a href="https://blindsidenetworks.com/"><img src="./assets/blindside.png" width="212"></img></a>
2022-06-19 13:52:06 +00:00
<a href="https://www.100ms.live/"><img src="./assets/100ms.png" width="212"></img></a>
2022-06-16 13:15:35 +00:00
</div>
2022-01-06 07:06:05 +00:00
...and to our [individual sponsors](https://github.com/sponsors/steveruizok#sponsors)!
2021-11-19 13:59:40 +00:00
2021-11-18 14:05:44 +00:00
## Contents
2021-11-18 14:05:44 +00:00
This repository is a monorepo containing two packages:
- [**packages/tldraw**](https://github.com/tldraw/tldraw/tree/main/packages/tldraw) contains the source for the [@tldraw/tldraw](https://www.npmjs.com/package/@tldraw/tldraw) package. This is an editor as a React component named `<Tldraw>`. You can use this package to embed the tldraw editor in any React application.
- [**packages/core**](https://github.com/tldraw/tldraw/tree/main/packages/core) contains the source for the [@tldraw/core](https://www.npmjs.com/package/@tldraw/core) package. This is a renderer for React components in a canvas-style UI. It is used by `@tldraw/tldraw` as well as several other projects.
...and two apps:
- [**apps/www**](https://github.com/tldraw/tldraw/tree/main/apps/www) contains the source for the [tldraw.com](https://tldraw.com) website.
- [**apps/vscode**](https://github.com/tldraw/tldraw/tree/main/apps/vscode) contains the source for the [tldraw VS Code extension](https://marketplace.visualstudio.com/items?itemName=tldraw-org.tldraw-vscode).
2021-11-18 14:05:44 +00:00
...and three examples:
- [**examples/core-example**](https://github.com/tldraw/tldraw/tree/main/examples/core-example) is a simple example for `@tldraw/core`.
- [**examples/core-example-advanced**](https://github.com/tldraw/tldraw/tree/main/examples/core-example-advanced) is a second example for `@tldraw/core`.
- [**examples/tldraw-example**](https://github.com/tldraw/tldraw/tree/main/examples/tldraw-example) is an example for `@tldraw/tldraw`.
## Discussion
Want to connect? Visit the [Discord channel](https://discord.gg/SBBEVCA4PG).
## Contribution
Interested in contributing? See the [contributing guide](/CONTRIBUTING.md).
2021-11-18 14:05:44 +00:00
## Support
Need help? Please [open an issue](https://github.com/tldraw/tldraw/issues/new) for support.
2021-11-18 14:05:44 +00:00
## License
This project is licensed under MIT.
If you're using the library in a commercial product, please consider [becoming a sponsor](https://github.com/sponsors/steveruizok?frequency=recurring&sponsor=steveruizok).
## Author
- [@steveruizok](https://twitter.com/steveruizok)