Skip to content

Light python script that compresses images and uploads to imgur

Notifications You must be signed in to change notification settings

johnwee1/imgur_uploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imgur_uploader

Light python script that compresses JPEGs and uploads to imgur

Features

  • Enter your personal client ID or use the one that I made (no configuration necessary!)
  • Upload all photos in directory as an album without having to sign in
  • Creates a compressed image, uploads it, then deletes it. Your photos remain safe!
  • Creates a config file that allows you to upload to a previously used album, and creates an albums.txt file that keeps track of all the albums created

How to use

  • Download and install dependencies outlined in requirements.txt - it's really just requests and Pillow.
  • Run main.py

TODO:

  • Asynchronous requests
  • Specify granular quality setting
  • Specify config.txt and albums.txt location
  • Delete albums given the album's deleteHash

About

Light python script that compresses images and uploads to imgur

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages