pull down to refresh
0 sats \ 0 replies \ @dhananjay 16 Mar \ parent \ on: Party at PlebLab SXSW 2025 | Stacker News LIve #163 meta
Thanks for talking about ngx_l402, I have updated the README with a lot more details so it's no longer a vibe š
Thanks! For now, I've configured the amount field as an environment variable, but I plan to make it configurable per API directly from nginx.conf. Alternatively, I might explore a way to make the amount dynamic, similar to how Aperture handles it.
Iāve posted it on X as well. They have an uncanny ability to detect anything brewing around L402āit's like they can sense every innovation in the space! Huge respect for @fewsats and their efforts in making L402 a massive success. š
Thanks for pointing that out! I'll add more details to the README.
It charges per unique call. You'll need to implement a database to invalidate macaroons after each use or based on time.
Currently, it supports REST APIs only; WebSocket (WS) support is not yet implemented.
Real-world use cases can be:
AI & LLM APIs ā Charge per request for AI model inferences, ensuring pay-per-use monetization.
Weather & Financial APIs ā Monetize access to premium weather forecasts, stock prices, or crypto market data.
Self-hosted SaaS Tools ā Implement per-request billing for services like file conversion, image processing, or data enrichment.
Decentralized VPNs & Proxies ā Charge users for bandwidth consumption on privacy-preserving networks.
I stumbled into the Bitcoin rabbit hole a couple of years ago while exploring decentralized technologies and the potential of blockchain. The idea of a financial system that operates outside traditional banking really intrigued me, especially in terms of privacy and empowerment.
As for my compass, it's pointing towards building innovative solutions that leverage the Lightning Network and enable microtransactions, particularly through tools like my recent L402 middleware library (https://crates.io/crates/l402_middleware).
Can also checkout:-
boltwall (https://github.com/tierion/boltwall) for NodeJs
LSAT-middleware (https://github.com/getAlby/lsat-middleware) for Golang
GENESIS