Using web components makes sense for many Nostr things
tired of having to create a giant boilerplate with 42 javascript files and fight for hours against buggy build tools, unhappy linters and unresolved type-checkers, I started a collection of nostr web components that hopefully can be imported with just a script tag and used directly:
https://git.fiatjaf.com/nostr-web-components
I'm not sure this will work or if they will be very useful. let me know if you have suggestions of other components to create.
Discussion
Like what?
A note, a reply to a note, raw data view of an event, a npub-to-follow button (and the inverse of it), a zap to a note, a thread with note replies and the note, etc etc
And this is a new learning resource of a Dutch dev which I follow (he is a PWA expert) https://dannymoerkerke.gumroad.com/l/mastering-web-components?ref=modern-web-weekly.ghost.io
This dev is doing a lot with web components https://gomakethings.com/articles/
This is something that would be good to follow if it was a Nostr feed and not a daily email.
Let’s build a RSS to Nostr feed bridge so everyone could load this as a custom feed into a client 🧐🤓