https://github.com/interledgerjs/minute
Using Interledger, support content creators
https://github.com/interledgerjs/minute
Last synced: about 1 month ago
JSON representation
Using Interledger, support content creators
- Host: GitHub
- URL: https://github.com/interledgerjs/minute
- Owner: interledgerjs
- Created: 2018-01-31T00:24:47.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-12T01:33:01.000Z (over 6 years ago)
- Last Synced: 2025-03-30T23:31:34.703Z (2 months ago)
- Language: JavaScript
- Size: 240 KB
- Stars: 18
- Watchers: 3
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minute
> Support content creators with ILP- [Quick Start](#quick-start)
- [Enable your Site](#enable-your-site)## Quick Start
Before you use this module, install and run [Moneyd](https://github.com/sharafian/moneyd).
Make sure you start moneyd with the `--unsafe-allow-extensions` flag, which will permit this
chrome extension to access the local port.```sh
git clone https://github.com/sharafian/minute.git
cd minute
npm install
npm run build
```Now go to `chrome://extensions`, select "Load unpacked extension", and nagivate
to the folder where you cloned this repository.## Enable your Site
Add the following tag to your site's body:
```html
if (window.monetize) {
monetize({
receiver: /* Put your SPSP payment pointer here */
}).then(() => {
// Make sure to thank the user!
})
}```
Now any user who navigates to your site and has Minute (or another extension
that enables Web Monetization) enabled will stream payments to you. Thanking
your supporters and offering them a premium experience will incentivise them to
come back.