Skip to content

This Astro component simplifies the process of adding monetization links to your Astro sites.

License

Notifications You must be signed in to change notification settings

devcer/astro-monetization

Repository files navigation

Twitter Badge

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

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

Propname Type Description
pointer string Your payment pointer

Acknowledgements

Astro Monetization is heavily inspired by Astro SEO

About

This Astro component simplifies the process of adding monetization links to your Astro sites.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •