DEV Community

Cover image for I Turned GitHub Contribution Graphs into an Animated Minecraft Tree 🌳
Eclipse 🍃
Eclipse 🍃

Posted on

I Turned GitHub Contribution Graphs into an Animated Minecraft Tree 🌳

gh-tree


I made gh-tree — a GitHub Action that turns your GitHub activity into an animated Minecraft tree.

How it works

  1. Fetches Your Stats: Uses GitHub's GraphQL API to pull your recent commits, pull requests, and PR reviews.
  2. Generates Pixel Art: Dynamically maps stats to 14 leaf blocks, flowers, and apples rendered via WebAssembly (resvg-wasm).
  3. Auto-Commits: Builds a transparent animated GIF and updates your README.md daily.
  4. 🍃 Leaves = Weekly commits (drives foliage greenness)
  5. 🌸 Flowers = Open PRs
  6. 🍎 Red Apples = Merged PRs
  7. 🍏✨ Golden Apples = PR Reviews & Assigned PRs

💝 Quick Links


Thank you for reading and using my Github Action,
Muah❤️,

Have a great day ahead 🐳

Top comments (0)