Skip to content

feat: support --app-url and --base-url for self-hosted axonpush - #1

Merged
Dank-del merged 1 commit into
masterfrom
feat/custom-app-api-url
Apr 17, 2026
Merged

Dank-del merged 1 commit into
masterfrom
feat/custom-app-api-url

Conversation

@Dank-del

Copy link
Copy Markdown
Collaborator

Summary

  • New `--app-url` flag (counterpart to existing `--base-url`) so self-host customers can point browser auth at their own dashboard.
  • Both flags now also fall back to `AXONPUSH_BASE_URL` / `AXONPUSH_APP_URL` env vars for CI/automation.
  • Success message now links to the configured app URL instead of the broken `https://axonpush.xyz/traces\` marketing link.

Why

Self-hosted axonpush customers were stuck — the API URL was overridable via `--base-url` but the dashboard URL used for browser-auth was hardcoded to `https://app.axonpush.xyz\`. Now both are configurable.

Usage

```bash

Self-hosted

bunx @axonpush/wizard
--base-url https://api.acme.internal
--app-url https://app.acme.internal

Or via env vars

export AXONPUSH_BASE_URL=https://api.acme.internal
export AXONPUSH_APP_URL=https://app.acme.internal
bunx @axonpush/wizard
```

Test plan

Adds a --app-url flag (counterpart to existing --base-url) so self-host
customers can point browser auth at their own dashboard. Both flags now
also fall back to AXONPUSH_BASE_URL / AXONPUSH_APP_URL env vars.

Also fixes the success message to link to the configured app URL
instead of the marketing site.
@Dank-del
Dank-del merged commit 78b9688 into master Apr 17, 2026
2 checks passed
@Dank-del
Dank-del deleted the feat/custom-app-api-url branch April 17, 2026 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant