Quickstart
There is no setup wizard outside the app. Run lazygocd and the connect form opens right in the terminal, walks you through four inputs, and drops you into the dashboard.
First run: the connect form
-
Server URL
Your GoCD base URL including the
/gopath, for examplehttps://gocd.example.com/go, with no trailing slash. -
Auth method
An arrow-key choice between username & password and an access token. Tokens are recommended; create one in GoCD under your user's Access Tokens page.
-
Credential
The token or password, typed masked. If your server has no auth at all, leave the username blank.
-
TLS choice
Whether to skip TLS certificate verification. Say no unless the server uses a self-signed certificate you trust.
-
Done
On confirm it saves the config and loads straight into the dashboard. Press A any time later to reopen the same form as "Reconnect to GoCD", for example after a token expires.
Where config lives
Everything is written under ~/.config/lazygocd/. The config file is saved with mode 0600 because it holds a plaintext credential.
| File | What it holds |
|---|---|
config.toml | Server URL, credentials, TLS choice, poll interval, optional GitHub token. Mode 0600. |
dashboard_cache.json | The last successful dashboard load, so the next launch paints instantly. Safe to delete. |
favorites.json | Names of starred pipelines, pinned to the top of the tree. |
Environment variable overrides
Env vars always win over the config file. Handy for scripting, CI, or trying a second server without touching your saved config. Setting a full set (URL plus a credential) skips the connect form entirely.
| Variable | Overrides |
|---|---|
GOCD_URL | Server base URL, e.g. https://gocd.example.com/go |
GOCD_USERNAME | Username for basic auth |
GOCD_PASSWORD | Password for basic auth |
GOCD_TOKEN | Access token; used instead of username/password when set |
GOCD_INSECURE | Any value skips TLS certificate verification (e.g. GOCD_INSECURE=1) |
GITHUB_TOKEN | GitHub personal access token for private-repo commit checks |
# one-shot session against a different server, config file untouched
$ GOCD_URL=https://gocd.example.com/go GOCD_TOKEN=your-token lazygocd
GITHUB_TOKEN. It's optional either way; public repos are checked unauthenticated (rate-limited).