← Back

Settings

Integrations and access docs for the transcript knowledge base.

CLI — chromescribe

A bash CLI that lets any project query, search, and pipe transcripts from this knowledge base. Useful for summarization pipelines, grep-across-videos, or feeding content into Claude/Pi from another project's CWD.

Install

Source lives at cli/chromescribe in the repo. Symlink it onto your PATH:

# one-time setup
chmod +x ~/projects/chromescribe/cli/chromescribe
ln -sf ~/projects/chromescribe/cli/chromescribe ~/.local/bin/chromescribe

# sanity check
chromescribe --help

Required env

The dashboard API is behind Cloudflare Zero Trust. The CLI auto-reads a service token from env — put these in ~/.bashrc (or ~/.profile for cross-shell support):

export CF_ACCESS_CLIENT_ID="<your-service-token-id>"
export CF_ACCESS_CLIENT_SECRET="<your-service-token-secret>"
Note: service tokens live in Cloudflare Zero Trust → Access → Service Auth. This page is itself behind Zero Trust, so only you see it.

Commands

CommandWhat it does
chromescribe list [-n N] [--json]List newest transcripts (default 50)
chromescribe search <q> [--json]Search titles, channels, video_id
chromescribe get <id> [--json]Show one transcript's metadata
chromescribe cat <id>Print full markdown to stdout
chromescribe url <source-url>Look up a transcript by YouTube/TikTok URL
chromescribe view <id>Print dashboard URL for this transcript

Recipes

Save a transcript into another project:

chromescribe cat 141 > notes/obsidian-vs-rag.md

Read it in your terminal:

chromescribe cat 141 | glow -     # markdown pager
chromescribe cat 141 | less

Summarize with Pi (or any LLM CLI):

chromescribe cat 141 | pi "summarize in 5 bullets"

Grep across everything about a topic:

chromescribe search "RAG" --json | jq -r '.[].id' | while read id; do
  echo "=== $id ==="
  chromescribe cat "$id" | grep -i "vector"
done

Open in browser:

xdg-open "$(chromescribe view 141)"

Env overrides

VarPurpose
CHROMESCRIBE_APIOverride API base URL (default: this worker)
CF_ACCESS_CLIENT_IDCloudflare Access service-token ID
CF_ACCESS_CLIENT_SECRETCloudflare Access service-token secret

HTTP API

All endpoints require CF Access service-token headers. Responses are JSON with { success, data } wrapper except /api/transcript/:id/content which is raw markdown.

Method & PathPurpose
GET /api/transcriptsList all transcripts
GET /api/transcripts/:idMetadata for one transcript
GET /api/transcript/:id/contentRaw markdown body
GET /api/search?q=...Title/channel/video_id search
GET /api/channelsMonitored YouTube channels
POST /api/transcribeJSON (URL + markdown) or multipart (audio)
PUT /api/transcripts/:idUpdate title or markdown
DELETE /api/transcripts/:idDelete transcript + R2 content