Coder Social home page Coder Social logo

webmasterr / instagram-bot.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pelellone/instagram-bot.js

0.0 2.0 0.0 76.31 MB

๐Ÿค– :camera: Instagram Bot made with love and nodejs

Home Page: https://instagram.bot.ptkdev.io

License: GNU General Public License v3.0

Dockerfile 1.31% Shell 1.40% Go 28.63% JavaScript 25.51% Smarty 41.78% HTML 1.37%

instagram-bot.js's Introduction

InstagramBot.js

What it does

This bot helps you increase the engagement level of your Instagram profile through different social algorithms.

Increase the likes on your photos and followers!

Features

  • [โœ“] Easy to use
  • [โœ“] Login
  • [โœ“] 2FA (bad location)
  • [โœ“] 2FA (sms pin enabled)
  • [โœ“] Multi-Session
  • [โœ“] Multi-Platform (Windows 10, Mac OSX, Linux, Raspberry PI 3)
  • [โœ“] Error management feature (bad pin, bad password)
  • [โœ“] Screenshot and Verbose logger
  • [โœ“] Like Mode Classic: bot selects a random hashtag from a config list and likes 1 random photo, and can repeat this all time.
  • [โœ“] Like Mode Realistic: bot selects a random hashtag from a config list and likes fast 10-12 photos, it sleeps 15-20min and repeats this all time. Sleeps at night.
  • [โœ“] Like Mode Competitor Users: it selects an account, selects random followers, likes 10-12 photo and sleeps 15-20min. Sleeps at night.
  • [โœ“] Like Mode Superlike: it selects random hashtag from a config list and likes 3 random photos of the same user.
  • [โœ“] Comment Mode Classic: it selects random comments and random hashtags and writes comments under photos.
  • [โœ˜] Follow/Defollow Classic: it follows user from random hashtags and defollows after 1h.
  • [โœ˜] Defollow All: it defollows all your following (ignoring users in whitelist).

Fast setup (CLI Version)

  1. Download stable bot version and extract it.
  2. Download Node.js >= 7.6 and install it.
  3. Run npm install in instagram-bot.js folder.
  4. Rename config/config.js.tpl to config/config.js, fill it properly.
  5. Start the bot via node bot.js
  6. If it works add a star โญ at this project โค๏ธ
  7. If you want to help me: donate on paypal or become a backer on patreon.

For advanced configuration see INSTALL.md.

2FA: SMS Pin

If you received an SMS or an email pin edit loginpin.txt and insert it on the first line. Wait 50-60 seconds...

Tips: hide browser

Edit config.js and switch chrome_headless option to true.

Check if it works:

See images in ./logs/screenshot or disable chrome_headless flag.

Parameters

Name Type Default Description
config String ./config/config.js File path of the option file to run

Bugs

  1. [ERROR] login: The username you entered doesn't belong to an account. Please check your username and try again. (restart bot and retry...)
  • Why did it happen? Instagram desktop is in overcapacity. Happens at 12:00-14:00 and 19:00-21:00 every day.
  • Solution: Try to Login at a different time or Logout from your instagram app, and Login again. Reboot the bot and retry... Try and retry, and retry, and retry... Or stop the bot and wait 2-3h.
  1. Error: Protocol error (Page.captureScreenshot): Target closed.
  • Why did it happen? macOS doesn't properly support screenshots from puppeteer
  • Solution: set screenshot as false in config.js.
  1. This code is no longer valid. Please request a new one. (400) (/accounts/login/ajax/two_factor/)
  • Why did it happen? It's an Instagram bug at Login.
  • Solution: disable momentarily the "2FA" or try an old version of chrome (edit config.js set executable_path)

Desktop setup (GUI Version)

  1. Download Social Manager Tools GUI.
  2. Run application.

Docker setup

If you prefer to run this using Docker, an official container is available from the Docker Hub.

In order to run it, copy the config.js.tpl file, configure it as you prefer, then use it through volume mapping, like in this example:

$ docker run \
    --restart=always \
    --name=instagram-bot \
    -d \
    -v /path/to/config.js:/app/config.js \
    socialmanagertools/instagram-bot.js &>/dev/null

Roadmap

See full roadmap (open task, todo and bugs) in project page.

Sorry for snake_case

I love ๐Ÿ snake_case syntax sorry for this ๐Ÿ˜ญ don't hate me.

Social Manager Tools

Social Manager Tools GUI InstagramBot.js (LIB) TwitterBot.js (LIB) FacebookBot.js (LIB) WordpressTelegramBot.js (LIB) MediumTelegramBot.js (LIB)

License

GNU GENERAL PUBLIC LICENSE

Copyright (c) 2018 Patryk Rzucidล‚o (PTKDev)

instagram-bot.js's People

Contributors

ptkdev avatar agoalofalife avatar julianxhokaxhiu avatar lecoueyl avatar thebatclaudio avatar mrkuzio avatar ardacebi avatar maxnowack avatar

Watchers

James Cloos avatar Julio Gaiotto 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.