quotingThis trending hashtag algorithm in #Ditto works by querying the database every hour and publishing a Label event with the top hashtags.
nevent1q…n52l
Then to display it, we get the most recent Label, then get a 7-day history for each of those tags.
Check trends with:
nak req -k 1985 -t L=pub.ditto.trends -t l="#t" -a db0e60d10b9555a39050c258d460c5c461f6d18f467aa9f62de1a728b8a891a4 wss://gleasonator.dev/relay
Change #t to #p for trending users, or #r for trending links.
hodlbod on Nostr: Coming soon to Coracle: custom feeds based on labels. ...
Coming soon to Coracle: custom feeds based on labels.