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 Distribution

borealhost-0.1.0.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

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

borealhost-0.1.0-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

Details for the file borealhost-0.1.0.tar.gz.

File metadata

  • Download URL: borealhost-0.1.0.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for borealhost-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7842ed60b9ac9e660b248f2bd079d3dc9fc61b76f9966a7e3b71452f05a3ae30
MD5 d6fe732511290e85b4804602c603e7ab
BLAKE2b-256 da8a7abcb097626c20b2bbcca98013b352e269d8bf16a32852d7077068495de8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: borealhost-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 27.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7c7c412179b9506876a90aba9fa6b961dddfa05cb16ed716b74250e26628f0d
MD5 0a91b76faacc84479a83bfca11022245
BLAKE2b-256 f40a8ed894029e743189d14158dff96facd9f5fafc2c4e9ab1413c44dd7b9ad0

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