http Travis build status AppVeyor build status Licence Crates.io version

Host These Things Please - a basic HTTP server for hosting a folder fast and simply

Selected features

See the manpage for full list.

Manpage

Installation

If you have cargo installed (you're a Rust developer) all you need to do is:

sh cargo install https

Which will install http in the folder where all other binaries go.

If, however, you're not a Rust developer, but you have sh-like shell, you can use an installer (works on Windows and Linux):

```sh curl -SsL https://cdn.rawgit.com/thecoshman/http/master/install.sh | sh

or, if you like taking precautions

sh -c "$(curl -SsL https://cdn.rawgit.com/thecoshman/http/master/install.sh)" ```

You can change the installation directory by setting the PREFIX environment variable (default - /usr/bin):

```sh PREFIX=$HOME/bin curl -SsL https://cdn.rawgit.com/thecoshman/http/master/install.sh | sh

Windows:

set PREFIX=D:\Akces curl -SsL https://cdn.rawgit.com/thecoshman/http/master/install.sh | sh ```

If you're on Windows and prefer a more guided installation (or you don't have a shell), you can download the Windows installer from the latest release's page. (Note: you can add /D INSTALLDIR to installer command line to change the installation directory.)

Aims

The idea is to make a program that can compile down to a simple binary that can be used via Linux CLI to quickly take the current directory and serve it over HTTP. Everything should have sensible defaults such that you do not have to pass parameters like what port to use.

It's not going to be a 'production ready' tool, it's a quick and dirty way of hosting a folder, so whilst I'll try to make it secure, it is not going to be a serious goal.