Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/spekulatius/vuepress-plugin-web-monetization

Adds the web-monetization metatag to your VuePress website
https://github.com/spekulatius/vuepress-plugin-web-monetization

monetization vuepress vuepress-plugin web-monetization webmonetization

Last synced: about 1 month ago
JSON representation

Adds the web-monetization metatag to your VuePress website

Awesome Lists containing this project

README

        

# VuePress Plugin Web-Monetization

Adds a web-monetization meta tag to your [VuePress](https://github.com/vuejs/vuepress) website. This allows you to monetize your content using the [web-monetization standard](https://webmonetization.org/).

## Installation

```bash
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:

```js
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](https://github.com/spekulatius/vuepress-plugin-umami).

## License

This package is released under the MIT license by [Peter Thaleikis](https://peterthaleikis.com).