1.0.8 • Published 7 years ago

homeserver v1.0.8

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

homeServer

homeServer is a command-line webserver just like python -m SimpleHTTPServer 3000

You Got homeserver!

homeserver is a command-line webserver just like python -m SimpleHTTPServer 3000

Think python -m SimpleHTTPServer 3000, and accepts file uploads (very safely, see below).

Installation

npm install -g homeserver

Usage

homeserver

Defaults to 3000 and the current directory

example:

cd ~/Downloads
homeserver

Now you can watch movies and other files in your web browser by localhost:3000 in your Local Area Network.

Receiving Files

Files will NOT be overwritten. Files will be received to the filename they were posted as.

cd /tmp
homeserver

cd ~/
echo 'Hello Test World!' > hello-test.txt
curl http://localhost:3000/hello.txt \
  -X POST \
  --data-binary @hello-test.txt

cat /tmp/hello.txt
> Hello Test World!
1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago