InditexTech/weavejs
关于
Weave.js is an open source library to build real-time collaboration applications like whiteboards, diagram editors, etc. on HTML5 Canvas with your own UI
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
Weave.js
Free, open source library to build real-time collaboration applications like whiteboards,
diagram editors, etc. on HTML5 Canvas with your own UI!
Explore the docs »
Report Bug
·
Request Feature
About The Project
[!NOTE] Disclaimer: Weave.js has been used in Inditex internal production apps for the past 4 months. Our documentation need more battle testing in the open source world. Weave.js will remove this disclaimer when we're happy with the DX.
https://github.com/user-attachments/assets/fefb88ca-056f-4c39-9191-7490c57f6928
Weave.js is a powerful headless framework for building end-to-end collaborative whiteboard applications. Aimed at developers, it provides all the building blocks to develop visual collaborative canvas applications, while handling user interactions to enable real-time collaboration among multiple users.
It provides robust synchronization of a shared-state based on Yjs and SyncedStore as well as an extensible API to streamline the development of interactive, collaborative applications. Rendering is handled using Konva.js and a custom React Reconciler.
Related repos
- Weave.js showcase backend
- Weave.js showcase frontend
Prerequisites
- Node.js:
18.18.0or later. - Package Manager:
pnpmis used in the examples below.npmoryarncan also be used. - React:
18.2.0(or<19.0.0) is required as a peer dependency.
For a complete understanding of the requirements and detailed setup instructions, please visit the official documentation.
Quickstart
Set up a Weave.js canvas that runs on your machine, with no backend, using an AI coding agent. Use the latest release for <version>.
Add the Weave.js Docs MCP to your agent, at project level (OpenCode and Claude Code shown; Codex and GitHub Copilot CLI are in the MCP guide):
opencode mcp add weave-docs -- npx -y @inditextech/weave-mcp@<version> claude mcp add --scope project weave-docs -- npx -y @inditextech/weave-mcp@<version>Install the Weave.js skills in your project folder (needs Node.js
22.20.0or later):npx skills add InditexTech/weavejs@<version> --skill 'weave-*'Send one prompt to your agent:
Use the weave-quickstart skill. Create a Vite + React + TypeScript app called my-board with a Weave.js canvas on the Standalone store: select, rectangle and text tools, zoom and pan. Run it.
The full guide, with the steps by hand for readers without an agent, is the quickstart guide. To make the canvas collaborative, see the store guide.
Documentation
To unlock the full potential of Weave.js, we recommend exploring our official documentation:
- Full Documentation & Guides: Your complete reference for all features and APIs.
- Architecture Overview: Get a high-level understanding of the framework's design and core principles.
Roadmap
The following table provides a high-level overview of our approximate roadmap. For detailed information on planned features and the most current timeline, please consult the official Weave.js roadmap.
| Quarter | Focus Area |
|---|---|
| Q2 2026 | Other cloud providers stores |
| Q3 2026 | Koa server, Fastify server, NestJS server |
| Q4 2026 | Bindings kit for Vue, Bindings for Svelte |
Contributing
We welcome contributions from the community! Whether you're fixing a bug, adding a new feature, or improving documentation, your help is valuable.
Before you start, please take a moment to read our Contributing Guide. It provides detailed instructions on how to get your contributions accepted. Please note that you'll need to sign our Contributor License Agreement (CLA) before we can accept your pull request.
Here's a quick overview of how you can contribute:
- Discuss: Open an issue to discuss the changes you'd like to make.
- Fork & Branch: Fork the repository and create a new branch for your work.
- Develop: Make your changes, following the project's coding style. Our
CONTRIBUTING.mdhas detailed instructions on setting up your development environment. - Pull Request: Open a pull request and link it to the issue you created.
We look forward to your contributions!
License
This project is licensed under the terms of the Apache-2.0 license.
© 2025 INDUSTRIA DE DISEÑO TEXTIL S.A. (INDITEX S.A.)
探索相关项目
加载中…