# autoindex

## Usage
	Usage of ./autoindex:
	  -E	Encrypt the data with a specified password
	  -b string
		The autoindex executables directory.
	  -e	Encrypt the data with a cryptographically secure generated hash
	  -p int
		The port to bind to. (default 8080)

## Build & install

To build autoindex, install go and run:

	$ go build

To install, you can run:

	# GOBIN=/usr/local/bin go install

or

	$ GOBIN=$HOME/.local/bin go install

The index.html file must be placed in $HOME/.local/share/autoindex.
