dylan on Nostr: Ok hear me out. What if we built some kind of paywall into a package manager like npm ...
Ok hear me out. What if we built some kind of paywall into a package manager like npm where an app that’s installing a package would get a lightning invoice as part of the ‘npm install’ flow. The app’s CI tool could could connect to their lightning node and pay the invoice programmatically. I’m thinking very small amounts per install or maybe even a one time fee. Relying on opt-in tips like most devs do now will never work.
Published at
2024-05-18 06:39:37Event JSON
{
"id": "5c9f1c84ce89563f2c34e76d5e06dd76ca3a60225312809dc91deba817605967",
"pubkey": "963a2dca29e2ed5663a627b5289ed36d445531a3f5ef127716227d8a1aaa5166",
"created_at": 1716014377,
"kind": 1,
"tags": [
[
"e",
"0a489c2cb0adda369714253acda2699f4394b23200a4aa369143cfcb6cd74145",
"wss://junxingwang.org",
"reply"
],
[
"p",
"17538dc2a62769d09443f18c37cbe358fab5bbf981173542aa7c5ff171ed77c4"
],
[
"e",
"0a489c2cb0adda369714253acda2699f4394b23200a4aa369143cfcb6cd74145",
"wss://junxingwang.org",
"root"
]
],
"content": "Ok hear me out. What if we built some kind of paywall into a package manager like npm where an app that’s installing a package would get a lightning invoice as part of the ‘npm install’ flow. The app’s CI tool could could connect to their lightning node and pay the invoice programmatically. I’m thinking very small amounts per install or maybe even a one time fee. Relying on opt-in tips like most devs do now will never work.",
"sig": "2ccc4f4e79e8e4860d4d5a1789f7b64b6741bef28e604d10315cfcab89c67c8de80cf3c285caebf46c17b67bf3e901196aa1b7e78a6726f3aa86b76b61698a91"
}