Code Monkey home page Code Monkey logo

instacron's Introduction

instacron Instagram for the lazy

Automatically upload a photo to Instagram

Takes a random photo from the folder photos and adds a caption with a random quote. For example:

Just as treasures are uncovered from the earth, so virtue appears from good deeds, and wisdom appears from a pure and peaceful mind. To walk safely through the maze of human life, one needs the light of wisdom and the guidance of virtue. 🌬🌱 Taken in Colombia, Villavieja πŸ‡¨πŸ‡΄ on 13 January 2016. #instacron 🐍 www.instacron.nijho.lt

Luck is what happens when preparation meets opportunity. ⚽🚌 Taken in Colombia, Cali πŸ‡¨πŸ‡΄ on 25 October 2015. #instacron 🐍 www.instacron.nijho.lt

I think and that is all that I am. πŸ’”πŸ€· Taken in Peru, Cusco πŸ‡΅πŸ‡ͺ on 21 November 2015. #instacron 🐍 www.instacron.nijho.lt

When all photos in the photos folder have been uploaded, it starts to upload the least frequently uploaded photos first.

Why does this exist?

I like to take pictures that I would like to share with the world but I am way too lazy to upload them using the app.

Installation

You need Pythonβ‰₯3.6

Clone the repo with

git clone [email protected]:basnijholt/instacron.git

and install the requirements with

cd instacron
pip install -r requirements.txt

Usage

  • Put photos in photos (see the expected filename structuce here.)
  • run python instacron.py and follow the instructions to have it set up a config file.

Alternatively setup a cronjob to periodically post a photo, see cronjob.py for instructions.

Troubleshooting

See the FAQ: Understanding Responses from Instagram in the mgp25/Instagram-API repository for information about the error codes the Instagram API might return.

instacron's People

Contributors

basnijholt avatar sbalk avatar

Watchers

Wagish Sharma 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.