Turn your GitHub activity into an evidence-backed annual review in minutes. https://annualreview.dev
Sign in with GitHub (or use a token), pick your date range, and get themes, impact bullets, STAR stories, and self-eval sections — every claim linked to a real PR.
| Output | Description |
|---|---|
| Theme clusters | Your scattered PRs distilled into 4–6 strategic themes a manager actually remembers. |
| Impact bullets | XYZ-format bullets with scope, outcome, and a link to the PR that proves it. |
| STAR stories | Ready-to-paste Situation/Task/Action/Result narratives for promotion packets. |
| Self-eval sections | Draft self-eval sections for review forms — every claim linked to a PR. |
- Go to https://annualreview.dev/generate
- Click Connect GitHub (public or private repos) — or paste a Personal Access Token.
- Set your review date range and click Fetch my data.
- Optionally add your annual goals so the report is tailored to what you're being measured on.
- Click Generate review → copy sections or download as Markdown.
See docs/how-to-get-evidence.md for the full walkthrough, including the CLI path.
If you prefer to keep your token on your machine, use the CLI scripts:
# 1. Collect PRs and reviews from GitHub
GITHUB_TOKEN=ghp_xxx yarn collect --start 2025-01-01 --end 2025-12-31 --output raw.json
# 2. Normalize into the evidence contract
yarn normalize --input raw.json --output evidence.json
# 3. Run the LLM pipeline locally (requires OPENROUTER_API_KEY)
yarn generate evidence.jsonyarn generatewritesthemes.json,bullets.json,stories.json,self_eval.json, andreport.mdto./outby default; use--out <dir>to override.- Override the LLM model with the
LLM_MODELenv var (e.g.LLM_MODEL=google/gemini-2.0-flash).
See docs/data-collection.md for more details.
The app requires a Node server so /api/auth/* and other API routes work.
Build & run:
yarn build
yarn start # serves dist/ + API on PORT (default 3000)The repo ships with nixpacks.toml for one-click Coolify deploys. See docs/deploy-coolify.md.
Required environment variables:
| Variable | Description |
|---|---|
SESSION_SECRET |
Required in production. Random string for signing session cookies (e.g. openssl rand -hex 32). In local dev, the server falls back to a built-in "dev-secret" when unset. |
GITHUB_CLIENT_ID |
From your GitHub OAuth App |
GITHUB_CLIENT_SECRET |
From the same OAuth App |
OPENROUTER_API_KEY |
LLM provider for the generate pipeline — free tier defaults to anthropic/claude-3-haiku, premium to anthropic/claude-haiku-4.5. |
In your GitHub OAuth App settings, set the Authorization callback URL to https://<your-domain>/api/auth/callback/github. See docs/oauth-scopes.md.
Optional environment variables:
| Variable | Description |
|---|---|
DATABASE_URL |
Neon (or any Postgres) connection string. Required for premium credits and Stripe payments; tables credits and credit_events are created automatically. |
STRIPE_SECRET_KEY |
Stripe secret key. Required for payments (also requires STRIPE_WEBHOOK_SECRET). |
STRIPE_WEBHOOK_SECRET |
Secret for verifying Stripe webhook signatures. |
STRIPE_PRICE_CENTS |
Price per purchase in cents (default 100 = $1.00). |
STRIPE_CURRENCY |
Payment currency code (default usd). |
CREDITS_PER_PURCHASE |
Number of premium credits awarded per Stripe purchase (default 5). |
LLM_MODEL |
Override the free-tier model (e.g. google/gemini-2.0-flash) |
PREMIUM_LLM_MODEL |
Override the premium-tier model (default anthropic/claude-haiku-4.5). |
MAX_USER_TOKENS_FREE |
Max context tokens for free tier (default 500000). |
MAX_USER_TOKENS_PREMIUM |
Max context tokens for premium tier (default 184000). |
VITE_POSTHOG_API_KEY / POSTHOG_API_KEY |
Enables client-side PostHog analytics (pageviews, autocapture) and server-side LLM tracing |
VITE_POSTHOG_HOST / POSTHOG_HOST |
PostHog host (default https://us.i.posthog.com; use https://eu.i.posthog.com for EU) |
yarn # install dependencies
yarn dev # start Vite dev server
yarn test # run Vitest tests
yarn typecheckPayment- and premium-related tests (test/payments.test.js, test/generate-premium.test.js) require DATABASE_URL to be set (e.g. a Neon branch or test database).
CI uploads coverage after tests. To ensure uploads succeed:
- Token: In GitHub → Settings → Secrets and variables → Actions, add
CODECOV_TOKEN. Get the value from Codecov → Settings → General → Repository Upload Token. (Required for private repos; recommended for public.) - Default branch: In Codecov → Settings → General, set Default branch to
main. - Verify: After a push or PR, check the "Upload coverage to Codecov" step in the Actions run. If it fails, the job fails and verbose logs show the reason. Success means the commit appears on the Codecov dashboard and PRs show head/patch coverage.
Every generated bullet/claim cites at least one evidence item by id + URL. If impact cannot be proven from GitHub alone, the output labels it "needs confirmation" and asks a follow-up question rather than guessing.

