Privacy
What we read, keep and never touch
Year in Code is built so that as little as possible leaves your device. This page describes exactly what does.
Without signing in
- You give a GitHub username. The server asks GitHub for that profile’s public contribution data and returns the statistics to your browser.
- The result is cached for up to 24 hours, keyed by username and period, so repeated views do not hammer GitHub. The cache holds only public data.
- No account, cookie or identifier is created for you.
If you connect GitHub
- Sign-in uses GitHub’s standard authorisation flow with a state check and PKCE. The only permission requested is read access to your profile (
read:user). No access to code, and no write access of any kind, is requested. - GitHub’s access token is stored on the server, encrypted, and is never sent to your browser, placed in a URL or written to logs. Your browser holds only a random session cookie that is
HttpOnly,SecureandSameSite=Lax. - The token is used for one thing: reading your own contribution data, so your private contributions can be counted in your own recap.
- Recaps that include private contributions are cached per account and never served to anyone else. Private repository names never appear in share links, previews or shared caches.
- Naming private repositories is your choice, twice. Year in Code can only see the private repositories you allow on GitHub, and their names stay hidden until you switch on “Private repository names” in the Studio. With it on, the names appear in your own view and in videos and images you export yourself. Switch it off and they are gone again.
- You are never asked to paste a personal access token.
What is stored
- On the server, when signed in: your GitHub user id, login, display name and avatar address; the encrypted token; recaps you choose to save (a name, a username, a period and your visual settings); and your default look, if you set one.
- In your browser: the settings you last used for each recap and any looks you saved, in local storage.
- Never stored: the videos and images you export, and any music you add. Those are created and read on your device only.
Share links
A share link contains a username, a period and your visual choices, and nothing else. Anyone opening it sees the public version of that recap, generated fresh from GitHub. Uploaded music cannot travel in a link.
Music
The built-in soundtracks are synthesised in your browser. A file you add is decoded locally with the Web Audio API and is not uploaded. Links to Spotify open Spotify’s own site in a new tab; Year in Code does not connect to your Spotify account and does not play or record Spotify audio.
Analytics and third parties
There are no analytics scripts, advertising trackers or third-party fonts. Typefaces are served from this site. The only outside service contacted on your behalf is GitHub.
Leaving
“Disconnect GitHub and delete my data” on My recaps deletes your saved recaps, your default look, your session and the stored token, and asks GitHub to revoke the authorisation. You can also revoke access at any time from GitHub under Settings → Applications.
For how the numbers are produced, see the methodology.