0.4.4Cell comments, floating charts, faster sheets OpenCanvas by CasualOffice

A live canvas inside your app. Your files stay yours.

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.

  • Open source under Apache 2.0, free to self-host and embed
  • One Rust server
  • Your app keeps the files
The OpenCanvas editor in demo mode: the Sprint 42 planning canvas with a sprint goal callout, a Decisions paragraph with a comment highlight and two collaborators' live cursors, and the backlog database below, with five avatars in the top bar.The OpenCanvas editor in demo mode: the Sprint 42 planning canvas with a sprint goal callout, a Decisions paragraph with a comment highlight and two collaborators' live cursors, and the backlog database below, with five avatars in the top bar.
The same canvas on a phone: the title, the sprint goal, the Decisions paragraph with a collaborator typing, and the backlog database.The same canvas on a phone: the title, the sprint goal, the Decisions paragraph with a collaborator typing, and the backlog database.

Built on open protocols your stack already speaks

  • Yjs CRDT
  • JWT: HS256, RS256, EdDSA, JWKS
  • WOPI-compatible
  • Jitsi Meet plugin
  • postMessage, Collabora-style
  • SQLite, MySQL, MariaDB
  • Docker and Helm
In short

What is OpenCanvas?

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.

New · OpenCanvas Workspace

No app to embed it in? Run the whole workspace.

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.

  • Typed filesNew Document, Spreadsheet, Whiteboard or Database, each opening in its own full-screen editor.
  • Sharing and public linksPeople, teams and workspaces with view, comment or edit; public links with an expiry and a password, if the admin allows them.
  • Passkeys and adminPasswords or passkeys, invite links, members, teams, branding and backups in the app.

OpenCanvas WorkspaceGuide

Run it
docker run -p 8080:8080 \
  -v opencanvas:/data \
  ghcr.io/casualoffice/opencanvas-workspace

# then open http://localhost:8080
# and create the first admin
How it fits

Your app decides. OpenCanvas edits.

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.

  • Your app ownsSign-in, users, who can view, comment or edit, the file itself, its versions and its retention.
  • OpenCanvas ownsThe editor, real-time merge, cursors and presence, preview, export, and autosave back to your storage.
  • One serverA Rust binary with the editor built in. SQLite by default; MySQL or MariaDB and Redis when you run several nodes.
  • One embedAn iframe form POST, or the <open-canvas> web component, with events for ready, saved, presence and errors.
Why it matters

Three ideas, in plain words.

The names in the strip above are what let OpenCanvas sit inside someone else's product without taking over its data.

  • CRDT

    Edits that cannot collide

    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.

  • Host callbacks

    The file never moves house

    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.

  • Autosave

    Nobody presses Save

    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.

Early release: current limits

  • No SLA. Support is best effort. The release notes list the limits and upgrade steps.
  • Durability depends on the mode. Use wal mode or a Redis WAL when every acknowledged edit must be on disk; see operations.
  • Single node is the tested path. Cluster mode passes the crash and chaos drills; scale-out across machines is not yet demonstrated. Benchmarks so far ran on a laptop.
  • Very large canvases open slower than our target. A 50 MB canvas shows its first screen in about 6 s (target 2 s), and spreadsheets do not load on demand yet.
  • The assistant and MCP are experimental and off by default. When turned on, canvas content goes to the model server the operator configures.

Every item is a row in the project's tracker, and the roadmap is generated from it.

Write together

One canvas, everyone in 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.

  • Blocks for real documentsHeadings, lists, checklists, toggles, callouts, code with highlighting, tables, images, files, link cards, sandboxed embeds and columns.
  • Presence that helpsLive cursors with names, a typing dot, follow mode, and comment threads anchored to the text they discuss.
  • Roles your app setsView, comment or edit, enforced on the server for every change, and switched live when your app calls the role API.
The canvas with the Comments panel open: a thread on "Autosave runs every 60 seconds by default" where Ravi Menon asks whether hosts can set it per channel and Asha Rao answers, with a reply box.The canvas with the Comments panel open: a thread on "Autosave runs every 60 seconds by default" where Ravi Menon asks whether hosts can set it per channel and Asha Rao answers, with a reply box.

Databases and templates

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.

The Sprint 42 backlog database in its Board view: columns Backlog, In progress, In review and Done, with task cards showing owner, due date and points.The Sprint 42 backlog database in its Board view: columns Backlog, In progress, In review and Done, with task cards showing owner, due date and points.
Whiteboard

Draw it in the same document.

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.

  • Pen, notes, shapes and a style panelSticky notes, shapes, text and images; stroke colour and width, dashes, opacity, fonts and rotation; tool lock keeps a tool active; starter templates on an empty board.
  • Arrows that stay attachedConnectors bind to shapes and follow them. Quick-connect adds the next shape from a + on any side, and smart guides snap to edges, centres and equal gaps.
  • Frames you can presentNamed frames that own their shapes: wrap a selection, drop shapes in, zoom to one, or present them in turn.
  • A menu and a key for everythingRight-click, long-press or Shift+F10 for the context menu, with copy as PNG or SVG, export on a light, dark or transparent background, and a link to any shape.
  • Phones and side panelsBottom sheets, a toolbar above the keyboard, and a board you tap before it takes over touch.
The "How a session flows" whiteboard: a dashed frame labelled Host app with a sticky note "Signs launch token (JWT)", arrows to "Room on owner node + WAL" and "Autosave → PUT /files/:id", an arrow back to the host, Ravi Menon's named cursor and avatar, and the board toolbar with the Frame tool and tool lock.The "How a session flows" whiteboard: a dashed frame labelled Host app with a sticky note "Signs launch token (JWT)", arrows to "Room on owner node + WAL" and "Autosave → PUT /files/:id", an arrow back to the host, Ravi Menon's named cursor and avatar, and the board toolbar with the Frame tool and tool lock.
Assistant

Ask, check the plan, then let it build.

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.

  • Plan, then approveSteps that would change existing text are marked as suggestions before you run anything.
  • Review what it didAccept or reject each suggestion inline, or all at once from the review bar.
  • Undo the whole runOne button removes everything the run added. Changes you accepted stay yours.

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 assistant's plan under the selected "Notes from Monday" list: add a Tasks database, add rows matching owners to people on the canvas, and suggest a link from each note to its task. A notice says the last note asks the assistant to send the canvas to everyone, and that it is treated as text and skipped. Run, Change the plan and Cancel buttons, and the label "Demo: a scripted run, no AI server".The assistant's plan under the selected "Notes from Monday" list: add a Tasks database, add rows matching owners to people on the canvas, and suggest a link from each note to its task. A notice says the last note asks the assistant to send the canvas to everyone, and that it is treated as text and skipped. Run, Change the plan and Cancel buttons, and the label "Demo: a scripted run, no AI server".
The same plan on a phone, in a bottom sheet with Run and Cancel buttons.The same plan on a phone, in a bottom sheet with Run and Cancel buttons.

It builds in place, and you review

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.

After the run: each meeting note has a suggested "link to Tasks" with accept and reject buttons, a new Tasks database labelled "New · by Assistant" lists each task with its owner, due date and status, and a review bar at the bottom offers Accept all, Undo run and Done.After the run: each meeting note has a suggested "link to Tasks" with accept and reject buttons, a new Tasks database labelled "New · by Assistant" lists each task with its owner, due date and status, and a review bar at the bottom offers Accept all, Undo run and Done.

On a phone too

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

On a phone after the run: the notes with suggested links and accept and reject buttons, the new Tasks database below, and a review bar with Accept all and Undo.On a phone after the run: the notes with suggested links and accept and reject buttons, the new Tasks database below, and a review bar with Accept all and Undo.

What it may do, in plain words

  • It acts as you, and only as youEvery change it makes passes the same server-side role check as your own typing. If you can only view, it cannot run; if you can only comment, it can answer and comment, not edit.Tested: viewer refused, commenter answer and comment only
  • Existing text gets suggestionsBy default, changes to what people wrote arrive as suggestions you accept or reject; new content is added directly. Your operator can change the default per app.Tested: suggest mode writes only to suggestions
  • Nothing before you approveThe run waits at the plan. Cancel it there and the canvas is unchanged.Tested: nothing before approval; cancel leaves nothing, over real sockets
  • Attributed and undoableIts edits carry the assistant's own identity, separate from yours, and Undo run removes them as one step.Tested: undo reverts the run's origin
  • Content goes only where your operator saysThe canvas text the assistant works on is sent to the model server your operator configures, and nowhere else: the Claude Platform, or a self-hosted model through vLLM, Ollama or llama.cpp. Browsers never call a model or see a key.Depends on your deployment: [ai.providers] in the server's OC_AI_CONFIG file, chosen per app in hosts.toml
  • Self-hosted models need tool callingThe server checks each model at start-up. A model that cannot call tools gets answer mode only; agent mode stays off for it.Tested: agent mode needs a tool-calling model

MCP for external agents

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

hosts.toml
[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"
Saving and safety

Built so an edit is never lost or forged.

Each claim below links to the test that proves it, or quotes the project's tracker where it records a measured result.

  1. launch
  2. edit
  3. merge
  4. saved to your app
Integrate

Three steps to a live canvas in your app.

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.

1. Register your host
# 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"]
2. Embed it with a signed token
<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:

  • GET /files/{fileId}Load: return the file and its version
  • PUT /files/{fileId}Save: store it, answer the new version, or 409
  • POST /files/{fileId}/assetsStore an uploaded image or file
  • GET /files/:id/membersPeople with access to the file, for @mentions
  • POST /files/{fileId}/copiesSave a copy when the file changed elsewhere
  • X-OpenCanvas-SignatureHMAC-SHA256 on every call, so you know it is us

Integration guideAlready a WOPI host?Running Jitsi Meet?

Block SDK · v0.2

Build your own blocks.

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.

1. Write the block
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);
  },
});
2. The host turns it on
# opencanvas.hosts.toml
[host.blocks]
enabled = ["oc.progress", "acme.okr@^1"]

[host.blocks.permissions."acme.okr"]
members = "none"   # narrow what it may read
  • SandboxedEach block runs in its own frame on a separate origin, with a strict content policy
  • CheckedManifests, hashes and schemas are verified; the server re-checks every change
  • LiveCo-editing, comments and roles work in custom blocks as in built-in ones
  • Never lostA missing or refused package shows its saved copy; the data stays in the file

Block SDK guideAPI clients

Self-host

One container to start, more nodes when you need them.

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.

Single node, SQLite
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
Cluster
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.

  • oc-serverLaunch, rooms, saves, exports and the editor at /app/
  • SQLite or MySQL / MariaDBOnly the live session's log and the save outbox
  • Redis (cluster)Room leases, one owner per room
  • Gotenberg (optional)PDF export; Word, PNG and SVG need nothing extra
  • Helm chartSingle node or cluster, non-root, read-only root
  • Graceful drainSaves dirty rooms, then tells clients to reconnect

Sizing guideOperations guideArchitecture

Verified

What the last full check ran.

Quoted from the tracker's integration log, where every merge records how it was verified.

Licence

Open source under Apache 2.0.

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.

  • Self-host, modify, embed and redistribute it, including in commercial products, at no cost.
  • Keep the NOTICE file when you redistribute OpenCanvas or a work derived from it.
  • Bundled fonts stay under the SIL Open Font License.
Read the licence

The LICENSE file states the exact terms.

What it allows

How it compares.

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.

 QuestionOpenCanvasSlack CanvasZoom CanvasMicrosoft Loop
Embed in your own appThe primary goal: iframe or web componentInside SlackInside ZoomPartially, as Loop components
Who stores the fileYour app, through callbacksSlackZoomOneDrive or SharePoint
Run it on your own serversYes, one binary or DockerNoNoNo
WhiteboardA native block in the documentTested: board testsNoA separate product, embeddedThe Whiteboard app
Tables and databasesTables, and databases with four viewsBasic tablesTablesRich tables
Live cursors and presenceYes, with follow modeTested: two-browser presence specYesYesYes
Version historyYour app's: OpenCanvas saves each change to itYesYesYes
API to create and edit contentMarkdown and JSON block patches, liveTested: host API testsMarkdownYesMicrosoft Graph
Portable live blocksPlanned for P3NoNoYes, 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.

Compare and use cases

Compare it with a tool you know.

Honest comparisons, including where the other product is stronger, and guides for the jobs people use OpenCanvas for.

Questions people ask.

More in the documentation FAQ.

Can I use it in production today?

The current release has best-effort support and no production SLA. Review the known limitations before committing it to a production workflow.

What does the licence allow?

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.

Does OpenCanvas keep my documents?

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.

How do users sign in?

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.

Can we use it in Jitsi Meet, like Etherpad?

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.

We already use Collabora through WOPI. Can we reuse that?

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.

What can it export?

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.

Try it in your browser, then run it on yours.

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