|
2 years ago | |
---|---|---|
.gitignore | 2 years ago | |
README.md | 3 years ago | |
main.go | 2 years ago | |
template.html | 3 years ago |
Oldschoolcool is a tiny webserver designed to be something akin to Gopher.
That is: You publish pages with text by dropping them in a folder and leaving
the rest up to the publishing service.
It’s basically almost like an Apache or Nginx server with “autoindex” on except it uses markdown (.md) for content pages instead of html. It also always (can be disabled) shows the the index on any content page so you can quickly navigate to other destinations.
Currently, oldschoolcool uses two different folders to serve from: The first will be autoindexed like normal, the second will be used if a file doesn’t exist in the first, so it’s kind of like an overlayfs. This makes it possible to use static files (like css) but not make them clutter the directory tree.
The options you can use are as follows: