Skip to content

timoncool/gitlife

Repository files navigation

GitLife logo

GitLife

Your life as a GitHub contribution graph.

Live Demo · Features · Getting Started · Contributing

Live Demo License Stars Languages Next.js


What is this?

The "life in weeks" idea has been around for a while — your entire life fits into a grid of ~4,000 cells. GitLife overlays real GitHub commit history on top.

Enter any GitHub username in the search bar — no sign-up needed. Sign in with GitHub to include your private commits. The life expectancy calculator uses real country baselines from World Bank (217 countries) and 21 personal health factors from peer-reviewed studies.

Try it now: gitlifeio.vercel.app

Features

  • Life Grid — ~4,000 cells from birth to expected death. Weeks/months/years scale selector.
  • GitHub Commits — Your real commit history mapped onto your life timeline.
  • Life Expectancy Calculator — World Bank baseline (217 countries) + 21 health factors with DOI-linked sources.
  • 30 Famous Developers — Torvalds, Karpathy, Evan You, Dan Abramov and 26 others with real GitHub data.
  • Leaderboard — Community rankings + famous devs. Sort by commits, streaks, active weeks.
  • 7 Languages — en, zh, es, pt, ru, de, ja.
  • Dark/Light/System theme.
  • No tracking, no ads. Sign in to save your profile and join the leaderboard.

Tech Stack

Layer Technology
Framework Next.js 16 (App Router)
Auth Better Auth (GitHub OAuth)
Database Neon Postgres + Drizzle ORM
UI shadcn/ui v4 + Tailwind CSS v4
i18n next-intl
Deploy Vercel

Getting Started

git clone https://github.com/timoncool/gitlife.git
cd gitlife
npm install

Create .env.local:

DATABASE_URL=postgres://...
BETTER_AUTH_SECRET=your-secret-here
BETTER_AUTH_URL=http://localhost:3000
NEXT_PUBLIC_BETTER_AUTH_URL=http://localhost:3000
GITHUB_CLIENT_ID=your-client-id
GITHUB_CLIENT_SECRET=your-client-secret
GITHUB_PAT=ghp_...  # optional, for higher API limits
npx drizzle-kit push
npm run dev

Open http://localhost:3000.

Famous Developers Included

Linus Torvalds (Linux) · Evan You (Vue.js) · Dan Abramov (React) · Andrej Karpathy (Tesla AI) · Ryan Dahl (Node.js/Deno) · Guido van Rossum (Python) · Brendan Eich (JavaScript) · Solomon Hykes (Docker) · Mitchell Hashimoto (Terraform) · Salvatore Sanfilippo (Redis) · Rich Harris (Svelte) · Sindre Sorhus (1000+ npm) · Guillermo Rauch (Vercel) · and 17 more...

Contributing

The famous devs list, translations, and health factors are all plain JSON. Fork, edit, PR. The codebase is standard Next.js + TypeScript.

Other Projects by @timoncool

Project Description
ACE-Step Studio AI music studio — songs, vocals, covers, videos
VideoSOS AI video production in the browser
Bulka Live-coding music platform
ScreenSavy.com Ambient screen generator
telegram-api-mcp Full Telegram Bot API as MCP server
civitai-mcp-ultimate Civitai API as MCP server
trail-spec TRAIL — cross-MCP content tracking protocol

Support the Author

I build open-source software and do AI research. Most of what I create is free and available to everyone. Your donations help me keep creating without worrying about where the next meal comes from =)

All donation methods | dalink.to/nerual_dreming | boosty.to/neuro_art

  • BTC: 1E7dHL22RpyhJGVpcvKdbyZgksSYkYeEBC
  • ETH (ERC20): 0xb5db65adf478983186d4897ba92fe2c25c594a0c
  • USDT (TRC20): TQST9Lp2TjK6FiVkn4fwfGUee7NmkxEE7C

Star History

Star History Chart

License

MIT

About

Your life as a GitHub contribution graph — life in weeks visualization with health factors, leaderboard, and 7 languages.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors