A simple command-line S3 http server
This cli makes your S3 objects available via a HTTP interface. A simple website interface is provided for navigation and uploading. Another use case is serving a static website using the `-w` switch.
npm install --global s3-http-server
Make sure you have AWS credentials available in the environment you execute the package in.
s3-http-server [path] [options]
path is the unique bucket name to serve
Now you can visit http://localhost:8080 to view your server
Command | Description | Defaults |
---|---|---|
-h or --help |
Print this list and exit. | |
-w or --web |
Serve a website. |
index.html
file must be present at the bucket root
s3-http-server my-bucket-name -w
- delete object ability