I think it'd be great if Web Monetization was more established, and if hosts of Weblate servers could receive additional support from users.
Web Monetization is a proposed W3C standard for monetization on the internet.
TL;DR: Creators and websites who choose to create an Interledger Payment Pointer can embed it in the <head> element of a webpage, and users who opt-in to support such websites can stream micropayments to financially support it.
It's like Brave Rewards (for creators) except Web Monetization is a proposed W3 standard, so it's not bound to a particular browser or account.
Describe the solution you'd like
There should be a new setting where users can configure a list of payment pointers.
If specified, Weblate will add this list in the <head> of the document.
When there is only one payment pointer, it's as simple as adding:
If the config supports multiple payment points, which is a use-case that's officially documented on the Web Monetization site, it requires some extra JavaScript/PHP. Something to the effect of:
Describe the problem
I think it'd be great if Web Monetization was more established, and if hosts of Weblate servers could receive additional support from users.
Web Monetization is a proposed W3C standard for monetization on the internet.
TL;DR: Creators and websites who choose to create an Interledger Payment Pointer can embed it in the
<head>
element of a webpage, and users who opt-in to support such websites can stream micropayments to financially support it.It's like Brave Rewards (for creators) except Web Monetization is a proposed W3 standard, so it's not bound to a particular browser or account.
Describe the solution you'd like
There should be a new setting where users can configure a list of payment pointers. If specified, Weblate will add this list in the
<head>
of the document.When there is only one payment pointer, it's as simple as adding:
If the config supports multiple payment points, which is a use-case that's officially documented on the Web Monetization site, it requires some extra JavaScript/PHP. Something to the effect of:
Describe alternatives you've considered
Instead of calculating the probabilistic revenue sharing yourself, it could be easier to use the API Web Monetization provide for it.
Suppose a config like, where the values are the Interledger Payment Pointer, weight, and a name:
Just minify, stringify, and base64 encode (padding can be removed) it.
W1siJGFsaWNlLmV4YW1wbGUiLDEsIkFsaWNlIl0sWyIkYm9iLmV4YW1wbGUiLDEsIkJvYiJdXQ
With this, you can create a valid payment pointer where
webmonetization.org
handles the revenue sharing for you.More info: https://webmonetization.org/prob-revshare
I wouldn't recommend this though, it'd be an unnecessary dependency on another service.
Screenshots
No response
Additional context
I'd be happy to work on this, just wanted to note it here already in case the idea isn't favorable.