philippgille/ln-paywall
View on GitHub ↗ ★ 157 Go
Go middleware for monetizing your API on a per-request basis with Bitcoin and Lightning ⚡️
6 mentions on Hacker News by 1 person: 0 stories, 6 comments · first 2019-04-03 · latest 2026-07-01
20082026
-
…and deposit some money/crypto on the client side first. This part needs to become simpler. [1] https://github.com/philippgille/ln-paywall [2] https://en.wikipedia.org/wiki/Flattr
comment by PhilippGille · 2026-07-01 · in Monetization Gateway: Charge for any resource behind Cloudflare via x402 -
…On layer 2 it was always cheap and fast. For example I created this Go middleware at the time: https://github.com/philippgille/ln-paywall#how-it-works (currently defunct) Similar projects implemented that into standalone API gateways. All…
comment by PhilippGille · 2026-03-25 · in purl: a curl-esque CLI for making HTTP requests that require payment -
…the Lightning Network (a Bitcoin Layer 2 protocol/network that enables instant, low-fee payments): https://github.com/philippgille/ln-paywall But most people are either unwilling to touch crypto at all, or holding on to it tightly as…
comment by PhilippGille · 2025-09-10 · in Show HN: Small Transfers – charge from 0.000001 USD per request for your SaaS -
It's not a new idea. For example I created https://github.com/philippgille/ln-paywall (also using 402 status code) in 2018.
comment by PhilippGille · 2025-07-01 · in Cloudflare to introduce pay-per-crawl for AI bots -
…for true pay-per-call APIs (payable via Bitcoin's Lightning Network) and my demo deployment: - https://github.com/philippgille/ln-paywall - https://lightning.ws
comment by PhilippGille · 2020-02-02 · in HTTP 402: Payment Required -
…web service / API: https://lightning.ws (disclaimer: my project, based on another project by me: https://github.com/philippgille/ln-paywall )
comment by PhilippGille · 2019-04-03 · in A16Z is re-registering as a financial advisor, renouncing its status as a VC