commit 4016ec3bb774f6240d9374827a683889e3ab1ad3 Author: dvkt Date: Thu Dec 19 10:27:15 2019 -0800 just an idea diff --git a/README.md b/README.md new file mode 100644 index 0000000..6820b83 --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +``` + / | + ___ (___ ___| +| )| )| ) +|__/ | / |__/ +| +``` + +dirt simple gopher server. + +## todo + +- [ ] serve directory listing +- [ ] serve text file +- [ ] serve binary (mp3, exe) +- [ ] index.gophermap +- [ ] footer.gophermap +- [ ] header.gophermap + +## usage + + phd ./path/to/gopher/root # Serve directory over port 70. + +## development + + cargo run -- ./path/to/gopher/site + +## resources + +- https://github.com/gophernicus/gophernicus/blob/master/README.Gophermap +- https://gopher.zone/posts/how-to-gophermap/ +- [rfc 1346](https://tools.ietf.org/html/rfc1436) +