~julienxx/finge.rc

A minimal finger server for Plan 9
f8aab029 — Julien Blanchard 4 years ago
Add LICENSE
917d5a3a — Julien Blanchard 4 years ago
Initial script

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~julienxx/finge.rc
read/write
git@git.sr.ht:~julienxx/finge.rc

You can also use your local clone with git send-email.

#finge.rc

A very basic finger server for plan9/9front.

#Install and run

Copy the script in $user/bin/rc. Run aux/listen1 -tv tcp!*!79 /usr/$user/bin/rc/finge.rc &

#Usage

Edit the script, adapt the values of nouser and scripts. nouser is the path of the .plan that will be rendered when your domain is queried.

#Scripting

If a rc script with the queried name is available in your scripts directory it will be rendered. For example if you add a hello.rc you can finger hello@domain. Note that usernames have precedence over scripts names.