Skip to content

ViniSouza128/vectoria

Repository files navigation

Vectoria

⚠️ Pre-alpha — em desenvolvimento ativo

Não use em produção. Este é um software experimental, em fase pré-alfa. A interface, os formatos de arquivo, os atalhos e as APIs internas mudam a cada commit, e bugs conhecidos ainda afetam o fluxo principal (segmentação, suavização, exportação). O número de versão v0.1.0 reflete apenas o snapshot do binário gerado por conveniência — não é uma release estável.

Se quiser experimentar mesmo assim, esteja ciente de que:

  • Resultados podem sair errados ou com artefatos visuais.
  • O projeto pode mudar de direção, ser reescrito ou arquivado.
  • Issues são bem-vindos, mas estabilidade não é garantida.

🔒 Licença

Todos os direitos reservados. Este é um repositório proprietário, publicado para fins de visualização apenas. Você não pode copiar, modificar, redistribuir, criar trabalhos derivados ou usar o código em qualquer projeto sem autorização prévia por escrito. Veja LICENSE.

Raster-to-vector desktop tool for Windows 11, inspired by Vector Magic's workflow but with a full vector editor (Illustrator-class) on top.

v0.1.0 snapshot. Ten wizard steps end-to-end: load → palette → segment → smooth → vector-edit → remove background → export to one of ten formats, plus a batch mode for processing many files at once. See docs/RELEASE-NOTES-0.1.0.md for what made the cut and what didn't.

hero

Quick start

  1. Download Vectoria-Setup-0.1.0.exe from the releases page (placeholder — fill in when published).
  2. Run the installer (user-mode by default — no UAC prompt, no Program Files write).
  3. Open Vectoria, drop an image on the welcome page, and the wizard walks you through the rest.

Features

Phase What ships
1 — MVP Wizard (load / palette / segment / smooth / export) with k-means in CIE Lab, vtracer Polygon mode, Schneider Bezier fit
2 — Edit Segmentation 12-tool palette (Pencil / Fill / Eyedropper / Wand / shapes / Zap), live undo/redo, layers system
3 — Advanced smoothing Per-region overrides via canvas click + confidence heatmap; Remove Background page with selection + auto-cleanup
4 — Vector Editor paper.js canvas, 15 tools (V / A / P / shapes / pen extras), boolean ops, align / distribute, rulers / grid / guides / snap, group / lock / hide, outline mode, full Properties panel (fill / stroke / transform / live corners), Kobalte Menubar
5 — Export + Settings EPS / AI / PDF / EMF / DXF + PNG / JPG / TIFF / WEBP via 9 backend writers, preset system with multi-folder batch, full Settings (8 sections including a rebindable shortcut table)
6 — Polish Mica + Acrylic fallback + Win10 silent skip, Win11 accent pickup, DPI override (100/125/150/175/200/300 %), 3-screen first-run tutorial, Kobalte Tooltip wrapper with live shortcut display, full pt-BR + en i18n
7 — Batch Multi-file drop → BatchProcessing page, rayon-parallel pipeline, per-file progress bars + cancel, all 10 export formats

GIFs

The release-artifact pass will drop these into docs/gifs/:

  • load.gif — drop an image, palette suggests 8 colours
  • vectorize.gif — segmentation + smoothing on a 4 MP logo (~ 320 ms)
  • edit.gif — Vector Editor selection + boolean unite + pathfinder
  • export.gif — Save As / Export with Preset (3 formats × 2 folders)

ScreenToGif is the recommended capture tool; 800×600 viewport, 24 fps, 6 s loop.

Stack

  • Tauri 2 (Rust core + WebView2)
  • SolidJS 1.9 + TypeScript 6 (frontend)
  • Vite 8 + pnpm 10
  • Tailwind CSS v4 (CSS-based config)
  • Kobalte 0.13 (headless accessible primitives)
  • Lucide icons
  • paper.js 0.12 (vector editor canvas)
  • vtracer 0.6 + kurbo 0.11 + resvg 0.45 + image 0.25
    • palette 0.7 + rayon 1.x (Rust core)
  • printpdf 0.7 + dxf 0.5 (Phase 5 export backends)

Build from source

Prerequisites:

  • Windows 10 (1809+) / 11
  • Rust stable (rustup with x86_64-pc-windows-msvc)
  • Node 20+
  • pnpm 10+
  • Visual Studio Build Tools with the Desktop development with C++ workload
  • WebView2 Runtime (preinstalled on Windows 11)
git clone https://github.com/your-org/vectoria.git
cd vectoria
pnpm install
pnpm tauri:dev          # hot-reload dev shell

To produce the NSIS installer:

pnpm tauri build

Vectoria-Setup-0.1.0.exe lands in src-tauri/target/release/bundle/nsis/. NSIS is downloaded automatically by Tauri's bundler on first build.

Project layout

See docs/ARCHITECTURE.md for the full module map. The high-level shape:

src/                  # SolidJS frontend
  pages/<wizard-page>/index.tsx     # one folder per wizard step
  components/{Canvas,Layout,Panels,Common,Tutorial}/
  stores/             # createStore wrappers (project, ui, settings, batch, …)
  lib/                # ipc, shortcuts, i18n helpers, tool registries
  i18n/<locale>.json
src-tauri/
  src/core/           # the pipeline: palette, segmentation, tracing, export, batch
  src/commands/       # IPC commands (one file per area)
  src/lib.rs          # bundler entry + Mica setup + handler registry
docs/                 # ARCHITECTURE, DECISIONS, PROMPTS, STATUS, SMOKE, …

Contributing

Issues + PRs welcome. Before opening one, please:

  • Check docs/PROMPTS.md — every shipped feature is mapped to a prompt id; reference it when reporting.
  • Note your Windows build (Win+R → winver) — Mica + the registry accent reader are version-sensitive.

License

MIT. Bundled libraries keep their own licenses; see src-tauri/Cargo.toml for the dep graph.

About

Raster-to-vector desktop tool (Tauri + SolidJS + Rust) inspired by Vector Magic — pre-alpha, in active development

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages