‘/nɛmɪnaɪ/’ Nem-in-eye

A simple Gemini server

Nemini is a simple Gemini server with static file serving, virtual host and alias support. “Simple” in the way it is, hopefully, simple to configure and use with minimal knowledge of web servers in general. You probably need to be familiar with TOML configuration files, but other than that the server should run fairly easily.

See this page on Nemini : gemini://paulwilde.uk/dev/nemini

The source code is hosted at Codeberg.

Features

  • Will serve static files
  • Virtual host and alias capability
  • Headers and Footers can be applied to each page

How to run

  • Copy the config/nemini.sample.toml file to /etc/nemini/nemini.toml nd edit to your liking
  • Certificates are required so make sure you have those set. They will be automatically created via openssl if they don’t exist.
  • Host your files in your root_dir director/y|ies/
  • Run the nemini binary

Parameters

Passing the --config parameter with a file location will allow the use of a custom config file saved wherever you wish.

Build from source

Install nim and nimble and run the following command:

nimble build

All nim dependencies will be installed.

Source Code
TOML Config file reference