What is Nostr?
rob / Rob
npub1emq…a3jz
2025-02-06 16:57:41

rob on Nostr: Tomek ⚡ K invited me to give a brief demo of Nostrly on the Alby community call ...

Tomek ⚡ K (nprofile…ct3f) invited me to give a brief demo of Nostrly on the Alby (nprofile…fy4z) community call today.

Here's a quick summary of the technology behind it:

🟣 The site is built on WordPress, with webpacked Javascript doing the lifting on the front end with the help of Nostr tools and NDK.
https://github.com/nbd-wtf/nostr-tools
https://github.com/nostr-dev-kit/ndk

🟣 It uses NIP-98 authentication to login to WordPress, with backend Nostr authentication handled by the Nostr-PHP SDK
https://github.com/nostrver-se/nostr-php/

🟣 Registration payments are proxied through the Alby Bitcoin and Lightning Publisher plugin to my btcpayserver (nprofile…xhfg) .
https://wordpress.org/plugins/bitcoin-lightning-publisher/

I chose to proxy registration payments through Alby BLP because it implements BTCPay Greenfield API out of the box, provides flexibility for the future (eg: switching to NWC) and records payments in WordPress for ease of administration.

🟣 Web Zap, NIP-19 decoder and Public Key Converter are all front-end only tools build using Nostr Tools SDK. The confetti effect after payment uses canvas=confetti.
https://github.com/catdad/canvas-confetti

Happy to answer any questions
Author Public Key
npub1emq0gngdvntdn4apepxrxr65vln49nytqe0hyr58fg9768z5zmfqcwa3jz