pull down to refresh
2 sats \ 0 replies \ @rheedi0 18 Jan 2022
Nice. Really dig the way you implemented the timer
reply
1 sat \ 0 replies \ @anonporridge 18 Jan 2022
Sign of things to come.
Soon every news site with a paywall will have an option to throw a couple pennies through lightning to unlock any article without needing a subscription.
reply
0 sats \ 1 reply \ @moel 19 Jan 2022
Basically like https://yalls.org ?
Or more like Paywall.Link ?
Looks a bit like https://lightning.ws/ as well...
I believe Boltwall did a similar thing: https://boltwall-org.github.io/boltwall/
reply
4 sats \ 0 replies \ @samsamskies OP 19 Jan 2022
Yep. None of those were built using the Strike API though. The Strike API opens the doors for devs who know nothing about Bitcoin or ⚡️ to easily build apps that accept Bitcoin and ⚡️ payments. This project is basically just a demo of how easy it is to build those types of apps. Code is available here https://github.com/SamSamskies/strike-paywall.
reply
0 sats \ 7 replies \ @nout 19 Jan 2022
It doesn't prevent the user from going to the "hidden" link directly, right? Or is there anything that would prevent it?
reply
1 sat \ 6 replies \ @samsamskies OP 19 Jan 2022
The link is not hidden on the page. It's fetched from Strike using their API after the user pays. If you found it hidden on the page somewhere, let me know cause that's a bug. If someone else that paid gives them the link, there's nothing I can do about that.
reply
0 sats \ 5 replies \ @nout 19 Jan 2022
I meant it differently - if I unlock the link and send it to my friend, my friend will be able to access the content directly, right?
reply
0 sats \ 4 replies \ @samsamskies OP 19 Jan 2022
Yeah, nothing I can do about that.
reply
0 sats \ 3 replies \ @nout 19 Jan 2022
Don't underestimate yourself :P
You could publish plugin or <script> for common content mgmt frameworks/sites...
It would be also pretty cool if that would include the meta tag to trigger Alby, so when I open the page, Alby would just ask me to confirm the small payment and that's it, that's the full user flow right there :)
reply
0 sats \ 2 replies \ @samsamskies OP 19 Jan 2022
I don't think I'm going to get to fancy with this project. Just made it to demo how easy it is to make sites that accept Bitcoin and ⚡️ payments using the Strike API. You can sign up for a Strike API key here https://developer.strike.me/. I think we're going to start letting devs in off the waitlist soon. Also, feel free to fork the project and get crazy with it if you get an API key.
As for that Alby thing, I don't think that would work. The whole app is built around invoices generated by Strike. I'm actually storing the amount, title, and redirect URL in the description of the invoice 😂. I just strip out the redirect URL and create a new invoice when generating the QR code so that the user doesn't get the redirect URL when they scan the QR code.
reply
1 sat \ 1 reply \ @rheedi0 20 Jan 2022
Are Strike invoices not standard BOLT-11 payment requests? As long as they are it should work fine with WebLN wallets like Alby.
I just put my name in for preview access, btw. Please put in a good word for me, @samsamskies :)
reply
0 sats \ 0 replies \ @samsamskies OP 20 Jan 2022
I took a long at that meta tag and it seemed like it was for lightning addresses which Strike doesn’t support.
reply on another page
0 sats \ 0 replies \ @k00b 18 Jan 2022
Very slick and simple! Feels a lot like early https://gumroad.com.
reply
0 sats \ 0 replies \ @samsamskies OP 18 Jan 2022
you can add on a background to the paywall links you share like this https://strikepaywall.vercel.app/b661c0d3-e2fd-4f92-8773-cb5435bbfd95?previewImageUrl=https://virtualbackgrounds.site/wp-content/uploads/2021/02/distracted-boyfriend-meme.jpg
reply
0 sats \ 0 replies \ @samsamskies OP 18 Jan 2022
https://strikepaywall.vercel.app/f80ae3f9-c696-4385-bf76-1d72cdb828a5
reply