Oddbean new post about | logout
 The zPay.live/api/gr API endpoint is now public for testing.

It encrypts your content, packages it as a URL with a cryptographic signature, and then shortens the URL. It handles all these steps for you, returning a paywalled URL.

Working on other endpoints
https://i.imgur.com/U7hy5gh.jpeg 
 Very cool 😎 nice job 👍 
 Does it mean the real url will never be exposed even after payment? 
 API will now provide both short and long URLs. The short URL acts as a proxy; when a user opens it in their browser, the original URL will appear in the address bar. https://image.nostr.build/11d03d52bc9c32518e26331c808c8e7e2de52c171d01eaffbd2bee5086d84224.jpg 
 I love it. If possible, as an optional flag, can the real URL never be exposed and password protected? Sharing the real URL could be an issue. 
 Don't worry, the data is public by design. The real secret is away in the serverless functions environment. Custom encryption keys option in api is on the horizon!  
 I have tested it and it’s very smooth. Good job 👍 
 This API is accessible to everyone and incredibly straightforward. You can seamlessly incorporate it into nostr DM bots, and voilà, you've got a paid newsletter! 
nostr:nevent1qqsptekgp5e6mtugn8t7d966z0glc2qm0yz3lfp7xs900uvq963c39cpzamhxue69uhhyetvv9ujuvrcvd5xzapwvdhk6tczyrr0wpmlz6va2r8e92t990ltl7kqtlrgg2u7uwgs38v4nw9dt4y06qcyqqqqqqgclpcxg 
 Nice!! Have to test this later 👍 
 there any to prevent visiting paywall url directy ? very important or else every will bypass 
 Can you please elaborate, data in url is encrypted, price & ln address is cryptographically signed, can't be modified