I haven’t been able to look at it yet (been packing yesterday and flying today) but want to have a look; is this a renderer of nostr events that UIs would use? Or does it parse rendered html into nostr events?
Discussion
I’m basically trying to write a standard Nostr event decomposition capability that extracts out all the data into a standard object. Some information is missing or requires queries/requests - like a url content-type, or root event author, etc. That can be enabled/triggered on demand.
Ideally it can be used for more complex rendering of events too. I added a basic html output field that‘a basically find and replace/wrap a tag. I’d like to see if others want to share the approach before I try lock anything down.