the numbers
these are the numbers i'd look at anyway, drawn in the same marker as the pictures on this site. the home server and india api numbers come from my home server's own grafana. the github ones come from github. nothing here is a screenshot: the charts are drawn in your browser from /api/stats each time you open the page. each part also lives on its own page: the home server, india api and open source.
the home server
- …up since the last power cut or reboot
- …containers and vms running
- …things prometheus is watching that answer
- …one machine, at home
india api
india api is the free api for indian data at api.dharun.dev, served from the same machine. uptime checks are left out of every number here.
- …requests answered since it went live
- …countries asked in the last 30 days
- …indian states and union territories
- …attack probes turned away in 30 days
github
- …contributions in the last year
- …public repositories of my own
- …stars on them
- …followers
how it's made
a small cloudflare function asks grafana for a fixed list of queries, with a token that can only read. nothing in the request reaches those queries, and only totals come back: no addresses, no keys, no query strings. it asks github too, then keeps the answer for 15 minutes. the drawing is under 400 lines of plain javascript that wobbles each line the way the marker sketches do, seeded so the same numbers draw the same way.