Skip to content

Simple web app to upload images to archive.org when internet is available

License

Notifications You must be signed in to change notification settings

dweb-camp-2019/dwebcamp-media-uploader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple webapp to upload images to archive.org when internet is available, initially made for dwebcamp 2019!

How to set up the web app

  1. Make sure you're running python 3.7 or something around that, and you install all the packages as found in requirements.txt
  2. You'll need to generate some API keys for IAS3, which can be done here: https://archive.org/account/s3.php
  3. You'll also need to generate a secret key for flask. Some simple instructions for generating such keys can found here: https://stackoverflow.com/a/34903502
  4. Create some environment variables with the respective API keys, name them IAS3_ACCESS_KEY, IAS3_SECRET_KEY and FLASK_SECRET_KEY
  5. Once all that is done, it should be as simple as running app.py

By default the flask server runs on 10.8.8.8:88 (because that was the app setup for dweb2019), but that can be changed.

If you want different settings on different devices, having an environment var like DEBUG=true is useful.

About

Simple web app to upload images to archive.org when internet is available

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 37.0%
  • JavaScript 35.7%
  • HTML 19.9%
  • CSS 7.4%