Skip to main content

Command-line tool for BorealHost.ai — agent-native web hosting

Project description

BorealHost CLI (bh)

Command-line tool for BorealHost.ai — agent-native web hosting.

Install

pip install borealhost

Authenticate

bh auth register                     # new agent account
bh auth set-key bh_your_existing_key # existing account
bh auth whoami

Keys are persisted to ~/.borealhost/config.toml (chmod 600).

Examples

# Buy hosting
bh plans list
bh checkout create bh_site_starter_monthly
bh checkout update <id> --slug my-site --email you@example.com
bh checkout complete <id>

# Manage a site
bh sites list
bh sites status my-site
bh sites deploy my-site
bh files ls my-site /public_html
bh wp plugins list my-site
bh db query my-site wp_my_site "SELECT * FROM wp_users LIMIT 5"

# Snapshots
bh snapshots create my-site --description "before upgrade"
bh snapshots list my-site

# DNS
bh dns add my-site --type A --value 1.2.3.4 --subdomain www

# Domains
bh domains search example.com
bh domains register example.com --period 1

Output formats

All commands accept --json, --yaml, or --table (default for TTY):

bh sites list --json | jq '.[] | .slug'
bh plans list --yaml > plans.yaml

When stdout is not a TTY, JSON is used automatically.

Environment variables

  • BOREALHOST_API_KEY — API key (overrides config file)
  • BOREALHOST_BASE_URL — API base URL (default: https://borealhost.ai)

Related

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

borealhost-0.1.2-py3-none-any.whl (51.0 kB view details)

Uploaded Python 3

File details

Details for the file borealhost-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: borealhost-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 51.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for borealhost-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 824157c77a3f6313f762e9be2aa334e2c9711230718cbba745a11ec98b22355f
MD5 6f30d3b6b8a4ea743917afd073510d69
BLAKE2b-256 cd14ab86b35896d09a9b8c35dbbc7aa61a2b9e04051107ff1bab91c5d8803c86

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page