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 --tail      # stream new lines (Ctrl-C to stop)
openbase ps -a my-app               # current status (alias: status)
openbase config -a my-app           # config vars (secret values hidden)
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.

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.1.0.tar.gz (25.5 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.1.0-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openbase_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 25.5 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.1.0.tar.gz
Algorithm Hash digest
SHA256 56e596fd79bb45cd036404dcd1f4cf2190c8aaf2a542f4c9e396da438b7c34d2
MD5 5f27879b776b46b3532380d2df340dde
BLAKE2b-256 8ac33df5200e521a3ffedeb0380ec8c03336b08392d3898b07ce1f1cb073c279

See more details on using hashes here.

File details

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

File metadata

  • Download URL: openbase_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.8 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 690e32c4981959eabd135c6f862ee7b530f86261e3bef64b50b2948b3c0cca08
MD5 fb61e7617811e8ce3e63221394a070be
BLAKE2b-256 c96d8955b96373f2c8374c7b8a2394be2f18ba578935e773caacf8dbc98d3155

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.0

2 files

0.2.0

2 files

This release

0.1.0 This release

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