rowlinsonmike / s3-http-server

A simple command-line s3 http server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

S3 HTTP Server

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.

Installation

npm install --global s3-http-server

Usage

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

Available Options

Command Description Defaults
-h or --help Print this list and exit.
-w or --web Serve a website.

Serve a static website

index.html file must be present at the bucket root

s3-http-server my-bucket-name -w

Todo

  • delete object ability

Authors

About

A simple command-line s3 http server


Languages

Language:JavaScript 72.2%Language:Pug 27.8%