Skip to content

Indyandie/httpz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

httpz

A meat and potatoes HTTP server written in ZSH.

Usage

Flags & Options

flag/option description
-s (--static),
-h (--html),
-f (--file)
Required server type.
-p --port Optional port number (default is 1234).
-v --verbose Print diagnostics.

To Do

  • Separate query string, split parameters into an associative array
    • Separate hash #
  • add help option -h, --help
  • Read response
  • file server
    • list files
    • list directories
    • navigate directories
    • server files
      • images
        • PNG
        • JPEG
        • GIF
        • WEBP
        • SVG
      • JS
      • CSS
      • JSON
      • YAML
  • Use Z shell TCP module
  • Support darwin
  • HTTP 2.0 support

References

Attribution

By NASA/EPIC, edit by Tdadamemd - http://epic.gsfc.nasa.gov/#2015-09-25, Public Domain, Link

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages