The CLI wraps the public API for local and CI workflows.

Install

bash
npm install -g @screenframed/cli

Or run with npx:

bash
npx @screenframed/cli login

Commands

CommandPurpose
screenframed loginAuthenticate the CLI with a browser device code flow.
screenframed statusShow local CLI auth status.
screenframed captureCreate a styled screenshot.
screenframed rawDownload a raw browser screenshot.
screenframed batchCapture multiple URLs from a text file.
screenframed watchRe-render a URL on an interval while developing.
screenframed jobs statusInspect async job status.
screenframed projects ...Manage projects and signing secrets.
screenframed auth ...Manage authenticated browser sessions.

Environment

bash
export SCREENFRAMED_API_KEY="sf_live_..."export SCREENFRAMED_API_BASE_URL="https://screenframed.com"

SCREENFRAMED_API_BASE_URL is optional and mainly useful for non-production environments.

Ask a question... ⌘I