the numbers

updated live · drawn from my grafana and github, every 15 minutes.

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

cpu busy, last 7 days, averaged per hour, out of 32 threads. the bumps are mostly d's labs sessions and folding@home.
memory in use, last 7 days.
network, last 7 days, in megabits a second: in (the line with the purple under it) and out (peach).

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 per day, last 30 days. hover a bar for the day.
who's asking, last 30 days. the server sorts each request by its user agent.
where from, last 30 days, the top countries.
busiest endpoints, last 30 days.
how fast it answers, last 7 days: the typical request (green) and the slowest one in twenty (grey).

github

the calendar: one square a day, darker for busier. my github profile has the same one.
what kind, last year.
languages: the main language of each public repository of my own. open source has the pull requests.
last pushed: the six repositories i touched most recently.

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.