Extremely minimal static file server and indexer
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Alan Faubert da017dd371 specify mime@3 dependency 3 months ago
.gitignore add pnpm-lock.yaml to .gitignore 4 years ago
README.md add basic filtering of served paths 2 years ago
package.json specify mime@3 dependency 3 months ago
sfs.js add basic logging of incoming requests 10 months ago

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.