Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
forge-dashboard
command
Command forge-dashboard is the composition root: it wires the SQLite database, the passkey auth service, and the per-user dashboard.Manager, then serves the API and static frontend.
|
Command forge-dashboard is the composition root: it wires the SQLite database, the passkey auth service, and the per-user dashboard.Manager, then serves the API and static frontend. |
|
internal
|
|
|
api
Package api is the composition root's one dependency: an http.Handler satisfying api/openapi.yaml, serving the aggregated dashboard snapshot and the static frontend.
|
Package api is the composition root's one dependency: an http.Handler satisfying api/openapi.yaml, serving the aggregated dashboard snapshot and the static frontend. |
|
apistats
Package apistats counts the forge API calls the dashboard spends, by forge, credential, refresh kind and repo, so a change to the refresh path can be shown to have saved budget.
|
Package apistats counts the forge API calls the dashboard spends, by forge, credential, refresh kind and repo, so a change to the refresh path can be shown to have saved budget. |
|
auth
Package auth is passkey (WebAuthn) registration and login: no password ever stored or transmitted, a session cookie once a ceremony succeeds, and the store both ceremonies and sessions persist to (SQLite).
|
Package auth is passkey (WebAuthn) registration and login: no password ever stored or transmitted, a session cookie once a ceremony succeeds, and the store both ceremonies and sessions persist to (SQLite). |
|
dashboard
Package dashboard holds the domain model both forge clients produce and the aggregator that merges them into one snapshot.
|
Package dashboard holds the domain model both forge clients produce and the aggregator that merges them into one snapshot. |
|
dbdsn
Package dbdsn builds the DSN the app opens its SQLite file with, so production and the tests' databases wait out a busy lock the same way.
|
Package dbdsn builds the DSN the app opens its SQLite file with, so production and the tests' databases wait out a busy lock the same way. |
|
dbmigrate
Package dbmigrate runs ordered, one-way schema steps against the SQLite database.
|
Package dbmigrate runs ordered, one-way schema steps against the SQLite database. |
|
forgejo
Package forgejo is a client for the pieces of the Forgejo API (Gitea-compatible) forge-dashboard needs — the same shape as internal/github, against a different API under a self-hosted host.
|
Package forgejo is a client for the pieces of the Forgejo API (Gitea-compatible) forge-dashboard needs — the same shape as internal/github, against a different API under a self-hosted host. |
|
github
Package github is a client for the pieces of the GitHub API forge-dashboard needs: which repositories the credential can write to, their open pull requests and issues, and combined CI status per pull request.
|
Package github is a client for the pieces of the GitHub API forge-dashboard needs: which repositories the credential can write to, their open pull requests and issues, and combined CI status per pull request. |
|
requestlog
Package requestlog persists a queryable record of every outbound request forge-dashboard makes to GitHub or Forgejo (#482), so a rate-limit or connectivity incident can be debugged from what actually happened on the wire instead of from stdout logs alone.
|
Package requestlog persists a queryable record of every outbound request forge-dashboard makes to GitHub or Forgejo (#482), so a rate-limit or connectivity incident can be debugged from what actually happened on the wire instead of from stdout logs alone. |
|
settings
Package settings is each user's own GitHub/Forgejo credentials — saved through the Settings page, encrypted at rest, and what dashboard.Manager builds that user's forge sources from.
|
Package settings is each user's own GitHub/Forgejo credentials — saved through the Settings page, encrypted at rest, and what dashboard.Manager builds that user's forge sources from. |
|
singleuser
Package singleuser turns a database that grew several users into one with a single owner.
|
Package singleuser turns a database that grew several users into one with a single owner. |
Click to show internal directories.
Click to hide internal directories.



























