https://github.com/caneroj1/waiter
A quick and easy-to-use web server to serve files from any directory.
https://github.com/caneroj1/waiter
haskell static-server web
Last synced: about 2 months ago
JSON representation
A quick and easy-to-use web server to serve files from any directory.
- Host: GitHub
- URL: https://github.com/caneroj1/waiter
- Owner: caneroj1
- License: bsd-3-clause
- Created: 2018-03-08T12:52:16.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-07T23:07:27.000Z (about 7 years ago)
- Last Synced: 2025-02-03T11:47:36.780Z (4 months ago)
- Topics: haskell, static-server, web
- Language: Haskell
- Size: 3.91 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
# waiter
An easy-to-use CLI tool to set up a static file server in any directory.
## Usage
To serve files from the current directory, just run:
```
$ waiter
Waiter: Serving '.' on port 3000!
```The only argument to the executable is an optional path to change the directory from where files are served:
```
$ waiter /my/server/files
Waiter: Serving '/my/server/files' on port 3000!
```### Options
* By default, all requests are logged to stdout. To disable that, run with the flag `--no-log`.
* To change the port of the server, run with `-p ` or `--port `