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

Proxy Information
Original URL
gemini://tilde.team/~emilis/2020/11/29-gebase-gemini-server.gmi
Status Code
Success (20)
Meta
text/gemini; lang=en
Capsule Response Time
433.52466 milliseconds
Gemini-to-HTML Time
0.407142 milliseconds

This content has been proxied by September (ba2dc).