Howdy folks! Been a long time since my last post here 👋
We know that Web Monetization, since there's a word "Web" in it, is supposed to be designed for the web. But in desktop and mobile apps too we have ads driving monetization and collect user data, so eventually Web Monetization without the Web is a good thing too!
So here's the thing: how far, or perhaps, do we even have tools to bring WM outside the browser? For folks working on native apps or with hybrid engine like Electron etc that implementing Web Monetization I appreciate if you can share your info and story here.👍
Top comments (4)
Hey @radhyr, you might be interested in one of the technologies underlying Web Monetization: the Interledger Protocol. Similar to the Internet, you can use Interledger to host your own nodes for sending and receiving payments. Here's a pretty great guide that shows how to get started using some production-ready packages.
There's also Rafiki which is under active development and can offer a full suite of tools to integrate Interledger into your app.
For our project we're spinning up Interledger nodes and writing APIs around them that will allow us to implement the Web Monetization standard, and I'm sure you can do something similar especially if you are using something JS-powered like Electron.
Let me know if you want to talk more about this, happy to chat!
Thanks @chrislarry for the ping :)
Thanks for coming by @amozeak !
Yeah Interledger and Rafiki are pretty neat. A few months ago I tried to spin Rafiki on my local machine just for fun but it got stuck on my M1 Mac Mini when setting it up on Docker. I see Rafiki's repo readme has addressed the M1 chip problem now so maybe I'll try it again later. For setting up Interledger node I haven't considered it yet since I'm only working on Web Monetization on frontend all this time - maybe exploring Interledger node might yield some unexpecting result so thanks for the tips 🙏
As for JS-powered projects like apps using Electron or Webview, I wonder if there's more simpler integration than setting up Interledger node - has anyone working on a wrapper around Coil's API or some kind of fork of Coil browser extensions that can be inserted to Electron/Webview project yet? 🤔🤔🤔
@amozeak Might have some thoughts on this
Thanks for inviting others here Chris 👏👏👏