webklip
How it works Features Security
Overview REST API CLI Webhooks

CLI

Run with bun run cli -- from the project, or point at your server with -u.

The CLI wraps the REST API for quick terminal and CI workflows — create clips, push text, fetch content, and upload files.

Examples

# Create or update clip content
bun run cli -- -u https://webklip.com -l my-clip -m "hello world"

# Fetch clip content (counts as an API read)
bun run cli -- -u https://webklip.com -l my-clip -g

# Create with PIN, webhook, and view limit
bun run cli -- -u https://webklip.com -l secret -m "data" \
  -p 1234 -w https://hooks.example.com/webklip --max-views 3

# Disable burn-on-read on create
bun run cli -- -u https://webklip.com -l notes -m "keep me" --no-burn

# Upload a file to an existing clip
bun run cli -- -u https://webklip.com -l my-clip -f ./photo.png

Options

FlagDescription
-u, --urlServer URL (default: http://localhost:3000)
-l, --slugClip slug (required)
-m, --messageText content to create or update
-g, --getFetch clip via API (counts as a read)
-f, --fileUpload a file to the clip
-p, --pinPIN for protected clips (X-Clip-Pin)
-w, --webhookWebhook URL (on create only)
--max-views NDelete after N API reads (0 = unlimited)
--no-burnDisable burn-on-read when creating a clip

Behaviour

  • With -m, the CLI tries PUT first, then POST if the clip does not exist.
  • File uploads use the web upload endpoint (POST /:slug/upload), not the JSON API.
  • -g prints content to stdout; burned clips print a note to stderr.

Ephemeral by design. No ads. No tracking. Data deleted on expiry.

Privacy Terms Security Contact
Resources Online Clipboard Share Text Between Devices Temporary File Sharing Secure Clipboard Share Code Snippets Burn After Read Links End-to-End Encrypted Clipboard

© 2026 Webklip. contact@logimaxx.ro