Giter VIP home page Giter VIP logo

inspirogram's Introduction

InspiroGram

Like InspiroCord but posts to Instagram instead.

Setup Instructions

You need to have Git installed. Click here to learn how to install it.

Git clone, install requirements using pip3 install -r requirements.txt, copy the config.example.json file to config.json and fill in the blanks with your Instagram username and password and save it.

You can also add a text to post with the image (caption under the image) in config.json or leave it empty.

When you're done editing the config, run the inspirogram.py script.

(Linux users: chmod +x ./inspirogram.py)

$ python3 inspirogram.py

Enjoy!

Notes

  • You may get warnings from the Python library I'm using to post images to Instagram that the endpoint is untested. This is the library and not my script.

  • You'll know that the posting was successful when either of the following happen:

    • You can see the post on the Instagram account you've setup with the script.
    • You see the words Uploaded to IG! in the console output.
  • The first time you run the script, it may say that the ig.json file is missing. Just Ctrl+C to stop the script and re-start it. I do not know why this happens or if there is a way for me to stop it from happening programmatically, but for now just deal with it.

  • The timeout in the config is the time to wait before generating and posting another quote. It is in SECONDS, not milliseconds! 300 seconds is 5 minutes, which is the default value.

inspirogram's People

Stargazers

Mohammed Israil avatar Fernando Marmolejo avatar

Watchers

Sanel K. avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.