- Discovers releases by polling Docker Hub, GitHub, ECR Public, GHCR, GitLab, PyPI, and npm on configurable intervals
- Routes notifications to Slack, Discord, email, and webhooks the moment a new version lands
- Generates AI reports via LLM agents (Gemini / OpenAI) that research changelogs, assess risk, and summarize what changed
- Release gates delay agent analysis until all required sources report a version
- Onboarding scans GitHub repos to auto-detect dependencies and suggest sources
- TODO tracking for operator acknowledgment and resolution of releases
- Discovery & suggestions search public registries and recommend sources from your GitHub activity
- Serves a dashboard (Next.js) for managing projects, sources, subscriptions, and browsing releases in real time
- Stealth mode — headless, agent-native mode with SQLite storage for single-machine setups and agent harnesses (no PostgreSQL required)
graph LR
A["Ingestion<br/>(polling)"] --> B["PostgreSQL +<br/>River Queue"]
B --> C["Agent<br/>(ADK-Go)"]
C --> D["Routing<br/>(channels)"]
A -.- A1["Docker Hub · GitHub<br/>ECR · GitLab · PyPI · npm"]
B -.- B1["Transactional Outbox<br/>LISTEN/NOTIFY → SSE"]
C -.- C1["Gemini / OpenAI LLM<br/>research tools"]
D -.- D1["Slack · Discord<br/>Email · Webhooks"]
Release insert and job enqueue happen in a single SQL transaction — zero-loss guarantee.
See ARCH.md, API.md, and DESIGN.md for the full design.
Prerequisites: Go 1.25+, Docker, Node.js 20+
# Start Postgres and the server (NO_AUTH mode)
make dev
# In another terminal — start the frontend
make frontend-install
make frontend-devThe API runs on localhost:8080, the dashboard on localhost:3000.
The clog CLI manages Changelogue resources from the command line.
make cli # builds ./clog binaryexport CHANGELOGUE_SERVER=http://localhost:8080 # server URL
export CHANGELOGUE_API_KEY=rg_live_abc123... # API keyOr pass per-command:
clog --server http://myserver:8080 --api-key rg_live_... projects listclog projects list|get|create|update|delete Manage projects
clog sources list|get|create|update|delete Manage ingestion sources
clog releases list|get Browse releases
clog channels list|get|create|update|delete|test Manage notification channels
clog subscriptions list|get|create|update|delete Manage subscriptions
clog subscriptions batch-create|batch-delete Batch operations
clog version Print CLI version
Use --json on any command for machine-readable output. Use --help on any command for detailed usage and examples.
Stealth mode is a headless, agent-native variant of Changelogue that replaces PostgreSQL + River with a local SQLite database and synchronous notification dispatch. It's designed for single-machine setups and agent harnesses (e.g., Claude Code) where running PostgreSQL is not practical.
make stealth # builds ./clog-stealth binary# Start the stealth server (SQLite-backed, localhost:9876)
clog-stealth serve
# Install/uninstall as a background service (writes PID to ~/.changelogue/stealth.pid)
clog-stealth install
clog-stealth uninstall
# Check if stealth is running
clog-stealth status| Variable | Default | Purpose |
|---|---|---|
CHANGELOGUE_STEALTH_DB |
~/.changelogue/stealth.db |
SQLite database path |
CHANGELOGUE_STEALTH_PORT |
9876 |
HTTP server port |
POLL_INTERVAL |
5m |
Source polling interval |
LOG_LEVEL |
info |
Log level: debug, info, warn, error |
- Storage: SQLite (WAL mode) instead of PostgreSQL
- Job processing: Synchronous in-process instead of River queue
- Notifications: Shell command callbacks via subscription config (e.g.,
{"command": "notify-send ..."}) - No dashboard: API-only, no Next.js frontend
- No agent/gate/onboard: Agent analysis, release gates, and onboarding scanning are unavailable
| Variable | Default | Purpose |
|---|---|---|
DATABASE_URL |
postgres://localhost:5432/changelogue?sslmode=disable |
PostgreSQL connection |
LISTEN_ADDR |
:8080 |
HTTP server bind address |
NO_AUTH |
(unset) | Set to true to disable API key auth (development) |
LOG_LEVEL |
info |
Log level: debug, info, warn, error |
LLM_PROVIDER |
gemini |
LLM provider: gemini or openai |
LLM_MODEL |
gemini-2.5-flash / gpt-5.2 |
Model name (default depends on provider) |
GOOGLE_API_KEY |
(empty) | Gemini API key (required when LLM_PROVIDER=gemini) |
OPENAI_API_KEY |
(empty) | OpenAI API key (required when LLM_PROVIDER=openai) |
OPENAI_BASE_URL |
https://api.openai.com/v1 |
OpenAI-compatible API base URL |
GITHUB_CLIENT_ID |
(required in prod) | GitHub OAuth App client ID |
GITHUB_CLIENT_SECRET |
(required in prod) | GitHub OAuth App client secret |
ALLOWED_GITHUB_USERS |
(empty) | Comma-separated GitHub usernames allowed to log in |
ALLOWED_GITHUB_ORGS |
(empty) | Comma-separated GitHub org logins allowed to log in |
SESSION_SECRET |
(required in prod) | Secret key for HMAC-signing session cookies |
SECURE_COOKIES |
true |
Set false for local HTTP dev |
PUBLIC_URL |
(empty) | Base URL for constructing notification action links |
FRONTEND_URL |
(empty) | Frontend URL for OAuth redirects (if separate from server) |
GITHUB_TOKEN |
(empty) | GitHub PAT for increased API limits (ingestion, onboarding, suggestions) |
GITHUB_APP_ID |
(empty) | GitHub App ID for private repository release polling and onboarding scans |
GITHUB_APP_PRIVATE_KEY |
(empty) | GitHub App private key PEM; supports escaped \n line breaks |
GITHUB_APP_PRIVATE_KEY_FILE |
(empty) | Path to a GitHub App private key PEM file; used when GITHUB_APP_PRIVATE_KEY is empty |
GITHUB_APP_INSTALLATION_ID |
(empty) | Optional installation ID fallback; otherwise resolved per owner/repo |
GITHUB_APP_NAME |
(empty) | Optional GitHub App slug used to show an install link in Settings |
GITLAB_TOKEN |
(empty) | GitLab PAT for GitLab provider authentication |
At least one of ALLOWED_GITHUB_USERS or ALLOWED_GITHUB_ORGS must be set when NO_AUTH is not true.
For private GitHub repositories, configure a GitHub App and install it on the repositories Changelogue should scan. Grant read-only permissions for repository metadata, contents, and releases. Set GITHUB_APP_ID plus either GITHUB_APP_PRIVATE_KEY or GITHUB_APP_PRIVATE_KEY_FILE; Changelogue will mint short-lived installation tokens per repository. Set GITHUB_APP_NAME to show an install link under Settings. After installing or changing repository access, use Settings -> GitHub App -> Sync to refresh the repositories available in the source form. GITHUB_TOKEN remains supported as a fallback for development or public-only deployments.
cmd/
server/ Entry point — wires all layers together
cli/ CLI binary (clog) — REST API client
stealth/ Stealth binary (clog-stealth) — headless SQLite mode
agent/ Agent CLI — run agent analysis for a project
internal/
agent/ ADK-Go agent orchestrator, tools, and worker
openai/ OpenAI-compatible LLM provider
api/ REST API, SSE, middleware, auth
auth/ GitHub OAuth 2.0, sessions, user allowlisting
db/ Connection pool and migrations
gate/ Release gate system (check, NL eval, timeout workers)
ingestion/ Polling sources (Docker Hub, GitHub, ECR Public, GHCR, GitLab, PyPI, npm)
models/ Shared domain types
onboard/ GitHub repo scanning and dependency extraction
queue/ River job definitions and client
routing/ Notification channels and delivery worker
stealth/ SQLite store and stubs for stealth mode
web/ Next.js dashboard (React + Tailwind + shadcn)
scripts/ Integration test harness
More providers (Helm, etc.) and channels (PagerDuty, etc.) are planned. Adding one is a single-interface implementation:
Add a registry provider — implement IIngestionSource in internal/ingestion/source.go:
type IIngestionSource interface {
FetchNewReleases(ctx context.Context) ([]IngestionResult, error)
}Add a notification channel — implement Sender in internal/routing/sender.go:
type Sender interface {
Send(ctx context.Context, channel models.NotificationChannel, msg Message) error
}Releases are automated via GoReleaser and GitHub Actions.
Pushing a v* tag triggers the release workflow, which cross-compiles the server, CLI, and stealth binary for linux/darwin (amd64/arm64), creates archives with checksums, and publishes a GitHub Release.
# Tag and push — triggers the full pipeline
make release VERSION=v0.2.0
# Local dry run (requires goreleaser installed)
make release-dry-runSee CHANGELOG.md for the release history.
make build # go build -o changelogue ./cmd/server
make cli # build clog CLI binary
make stealth # build clog-stealth binary (headless SQLite mode)
make run-auth # build and run server with GitHub OAuth enabled
make test # go test ./...
make coverage # go test with coverage profile + print total %
make vet # go vet ./...
make lint # alias for vet
make integration-test # full integration test (spins up its own Postgres)
make db-reset # drop and recreate the local database
make frontend-build # build Next.js static export
make agent-dev # run agent CLI for a specific project
make stealth-run # build and run stealth server
make release VERSION=x # tag and push a release
make release-dry-run # test GoReleaser locally without publishing
make clean # remove binary, stop containers, delete volumes