Giter Site home page Giter Site logo

grav-plugin-web-monetization's Introduction

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 [email protected]: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.

grav-plugin-web-monetization's People

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.