kryptokrona / hugin-api

RESTful API and WebSocket server for the Hugin Messenger service.
https://kryptokrona.org
Other
28 stars 8 forks source link

[Feature]: Add endpoint that returns Hugin statistics for the blockexplorer #169

Closed f-r00t closed 2 years ago

f-r00t commented 2 years ago

Description of feature request

An endpoint that can return Hugin statistics, i.e. posts per day, 30 days back.

Why is this needed

Currently we use a laborious process of extracting all Hugin msgs from block data when showing stats on the block explorer. This is very slow, and doesn't allow for statistics that go very far back. So it would be very useful to have an endpoint that can spit out the stats data quickly, and that allows us to show more interesting stats on the explorer.

Code of Conduct

mjovanc commented 2 years ago

Great, I already setup an issue for this. Perhaps not super obvious that it was that. But its here https://github.com/kryptokrona/hugin-cache/issues/160 and I have started working on it. Closing this issue.