• Stars
    star
    734
  • Rank 61,748 (Top 2 %)
  • Language
    Shell
  • License
    BSD 3-Clause "New...
  • Created over 5 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Web framework in Bash

www.sh

Web framework in Bash

DO NOT USE THIS IN ANY PUBLIC FACING SERVER. THIS IS NOT SECURE. FOR EDUCATIONAL USE ONLY.

Supports standard web framework functions:

  • HTTP status
  • HTTP headers
  • HTTP response
  • Routing
  • Templated views
  • Query and POST data in $_GET and $_POST
  • URL encode/decode
  • Path checks
  • Sanitisation of HTML, SQL
  • MySQL database queries
  • .env files

Requirements:

  • Bash 4.3 (Mac OS X users will need to upgrade using brew install bash)
  • CGI compatible web-server (Apache mod_cgi; nginx fcgiwrap; http.sh)

Status:

Fully Tested: Nothing.

Partially Tested: Docker, CGI integration, GET, POST, Controllers, http_serve, http_header, http_status, route, view, url_decode

Not Tested: Everything else.