alan
/
sfs
1
Fork 0
Extremely minimal static file server and indexer
Go to file
Alan Faubert da017dd371 specify mime@3 dependency 2023-02-26 21:33:48 -05:00
.gitignore add pnpm-lock.yaml to .gitignore 2019-10-31 11:53:39 -04:00
README.md add basic filtering of served paths 2021-08-08 10:40:42 -04:00
package.json specify mime@3 dependency 2023-02-26 21:33:48 -05:00
sfs.js add basic logging of incoming requests 2022-07-27 17:51:19 -04: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 [host:]<port> [path]...

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