Skip to content

arkhi/grav-plugin-web-monetization

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Web Monetization Plugin

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.

Installation

Installing the Web Monetization plugin can be done with git or a zip file.

Git Installation

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

Zip file Installation

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.

Usage

  1. Choose a Wallet to point to.
  2. Configure this plugin with the Pointer to the Wallet you just created.

Configuration

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.

  1. Make sure the file user/config/plugins/web-monetization.yaml mirrors user/plugins/web-monetization/web-monetization.yaml
  2. 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.

Contributing

If you think something can be improved, please submit Issues or make a Pull Request. All comments and collaboration are welcome.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages