Simple web GUI for browsing/downloading S3 attached to a GBDX account
CSS JavaScript HTML Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lister
.gitignore
Dockerfile
LICENSE.txt
README.md
application.py
example.png
requirements.txt

README.md

gbdx-s3-browser

Simple web GUI for browsing/downloading S3 attached to a GBDX account. Relies on the AWS javascript SDK (http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/browser-examples.html)

Screenshot

Run from Dockerhub:

sudo docker run -e GBDX_API_KEY=YOUR_GBDX_API_KEY -p 80:8080 nricklin/gbdx-s3-browser

Build and Run Docker container:

# Clone the repo and cd inside:
git clone https://github.com/nricklin/gbdx-s3-browser
cd gbdx-s3-browser

# build the Docker image
sudo docker build -t gbdx-s3-browser .

# Run the docker image:
sudo docker run -e GBDX_API_KEY=YOUR_GBDX_API_KEY -p 80:8080 gbdx-s3-browser

Run Locally (without Docker):

# Clone the repo and cd inside:
git clone https://github.com/nricklin/gbdx-s3-browser
cd gbdx-s3-browser

# Create a virtualenv and install python requirements
virtualenv venv
. venv/bin/activate
pip install -r requirements.txt

# set required env vars
export GBDX_API_KEY=<YOUR_GBDX_API_KEY>
export TOKEN_URL=https://geobigdata.io/auth/v1/oauth/token/
export S3CREDS_URL=https://geobigdata.io/s3creds/v1/prefix

# run the application
python application.py

TODO:

  • Make it work in Safari
  • Display user information up top
  • Enable upload
  • Enable folder creation
  • Make the sort order work properly
  • Verify everything works when there are more than 1000 keys in a folder
  • Pull all javascript and css local
  • bad password (or other error) returns 500. It should popup at you.
  • Enable Delete
  • Enable HTTPS (can put behind an https proxy)