If anyone with C++ experience are bored and want to contribute to something, I made a GH issue to add support for an icon URL in the NIP-11 document Strfry serves.

Reply to this note

Please Login to reply.

Discussion

It's probably not that hard to implement but I don't have time to learn C++ basics atm.

i wish i saw this earlier. oh well

It's still open if you want to do it. I looked at it but I have no experience what so ever with c++ and gave up on doing it myself for now.

https://github.com/hoytech/strfry/issues/102

I'll toss it on the ever growing todo pile šŸ˜‰

It’s important to never let the todo list become emptyšŸ˜„

What's a good way to test the change?

Send a GET request to the relay URL with the accept header set to ā€œapplication/nostr+jsonā€. This should return a document with some information about the relay. This document should contain an ā€œiconā€ key with a url (if set in the config). The NIP doc should give a good explanation of how this works.

https://github.com/nostr-protocol/nips/blob/master/11.md#icon

Thanks, I found it easy enough to add the relay to my list in nostrudel and the icon showed up right away.