Skip to content
Web framework in Bash
Branch: master
Clone or download
Latest commit e7299ae Apr 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
code Added views, improved comments, fixed POST etc Apr 12, 2019
www Initial commit of a really stupid idea. Mar 6, 2019
.env Initial commit of a really stupid idea. Mar 6, 2019
LICENSE Initial commit Mar 6, 2019
README.md Added note to README.md Apr 14, 2019
test Added views, improved comments, fixed POST etc Apr 12, 2019

README.md

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

NOTE (for macOS): If you're getting an error because of the declare command, then you need to run brew install bash to upgrade bash to version >= 4.0.

Not everything is tested. This should be considered non-functional, it just happens that most of it works. Check back later for tests etc...

You can’t perform that action at this time.