{"repo":"jsks/czhttpd","free":true,"listed":false,"github":"https://github.com/jsks/czhttpd","clone":"git clone https://github.com/jsks/czhttpd.git","description":"zsh http server","language":"Shell","stars":59,"topics":["zsh","shell","http"],"license":"MIT","category":"cli-tools","readme_excerpt":"czhttpd Simple http server written in 99.9% pure zsh The czhttpd script is completely standalone. The only dependency is zsh version 5.6 or higher . There is a docker image available if the version shipped by your OS is older or if it lacks the tcp module. Optional Dependencies When available: - file is used for fallback mime-type support - ifconfig is used on macOS/ BSD when IP REDIRECT is not set Features - Basic support for HTTP/1.1 (methods limited to HEAD , GET , POST ) - Dynamic directory listing with primitive caching - UTF-8 support - Multiple concurrent connections - Live config reload - Module support for: - Gzip compression - Basic CGI/1.1 support - phpMyAdmin appears fully functional, and partially Wordpress (requires configuring for an alternative port) - Basic url rewrite Configuration The provided sample conf/main.conf lists the variables that can be changed. Any additional files or modules can be sourced using the standard shell command, source . Similarly, the configuration variables for each module can be found in their respective config files. By default, czhttpd searches for main.conf in /.config/czhttpd/conf/ . An alternative configuration file can be specified with the commandline option -c . If no file is found, then czhttpd will simply use the defaults listed in the sample conf/main.conf . Live Reload czhttpd will automatically reload its configuration file and gracefully handle any changes and open connections when the HUP signal is sent to the parent","default_branch":null,"files":null,"tree":[],"storefront":"/r/jsks","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jsks/czhttpd/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}