aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 89253a8601e2ecbedd166ea33178c101b52360d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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.