0.1.1 • Published 5 months ago

astro-monetization v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

GitHub issues GitHub forks GitHub stars GitHub pull requests GitHub closed issues

GitHub license GitHub tag (latest by date)

CI CodeQL

🚀 Astro Monetization

This Astro component makes it easy to add monetization tag that is used to monetize your web pages.

Pull requests and/or feature requests are very welcome!

How to run the extension

  • Clone the repository
  • Run npm install
  • Run npm run dev
  • Open the url http://localhost:3000/monetizationTags

Installation (Yet to be published)

To install Astro Monetization, run the following command in your terminal:

npm install astro-monetization

or if you use yarn:

yarn add astro-monetization

How To Use

In any of your Astro pages, import Astro SEO and then use the component inside the <head> section of your HTML:

---
import { MONETIZATION } from "astro-monetization";
---

<html lang="en">
  <head>
    <MONETIZATION pointer="$ilp.rafiki.money/isantoshv" />
    // ... rest of
  </head>
  <body> // ... body</body>
</html>

Supported Props

PropnameTypeDescription
pointerstringYour payment pointer

Acknowledgements

Astro Monetization is heavily inspired by Astro SEO