Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crocidb/ush
USH is a simple static HTTP Server written in Haskell, mostly for study purposes. It's created after the CodeCrafters HTTP Server challenge.
https://github.com/crocidb/ush
codecrafters haskell http-server webserver
Last synced: about 1 month ago
JSON representation
USH is a simple static HTTP Server written in Haskell, mostly for study purposes. It's created after the CodeCrafters HTTP Server challenge.
- Host: GitHub
- URL: https://github.com/crocidb/ush
- Owner: CrociDB
- License: bsd-3-clause
- Created: 2024-06-05T20:42:30.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-27T14:10:12.000Z (5 months ago)
- Last Synced: 2024-10-12T23:43:00.751Z (about 1 month ago)
- Topics: codecrafters, haskell, http-server, webserver
- Language: Haskell
- Homepage:
- Size: 85.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ush serves http
**USH** is a simple static HTTP Server written in Haskell, mostly for study purposes. It's created after the [CodeCrafters](https://app.codecrafters.io/r/healthy-otter-219488) HTTP Server challenge.
It supports static files, gzip compression and directory indexing.
## Roadmap
- [x] Text/binary file serving
- [x] gzip compression
- [x] Directory indexing
- [ ] HTTP caching## Installing from Source
Assuming the Haskell suite (ghcup, cabal, stack) is installed:
```shell
stack install
```## Usage
To serve the current directory:
```shell
ush
```The directory and the port can be configured with `-d` and `-p` respectively.
## License
This project is licensed under the [BSD-3](LICENSE.md).
The logo is made by [Delapouite](https://delapouite.com/) and is licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/). Changes were made through [Game-Icons.net](https://game-icons.net/tags/bottle.html).