Skip to Content
Get started

Get started

Install

With Homebrew on macOS or Linux:

brew install --formula octolab/tap/maintainer maintainer --help

Installed the Cask before? Switch to the Formula once. On macOS the Formula also carries the local hub: brew services start octolab/tap/maintainer.

Without Homebrew, the install script puts the latest release into ./bin; -b chooses another directory and a tag pins the version:

curl -sSfL https://raw.githubusercontent.com/octomation/maintainer/main/bin/install | sh -s -- -b ~/.local/bin v0.4.1

wget -qO- works in place of curl -sSfL. Archives for macOS and Linux on amd64 and arm64 are also on GitHub ReleasesΒ . With Go 1.27 or newer, no checkout is needed:

go install go.octolab.org/toolset/maintainer@latest

go install puts the executable in GOBIN, or $(go env GOPATH)/bin if GOBIN is unset; that directory must be on your PATH. From a checkout, go install . builds the current source.

Give it a GitHub token

Contribution commands query GitHub’s GraphQL API for the account owning the token. A token is required even when that profile is public. Use either form:

# Option 1: reuse the token in this shell export GITHUB_TOKEN=your_token # Option 2: pass it for one command maintainer github --token=your_token contribution lookup now/-3

The environment variable applies to later commands in the same shell. --token applies to one command and may remain in shell history. Private contribution details depend on your GitHub permissions and settings.

Plan your next contribution

maintainer github contribution lookup maintainer github contribution suggest --target 25 2026-01-12/-1

Without an argument, lookup shows the week of the latest commit in the current repository and the week before it, or the current week outside a repository. A real excerpt from suggest, anchored at a past date:

Day / Week #04 #05 Date Monday 25 [20] Jan 26 Suggestion is 2026-01-26T05:51:27Z, 20 β†’ 25

suggest looks for the first moment from the anchor up to now, between 05:00 and 19:00 UTC, on a day below its target, and marks that day with brackets: this example shows 20 contributions toward a minimum target of 25. Your counts and suggested time will differ, but the time is never later than now; if no such moment exists, suggest says why and exits with 4 instead. The time is a suggestion; maintainer does not create a commit.

Next: read the contribution guide to choose date ranges, inspect your activity distribution, and compare snapshots when you need a record. The Go vanity URL and Makefile guides cover the smaller project helpers. To see where local work needs attention across your checkouts and refresh them from GitHub, continue with status and fetch.