Skip to content
How it works

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.

  1. 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

  2. 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

  3. 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

  4. 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

Fine-grained setup

The token we recommend.

These settings are enough for public contribution analytics. Add repository permissions only if you explicitly want private repository data.

SettingValue
Token nameGitHub Wrapped
Expiration7 or 30 days
Resource ownerYour personal account
Repository accessPublic repositories
Repository permissionsNone
Account permissionsNone
Organization permissionsNone
Open GitHub token settings
Optional: private repositories

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.

Private contribution counts

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.

Security model

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
Credential flow

1. paste

Token enters React memory

direct HTTPS

2. validate

GET api.github.com/user

profile + scopes

3. confirm

GitHub identity is authoritative

memory only

4. disconnect

abort + clear every cached response

No browser-side design protects against a compromised browser, malicious extension or XSS. Revoke the token on GitHub when you are done if you want to eliminate it entirely.

Create the token, then come back.

The whole connection flow takes less than a minute.