Skip to content
kodezyPublic

About

Desktop editor to map UI components on screenshots and export relative coordinates.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Rectra

Desktop editor for mapping logical UI components onto screenshot regions defined by anchors.

Tauri React TypeScript Vite Tailwind CSS Konva

Preview

Rectra workspace with explorer, screenshot canvas, and inspector

Setup

Install Node.js 22 with npm, plus Rust edition 2024 (1.85+) and the Tauri 2 prerequisites for your OS.

npm install

Usage

npm run tauri dev

Create 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.

Architecture

core/     mapping logic (no React)
ui/       workspace and Konva canvas
native/   Tauri window, dialogs, filesystem

Boundaries: Architecture.

Development

npm test
npm run build

npm 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.

Docs

  • 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

About

Desktop editor to map UI components on screenshots and export relative coordinates.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages