Desktop editor for mapping logical UI components onto screenshot regions defined by anchors.
Install Node.js 22 with npm, plus Rust edition 2024 (1.85+) and the Tauri 2 prerequisites for your OS.
npm installnpm run tauri devCreate a project, import PNG or JPEG screens, draw anchors, map components, then Save (.rectra) or Export (mappings.json and templates/). Map component reuses an existing component and keeps its offset. There is no Save As; an export folder is not a project.
The full mapping path, shortcuts, and limits: Product.
core/ mapping logic (no React)
ui/ workspace and Konva canvas
native/ Tauri window, dialogs, filesystem
Boundaries: Architecture.
npm test
npm run buildnpm test runs Vitest. npm run build runs tsc and Vite into dist/. Native file dialogs need npm run tauri dev, not npm run dev alone.
CI, the rest of the commands, and how a change reaches main: Development.
- Product — what the editor promises, the flows, and the vocabulary
- Design — workspace principles and Penpot
Rectra · UI - Architecture — modules, boundaries, and invariants
- Development — commands, tests, and delivery
- AGENTS.md — map for coding agents

