hoppy
A command-line tool for bunny.net.
bunny.net offers a CDN, storage, DNS, video streaming, edge scripts, containers and libSQL databases. hoppy manages them from the terminal, with your bunny.net API key. It helps people who run websites on bunny.net and want to script their setup, and AI agents that work on such a setup. Many commands print a hint with a sensible next step, so you can go from a list to the details without looking up the next command.
What it does
- CDN: list, create, change and delete pull zones, and purge their cache.
- Storage: manage storage zones, and upload, download, list and delete files.
- DNS: zones and records, DNSSEC and wildcard certificates.
- Video: libraries and videos, uploads, transcription and thumbnails.
- Security: firewall rules, rate limits, access lists and bot detection.
- Compute and data: edge scripts, Magic Containers apps and libSQL databases.
- Account: API keys, billing, invoices and the audit log.
The output is a table, JSON or plain text (--format).
Tokens, passwords and other secrets are hidden unless you ask for them
with --reveal.
Install
With Homebrew on a Mac with Apple silicon or on Linux. The first line is needed once with Homebrew 6 or newer, which asks you to trust formulae from other taps:
brew trust --formula ractive/tap/hoppy
brew install ractive/tap/hoppy
On Windows with Scoop:
scoop bucket add ractive https://github.com/ractive/scoop-bucket
scoop install hoppy
With Rust's cargo, for example on an Intel Mac. This installs the hoppy command:
cargo install hoppy-cli
The README also lists apt and dnf. Ready-made binaries for Linux, macOS on Apple silicon and Windows are on the releases page.
Example
export BUNNY_API_KEY=your-api-key
hoppy pull-zone list
The first line gives hoppy your bunny.net API key. The second lists the
CDN pull zones of your account, with their origins.
hoppy <command> --help explains every command, and the
manual
has examples for each part of bunny.net.
Source and licence
hoppy is written in Rust and is open source under the MIT licence. The source is on GitHub. The code was written in whole or in part by AI systems under my supervision (see AI_NOTICE).