kickscondor / fraidycat

Follow blogs, wikis, YouTube channels, as well as accounts on Twitter, Instagram, etc. from a single page.
Other
1.76k stars 56 forks source link

add nostr #269

Closed github-tijlxyz closed 1 month ago

github-tijlxyz commented 9 months ago

nostr is a protocol that can be used as a social media alternative.This is a proposal for implementing it. I can't really use the existing rss/http things since its based on websockets. don't understand the entire codebase yet, so maybe I did something wrong, but this system works quite well. Just let me know what you think about implementing something like this.

fiatjaf commented 9 months ago

I tested and it works well. I think there is some room for improvements like give out some options about where to link to, for example.

alltheseas commented 9 months ago

What's the format for following a npub?

For instance, https://njump.me/npub123etc ?

github-tijlxyz commented 9 months ago

@alltheseas you can just paste in a npub or nprofile. currently it links the posts to njump.me

kickscondor commented 1 month ago

Ok heh - I'm so sorry to just get here like a year later. :wave:

This is an awesome set of changes!! Makes me wonder if I could eventually support other protocols like Gemini or Secure Scuttlebutt or the like.

Unfortunately, this patch belongs in fraidyscrape. All the logic for specific protocols and such needs to go in that library. But this gives me a good foundation for adding it there. (I've created an issue referring back to this here.) And, fortunately, anyone who wants this patch now can use your PR.

Very much appreciate this contribution. :pray: