tmccoy14 / EmbedPrivateS3Objects

This repository contains an application that allows you to embed images and videos stored in a Private S3 bucket

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Embed Private S3 Objects

Embed Private S3 Objects is a Python Flask application that allows you to fetch an image or video that is stored within a private S3 bucket and embeds it into your web application.

Prerequisites

  • Create a private S3 bucket within your AWS Account
  • Upload an image or video to the newly created S3 bucket
  • Configure environment variables for you AWS Account credentials
  • Update the newly created S3 bucket name in the app.py file

Run Application

$ python3 -m venv env

$ source env/bin/activate

$ pip install -r requirements.txt

$ python app.py

About

This repository contains an application that allows you to embed images and videos stored in a Private S3 bucket


Languages

Language:Python 58.4%Language:Dockerfile 29.3%Language:HTML 12.3%