Gatsby Theme Web Monetization — Portfolio Site Example
Usage example of gatsby-theme-web-monetization for a photography site, which includes importing and modifying components.
🛠 Step-by-step post on how I add the theme to this site
❓ How to use
- Clone this repository to make a new site from this example
- …or use the Gatsby CLI,
gatsby new my-monetized-site https://github.com/ekafyi/gatsby-starter-web-monetization-theme-portfolio
- …or use the Netlify deploy button above
- …or use the Gatsby CLI,
- Add your payment pointer in
gatsby-config.js
- Add your content in
content
- ??
- Profit
Head to the themes’ documentation for more information about their usage:
⚠️ Warning
This example serves as an MVP which aims to demonstrates how the Web Monetization API works.
Wrapping your “exclusive” (monetized-only) content in the IfWebMonetized
component is not secure. The content still gets sent, just not rendered; it will be easy for tech-savvy visitors to find it. Don’t use it for sensitive data, and consider using serverless/cloud functions for better security.
Also, make sure your source code (eg. Github repository) is set to private. 😬