Thread

Zero-JS Hypermedia Browser

Relays: 5
Replies: 27
Generated: 22:57:35
I guess I just vibe coded a V4V Netflix replacement 🤷 What if movies & shows worked like Podcasting 2.0? What if you could grab a video from anywhere, usenet, torrent, whatever, and you could verify it's from the creator. Then when you watch it, they get sats streamed to them. What if they set up a prism to forward sats to everyone who worked to produce it, WHILE you watch it? Would you pay for movies that you would normally pirate, if it was easy AF to get the movie and to pay what you think it was worth? Would we even need content distributors anymore? Just blast out your movie! What if the creator could get insight into how much of a movie the audience watches, based on the sats streamed? Or if they get boosted at the really good parts of the movie? Wouldn't that incentivize making really good films? In just a few hours, with no coding done by me, I have an app that can: Connect to my AlbyHub via NWC. Read the metadata of a video file to detect embedded lightning addresses. Streams 10 sats per minute to that address. Can you see how huge this is? Not just the fact that some rando that can't code made this. But what something like this could enable for creators and provide a ton of value for audiences? There's no real UI yet. I just wanted to get a proof of concept working. But it does what it's supposed to. I can stream sats to myself to watch an MP4 I made this morning for my meetup. Ran a quick command to add a lightning address to the file's metadata, and the app read it. 30 sats went from my Alby wallet to my Btcpayserver. image image image
2025-04-23 00:48:38 from 1 relay(s) 12 replies ↓
Login to reply

Replies (27)

It's not I want free shit.... There is free shit everywhere for who ever wants it. You can go fuck yourself for wanting people under government control via prisons just because you don't agree with their opinion though. Great show of how stupid people really are in general imo. It's all money is broken until the government doesn't control a person's ability to save into anything. Id be fine working. But currently government uses laws, regulations, and policies to determine if citizens can even afford to save into anything. 70 fucking percent of Americans are living check to check right now and can't afford to even save fiat, let alone into bitcoin... It must just be our fault though right, and we're not trying hard enough to live a basic life? Should we work harder master? 🤣🤣🤣
2025-04-23 01:31:17 from 1 relay(s) ↑ Parent 1 replies ↓ Reply
The concept of prison your trying to spin your comment off to.... isn't the same fucking prisons we have today. Go fuck yourself. People are tired of working just to fucking work to prove they can work and getting fucking nowhere. People living in motor vehicles is up how much again? Please remind me.... Upper-class of homeless.
2025-04-23 01:48:10 from 1 relay(s) ↑ Parent Reply
My first thought was that it would stop me sitting through crappy movies just because I’d started watching.
2025-04-23 02:06:02 from 1 relay(s) ↑ Parent Reply
Probably not making a video, but here's the prompt I fed into Cursor to start the project. I had perplexity.ai help write it: We're building a Lightning-powered video player with Nostr integration. Create a Next.js/React app with these components: Video File Handling Use FFmpeg.js/WebAssembly for in-browser video metadata modification Implement custom metadata tagging in MP4 containers using 'uuid' boxes for: Lightning addresses (BOLT11 invoices) Nostr npub signatures (NIP-07) Payment rate per minute (JSON structure) Add signature verification using nostr-tools' nip07.verifyEvent() Player Core Use Video.js with HLS.js for adaptive streaming Create payment timer that triggers every minute using requestAnimationFrame Implement payment queue with exponential backoff retries Lightning/Nostr Integration Add NWC (Nostr Wallet Connect) via nostr-wallet-connect-js Include these Lightning libraries: lightning-bolt11 for invoice parsing alby-js-sdk for NWC implementation lightning-devkit for fallback LSP integration Create payment metadata builder including: Video SHA-256 hash Current timestamp Content creator's npub Security Features Implement WebCrypto API for client-side hash verification Add budget controls with permissioned NWC scopes Create payment audit trail using IndexedDB Sample File Structure: bash /src /components PlayerCore.tsx PaymentProcessor.ts NostrVerifier.ts /lib video-metadata.ts lightning-helpers.ts crypto-utils.ts /pages index.tsx api/payment-webhook.ts Key Dependencies: json { "dependencies": { "video.js": "^8.3", "hls.js": "^1.4", "ffmpeg.js": "^4.2.9003", "nostr-tools": "^2.3.4", "alby-js-sdk": "^1.0.0", "lightning-bolt11": "^2.3.1", "indexeddb": "^5.0.1", "webcrypto-liner": "^1.2.0" } } Required Cursor Rules: Prioritize WebLN/NWC compatibility checks Enforce content verification before payment processing Maintain offline-first payment queue architecture Include FFmpeg.js worker thread optimization First Implementation Steps: Create video metadata prototype using ffmpeg.js's writeMetadata Set up NWC connection handler with budget controls Build payment timer that survives tab hibernation Implement metadata extraction on video load Add signature verification overlay UI Critical Questions to Resolve: How to handle video seeks/rewinds in payment calculation? What NWC permissions scope is needed? How to persist partially watched payment state? What's the fallback for non-Nostr users? Example Payment Metadata Structure: typescript interface VideoPaymentTags { version: '0.1'; creator: string; // npub rate: number; // sats per minute boostAddresses: { primary: string; secondary?: string; }; signature: string; // NIP-07 signed video hash createdAt: number; // UNIX timestamp } This prompt gives Cursor a clear roadmap while maintaining flexibility for AI-generated implementation details. The architecture balances web video standards with modern Bitcoin/Nostr integrations while emphasizing verification and user control. The nostr stuff isn't added yet, but that's where it's headed.
2025-04-24 15:06:33 from 1 relay(s) ↑ Parent 1 replies ↓ Reply
I just vibe coded Netflix 2.0 and nostr:nprofile1qqsxu35yyt0mwjjh8pcz4zprhxegz69t4wr9t74vk6zne58wzh0waycpz9mhxue69uhkummnw3ezuamfdejj7qg4waehxw309ahx7um5wghx77r5wghxgetk9uq3jamnwvaz7tmswfjk66t4d5h8qunfd4skctnwv46z7kjtacz is already on pod 3.0? I need to catch up! nostr:nevent1qqstwtkpllrlu82j0u2jf6805llnp8anhney8n40x7pkxzja4j89lqqpz3mhxw309akx7cmpd35x7um58g6rsd3e9upzq59fxfk7pvdw6xekf0cz4l7yz207xg8zwsuwgudvhvrqtjq6hpamqvzqqqqqqy23l2gk
2025-04-24 15:36:08 from 1 relay(s) ↑ Parent 1 replies ↓ Reply
Not beyond knowing what I want it to do. I told perplexity what app I wanted and told it to craft a prompt for cursor and include references to whatever libraries it may need. I'm not versed in making apps, but I am proficient enough at testing and reporting bugs to the AI to get it working.
2025-04-24 21:17:32 from 1 relay(s) ↑ Parent Reply