How owainlewis/vertica works
Vertica is a local-first studio for authoring image and video carousels, managing reusable media, and exporting slides or reels. Users create or open a deck in the library, edit its content and design, preview it through the shared slide renderer, then export files. The API persists deck documents and media as bucket objects; video routes also process uploads and render exports. The README documents the broader export and video capabilities, while sampled source excerpts and the SOURCE INDEX support the implementation links shown here; some unsampled route and subsystem details are therefore linked only where documented.
Main entry points: editor.tsx Deck editor · video.ts Video processing and export routes · slide.tsx Slide renderer · dashboard.tsx Carousel library
Components 24
Deck authoring
- App navigation
app/app.tsx - Carousel library
app/dashboard.tsx - Deck composer
app/composer.tsx - Deck model
app/carousel.ts - Deck editor
app/editor.tsx - Design inspector
app/inspector.tsx - Undo history
app/use-history.ts
Media and rendering
- Media library and picker
app/media-gallery.tsx - Image cache and client store
app/image-store.ts - Video picker
app/video-picker.tsx - Video upload client
app/video-client.ts - Slide renderer
app/slide.tsx - Diagram renderer
app/drawn-diagram.ts - Video background preview
app/video-background.tsx
Export
- Image and PDF export
app/export.ts - Video carousel and reel export
app/video-carousel-export.ts
API and storage
- API client
app/api-client.ts - HTTP API routes
server/api.ts - Video processing and export routes
server/video.ts - Deck and media object store
server/store.ts - Bucket storage adapter
server/bucket.ts - Optional password gate
server/auth.ts
Other components
- User
- FFmpeg and ffprobe
Connections 34
- User → App navigation: uses
- App navigation → Carousel library: shows library
app/app.tsx - App navigation → Deck editor: opens deck
app/app.tsx - Carousel library → Deck composer: creates deck
app/dashboard.tsx - Deck composer → Deck model: parses or generates
app/composer.tsx - Deck editor → Deck model: edits deck
app/editor.tsx - Deck editor → Design inspector: shows panels
app/editor.tsx - Deck editor → Undo history: tracks changes
app/editor.tsx - Deck editor → Slide renderer: renders preview
app/editor.tsx - Carousel library → Slide renderer: renders cards
app/dashboard.tsx - Design inspector → Deck model: updates design
app/inspector.tsx - Deck editor → Media library and picker: opens image picker
app/editor.tsx - Deck editor → Video picker: opens video picker
app/editor.tsx - Media library and picker → Image cache and client store: uploads and resolves
app/media-gallery.tsx - API client → Image cache and client store: persists and loads images
app/api-client.ts - Video picker → Video upload client: uploads clips
app/video-picker.tsx - Slide renderer → Diagram renderer: draws diagrams
app/slide.tsx - Slide renderer → Video background preview: previews footage
app/slide.tsx - Deck editor → API client: loads and saves decks
app/editor.tsx - Carousel library → API client: lists decks
app/dashboard.tsx - Deck editor → Image and PDF export: starts exports
app/editor.tsx - Image and PDF export → Slide renderer: rasterizes slides
- Image and PDF export → Video upload client: requests video rendering
app/export.ts - Image and PDF export → Video carousel and reel export: exports video decks
app/export.ts - API client → HTTP API routes: calls API
- Video upload client → Video processing and export routes: uploads and requests frames
app/video-client.ts - HTTP API routes → Deck and media object store: reads and writes objects
server/api.ts - HTTP API routes → Optional password gate: checks access
server/api.ts - HTTP API routes → Video processing and export routes: routes video requests
server/api.ts - Video processing and export routes → Deck and media object store: checks media references
server/video.ts - Deck and media object store → Bucket storage adapter: stores deck and media objects
server/store.ts - Video processing and export routes → Bucket storage adapter: reads and writes video objects
server/video.ts - Video processing and export routes → FFmpeg and ffprobe: processes and renders video
- Bucket storage adapter → FFmpeg and ffprobe: uses cloud storage optionally