How rtadewald/neo-stitch works
Neo Stitch is a local visual-interface design canvas: users branch ideas into image generations, animate approved images as videos, then turn approved motion into live HTML. The graph preserves the canvas, visualization and history capabilities, along with the documented Claude queue workflow and generation, video, and implementation stages. Source excerpts are partial; links among unsampled subsystems are included only where documented in the README or supported by the source index.
Main entry points: Canvas.tsx Idea canvas · api.ts API client · base.py Project storage · App.tsx App routing
Components 22
Canvas and review
- App routing
app/src/App.tsx - Idea canvas
app/src/Canvas.tsx - Canvas nodes
app/src/nodes.tsx - Tree layout
app/src/layout.ts - Media viewer
app/src/Viewer.tsx - Settings
app/src/Config.tsx - Project home
app/src/Home.tsx - History sidebar
app/src/Trilho.tsx - Project panel
app/src/Painel.tsx
Project and storage
- API client
app/src/api.ts - Project sync
app/src/useProjeto.ts - Undo history
app/src/useHistorico.ts - Local server
ferramentas/servidor.py - Project storage
ferramentas/base.py
Image and video generation
- Image generation
ferramentas/gerar.py - Video generation
ferramentas/gerar_video.py - OpenRouter client
ferramentas/openrouter.py
HTML and integrations
- HTML implementation
ferramentas/impl.py - Video pages
ferramentas/pagina_videos.py
Other components
- Designer
- Claude Code
- OpenRouter
Connections 28
- Designer → App routing: opens app
README.md - App routing → Idea canvas: routes to
app/src/App.tsx - App routing → Project home: routes to
app/src/App.tsx - Idea canvas → Canvas nodes: renders
app/src/Canvas.tsx - Idea canvas → Tree layout: uses layout
app/src/Canvas.tsx - Idea canvas → Media viewer: opens viewer
app/src/Canvas.tsx - Idea canvas → Settings: opens settings
app/src/Canvas.tsx - Idea canvas → History sidebar: shows history
app/src/Canvas.tsx - Idea canvas → Project panel: shows panel
app/src/Canvas.tsx - Idea canvas → Project sync: syncs project
app/src/Canvas.tsx - Idea canvas → Undo history: records changes
app/src/Canvas.tsx - Project sync → API client: requests state
app/src/useProjeto.ts - Undo history → API client: undoes via API
app/src/useHistorico.ts - Settings → API client: reads settings
app/src/Config.tsx - Project home → API client: loads projects
app/src/Home.tsx - API client → Local server: calls API
- Local server → Project storage: reads and writes
ferramentas/servidor.py - Claude Code → Local server: monitors queue
README.md - Claude Code → Image generation: fulfills image requests
README.md - Claude Code → Video generation: fulfills video requests
README.md - Claude Code → HTML implementation: builds approved HTML
README.md - Image generation → OpenRouter client: calls client
ferramentas/gerar.py - Video generation → OpenRouter client: calls client
ferramentas/gerar_video.py - OpenRouter client → OpenRouter: sends requests
ferramentas/openrouter.py - Image generation → Project storage: uses project data
ferramentas/gerar.py - Video generation → Project storage: uses project data
ferramentas/gerar_video.py - HTML implementation → Project storage: uses project data
ferramentas/impl.py - Video pages → Project storage: reads project data