fiatjaf on Nostr: tired of having to create a giant boilerplate with 42 javascript files and fight for ...
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:
<nostr-name pubkey="npub1..." />, for example, just displays the name of the referred pubkey.
https://git.fiatjaf.com/nostr-web-componentsI'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.
Published at
2024-08-04 01:32:37Event JSON
{
"id": "6798b581dbf6cd0a1e5635eb6212e033e009dabefea8159bbb3ceb6174921aa4",
"pubkey": "3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",
"created_at": 1722735157,
"kind": 1,
"tags": [],
"content": "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:\n\n\u003cnostr-name pubkey=\"npub1...\" /\u003e, for example, just displays the name of the referred pubkey.\n\nhttps://git.fiatjaf.com/nostr-web-components\n\nI'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.",
"sig": "99123b3a4c1be3a85d52402e4128ce68d8e50920e82638839c335ab0f4fd40fe6617c7f5d21ee232d66a86ba6ced0c5714151f2f2a4a229030c5e19e8dcad43e"
}