An open API service indexing awesome lists of open source software.

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.

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 `