The Web Monetization Plugin is an extension for Grav CMS.
It adds a meta tag on the website pointing to the wallet that will receive the payments.
Installing the Web Monetization plugin can be done with git or a zip file.
In the terminal, go to the root of your Grav installation, then enter:
cd user/plugins && git clone git@framagit.org:arkhi/grav-plugin-web-monetization.git web-monetization
To install the plugin manually, download the zip version of this repository and unzip it in the user/plugins
directory. Then rename the directory to web-monetization
. You can find these files on Gitlab.
You should now have all the plugin files under user/plugins/web-monetization
.
- Choose a Wallet to point to.
- Configure this plugin with the Pointer to the Wallet you just created.
Nota‑bene: If you use the Admin Plugin, a file with your configuration named “web-monetization.yaml” will be saved in the user/config/plugins/
directory once the configuration is saved in the Admin.
- Make sure the file
user/config/plugins/web-monetization.yaml
mirrorsuser/plugins/web-monetization/web-monetization.yaml
- Only edit
user/config/plugins/web-monetization.yaml
.
Here is the default configuration and an explanation of available options:
---
enabled: true
pointer: null
- pointer needs to point to the wallet that will receive the payment.
If you think something can be improved, please submit Issues or make a Pull Request. All comments and collaboration are welcome.