Quick Tools is a Vite-built React panel that runs entirely inside Miro. It imports JSON diagrams or cards, lays them out with ELK/Dagre helpers, and writes widgets through the Web SDK—no backend required.
- Node.js ≥ 20
- pnpm ≥ 10 (lockfile is committed)
- Miro developer team with
boards:readandboards:writescopes
- Copy
.env.exampleto.envif you need overrides; onlyVITE_*keys are exposed to the client. - Common flags:
VITE_PORT(dev server port) andVITE_LOGFIRE_*(console logging tweaks).
- Install deps:
pnpm install - Start dev server:
pnpm run dev - Build + preview:
pnpm run build && pnpm run preview - Update the Miro app manifest to point at the dev server URL (see
docs/FRONTEND.md).
- Typecheck:
pnpm run typecheck - Lint:
pnpm run lint - Tests + coverage:
pnpm run test(Vitest, coverage on by default) - Format:
pnpm run format
pnpm run dev– Vite dev serverpnpm run build– Production bundle todist/pnpm run preview– Static preview of the buildpnpm run test– Vitest in node/jsdom as configured per filepnpm run coverage– HTML + lcov reports undercoverage/pnpm run typecheck–tsc --noEmitpnpm run lint– ESLint (strict, no warnings)
- Start with
docs/README.mdfor the index of architecture, UX, deployment, and testing guides. - Keep
implementation_plan.mdcurrent whenever you finish backlog items.
src/app– React shell and panel plumbingsrc/board– Web SDK helpers (selection cache, templates, processors)src/core– Shared hooks, layout engines, utilitiessrc/ui– Tabs, composite components, hookstemplates/– Shape/card/connector templates consumed at runtimedocs/– Living documentation (see index)
- Conventional Commits (
type(scope): message) enforced via commitlint - ESLint + Prettier run in CI and via Husky pre-commit hook
- Names for docs and scripts stay uppercase with underscores (e.g.,
CODE_STYLE.md) for consistency across GitHub
- Bundle with
pnpm run build, uploaddist/to your static host, and update the Miro manifestsdkUri docs/operations/OPERATIONS.mdcaptures hosting, monitoring, and rollback steps
- Issues/ideas: open a GitHub issue
- Security: follow
SECURITY.md
Please read CONTRIBUTING.md for contribution guidelines and the development workflow.
This software is released into the public domain under The Unlicense. See the LICENSE file for details.