blog.notryan.com - stats


How is this generated? What data are you collecting?

Well, you can check out the source code here: server.c. There is a call to `printf()` that outputs three things: the current Unix epoch, the file being accessed, and whether the request was from a mobile device.

I have a Ruby script (parse_stats.rb) that collates the data. The data is then plotted with the fantastic uPlot library.

I don't plan to collect anymore data than that. It's anonymized and public. Dig through the source code of this HTML page to find the JSON file.