πŸš€ Fast & Lightweight CLI HTTP server
Branch: master
Clone or download
Latest commit 7cdd659 Feb 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Aug 2, 2018
.travis.yml Added .travis.yml Aug 3, 2018
LICENSE Initial commit Aug 2, 2018
README.md Stop using rawgit Oct 21, 2018
fastic.js Small changes Feb 16, 2019
gif.svg Added gif.svg Aug 3, 2018
package.json Update dependencies Feb 16, 2019

README.md

Fastic πŸš€

Fast & Lightweight HTTP server, that just works. Accessible through CLI.

Build Status XO code style install size

SVG

Highlights

  • Beautiful output
  • Zero-config (unless you want to specify a custom port or directory).
  • Uses async/await
  • Easy access through CLI.
  • Automatically detects the content type, using file extension.
  • Uses blazing fast turbo-http library.
  • Logs HTTP requests & response status codes.
  • Single source file (containing ~160 lines of code)
  • 3 dependencies
  • Lightweight (only ~0,5 MB).

Install

npm install --global fastic

You can also use npx:

npx fastic

Usage

Usage
 $ fastic <port> <directory>

Examples
 $ fastic
 $ fastic 8250 ~/DEV/website

port

Custom port of choice, defaults to 5050.

directory

Directory, from which the server is going to start, default is current path.

License

MIT