danielhe4rt/overthinking-canvas-rs
关于
A local Rust daemon for the infinite canvases your agent publishes over MCP: validated, versioned, with questions pinned to the exact item.
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 正在收集历史
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文overthinking-canvas

A local daemon that stores the infinite canvases the agent generates. The agent sends a canvas.json over MCP, the server validates it, saves it as a new version and serves it in the browser. I open it, move around and ask my question right on the item that raised it.
One Rust binary (Laravel for Rust + Inertia + React), SQLite, port 8090. The why lives in PRODUCT.md and the contracts in PLAN.md.
Claude Code (canvas skill) ── POST /api/mcp ──► overthinking-canvas :8090 ──► SQLite
│
browser ◄───────┘ / · /c/{slug} · /questions
What a canvas looks like

This is a showcase canvas about the project itself. It uses all 25 block types: hero, timeline, actions, charts, an image board, sticky notes, a transcript with a redacted passage, and the rest. Every frame says in its badge which blocks it uses. For the smallest document with every block, see resources/canvas/examples/minimal.json.
Install
It runs on Linux only for now: the installer writes a systemd user unit. You need cargo, npm, systemd and Chromium at /usr/bin/chromium (or CHROMIUM_PATH).
scripts/install.sh
The script builds the frontend and the release binary, copies the binary to ~/.local/bin/overthinking-canvas, creates the .env and the database if they are missing, writes the unit ~/.config/systemd/user/overthinking-canvas.service and starts the service. It waits for http://127.0.0.1:8090/up to answer. The service starts on its own at every login.
To see what it would do without changing anything: scripts/install.sh --dry-run.
Open http://127.0.0.1:8090. Use 127.0.0.1: in production the server only answers to the APP_URL host.
Register the MCP
Only once:
claude mcp add --transport http --scope user overthinking-canvas http://127.0.0.1:8090/api/mcp
Tools: canvas_catalog, canvas_validate, canvas_publish, canvas_list, canvas_get, canvas_questions, canvas_answer, canvas_check, canvas_export and canvas_upload_image.
Update after you change the code
Run scripts/install.sh again. It rebuilds, swaps the binary, runs the migrations and restarts the service.
Where the data lives
Everything goes in storage/app/, which git ignores:
| What | Where |
|---|---|
| Database (canvases, versions, questions, replies) | storage/app/database.sqlite |
canvas_check screenshots |
storage/app/checks/{slug}/v{n}/ |
| List thumbnails | storage/app/thumbs/{slug}.png |
| Exported HTML | storage/app/exports/ |
Service
systemctl --user status overthinking-canvas
journalctl --user -u overthinking-canvas -f
scripts/uninstall.sh
uninstall.sh stops and removes the service. The data and the binary stay.
Development
laravel dev # server and Vite with hot reload
cargo test
cargo clippy --all-targets -- -D warnings
cargo fmt --check
npm run types:check
laravel dev also wants port 8090, which is the daemon's port. Stop the daemon first (systemctl --user stop overthinking-canvas) or run dev on another port, like SERVER_PORT=8091 APP_URL=http://127.0.0.1:8091 laravel dev. APP_URL must follow the port: it is the address canvas_check opens in Chromium.
探索相关项目
加载中…