Skip to content

Conversation

@zeroxbob
Copy link

@zeroxbob zeroxbob commented Dec 5, 2025

1.) Write URL to "r" tag when posting the kind 30023 note to Nostr
2.) Change to cors proxy, because allorigins was prevented from fetching substack content.

Background:

ReadToRelay really scratches an itch and am currently hosting a copy on https://zeroxbob.github.io/ReadToRelay/website/index.html.

If a note of kind 30023 exists with content for a URL that was bookmarked on https://github.com/zeroxbob/pinstrjs, then I want to link to it from the bookmark. For that I need to query a relay if a long form note exists for such a URL.

I'm not 100% sure what the best place is for these URLs to live on 30023 notes. Single letter tags seem to be indexed by relays and are faster to query for than say "url". Based on https://nostrbook.dev/tags/r I think the r tag would make sense.

Alternatively, sticking to the "d" tag, which this repo already writes to with an appended timestamp would also work.

Either way, this is not pressing since the two changes are already running on the forked repo, but I thought I'd suggest these updates upstream too and get a sense of your thinking around this.

The r tag is indexed by relays and makes querying for the url easier.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant