alan
/
sfs
1
Fork 0
sfs/README.md

18 lines
429 B
Markdown

# sfs
## Static File Server
Extremely minimal static file server and indexer. HTTP-only. Bring your own reverse proxy, reverse tunnel, etc.
## Installation
Clone. Install npm dependencies. Optionally symlink to `sfs.js` from somewhere in your `PATH`.
## Usage
```
sfs.js [host:]<port> [path]...
```
Starts a server on the given `port` for the current working directory. Binds to localhost only unless `host` is specified.