-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Support for [Nostr] Followers #9870
Conversation
|
ready to merge I guess? |
Before I do a code review on this, a couple of things:
Thanks |
Yes.
Yes.
Yes.
Yes.
FIXED! (3e896e4) so here is the conclusion:
ready to code review and merge. |
So I think I'd say the "service" here isn't really "nostr". It is nostr.band. I guess what I'm getting at here is: If someone else sets up a competing service offering stats about the nostr network, why did stats from nostr.band get to be I'd suggest we make the route base for this A somewhat analogous situation would be: We have badges that show stats about the NPM ecosystem from https://npms.io/ and https://npm-stat.com/ but they live under |
you are right. I've changed the service from I would also suggest creating a separate service for |
🚀 Updated review app: https://pr-9870-badges-shields.fly.dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks - have looked over the code and left some comments
I suggest moving the discussion of this to a badge request issue. Lets not scope creep here as it feels like what you've got here is pretty close. We don't have any other services that use websockets, so if you wanted to contribute that it would have to be a new base class. If you wanted to implement that, I'd suggest looking over the existing base classes we have, for example:
but its probably useful to nail down the details in an issue a bit first given it would be quite an involved contribution. |
thanks for your detailed review. think I've successfully addressed all your specs. |
good idea. I will open an issue for implementing websocket and the rest. |
🚀 Updated review app: https://pr-9870-badges-shields.fly.dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice one. Merging. Btw, I really appreciate the way you replied to each comment with a link to the commit addressing that comment - makes the second pass of review super easy. Thanks
glad it was helpful. thank you. |
Added first and simplest interaction with Nostr (https://github.com/nostr-protocol/nostr).
Using APIs from https://api.nostr.band/ to keep things fast and simple.
Some other useful stats will be added further.