No description
Find a file
2017-11-19 02:53:30 +01:00
home mask everything 2017-11-19 01:22:21 +01:00
404.html basic version: index handler, cgi-style dynamic site generation, correct mime type for static files 2017-11-18 01:26:25 +01:00
base.source.sh shell script framework + better code 2017-11-18 23:52:03 +01:00
index.sh mask everything 2017-11-19 01:22:21 +01:00
LICENSE Initial commit 2017-11-18 01:23:01 +01:00
misc.sh fix character encoding 2017-11-19 02:53:30 +01:00
README.md readme + we now have a name 2017-11-18 01:34:35 +01:00
response.sh mask everything 2017-11-19 01:22:21 +01:00
server.sh shell script framework + better code 2017-11-18 23:52:03 +01:00
statusString.sh basic version: index handler, cgi-style dynamic site generation, correct mime type for static files 2017-11-18 01:26:25 +01:00
test-response.sh basic version: index handler, cgi-style dynamic site generation, correct mime type for static files 2017-11-18 01:26:25 +01:00

ShellSpider

A web-server in shell script

Why?

Because I can.

Requirements

  • an up-to-date version of bash
  • socat (for networking)
  • python (for url-encoding)
  • some other basic tools, like sed, grep, awk, getopt

Usage

./server.sh --port=[PORT]

For other options start the script without the port-option.

Why again?

I did this just for fun. I wanted to reach the limits of shell scripts. Turned out: Building a fully functional webserver is possible.