💾 Archived View for sdf.org › blippy › nofer.gmi captured on 2023-07-10 at 14:10:01. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

nofer setup

Created 2022-11-14 Updated 2022-11-26

NOFER is a perl script that serves a gemini capsule as a gopherhole

nofer perl script

webstuff.pm - a support module

Tweak it to your heart's content.

Perform static test:

./nofer
/

Test it live:

gopher://localhost

It can be run from (x)inetd, or as a standalone (insecure test) server:

sudo ./nofer -s

Debian

sudo apt install inetutils-inetd
fiddle with /etc/inetd.conf (see FreeBSD section)
sudo systemctl start inetutils-inetd

FreeBSD

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