Skip to main content

openbase

The command line for Openbase Cloud — a Heroku-style tool and a fast alternative to the web dashboard. Sign in once, then manage and inspect your apps, deploys, usage, projects, and workspaces from the terminal. It speaks only HTTPS to the Openbase Cloud API.

Install

pip install openbase-cli    # provides the `openbase` command
# or:  uv tool install openbase-cli

Sign in

openbase login

Login is handled by the Openbase Coder CLI (openbase-coder), which the two tools share — openbase login runs openbase-coder login and stores credentials in ~/.openbase/auth.json, so signing in with either tool signs you in for both. Install openbase-coder first if you don't have it.

openbase whoami     # signed-in email
openbase account    # account details (balance, subscription)
openbase logout     # sign out

Apps & deploys

Address an app with -a/--app NAME, or set OPENBASE_APP.

openbase apps                       # list your apps
openbase logs -a my-app             # recent logs
openbase logs -a my-app --lines 200 # more log lines
openbase logs -a my-app --tail      # stream new lines (Ctrl-C to stop)
openbase run -a my-app python manage.py migrate   # one-off command in the web container
openbase ps -a my-app               # current status (alias: status)
openbase config -a my-app           # config vars (secret values hidden)
openbase config set -a my-app K=V   # set a plaintext var (redeploys)
openbase health-check -a my-app     # web health-check path (zero-downtime probes)
openbase releases -a my-app         # recent deploys
openbase open -a my-app             # open the app in your browser

Account, projects & workspaces

openbase usage        # this month's spend and limits
openbase projects     # your Openbase Cloud projects
openbase workspaces   # your cloud dev workspaces (devspaces) and status

Coder passthrough

Anything not covered here can be run against the Coder CLI directly:

openbase coder <args>       # runs `openbase-coder <args>`

Configuration

Variable Purpose Default
OPENBASE_APP Default app for -a
OPENBASE_API_URL Override the Openbase Cloud base URL https://app.openbase.cloud
OPENBASE_HOST Alias for OPENBASE_API_URL

Add --json to most commands for scripting.

Documentation

Full docs live at docs-cloud.openbase.cloud (built from docs/ with zensical). Build or serve them locally:

uvx zensical serve     # live preview
uvx zensical build     # static site into ./site

Development

uv run --extra dev pytest
uv run --extra dev ruff check .

License

MIT — see LICENSE.

Download files

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

Source Distribution

openbase_cli-0.2.0.tar.gz (39.1 kB view details)

Uploaded Source

Built Distribution

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

openbase_cli-0.2.0-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

Details for the file openbase_cli-0.2.0.tar.gz.

File metadata

  • Download URL: openbase_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 39.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for openbase_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e0321fe725f2dcdbfcdf5153703c8239f321e498802fe28cbe9e0f48d969ac5c
MD5 2bed5206bb20f48f954b5f3cb800bfa5
BLAKE2b-256 0aebe7c933e54de304f4ce5a1b8c9121d09b9b3ddb87f50e6529e0d179c6b791

See more details on using hashes here.

File details

Details for the file openbase_cli-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: openbase_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 27.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for openbase_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c304669c22bb698bc5ac9462472f52bd8ec1c0402581276b1d3e5dc3a091430e
MD5 8927a6d6aef334a6392e543f177cb409
BLAKE2b-256 f0fae17bc5261a9c1f9ca77d0f923addedd7cf16fb6383adfb8841d4b42318c1

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.0

2 files

This release

0.2.0 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page