Skip to content

IVIURRAY/Autogram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autogram

A automated Instagram poster.

Why?

I am fed up of keeping track of my Instagram posts and when I should schedule them. Therefore, I created Autogram. A automated way of uploading to Instagram.

Note: InstagramAPI did not work when building this for posting photos. So I had to build a workaround.

How to run

Download the latest release from here

How to use

  1. Add Instagram ready images to the /posts directory. These are common image file types (.jpeg, .png, etc...) and also 1:1 square images. So 1080px x 1080px images.

  2. Download and install chromedriver for your version of Chrome. Chrome >> ... > About Google Chrome. Then place it in a directory /chromedriver as /chromedriver/chromedriver.exe.

  3. pip install -r requirments.txt

  4. Input your Instagram username and password in instagram.py and run the script python instagram.py

How to build

Navigate to the root folder and with your virtual environemt running do the following:

  1. Active your virtual env. source venv/Scripts/activate
  2. pip install -r requirements.txt
  3. pip install pyinstaller
  4. pyinstaller --onefile -w app.py.
  5. This will generate a /dist folder which will have an app.exe inside.
  6. Rename to Autogram_<RELEASE_BUILD_NUMBER>.exe
  7. Upload to Github releases.