/ush

USH is a simple static HTTP Server written in Haskell, mostly for study purposes. It's created after the CodeCrafters HTTP Server challenge.

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

ush serves http

USH is a simple static HTTP Server written in Haskell, mostly for study purposes. It's created after the CodeCrafters HTTP Server challenge.

It supports static files, gzip compression and directory indexing.

Roadmap

  • Text/binary file serving
  • gzip compression
  • Directory indexing
  • HTTP caching

Installing from Source

Assuming the Haskell suite (ghcup, cabal, stack) is installed:

stack install

Usage

To serve the current directory:

ush

The directory and the port can be configured with -d and -p respectively.

License

This project is licensed under the BSD-3.

The logo is made by Delapouite and is licensed under CC BY 3.0. Changes were made through Game-Icons.net.