How kacperkapusciak/goldie works
Goldie turns configured Argent scenes into store-ready screenshots and preview videos: the CLI checks prerequisites, captures scenes on iOS simulators or Android emulators, frames and renders assets, then verifies store constraints. The browser studio edits the same design choices and persists them for CLI rendering. The README documents the workflow and platform capabilities; sampled source confirms rendering, device control, manifest-backed studio loading, and shared layout resolution. Some CLI orchestration and studio-server internals were not sampled, so uncertain wiring is omitted.
Main entry points: cli.ts Goldie CLI · render.ts Image and video render · App.tsx Studio app · capture.ts Scene capture
Components 21
Capture workflow
- Goldie CLI
src/cli.ts - Config loader
src/config.ts - Environment checks
src/doctor.ts - Scene capture
src/capture.ts - Capture manifest
src/manifest.ts
Asset rendering
- Layout composition
src/layouts.ts - Image and video render
src/render.ts - Store verification
src/render.ts
Design studio
- Studio API
src/studio-server.ts - Studio app
studio/src/App.tsx - Design controls
studio/src/components/DesignPanel.tsx - Scene preview strip
studio/src/components/Strip.tsx - Saved design
- Export controls
studio/src/components/ExportPanel.tsx
Platforms and outputs
- Argent replay
src/argent.ts - Device control
src/device.ts - iOS / Android
- Raw captures
- FFmpeg tools
- Screenshots and previews
Other components
- App creator
Connections 27
- App creator → Goldie CLI: runs commands
- Goldie CLI → Config loader: loads config
- Goldie CLI → Environment checks: checks setup
- Goldie CLI → Scene capture: starts capture
- Goldie CLI → Image and video render: renders assets
- Goldie CLI → Store verification: verifies output
- Scene capture → Argent replay: replays flows
- Scene capture → Device control: selects device
- Device control → iOS / Android: controls
- Argent replay → iOS / Android: drives app
- Scene capture → Raw captures: writes captures
- Scene capture → Capture manifest: writes manifest
- Image and video render → Raw captures: reads captures
- Image and video render → Capture manifest: reads manifest
- Image and video render → Layout composition: composes scenes
- Image and video render → FFmpeg tools: encodes video
- Image and video render → Screenshots and previews: writes assets
- Store verification → Screenshots and previews: checks files
- App creator → Studio app: opens studio
- Studio app → Studio API: loads manifest
- Studio app → Studio API: saves design
- Studio API → Saved design: reads and writes
- Studio app → Design controls: edits settings
- Studio app → Scene preview strip: previews scenes
- Scene preview strip → Layout composition: resolves layouts
- Studio app → Export controls: offers export
- Export controls → Studio API: requests export