💾 Archived View for tilde.team › ~emilis › 2020 › 11 › 29-gebase-gemini-server.gmi captured on 2022-06-11 at 20:40:45. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-11-30)
-=-=-=-=-=-=-
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.
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
SPDX-License-Identifier: CC-BY-NC-SA-4.0