What it does
[Airtable](https://airtable.com) is the spreadsheet-as-database service teams use for lightweight CRMs, content pipelines, and structured logs. This sink writes every peepshow run as one record in a chosen base + table — `Run ID`, `Title`, `Frames`, `Duration`, `Transcript`, `Thumbnail URL`, `Created At`. The columns must exist on the table (Airtable's API doesn't auto-create schema), but once set up the records flow into any Airtable view, automation, or interface you've built — perfect for non-engineer stakeholders who want a queryable log without standing up a real database.
When to reach for it
- Keep a stakeholder-friendly log of every video an agent processed — Airtable views beat SQL for non-engineers
- Trigger Airtable automations (Slack post, email, Make/Zapier flow) on each new peepshow run
- Bridge peepshow into team-facing dashboards (Airtable Interfaces) without writing a UI
Install
npm i -g peepshowUse it
AIRTABLE_API_KEY="patXXXXXXXXXXXXXX" \
AIRTABLE_BASE_ID="appXXXXXXXXXXXXXX" \
AIRTABLE_TABLE_ID="tblXXXXXXXXXXXXXX" \
peepshow ./demo.mp4 --sink airtableMake it automatic
Register the sink once — every run fires it afterward. Scope by --when so it only runs for matching videos.
peepshow sinks add airtable
peepshow sinks add airtable --when extension=mp4,mov
peepshow sinks add airtable --when path=/Volumes/Work/Configuration
AIRTABLE_API_KEYPersonal access token (Bearer auth). Generate at https://airtable.com/create/tokens. requiredAIRTABLE_BASE_IDBase id (starts with `app`). Find it in the Airtable API docs URL for your base. requiredAIRTABLE_TABLE_IDTable id (starts with `tbl`). Preferred over `AIRTABLE_TABLE_NAME` — survives renames.AIRTABLE_TABLE_NAMEHuman-readable table name. Used when `AIRTABLE_TABLE_ID` is unset.AIRTABLE_API_URLOverride the base URL for self-hosted / proxied Airtable endpoints.PEEPSHOW_FRAME_BASE_URLWhen set, the first frame URL is written to the `Thumbnail URL` column.
Use with an LLM agent
Every peepshow sink reads its config from env vars and receives a single JSON payload on stdin. An LLM agent (Claude Code, Cursor, Windsurf, Gemini, Codex) can drive the Airtable sink automatically when three things are true:
- the env vars below are exported in the agent's shell (or a project
.envit can load), - the
peepshowCLI is onPATH— install withnpm i -g peepshow, - a peepshow auto-sink is registered for the run (optional but recommended — makes invocation zero-argument).
1. Set the environment
# Add to ~/.zshrc, ~/.bashrc, or a project .env the agent can load
export AIRTABLE_API_KEY="..."
export AIRTABLE_BASE_ID="..."2. Register as an auto-sink
peepshow sinks add airtable
peepshow sinks add airtable --when extension=mp4,mov3. Example LLM session
You → drop a
.movinto Claude Code.Claude → auto-invokes
/peepshow:slides ./clip.mov. peepshow extracts frames + audio, theAirtablesink forwards the run to the configured Airtable target. Claude replies with a summary and a link to the created record.
The transcript rides along in the payload whenever the audio pass transcribes successfully.
Write your own
A sink is any executable that reads the --emit json payload on stdin. Shell, Node, Python, Go — the spec's in docs/PLUGINS.md. Register persistent ones with peepshow sinks add-cmd 'your-command'.