lightningames / astroblog-nostr

astro blog that also posts to nostr blog sites (Work in Progress)
MIT License
2 stars 1 forks source link

Research Nostr Blog Data #9

Open bitkarrot opened 10 months ago

bitkarrot commented 10 months ago

Reference

BrutusBondBTC commented 10 months ago

Find out what kind of data format for sending draft and final blog posts

Draft(Kind 30024) and final blog posts(Kind 30023) are sent as Markdown Files.

Find out what we need to do to edit a blog post already sent to Nostr

To edit, all you need to do is click the edit button on a NIP23 client (eg. habla.news, flycat.club, yakihomme.com, blogstack.io ) Editing replaces the markdown file and obviously deleting a post deletes the file. The same is true for drafts, but the drafts are only visible to the author.

What relays should we consider using? From what I understand, to optimize the best relays, we need to choose the ones with the most traffic. We want to add Damus, Snort, Primal for sure and we should also add some of the paid relays

Where is the source code to the relays that are supporting blog posts? (link here)

From what I understand, we can broadcast to any relay. The clients render the information. Some clients only allow 120 characters and some allow long form content. Our goal is to create long form content. If we send our content to relay.damus.io it will be rendered to long-form blogposts on: https://habla.news https://flycat.club https://highligter.com (By the way, this one also allows monthly subscription payments) https://blogstack.io https://yakihonne.com/

There are others. I recently learned about a relay named nostr.cooking that also uses nip23, but it appears it only renders markdown files with a specific recipe(as in a meatloaf recipe) format.

This is subject to change, and each blogging client publishes to different relays current.fyi primal.net nostr.mom nostr-pub.wellorder.net nos.lol offchain.pub nostr.bitcoiner.social

Blogstack

Damus nostr-pub nos.lol Snort nostr.wine

Yakihonne used to have about a dozen relays but don't anymore.

yakihonne1

yakihonne2

dorafactory

So the relays we choose should be determined by choosing the set of relays optimized to our likely audience. If our audience is global, we should choose a strategy similar to Yakihonne, but us based we should probably choose the relays used by blogstack or habla.news, but bitkarrot knows the stats better than I do.

Here's an example of the source code damus uses.