I've implemented ngx_l402, an Nginx module that enables pay-per-request authentication using the L402 protocol. It allows API providers to monetize their endpoints via Bitcoin and the Lightning Network.
Why ngx_l402?
š¹ Monetize APIs with Bitcoin payments
š¹ Seamless Lightning authentication using L402
š¹ Supports generating invoices via Lightning Network Daemon (LND), Lightning URL (LNURL), and Nostr Wallet Connect (NWC)
š¹ Lightweight & efficient for Nginx users
Check it out:
š GitHub: https://github.com/DhananjayPurohit/ngx_l402
Would love to hear feedback and thoughts! šā”