url-shorten

Verified·Scanned 2/19/2026

Shorten URLs via tinyurl or bitly API

from clawhub.ai·ve7b4435·677 B·0 installs
Scanned from 1.0.0 at e7b4435 · Transparency log ↗
$ vett add clawhub.ai/xejrax/url-shorten

URL Shorten

Shorten URLs via tinyurl or bitly API. Requires BITLY_TOKEN env var for bitly; falls back to tinyurl if not set.

Commands

# Shorten a URL (uses tinyurl by default, bitly if BITLY_TOKEN is set)
url-shorten "https://example.com/very/long/path/to/resource"

Install

No installation needed. curl is always present on the system. Optionally set BITLY_TOKEN environment variable to use the bitly API instead of tinyurl.