spekulatius/vuepress-plugin-web-monetization

Adds the web-monetization metatag to your VuePress website

★ 15Forks 1JavaScriptGitHub ↗Compare

Project website ↗

monetizationvuepressvuepress-pluginweb-monetizationwebmonetization

README

VuePress Plugin Web-Monetization

Adds a web-monetization meta tag to your VuePress website. This allows you to monetize your content using the web-monetization standard.

Installation

npm install vuepress-plugin-web-monetization

# or

yarn add vuepress-plugin-web-monetization

Usage

You will need to register the plugin with your VuePress website:

plugins: {
    'web-monetization': {
        'address': '$ilp.uphold.com/DrRw6MnEEqBB'
    }
}

This includes the address as an optional parameter (here: $ilp.uphold.com/DrRw6MnEEqBB). You can also define the address as part of the frontmatter:

---
monetization: "$ilp.uphold.com/DrRw6MnEEqBB"
---

Privacy-friendly tracking for VuePress?

If you value privacy, you might like this VuePress plugin for Umami.

License

This package is released under the MIT license by Peter Thaleikis.

Contributors

spekulatius

Issues