Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>GitHub Contributions CalendarNew to Visual Studio Code? Get it now.
GitHub Contributions Calendar

GitHub Contributions Calendar

MRCodium

|
1 install
| (1) | Free
View your GitHub contribution heatmap right in VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
GitHub Contributions Calendar logo

GitHub Contributions Calendar

A VS Code extension that shows your GitHub contribution heatmap right in the sidebar — no browser tab, no manual token, just your usual GitHub sign-in.

VS Code Install from Marketplace

Marketplace · Issues · Request Feature

made by license VS Code Marketplace Version VS Code Marketplace Installs VS Code Marketplace Rating

Table of Contents
  • About
  • Getting Started
  • Features
  • Contributing
  • How It Works
  • Development
  • Roadmap
  • Follow Me
  • Give A Star
  • License

📖 About

GitHub Contributions Calendar brings your GitHub profile's contribution heatmap directly into VS Code. Sign in once with your GitHub account, and the Activity Bar shows a live, scalable SVG heatmap of your last 12 months of contributions — styled to match your current VS Code theme, light or dark.

Under the hood it uses VS Code's built-in GitHub authentication provider (so there's no personal access token to create, copy, or manage) and queries GitHub's own GraphQL contribution API, the same data source that powers the heatmap on github.com.

Contribution heatmap preview

🚀 Getting Started

1. Install the extension

Open the Extensions view (Ctrl+Shift+X / Cmd+Shift+X), search for "GitHub Contributions Calendar", and click Install. Or install it directly from the VS Code Marketplace.

Search and install

2. Open the panel

Click the GitHub Contributions icon in the Activity Bar (the vertical strip of icons on the far left of VS Code).

Click the icon

3. Sign in with GitHub

Click Sign in to GitHub. VS Code will open your browser to the standard GitHub authorization page — approve it, and switch back to VS Code. Your heatmap loads automatically.

Sign in and view heatmap

That's it — no tokens, no config files. Use the refresh (↻) button in the view's title bar any time you want to pull the latest counts.

✨ Features

  • 📅 Full contribution heatmap (last 12 months), scaled to fit your sidebar — no horizontal scrolling
  • 🔐 Uses VS Code's built-in GitHub sign-in — no personal access token to create or paste
  • 🌗 Matches your VS Code theme (light/dark), and updates live if you switch themes
  • 🔄 One-click refresh, right in the view's title bar

🔧 Contributing

abhijeetsinghrajput

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the repo
  2. Create a new branch (git checkout -b improve-feature)
  3. Make your changes
  4. Commit your changes (git commit -am 'Improve feature')
  5. Push to the branch (git push origin improve-feature)
  6. Open a Pull Request

Please open an issue first to discuss what you'd like to change.

How It Works

  • Authentication uses vscode.authentication.getSession('github', ...) — VS Code's own GitHub sign-in flow. Your credentials never touch this extension directly; VS Code manages the session for you.
  • Contribution data comes from GitHub's GraphQL API (contributionsCollection.contributionCalendar), the same data source that powers the heatmap on your GitHub profile.
  • The heatmap is rendered as a single scalable SVG (with month labels), so it resizes cleanly with the sidebar instead of scrolling.
  • Colors are theme-aware: a light and dark palette are picked based on your current VS Code color theme.

Development

Want to modify or build this extension locally?

npm install
npm run build

Then press F5 in VS Code (with this folder open as the workspace root) to launch an "Extension Development Host" window with your changes loaded.

Method Description Action
🔧 Manual Build Bundle the extension into out/extension.js npm run build
📦 Package Produce an installable .vsix file vsce package
npm install -g @vscode/vsce   # if not already installed
npm run build
vsce package

Install the resulting .vsix locally via Extensions: Install from VSIX... in the Command Palette, or publish it with vsce publish.

🗺️ Roadmap

  • Cache the last fetched data (context.globalState) so the view isn't blank while refetching
  • Add a status bar item showing today's contribution count
  • Let the user view another GitHub username's calendar, not just their own

📡 Follow Me

GitHub LinkedIn YouTube

⭐ Give A Star

If you found this project useful, give it a star to help more people discover it!

📄 License

MIT License — see LICENSE for details.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft