Turning Your GitHub Contributions into a Space Invaders Game

Published: (April 6, 2026 at 05:28 AM EDT)
1 min read
Source: Dev.to

Source: Dev.to

Overview

I built a small side project called GitInvaders – a Space Invaders‑style web game that turns your GitHub contributions into enemies.

Play GitInvaders

How It Works

  1. Log in with GitHub. The game pulls your real contribution data.
  2. Each contribution block becomes an enemy ship.
  3. More commits → more enemies on screen.

You control a spaceship and literally shoot your own commits.

Features

  • No installation required – just open the site and play.
  • Works with OAuth (GitHub and Google).
  • Turns real data into game mechanics.
  • Simple browser‑based implementation.

Tech Stack

  • OAuth for authentication (GitHub, Google)
  • Browser‑based game logic (HTML5 Canvas / JavaScript)
  • Real‑time data fetching from the GitHub API

Play It

Visit the site, log in with your GitHub account, and start shooting your contribution blocks.

https://www.gitinvaders.com/

Conclusion

Sometimes a project doesn’t need to solve a big problem; it just needs to be fun. Shooting your own contributions can be surprisingly satisfying, offering a playful alternative to staring at static contribution charts.

0 views
Back to Blog

Related posts

Read more »