From token to story,
in one tab.
GitHub Wrapped has no application backend in the data path. Your browser talks to GitHub directly, holds the results in memory, and clears them when you disconnect.
- 01
Create a minimal token
Open GitHub’s fine-grained token page. Name it, set a short expiration, choose public repositories, and leave permissions at their minimum. Public repository data is readable by fine-grained tokens without extra repository permissions.
One minute in GitHub settings
- 02
Paste it into this tab
The token is held in React memory. It is never written to localStorage, sessionStorage, IndexedDB, cookies, a URL or a log. A direct browser request to api.github.com validates it and returns the authenticated profile.
No backend request
- 03
Confirm the account and scope
GitHub’s authenticated identity is authoritative. You approve that identity, then choose public-only analytics (the default) or include private repositories the token can read. The choice is changeable in Settings.
Identity and scope
- 04
Explore, compare, export
Years are discovered and fetched on demand. Open the Wrapped story, zoom out to all-time analytics, compare two periods, then export a card after a privacy review.
Data stays in the tab
The token we recommend.
These settings are enough for public contribution analytics. Add repository permissions only if you explicitly want private repository data.
| Setting | Value |
|---|---|
| Token name | GitHub Wrapped |
| Expiration | 7 or 30 days |
| Resource owner | Your personal account |
| Repository access | Public repositories |
| Repository permissions | None |
| Account permissions | None |
| Organization permissions | None |
To analyze private repositories you can authorize selected repositories and add only read permissions that the feature needs:
- MetadataRead-only
- ContentsRead-only
- IssuesRead-only
- Pull requestsRead-only
Never grant write, administration, deletion or workflow permissions. Select individual repositories when GitHub allows it.
Choose a scope after connecting. Public-only filters repository-level data in the app; it cannot change what the token is allowed to read. Use a public-only token if you want the restriction enforced by GitHub. Private scope is opt-in and exports still redact private data by default.
GitHub’s GraphQL documentation states that contributions in private and internal repositories are only included with the optional read:user scope. Fine-grained tokens cannot request classic scopes, so they usually cannot expose private contribution counts. The app marks those counts as unavailable — never as zero — and keeps generating public analytics.
Do not switch to a broad classic token unless you understand the tradeoff. A classic token can access every repository you can access.
What happens to your token.
The token is used for exactly one purpose: authorizing requests to api.github.com. The application server serves static pages and code. It never receives the token or your GitHub data.
- Stored in React state only, for the life of the tab session
- Cleared immediately when you disconnect
- In-flight requests aborted on disconnect
- Not included in query cache keys, URLs, errors or logs
- Content Security Policy restricts connections to api.github.com
1. paste
Token enters React memory
2. validate
GET api.github.com/user
3. confirm
GitHub identity is authoritative
4. disconnect
abort + clear every cached response
Create the token, then come back.
The whole connection flow takes less than a minute.