website
your user page is available at
- https://oss.zone/~username
- https://oss.zone/u/username
files are served from the ~/www/html directory.
cgi scripts
the following file extensions are dynamically executed:
.cgi- any interpreter.py- python.lua- lua.pl- perl.sh- shell
any files placed in ~/www/html/cgi-bin will be executed regardless of their extension.
make sure you use #!/usr/bin/env <interpreter> as the shebang, make the script executable and that the first thing you send is Content-Type.
take a look at some cgi script examples if you need help.
static site generators
- zola - blazing fast static site generator in Rust
- hugo - world's fastest framework for building websites
- jekyll - simple, blog-aware, static fites
- mkdocs - project documentation with markdown
it's recommended to keep the source files for sites outside of ~/www/html.