Skip to content
المشاريع

حول

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 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
+١
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

Contributors Forks Stargazers Issues project_license


Weave.js logo

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

Prerequisites

  • Node.js: 18.18.0 or later.
  • Package Manager: pnpm is used in the examples below. npm or yarn can 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>.

  1. 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>
    
  2. Install the Weave.js skills in your project folder (needs Node.js 22.20.0 or later):

    npx skills add InditexTech/weavejs@<version> --skill 'weave-*'
    
  3. 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:

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:

  1. Discuss: Open an issue to discuss the changes you'd like to make.
  2. Fork & Branch: Fork the repository and create a new branch for your work.
  3. Develop: Make your changes, following the project's coding style. Our CONTRIBUTING.md has detailed instructions on setting up your development environment.
  4. 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.)

(back to top)

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…