A Server Side Rendered (SSR) mirror of Hacker News.
Hosted in https://hn.adhikasp.my.id.
Database is fetched with adhikasp/hackernews-scrape.
Use angle-grinder to analyze logs.
Get most active IP
cat access.log | agrind '* | json | count by ip'
Get most popular story/item
cat access.log | agrind '* | json | where item_id != "" | count by item_id'
Get latency
cat access.log | agrind '* | json | where !isNull(latency) | avg(latency), p50(latency), p95(latency) by path'