Hello,
The nostr protocol is a open protocol that can be used to publish articles. You can find more information about the nostr protocol at github.com/nostr-protocol/nostr . This pull request tries to implement nostr's long-form content (NIP-23) into the miniflux feeds.
This PR implements:
The user can input a nostr: user identifier link (it supports dns based links (NIP05) and bech 32 encoded links (NIP19) nprofile or npub.
The server can load the nostr profile and profile picture, and the server can laod nostr posts
The markdown parser parses nostr links using goldmark-nostr
below is me trying to explain what I have done to implement nostr into miniflux.
I started the base implementation from the internal/reader/handler/handler.go file, in which I added sections to the CreateFeed and RefreshFeed functions. I tried to integrate as best as possible with your code but I know this is probably not the right way to do it, I am happy to hear your opinion about how to best structure this with the existing miniflux code.
In addition to that:
To execute nostr actions I'm using the widely used go-nostr library.
I made a new nostr.go file and folder, which houses the nostr miniflux implementation.
The subscription finding code is implemented from here
Hello, The nostr protocol is a open protocol that can be used to publish articles. You can find more information about the nostr protocol at github.com/nostr-protocol/nostr . This pull request tries to implement nostr's long-form content (NIP-23) into the miniflux feeds.
This PR implements:
nostr:
user identifier link (it supports dns based links (NIP05) and bech 32 encoded links (NIP19) nprofile or npub.below is me trying to explain what I have done to implement nostr into miniflux.
I started the base implementation from the internal/reader/handler/handler.go file, in which I added sections to the
CreateFeed
andRefreshFeed
functions. I tried to integrate as best as possible with your code but I know this is probably not the right way to do it, I am happy to hear your opinion about how to best structure this with the existing miniflux code.In addition to that:
Thank you
https://github.com/user-attachments/assets/ae033c50-3f47-4989-98c0-27efd3c5fda3
Do you follow the guidelines?