https://github.com/lnbits/paywall
https://github.com/lnbits/paywall
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lnbits/paywall
- Owner: lnbits
- License: mit
- Created: 2023-02-10T13:21:24.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-28T11:52:31.000Z (5 months ago)
- Last Synced: 2024-11-28T12:23:05.018Z (5 months ago)
- Language: HTML
- Size: 301 KB
- Stars: 4
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-lnbits - Paywall - Lightning paywalls (Uncategorized / Uncategorized)
README
# Paywall - [LNbits](https://github.com/lnbits/lnbits) extension
For more about LNBits extension check [this tutorial](https://github.com/lnbits/lnbits/wiki/LNbits-Extensions)
## Hide content behind a paywall, a user has to pay some amount to access your hidden content
A Paywall is a way of restricting to content via a purchase or paid subscription. For example to read a determined blog post, or to continue reading further, to access a downloads area, etc...
## Usage
1. Create a paywall by clicking "NEW PAYWALL"\

2. Fill the options for your PAYWALL
- select the wallet
- set the link that will be unlocked after a successful payment
- give your paywall a _Title_
- an optional small description
- and set an amount a user must pay to access the hidden content. Note this is the minimum amount, a user can over pay if they wish
- if _Remember payments_ is checked, a returning paying user won't have to pay again for the same content.\

3. You can then use your paywall link to secure your awesome content\

4. When a user wants to access your hidden content, he can use the minimum amount or increase and click the "_Check icon_" to generate an invoice, user will then be redirected to the content page\
### File Paywall
It is possible to also protect a file behind a paywall.
https://github.com/lnbits/paywall/assets/2951406/527c176c-38ff-4198-a4c1-6d07807e7443