Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (29 sloc) 1.23 KB

ifs

instant file server (ifs) turns any directory into an instant file server, and it runs directly from your command line. Install it once per machine and then run it in as many directories as you'd like.

Watch the IFS video tutorial!

HTTP Conventions

  • GET - reads the contents a file from the specified path
  • POST - overwrite or create a file
  • PUT - update the contents of a file (not implemented)
  • DELETE - delete a file from the system

Installation

instant-server can be installed via Node Package Manager.

Best results when you install globally using the -g flag on NPM.

$ npm install -g ifs
$ (ifs is added to your PATH; go anywhere on your system)
$ ifs -help
$ ifs [arguments...]
... starting ifs on 0.0.0.0:1337

Usage

Using ifs is easy - after installing it globally, run it anywhere on the commandline:

$: ifs [-port #] [-hostname <host>] [-d <directory>]

And it'll start automatically.

See more ifs examples.

You can’t perform that action at this time.