`phd` is an esoteric gopher server for small gopherholes.
`phd` is an esoteric gopher server for small gopherholes.
point it at a directory and it'll serve up all its text files, sub-directories, and binary files over gopher. `any .gph` files will be served up as [gopermaps](https://en.wikipedia.org/wiki/Gopher_(protocol)#Source_code_of_a_menu), and executable `.gph` files will be run with their output served to the client, like cgi!
point it at a directory and it'll serve up all its text files, sub-directories, and binary files over gopher. `any .gph` files will be served up as [gopermaps](https://en.wikipedia.org/wiki/Gopher_(protocol)#Source_code_of_a_menu), and executable `.gph` files will be run as a script with their output served to the client, like cgi!
special files:
special files:
@ -61,6 +61,16 @@ then:
phd -p 7070 docs # Serve 'docs' directory on port 7070
phd -p 7070 docs # Serve 'docs' directory on port 7070
phd -h localhost # Serve cwd using hostname "localhost".
phd -h localhost # Serve cwd using hostname "localhost".
## installation
binaries for linux, mac, and raspberry pi are available at https://github.com/dvkt/phd/releases: