| Crates.io | runbeam-cli |
| lib.rs | runbeam-cli |
| version | 0.9.0 |
| created_at | 2025-10-18 01:11:43.502539+00 |
| updated_at | 2026-01-08 03:24:04.821343+00 |
| description | CLI for managing Runbeam and Harmony |
| homepage | https://harmonyproxy.com |
| repository | https://github.com/aurabx/runbeam-cli |
| max_upload_size | |
| id | 1888653 |
| size | 309,550 |
CLI for managing Runbeam and Harmony.
Homepage: https://runbeam.io
Repository: https://github.com/aurabx/runbeam-cli
Use the automated installation script:
# macOS and Linux
curl -fsSL https://raw.githubusercontent.com/aurabx/runbeam-cli/main/install.sh | bash
Or with wget:
wget -qO- https://raw.githubusercontent.com/aurabx/runbeam-cli/main/install.sh | bash
The script will:
~/.local/bin, /usr/local/bin, or ~/bin)Download a prebuilt binary from GitHub Releases:
macOS/Linux:
# Download for your platform (example: macOS Apple Silicon)
curl -LO https://github.com/aurabx/runbeam-cli/releases/latest/download/runbeam-aarch64-apple-darwin.tar.gz
# Extract and install
tar -xzf runbeam-aarch64-apple-darwin.tar.gz
chmod +x runbeam
mv runbeam ~/.local/bin/ # or /usr/local/bin/
Windows:
# Download and extract the ZIP from GitHub Releases
# Move runbeam.exe to a folder on your PATH
cargo install runbeam-cli
# Using a local checkout
cargo install --path .
# Or install directly from Git
cargo install --git https://github.com/aurabx/runbeam-cli
# List available commands
runbeam list
# Authenticate with Runbeam (opens browser)
runbeam login
# Verify your authentication token (optional)
runbeam verify
# Install Harmony (latest version)
runbeam harmony:install
# Add a Harmony instance
runbeam harmony:add -i 127.0.0.1 -p 8081 -x admin -l my-label
# Add with a custom encryption key (optional)
runbeam harmony:add -i 127.0.0.1 -p 8081 -l production --key "AGE-SECRET-KEY-1ABC..."
# Authorize the Harmony instance to communicate with Runbeam Cloud
runbeam harmony:authorize -l my-label
# List registered instances
runbeam harmony:list
# Query instance info
runbeam harmony:info -l my-label
runbeam harmony:pipelines -l my-label
runbeam harmony:routes -l my-label
# Logout when done
runbeam logout
The CLI uses browser-based OAuth authentication:
# Log in (opens browser for authentication)
runbeam login
# Verify stored authentication token
runbeam verify
# Log out (clears stored token)
runbeam logout
Authentication Flow:
runbeam loginSecure Token Storage:
Authentication tokens are stored using encrypted filesystem storage:
~/.runbeam/<instance_id>/auth.json (encrypted with age encryption)%APPDATA%\runbeam\<instance_id>\auth.json (encrypted with age encryption)Encryption keys are sourced from:
RUNBEAM_ENCRYPTION_KEY environment variable, or~/.runbeam/<instance_id>/encryption.keyToken Verification:
The CLI automatically verifies tokens during login using RS256 asymmetric cryptography:
kid)RUNBEAM_JWKS_TTL environment variable)You can manually verify your token at any time:
runbeam verify
Environment Variables:
RUNBEAM_API_URL: Override the API base URL (default: http://runbeam.lndo.site)RUNBEAM_JWKS_TTL: JWKS cache duration in seconds (default: 3600 = 1 hour)Use custom encryption keys when:
Use auto-generated keys (default) when:
The CLI stores configuration data in user-specific files:
~/.runbeam/harmony.json (Harmony instances), ~/.runbeam/auth.json (authentication token)%APPDATA%\runbeam\harmony.json, %APPDATA%\runbeam\auth.jsonYou can remove entries using the CLI:
# Remove by ID
runbeam harmony:remove --id 1a2b3c4d
# Remove by label
runbeam harmony:remove -l my-label
# Remove by address
runbeam harmony:remove -i 127.0.0.1 -p 8081
You may also edit the JSON file directly if needed. Ensure the file remains valid JSON.
-v, -vv, or -vvv-qRUST_LOG environment variableExamples:
runbeam -v list
runbeam -q list
RUST_LOG=debug runbeam list
See docs/commands.md for full details of all options and examples.
Apache-2.0
Homepage: https://runbeam.io
Repository: https://github.com/aurabx/runbeam-cli