I can finally empty my nutsack πŸ™ƒ View quoted note β†’
Web Components are a rabbit hole… thanks @Leito πŸ™„
Another day, another nutjar update! nutjar-button v0.3 is a web component that lets you add Lightning Donation to your web page with close to 0 coding and configuration. All you need is a nostr key! πŸ₯œ NIP-61 aka. Nutzaps using Cashu πŸ’» Reusable Web Component 🎨 Theming and Customization
πŸ₯œ πŸ«™
Okay, I tested the WC API and I love it. nutjar-ui is going to be called "nutjar-button" and it is going to be a Web Component! πŸ₯œ πŸ”₯ image
⚑πŸ₯œ nutjar-ui let's you add Lightning Donations to any website with close to no setup at all. It uses Cashu and NIP-61 under the hood to handle payments and send them to your nostr key. The component is hosted on a CDN and can be included using a single tag:
Alright, couple of fixes later the nutjar.js demo page is deployed: Nutjar.js is a library that wraps cashu and nostr in order to enable anyone to receive Lightning tips on the interwebs, without ANY setup or registration. Permissionless and censorship resistant. The demo's code can be found on GitHub, but here is the core piece of code: image