cli
All apps

Shaf CLI

Go Native

High-speed terminal client with JSON and pipeline support

Gallery

About

Cross-platform command line utility written in Go. UNIX pipe-friendly, scriptable JSON output, bulk URL shortening, and API key management.

Features

  • UNIX pipe friendly (`cat urls.txt | shaf shorten --json`)
  • Interactive TUI and machine-readable JSON output modes
  • Bulk link creation with automatic rate limit pacing
  • Cross-compiled standalone binaries for Linux, macOS, and Windows

Code Quickstart

terminalbash
# Shorten a link with a custom alias and password
shaf shorten https://github.com/shaf-is/shaf-cli \
  --alias repo \
  --password "protect-me"

# Inspect real-time edge telemetry
shaf stats repo --json | jq '.clicks.total'