GemCaps Documentation

Here you will find documentation on the gemcaps project.

At the moment, the project is in early development. I do not consider any of the code to be production ready. Use this software at your own risk.

Index

Configuration

Internal Handlers

Gsgi

About

This project is intended to be similar to that of Apache2. I intend for it to be a fast and light-weight server that can act as the main entrypoint for your capsule.

This server will be able to natively serve static files, cgi scripts, and my custom server implementation that I call gsgi (Gemini Server Gateway Interface)

Build

Setup

Gemcaps is built with cmake. There are a few libraries that should be installed before building gemcaps:

Setup commands for Debian:

apt-get install libtommath libtomcrypt
git submodule init
git submodule update

Build

Building the project is the same as any standard cmake project:

mkdir build
cd build
cmake ..
make

install

I haven't setup any install scripts because I am a noob with cmake.

I suggest installing into /usr/bin/gemcaps and /usr/lib/libgws.so