💾 Archived View for tilde.team › ~tomasino › cgi-example captured on 2024-08-31 at 12:58:10. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-03-01)

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

CGI Example Project

The goal of this project is to give a working example of a basic Gemini CGI application. User identities are driven by TLS Client Certificates. This project will serve as a reference for CGI authors and be explained in detail in an instructional video.

Features

Setup

Create database with:

sqlite3 db/cgi-example.sqlite3 < create_schema.sql

Then give write permission to the both the database and the containing directory (`db`) to the user that your Gemini server runs as. It is important that the containing folder write permissions are in place or you will see `50` errors returned when trying to write to the database.

Project Source:

CGI Example Source on tildegit.org

Get Started

Login with your client certificate to begin