<-- back to the mailing list

[ANN] gmipay: Paywall CGI script

Simon Volpert simon at simonvolpert.com

Fri Oct 22 13:31:14 BST 2021

- - - - - - - - - - - - - - - - - - - 

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 Volperthttps://simonvolpert.comgemini://simonvolpert.comFediverse: https://zombienet.org/simonBitcoin Cash: Simon#39358-------------- next part --------------A non-text attachment was scrubbed...Name: signature.ascType: application/pgp-signatureSize: 833 bytesDesc: not availableURL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20211022/e48bba85/attachment.sig>