A Sample CGI Application

Tonight I put together a sample CGI application on tilde.team that demonstrates how to handle basic user management and data. It even allows you to attach additional client certificates to the account by means of an authorization code. Once I clean it up a bit I'll be creating a new video that walks through everything in detail. It will be the successor to my "Gemini Input" video.

A Sample CGI Application

Gemini Input (YouTube Link)

It's written in python and hosted on a tilde to show what's possible even in a shared hosting environment.

There's caveats galore on this:

Even with all that I hope it will be useful to folks that want to start creating Gemini CGI apps. If you have comments to share on the code, please feel free to shoot me a note or comment directly on tildegit. I will happily accept pull requests. :)

tildegit repo for the CGI application example

Originally Published 2022-02-21 at:

gemini://tilde.team/~tomasino/journal/20220221-sample-cgi-application.gmi

If you have questions or thoughts to add please send me a link to your response.

Contact Information

Proxied content from gemini://tilde.team/~tomasino/journal/20220221-sample-cgi-application.gmi (external content)

Gemini request details:

Original URL
gemini://tilde.team/~tomasino/journal/20220221-sample-cgi-application.gmi
Status code
Success
Meta
text/gemini; lang=en
Proxied by
kineto

Be advised that no attempt was made to verify the remote SSL certificate.