DEV Community

Cover image for I turned my GitHub contribution graph into a Bloomberg-style trading terminal

I turned my GitHub contribution graph into a Bloomberg-style trading terminal

Hanzla Baig on November 22, 2026

TL;DR: Your green contribution squares are a heatmap. I wanted a chart. So I built gh-trading-terminal: a GitHub Action that renders your real con...
Collapse
 
nyaomaru profile image
nyaomaru Necoz •

I tried it, and this is actually really fun! 😸📈

Watching my GitHub contributions turn into candles and charts genuinely made me feel like a trader for a moment. 😹

The whole Bloomberg / TradingView vibe works surprisingly well for a GitHub profile.

Great idea! 🐈💚

Collapse
 
gnomeman4201 profile image
GnomeMan4201 Necoz •

964….thats insane. Major respect like always

Collapse
 
hanzla profile image
Hanzla Baig Necoz •

Haha, glad you enjoyed it! 😸 That's exactly what I was hoping for. Thanks for trying it out! 💚

Collapse
 
johnnylemonny profile image
𝗝𝗼𝗵𝗻 Necoz •

Really neat approach to turning daily contribution counts into candlesticks without faking intraday data. Using an EMA for open/close levels and clipping outlier volume spikes with a marker so one massive commit day doesn't flatten the rest of the chart are thoughtful touches, and keeping an empty in-progress UTC day from breaking the current streak is a great UX detail.

The engineering around GitHub's image proxy constraints is just as impressive. Zero dependencies, SMIL animations, and tests explicitly guarding against <script>, <style>, or <foreignObject> slipping into the SVG. A breakdown panel showing which repos or languages drove the biggest volume days would fit right into that Bloomberg terminal vibe.

Collapse
 
gnomeman4201 profile image
GnomeMan4201 Necoz •

Just added this to my profile README. Looks great and my Developer Index came in at 675. 📈 My vote for the next panel is “What drove the spike?” September 19 jumps out on mine with 337 contributions. I’d love to see which repos accounted for most of that day and how it broke down across commits, PRs, issues, and reviews.

Collapse
 
hanzla profile image
Hanzla Baig Necoz •

Glad you added it to your profile! 675 is a solid Developer Index. 😄 And I really like your idea for the next panel. Seeing which repos drove a spike, along with the breakdown of commits, PRs, issues, and reviews, would make the terminal even more useful. Definitely something worth exploring!

Collapse
 
hemapriya_kanagala profile image
Hemapriya Kanagala Necoz •

this is so cool, hanzla 😀

Collapse
 
hanzla profile image
Hanzla Baig Necoz •

Thank You 😁

Collapse
 
alexshev profile image
Alex Shev •

This is a fun way to make contribution history legible at a glance. Showing the source and refresh timestamp beside the live metrics would make the terminal feel even more trustworthy, especially when a viewer compares multiple repositories.

Collapse
 
hanzla profile image
Hanzla Baig Necoz •

That's a good idea! Adding the source and last updated time would make it even more useful. I'll definitely consider that! 😸

Collapse
 
emilywoodsnyc profile image
Emily Woods •

The UTC handling for an unfinished day is a thoughtful detail. I’d add fixtures for a run just before and just after midnight, plus overlapping chunk boundaries, to make sure deduplication and the activity denominator stay consistent. This daily active-user SQL question is a smaller version of the same trap: decide the calendar window and counting unit before trusting the chart.

Collapse
 
hanzla profile image
Hanzla Baig Necoz •

That's a really good point! Testing around midnight and overlapping chunks would help catch these edge cases. Thanks for sharing this

Collapse
 
paullovelace profile image
Paul Lovelace •

The Sharpe ratio on my commit history is the part that made me laugh and then immediately want to see mine — I have a feeling my volatility would be doing most of the talking. The 'what drove the spike' panel is the obvious next one; gnomeman's September 19 with 337 contributions is exactly the day you'd want explained. One thing I'm curious about though: do the SMA and bands actually tell you anything about how you work, or are they pure theatre on a chart that already looks great? Either way it's a fun README flex.

Collapse
 
hanzla profile image
Hanzla Baig Necoz •

Haha, glad you liked it! The SMA and bands are mostly there to make the graph more interesting, but they can also help spot patterns in contribution activity. And I agree, that September 19 spike would be interesting to dig into! 😄

Collapse
 
aheadkit profile image
AheadKit •

My favourite bit is that the Developer Index is openly fictional and still has a Sharpe ratio and a max drawdown, like my commit history is a stock I should be worried about. The 38 KB self-contained SVG surviving GitHub's image proxy with just SMIL and no scripts is the clever part though, most README widgets would have given up at that constraint. Mine would probably be deep in the red on Mondays, and I'd still stare at it every morning.

Collapse
 
hanzla profile image
Hanzla Baig Necoz •

Haha, exactly! The whole idea was to make a fun little trading terminal out of commit activity. And honestly, I'd probably keep checking mine every morning too 😂

Collapse
 
gautamtalksdev profile image
Gautam K •

Candlesticks for commits is a fun idea, and zero dependencies in one self-contained SVG is the right way to ship a README widget. Does a day with zero commits show as a flat candle or a gap?

Collapse
 
hanzla profile image
Hanzla Baig Necoz •

Thanks! A day with zero commits shows as a red candle i think

Collapse
 
gautamtalksdev profile image
Gautam K •

Ha, a red candle for a zero-commit day is a perfect touch. Very honest chart.

Collapse
 
neithergalax profile image
neitherGalax Necoz •

wow this looks really cool.

Collapse
 
hanzla profile image
Hanzla Baig Necoz •

Thank you! Glad you liked it! 😸

Collapse
 
abhisekroy169 profile image
Abhisek Roy •

this is nice . Looks like i am on my trading platform

Collapse
 
hanzla profile image
Hanzla Baig Necoz •

Haha, that's exactly the vibe I was going for! Glad you liked it! 😸

Collapse
 
jepalv23 profile image
Jennifer JPalv •

This is awesome. Cannot wait to try this out.

Collapse
 
hanzla profile image
Hanzla Baig Necoz •

Thanks! Hope you enjoy setting it up. Would love to hear what you think! 😸

Collapse
 
rajiv_official profile image
Rajiv •

It looks so cool

Collapse
 
hanzla profile image
Hanzla Baig Necoz •

Thanks ✨

Collapse
 
star123 profile image
Sᴛᴀʀ⭐ Necoz •

Awesome 🙌🏻😮

Collapse
 
hanzla profile image
Hanzla Baig Necoz •

thanks 😅