Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

a quick convenience script to "serve the files up" from the current working directory.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 index.js
Octocat-spinner-32 package.json
README.md
  • When you want a quick web server serving files from current directory, just stfu.
  • When you want to send a file quickly over HTTP, just stfu.

I can't find a simple script that serves the files from current working directory, and python -m SimpleHTTPServer is too slow. So I made this. I call it stfu, which stands for serve the files up.

Installation

npm install -g stfu

Usage

stfu

Will stfu on port 33775.

PORT=12345 stfu

Will stfu on port 12345.

Directory Listing

To enable directory listing, use

stfu -d
Something went wrong with that request. Please try again.