It is possible to run a Gemini server on a router

Gebase source code

I was able to run this on one of my boxes with OpenWRT.

I had to install ncat for this to work and generated the certs on my laptop before running the server. Make is also used, but can be replaced by plain shell scripts. All the other commands are provided by BusyBox.

Uses a single Awk file to match URLs.

Takes 1-2s to generate a page on the router :)

The code is very PoC at the moment. I intend to refactor it and use for some real-world projects in the future.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

If you want to reply to this post, email me your reply or a gemini:// link to emilis [at] emilis.net.

Back to ~emilis Home

Atom feed

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

SPDX-License-Identifier: CC-BY-NC-SA-4.0

Proxied content from gemini://tilde.team:1965/~emilis/2020/11/29-gebase-gemini-server.gmi (external content)

Gemini request details:

Original URL
gemini://tilde.team:1965/~emilis/2020/11/29-gebase-gemini-server.gmi
Status code
Success
Meta
text/gemini; lang=en
Proxied by
kineto
Reisub Server

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