Press stills #
Eight transparent-background PNGs of the current app, for blog posts and decks.
| file | scene |
|---|---|
chat-light.png / chat-dark.png |
a completed coding turn with markdown, inline code, bullets, and a fenced TypeScript block |
running-light.png / running-dark.png |
an active coding turn with a quiet tool row and stop controls |
approval-light.png / approval-dark.png |
a tool approval with a permission suggestion, working directory, and allow/deny |
history-light.png / history-dark.png |
searchable conversation history, with one conversation running |
1080×2400 (Android Medium_Phone_API_36.1 emulator), RGBA. The screen is
opaque; a 48px corner radius is transparent, so each still drops onto any
background without a matte.
How they were made #
The dev-only /stills route (src/app/stills.tsx) renders the app's real
components against curated fixtures — no live account data: no real agent
names, conversation titles, paths, or transcripts. It redirects to / in a
production build.
Start Expo on a port that is reachable from the emulator:
bun install
bunx expo start --port 8085
In another terminal, forward that port, select the system theme, and open a scene:
DEVICE=emulator-5554
adb -s "$DEVICE" reverse tcp:8085 tcp:8085
adb -s "$DEVICE" shell cmd uimode night no # light; use "yes" for dark
adb -s "$DEVICE" shell am start -a android.intent.action.VIEW \
-d "exp://127.0.0.1:8085/--/stills?scene=chat" \
host.exp.exponent
Valid scenes are chat, running, approval, and history. Add
&chrome=off to omit the chat header's status sub-row. After Expo finishes
loading, capture the emulator at its native 1080×2400 resolution:
adb -s "$DEVICE" exec-out screencap -p > still.png
Post-processing only converts the capture to RGBA and applies a 48px rounded alpha mask. Turn off Expo Go's Tools button in its developer menu before capture; development overlays are not part of the app and must not appear in a still. No app pixels in these images are painted over.