Pillbox
Manage your L402 credentials and access L402 paywalled endpoints with ease
FreeOpen SourceAPISecurity4,261 impressions#18 of its week
Pillbox lets you store L402 credentials and access Lightning-paywalled files, videos, and APIs.
- for
- Developers building or consuming L402-protected services
- pricing
- open source
- license
- MIT
- v0.1.0Pillbox v0.1.02 years ago
Key features
- Credential Management — Add, store, and reuse L402 credentials via a simple UI.
- Paywall Access — Fetch macaroons and invoices, then use any Lightning wallet to pay.
- Secure Storage — Credentials are saved securely for future requests.
- Multi-content Support — Works with files, video streams, and API endpoints behind L402.
- Open-source — Available under MIT license with full source code.
Use cases
- Download a file behind an L402 paywall
- Watch a video that requires Lightning payment
- Query an API protected by L402 authentication
Pillbox FAQ
How do I add a new L402 credential?+
Paste the L402-protected URL, the app fetches the macaroon and invoice, you pay with your Lightning wallet, then paste the preimage.
Do I need to pay through Pillbox?+
No, payments are made with your own Lightning wallet outside the app.
What is the preimage used for?+
It proves you paid the invoice; you copy it into Pillbox to complete credential creation.
Can I run Pillbox locally for development?+
Yes, run `wails dev` for hot-reload or use the dev server at http://localhost:34115.
How do I build a production binary?+
Run `make release` to create a redistributable package.
Summarized by DevHunt from github.com · Oct 4, 2026. Details may change; check the official site.