Giter Site home page Giter Site logo

fromager / instagram-scheduler Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lajosdeme/instagram-scheduler

0.0 0.0 0.0 2.68 MB

Schedule your photos to be posted automatically to Instagram at the specified time.

JavaScript 78.03% EJS 20.36% CSS 1.61%

instagram-scheduler's Introduction

instagram-scheduler

Schedule your photos to be posted automatically to Instagram at the specified time.

Deploy

Usage

  1. Click on the deploy to Heroku button above.

  2. On the deployment page you need to configure a few environment variables for the project to work properly.

  • IG_USERNAME: The Instagram username you want to schedule your posts to.
  • IG_PASSWORD: The password for the Instagram account.
  • IG_PROXY: (Optional). Pass your proxy here if you have one. It's recommended to use one, otherwise you will make Instagram angry very fast by logging in from dynamic IP addresses. Format should be: 'http://username:pass@ip:port'.
    Important: It must be 'http' and not 'https' or you will receive an error. For more info read this.
  • MONGODB_URI: The URL for your MongoDB database. If you don't have one, follow the instructions here.
  • SECRET: Express session secret. A session secret is used for encrypting cookies. Generate a strong secret and add it. You can easily generate one in your shell. If you have openssl then simply openssl rand -hex 12, or in Python import secrets and then secrets.token_hex(16)
  • TZ: By default your server uses UTC time. If you want to use some other time zone to schedule your posts you must specify it here.
    Your input must adhere to the tz database timezone format.
  • NODE_ENV: Node JS environment. Can be 'development' or 'production'.
  1. Once you set these up and deployed your project you can log in with your Instagram username and password and start scheduling your posts.

  2. Another important thing is that unless you change it, your server will use the Heroku free tier. This is sufficient for the purpose, but free Heroku apps will be put to sleep after 30 minutes of inactivity.
    You can however keep your app alive by scheduling a cron job to ping it every x minutes. Follow this tutorial to set this up. You can use the /ping endpoint for this.

Features

  • Schedule a photo to be posted in a future date
  • Add a caption
  • Add first comment
  • See your scheduled posts
  • Unschedule a post

Stack

  • JavaScript
  • Node.JS
  • MongoDB/Mongoose
  • Heroku
  • Bootstrap
  • Express
  • Passport

Screenshots

Nothing fancy here, just a dead simple and clean UI to manage your scheduled post.

scheduler1

scheduler2

⚠️ Warning

This project is not affiliated, endorsed or certified by Instagram. Sadly, Instagram does not offer a public API to schedule photos currently. This is an independent project relying on the unofficial private Instagram API. For the best results consider using a dedicated Instagram proxy. Absolutely not for spam. Use at your own risk.

Roadmap

  • Support tagging other users on the photo
  • Support tagging location
  • Support multiple Instagram accounts
  • Support accounts with 2FA enabled
  • Support scheduling stories

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.