New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@urlbox/cli

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@urlbox/cli

Official CLI for the Urlbox website screenshot API

Source
npmnpm
Version
1.2.0
Version published
Weekly downloads
62
-75.59%
Maintainers
3
Weekly downloads
 
Created
Source

@urlbox/cli

The official CLI for Urlbox, the website screenshot API. Render screenshots, PDFs, videos, and extracted content from any URL or raw HTML.

Install

npm install -g @urlbox/cli

Quick start

# Sign in once through your browser (CI/headless: set URLBOX_API_SECRET instead)
urlbox login

# Render a page and save it
urlbox render https://example.com --output home.png

In CI, skip login — it needs a browser. Either set URLBOX_API_SECRET (your project's secret, ubx_sk_…, from the dashboard), or persist it once with printf %s "$URLBOX_API_SECRET" | urlbox config profile create default --api-secret-stdin.

Every command speaks JSON when piped, supports a built-in --jq <expr> filter, and returns a clear exit code.

How it works

This npm package is a thin wrapper around the native Go binary. On postinstall it downloads the pre-built binary for your platform (macOS, Linux, or Windows; amd64 or arm64) from the GitHub release, and urlbox spawns it with your arguments.

Documentation

Full docs, more install methods, and the command reference: urlbox.com/docs/cli and github.com/urlbox/urlbox-cli.

License

MIT

FAQs

Package last updated on 19 Aug 2026

Related posts