-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add README.me as GitHub is serving the Go file instead...
- Loading branch information
1 parent
9da8f4f
commit 1a33713
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# gcs-index | ||
|
||
Provide auto-index in front of Google Cloud Storage buckets. | ||
|
||
Intended to be used together with a caching proxy. | ||
|
||
## Usage | ||
|
||
``` | ||
gcs-index path:bucket:prefix [path:bucket:prefix ...] | ||
``` | ||
|
||
For each bucket: | ||
- `path` is the "mount point" in the global tree. | ||
- `bucket` is the name of the bucket. | ||
- `prefix` is a prefix to apply to objects when listing (might be empty). | ||
|
||
## Flags | ||
|
||
- `-port int`: port to listen on (default 8080) | ||
- `-socket string`: socket to listen on | ||
- `-socket-umask int`: umask for the socket file (default -1) | ||
- `-readme`: enable README.md rendering | ||
- `-skip-readme`: skip README.md in directory listings | ||
- `-version-sort`: sort directory listings using a semver-aware algorithm | ||
- `-v`: enable verbose logging |