Reference guide

Commands and setup

How to run, build and package both apps, with the settings that change their behaviour.

Ad Shots

CommandWhat it does
npm run devRuns the editor in the browser at http://127.0.0.1:3002
npm run desktopRuns the Electron app
npm run buildType-checks and builds the editor
npm run build:serverBundles the local API for the packaged app
npm run dist:mac:installBuilds the Mac app and installs it to Applications
npm run dist:winBuilds the Windows app
npm run testRuns the tests

Packaging Review

CommandWhat it does
npm run reviewRuns it in the browser at http://127.0.0.1:3004
npm run review:desktopRuns the desktop app
npm run review:dist:mac:installBuilds and installs the Mac app
npm run review:dist:winBuilds the Windows app

Packaging models

CommandWhat it does
packaging/build.sh all --variantsBuilds every model
packaging/build.sh coverageShows what is done, missing, failing or stale

Working without API keys

These settings make the app use stand-ins, so no keys are needed and nothing is spent.

SettingEffect
AD_SHOTS_AI_MOCK=1A scripted agent, with mock vectors and images
AD_SHOTS_QUIVER_MOCK=1Mock vectors only
AD_SHOTS_IMAGE_MOCK=1Mock reference images only
AD_SHOTS_PHOTOROOM_MOCK=echoReturns the product render unchanged as the "background"

Folders you can redirect

SettingDefault
AD_SHOTS_LIBRARY/Volumes/MAKER_DEVELOPMENT/LIBRARY
AD_SHOTS_PACKAGINGpackaging/out
FREECADCMDFound per platform
REVIEW_HDRISLIBRARY/HDRIS

Branches

main holds the shipped app. Feature work happens on a small branch and is merged when approved. Packaging work is on packaging, packaging-claude and packaging-codex.

This wiki

Pages are Markdown files in wiki/content/. node wiki/build.mjs builds the site into wiki/site/.

Updated 2026-11-14. Built 2026-11-15.