Skip to content
项目

关于

用 Bash 编写的 Web 框架

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
+1
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

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

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.

探索相关项目

加载中…