💾 Archived View for gemi.dev › gemini-mailing-list › 001043.gmi captured on 2023-11-04 at 13:17:19. Gemini links have been rewritten to link to archived content

View Raw

More Information

➡️ Next capture (2023-12-28)

-=-=-=-=-=-=-

[ANN] gmipay: Paywall CGI script

Simon Volpert <simon (a) simonvolpert.com>

Good time of day, fellow spacemen. I have developed a CGI script 
implementing a paywall. It acts as middleware, passing your files through 
as payment is received.

The payment network used is Bitcoin Cash, as it is the most widely used 
and the most straightforward to work with.

Buyers are identified by their client certificate hash, and payments 
remain valid indefinitely, meaning they can come back and redownload their 
files at any time.

Project page:
=> gemini://simonvolpert.com/gmipay/

git repository:
=> https://simonvolpert.com/gmipay/

You can try out the live demo to give yourself an idea of what the payment 
process looks like:
=> gemini://simonvolpert.com/cgi-bin/buy/gmipay-demo.gmi

Any payments made to this demo (excluding transaction fees and dust) will 
be refunded to you within 48 hours (processed manually).

I must say that making this was fun. It also took less time and was much 
more straightforward than my previous attempt on the traditional web, 
though some thinking was needed to sidestep the limitations of the Gemini protocol.

Comments, observations and suggestions are welcome.

Peace.

-- 
Simon Volpert
https://simonvolpert.com
gemini://simonvolpert.com
Fediverse: https://zombienet.org/simon
Bitcoin Cash: Simon#39358

Link to individual message.

---

Previous Thread: Gemini on Sourcehut (was Re: News----good, bad, ugly? You decide (was Re: [spec] comments on the proposed gemini spec revisions))

Next Thread: Slowing down for a minute