Static File Server
You can not 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 3028bb6b39 add a brief readme 10 months ago
.gitignore add pnpm-lock.yaml to .gitignore 11 months ago
README.md add a brief readme 10 months ago
package.json foundation stuff 2 years ago
sfs foundation stuff 2 years ago
sfs.js support GET and HEAD only 11 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 from somewhere in your PATH.

Usage

sfs <port> [host]

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