Databases inside the page
Typed fields and four views over the same rows: table, board, calendar and gallery. Filter, sort and search; drag cards between columns; import and export CSV.


OpenCanvas is the open-source collaborative workspace engine you embed, the way apps embed Collabora: documents, spreadsheets, databases, whiteboards, diagrams and Gantt charts in one canvas, with live cursors. Your application keeps the users, the permissions and the file. OpenCanvas does the editing, merges every change live, and saves the file back to you on its own.
The demo is the real editor running in your browser on a sample canvas, with simulated collaborators: no server, no account, nothing sent. Alpha: read the limits first.




Built on open protocols your stack already speaks
OpenCanvas, by CasualOffice, is an open-source, real-time collaborative canvas that other applications embed, the way they embed Collabora Online for office files. One document holds rich text, spreadsheets, databases with Timeline (Gantt) and Workload views, whiteboards and diagrams, with live cursors and comments. Your application keeps the users, the permissions and the file; OpenCanvas does the editing and saves the file back to it.
The facts page has the release, the licence, the stack and the measured capacity, each with its source; the FAQ has short answers.
OpenCanvas Workspace is the ready-to-use, self-hosted app around the engine, in one Docker command: documents, spreadsheets, whiteboards and databases, with accounts, sharing, search, trash, history and an admin area.
docker run -p 8080:8080 \
-v opencanvas:/data \
ghcr.io/casualoffice/opencanvas-workspace
# then open http://localhost:8080
# and create the first admin
Your backend checks who may open which file, signs a short launch token, and opens OpenCanvas in an iframe. From then on OpenCanvas runs the live session and calls your app back to load and save the file. Once a session is saved and idle, it keeps nothing.
<open-canvas> web component, with events for ready, saved, presence and errors.The names in the strip above are what let OpenCanvas sit inside someone else's product without taking over its data.
Every change is a small update that merges with everyone else's in any order, the same way on every screen. The server orders and relays updates; it never has to resolve a conflict between two people typing.
So: live co-editing without locks, and brief disconnects resync on their own.
OpenCanvas loads the file from your app when a session opens and writes it back with a plain HTTP call, signed so you know it is us. If your file changed elsewhere, your chosen policy runs: save a copy, or reload.
So: your storage, versions and retention rules stay the only ones.
Changes save on a short timer, when the canvas goes idle, when the last person leaves and when the server shuts down. Each save is written to an outbox first, so a restart resends it rather than losing it.
So: the status reads Saved, and that is true.
wal mode or a Redis WAL when every acknowledged edit must be on disk; see operations.Every item is a row in the project's tracker, and the roadmap is generated from it.
Type / for any block. Everyone's cursor and selection show with their name, and the avatars at the top say who is here and who is only viewing.


Typed fields and four views over the same rows: table, board, calendar and gallery. Filter, sort and search; drag cards between columns; import and export CSV.


40 templates in 9 categories, plus blank canvas, database, whiteboard and import from Markdown, HTML or CSV.
Source: README.md, “40 templates in 9 categories”

The whiteboard is a block of the canvas, not a separate product: one session, one save, one file. Everyone's named cursor shows while they draw, and you can follow someone's view.


Select some text and press ⌘J or Ctrl+J, or choose Ask Assistant. Say what you want. The assistant shows its plan first, and nothing changes until you run it. Then it builds in place while everyone watches: its own cursor, a label on what it made, and suggestions where it would change text that was already there.
Try the assistant in the demoAI and MCP docs
The demo plays a scripted run in your browser, labelled "Demo: a scripted run, no AI server". No model is called and nothing is sent. In the demo, select the "Notes from Monday" list and choose Ask Assistant.




The new Tasks database carries a "New · by Assistant" label. Each proposed link waits beside its note with accept and reject buttons, and the review bar counts what is left.


The same flow from the toolbar above the keyboard: a sheet for the request and the plan, and a review bar with large targets.


Agents outside the editor, such as your own backend or a desktop assistant, can read and edit a canvas through the Model Context Protocol endpoint, POST /mcp/{hostId}. Every change shows live to the people in the canvas.
Your app issues the tokens and OpenCanvas only checks them, with the same keys as launch tokens. A token's scopes can narrow what the user's role allows, never widen it. The endpoint is off until you turn it on. Tested: off by default; bad tokens refused; a scope narrower than the role wins
[host.ai]
enabled = true
provider = "claude" # a profile in [ai.providers]
default_mode = "suggest" # for changes to existing text
mcp = true # POST /mcp/{hostId}; off by default
mcp_issuer = "https://id.acme.example"
Each claim below links to the test that proves it, or quotes the project's tracker where it records a measured result.
Register your app with the server, embed the editor with a token your backend signs, then answer a few HTTP callbacks. The code below is from the integration guide.
# opencanvas.hosts.toml
[[host]]
id = "acme"
name = "Acme"
mode = "jwt"
jwt_alg = "HS256"
jwt_secret = "env:ACME_OC_SECRET"
api_key = "env:ACME_OC_API_KEY"
callback_base = "https://api.acme.example/opencanvas"
allowed_origins = ["https://app.acme.example"]
<script type="module"
src="https://canvas.example.com/sdk/embed.js"></script>
<open-canvas server="https://canvas.example.com"
token="{{ jwt }}" theme="auto"
style="height:100vh"></open-canvas>
// Your backend signs the token after its own ACL check:
// file, user, role (view | comment | edit), perms
3. Answer these callbacks from your backend:
An OKR tracker, a ticket card, a chart from your own service: write it once with @opencanvas/block-sdk. OpenCanvas runs it in a sandbox, keeps its data in the document, lets people edit it together and exports it. The code below is from the Block SDK guide.
import { defineBlock, h } from "@opencanvas/block-sdk";
defineBlock<{ value: number }>({
render(el, ctx) {
const slider = h("input", { type: "range" });
slider.addEventListener("change", () =>
ctx.setAttrs({ value: Number(slider.value) / 100 }));
el.append(slider);
},
});
# opencanvas.hosts.toml
[host.blocks]
enabled = ["oc.progress", "acme.okr@^1"]
[host.blocks.permissions."acme.okr"]
members = "none" # narrow what it may read
A single node runs on SQLite with no database to set up. For many concurrent users, point several nodes at MySQL or MariaDB and Redis: each room has one owner node, and the others relay to it.
docker run -p 8080:8080 -v oc-data:/data \
-e OC_PUBLIC_URL=https://canvas.example.com \
-e OC_KEK=$(openssl rand -base64 32) \
-e OC_HOSTS_FILE=/data/opencanvas.hosts.toml \
ghcr.io/casualoffice/opencanvas:0.4.4
DATABASE_URL=mysql://oc:***@mariadb:3306/opencanvas
REDIS_URL=redis://redis:6379 # enables cluster mode
OC_NODE_ID=node-1
OC_CLUSTER_ADVERTISE=http://node-1:8080
OC_CLUSTER_SECRET=<same on every node>
OC_KEK=<same on every node>
Measured on one laptop (Apple M4, 10 cores, 16 GB) with SQLite and the load generator on the same machine, with a fifth of people typing in bursts and the rest watching. The sizing guide also has the nonstop-typing, crash and cluster runs. Rerun it on your hardware with scripts/bench.sh.
Quoted from the tracker's integration log, where every merge records how it was verified.
OpenCanvas is under the Apache License 2.0, copyright CasualOffice. Read the code, run it in production, change it, and build it into your own products, open or closed.
From the project's research note on Slack Canvas, Zoom Canvas and Microsoft Loop, built from each vendor's public documentation. Where OpenCanvas's answer is not built yet, the table says so.
| Question | OpenCanvas | Slack Canvas | Zoom Canvas | Microsoft Loop |
|---|---|---|---|---|
| Embed in your own app | The primary goal: iframe or web component | Inside Slack | Inside Zoom | Partially, as Loop components |
| Who stores the file | Your app, through callbacks | Slack | Zoom | OneDrive or SharePoint |
| Run it on your own servers | Yes, one binary or Docker | No | No | No |
| Whiteboard | A native block in the documentTested: board tests | No | A separate product, embedded | The Whiteboard app |
| Tables and databases | Tables, and databases with four views | Basic tables | Tables | Rich tables |
| Live cursors and presence | Yes, with follow modeTested: two-browser presence spec | Yes | Yes | Yes |
| Version history | Your app's: OpenCanvas saves each change to it | Yes | Yes | Yes |
| API to create and edit content | Markdown and JSON block patches, liveTested: host API tests | Markdown | Yes | Microsoft Graph |
| Portable live blocks | Planned for P3 | No | No | Yes, Loop components |
From docs/01, the research note, checked 2026-11-21 against the vendors' public pages; vendor pages are marketing claims, and products change. Rows for OpenCanvas follow the roadmap.
Honest comparisons, including where the other product is stronger, and guides for the jobs people use OpenCanvas for.
More in the documentation FAQ.
The current release has best-effort support and no production SLA. Review the known limitations before committing it to a production workflow.
OpenCanvas is open source under the Apache-2.0 licence. You may use, modify, self-host, embed and redistribute it, in open or closed, commercial or non-commercial products. When you redistribute it, keep the NOTICE file. The LICENSE file has the exact terms.
Only while a session is live. The server keeps a snapshot and the recent updates so it can survive a restart and let late joiners catch up, and deletes them after the session is saved and idle. The file itself lives in your app.
They sign in to your app, not to OpenCanvas. Your backend checks access and signs a short-lived launch token naming the file, the user and the role; OpenCanvas trusts that decision for the life of the token and enforces it on every edit.
Yes. Add one Prosody plugin and a few .env lines to your Jitsi deployment, with no Docker image or compose changes. Everyone in the meeting opens the same canvas from Shared document. The canvas is temporary: it starts blank or from a template you choose, nothing is stored, and it is deleted when the meeting ends, so people download what they want to keep. See Jitsi Meet.
Yes. OpenCanvas speaks WOPI as a client: discovery, CheckFileInfo, GetFile, PutFile and PUT_RELATIVE, with an allow-list for the WOPISrc it will call. See WOPI mode.
Markdown, HTML, JSON, its native .ocanvas, Word, and PDF when the operator runs the optional Gotenberg sidecar (otherwise the editor prints to PDF). Whiteboards export as SVG and PNG.
The demo needs nothing installed. When you want the real thing, run the server and the sample host and open the same file in two tabs.
$ docker compose up --build