DEV Community

bhavin patel
bhavin patel

Posted on

I built a stock exchange for GitHub developers in 4 days — here's how

The idea

What if every GitHub developer had a stock price?

Not a vanity metric. A real price — calculated from your
actual activity. Followers, stars, repos, and most
importantly: what you shipped THIS week.

That's GitBull.

How the price works

Every developer gets a price based on two things:

BASE — your standing:

  • Total followers
  • Total stars across all repos
  • Number of public repos

MOMENTUM — what you did this week:

  • New commits
  • New stars gained
  • New followers

Ship more code = price goes up 🟢
Go quiet = price drifts down 🔴

Prices update every Monday via a weekly cron job.

What I built in 4 days

  • FastAPI backend with GitHub GraphQL API
  • 10,000 developers pre-populated in Firebase
  • Flutter Web frontend
  • 3D candlestick market in Three.js (10k devs rendered live)
  • Buy/sell with virtual points, portfolio, leaderboard
  • Weekly cron that refreshes all dev prices
  • Share your price card to Twitter/LinkedIn

The interesting part — week 1 data

After the first Monday cron ran, some devs jumped massively:

  • DietrichGebert: $38,627 ▲4427% (was shipping hard)
  • Matt Pocock: $19,448 ▲3235%
  • Torvalds: $3,003 ▲334%

The formula actually works — active devs rise, quiet ones fall.

Tech stack

  • Backend: FastAPI + Firebase Firestore

@github @buildinpublic @webdev

Top comments (0)