First steps¶
Registering drops you into a four-step wizard, which exists to get one organization syncing and one report in front of you without a tour of the settings. This page walks through it, and through what to look at once the first pass finishes.
Installation covers getting the application running. Start here once it answers on http://localhost:8000.
Before you start¶
- Ospobox running, with the background worker. The worker syncs, scores, raises alerts and sends digests. Without it the dashboard stays empty.
- A way in to the forge you want to watch. Public repositories on GitHub, GitLab and Codeberg can be read with no credential at all, at the forge's anonymous rate limit, which is low enough to make a first sync slow. SourceHut is the exception: git.sr.ht answers 401 to every unauthenticated query, including for public data, so a token is required there.
- Private repositories need a credential whose account can see them.
Step 1: create an account¶
Register at /auth/register with a name, an email address, and a password of at least eight characters. A verification mail goes out. Until you follow it the dashboard shows a banner, and an unverified address receives no digests.
Development mode
With DEBUG=true you can skip registration and log in as admin@admin / admin. The backdoor is disabled whenever debug is off.
To stop visitors signing themselves up, set ALLOW_REGISTRATION=false and create the first owner from the command line instead:
It prints a generated password once.
Step 2: connect a platform¶
Registration redirects to /onboarding, which asks for a credential first.
- GitHub and GitLab can be connected over OAuth: click through to the platform's consent screen and back.
- All four platforms accept a personal access token pasted into the form, which is the only authenticated path for Codeberg and SourceHut.
You can skip this step. Without a credential you can still watch public organizations, more slowly, and SourceHut not at all.
Step 3: choose what to watch¶
/onboarding/choose lists what the connected token can see, so an organization you belong to is one tick. The same screen takes a name typed by hand, for anything the token cannot see:
| What you type | What gets watched |
|---|---|
abilian |
Everything that owner publishes |
~sircmpwn |
The same, on SourceHut, where the owner is a user |
fastapi/fastapi |
That one repository alone |
| A pasted URL | Whichever of those the URL names |
A repository added on its own appears under its owner's name. The list says which of that owner's repositories you hold: adding another extends it, and adding the owner replaces it with everything they publish.
Step 4: watch the first pass¶
/onboarding/syncing reports progress while the worker fetches repositories, commits, pull requests, issues and releases, then scores what it collected.
How long this takes
A small organization behind a token takes minutes. A large one takes considerably longer, as does any organization read anonymously: a first pass over a 20-repository organization at Codeberg's anonymous rate limit took about 38 minutes, and an incremental pass about 28. Leaving the page does not stop the sync. The organization's own page reports the same progress.
Step 5: set a cadence and read the first report¶
The last step asks how often you want a digest, and then generates one immediately; waiting for tomorrow's 08:00 UTC pass would be no use to somebody who has just signed up.
Choosing daily or weekly saves a report template addressed to the account's own confirmed addresses. Nothing is sent anywhere until SMTP_* is configured; see Email settings.
What you have now¶
The wizard leaves you on a dashboard with data in it. Look at four things first.
The organization page lists its repositories with a health score each, the sync status, and when the last pass ran.
A repository page breaks its score into the four metric groups and states what each one counted. A group the forge cannot answer abstains. A repository where none can answer reads not enough data instead of zero.
Alerts need no configuration: they are generated after every sync and again every six hours. Open Alerts in the sidebar to see what the first pass found: inactive repositories, low health scores, sharp health drops, week-over-week activity collapses, and pull-request and issue backlogs.
The first pass over a new account is noisy, because every quiet repository trips the low-health rule once. Acknowledge that batch and later passes stay quiet. See Act on alerts for the rules and their thresholds.
Reports builds a report from the sections you want, over the last 7, 30 or 90 days or a custom range, and exports it as Markdown, HTML or PDF. See Report to stakeholders.
Where to go next¶
- Choose what to monitor, for adding, editing and syncing organizations
- Act on alerts, for the rules and getting findings out
- Report to stakeholders, for building and scheduling reports
- API reference, for driving all of it from outside
Troubleshooting¶
The organization will not sync¶
Check the organization's own page: it reports the last error, the age of the sync mark, and "stalled" with a restart button once that mark outlives the job timeout. Beyond that, check the name is spelled as the forge spells it, and that a private organization has a credential connected under Settings > Connections.
Nothing was collected¶
An organization that exists but has published nothing recently syncs to an empty set, which is a correct answer. Archived repositories are collected but left out of scores and alerts.
Every score is low, or missing¶
A health score reads the activity Ospobox has stored, so it says nothing useful until a sync has finished. After that, the repository page shows which groups scored and which abstained; a score you disagree with can be argued with group by group.