alan
/
sfs
1
Fork 0
Extremely minimal static file server and indexer
Go to file
Alan Faubert 8efcd4686b switch to executable sfs.js 2020-11-06 07:47:06 -05:00
.gitignore add pnpm-lock.yaml to .gitignore 2019-10-31 11:53:39 -04:00
README.md switch to executable sfs.js 2020-11-06 07:47:06 -05:00
package.json foundation stuff 2018-10-24 12:58:14 -04:00
sfs.js switch to executable sfs.js 2020-11-06 07:47:06 -05:00

README.md

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 <port> [host]

Starts a server on the given port for the current working directory. Binds to localhost only unless host is specified.