I'm starting to enjoy this new weekly format where I share what I've been working on. It's helping me stay consistent, and so far it's working well.
Today I completed the rework of the analytics page for PeakD (sneak peek, still not live yet). It's powered by a brand new stats aggregator built by and
(more details later in this post).
Sneak peek of the next PeakD update
The new page nicely combines two things that really belong together:
- PeakD frontend traffic (most viewed pages, reading time, etc.)
- on-chain account stats (rewards, balances, HP, votes, activity trends)
This gives you much better context on which posts performed best on PeakD while also seeing what was happening on-chain during the same time.
A few highlights coming in this update:
- One unified analytics page
- Timeframe-based charts powered by the new stats service
- Top pages table with post titles, creation dates, and payout info
- Better visibility for recent posts in the rankings
- Extra charts for incoming and outgoing votes
- Much less direct loading from Hive nodes for analytics data
Overall it finally feels like a real product feature instead of a utility page that somehow made it to production.
Powered by a new backend
All of this runs on a new open source account stats backend by .
Huge thanks to as he built the original foundation and gave me a really solid starting point. A lot of the recent work has been turning that foundation into something more generic, complete, and easy to use across different projects.
The backend is powered by HafSQL by . Most of the logic lives in clean, focused SQL queries exposed as simple stat endpoints.
The service is very flexible thanks to a config-driven approach (one config per metric). It supports snapshots, history series, transforms, and even auto-discovery of all available stats.
The backend repo is available in our official GitLab: https://gitlab.com/peakd/hive-account-stats
Also live on HiveHub
The same backend now powers a clean, generic account stats page on HiveHub too.
This is important because the goal wasn’t just to improve PeakD — we wanted a reusable stats system that works well for any Hive account.
TL;DR
- PeakD is getting a modern, unified analytics page in the next update
- It’s powered by a new, solid account stats backend (already live)
- The same backend also powers a new generic stats page on HiveHub
Big thanks again to for the original work and
for HafSQL — this wouldn’t exist without both of them.
Still lot of things to polish and improve. Feel free to reach out with your feedback once it goes live!