💾 Archived View for tozip.chickenkiller.com › nofer.gmi captured on 2023-03-20 at 17:34:49. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
Created 2022-11-14 Updated 2022-11-26
NOFER is a perl script that serves a gemini capsule as a gopherhole
webstuff.pm - a support module
Tweak it to your heart's content.
Perform static test:
./nofer /
Test it live:
It can be run from (x)inetd, or as a standalone (insecure test) server:
sudo ./nofer -s
sudo apt install inetutils-inetd fiddle with /etc/inetd.conf (see FreeBSD section) sudo systemctl start inetutils-inetd
Install packages:
pkg install inetd
pkg install gopher
In /etc/inetd.conf, add:
gopher stream tcp nowait pi /home/pi/repos/gemtext/nofer nofer
Activate inetd temporarily:
service inetd onestart
Test basic configuration:
gopher gopher://localhost:70
gopher gopher://tozip.chickenkiller.com:70
Enable inetd permanently: in /etc/rc.conf, add:
inetd_enable="YES"
You can add arguments passed into inetd like so:
inetd_flags=-l