Giter VIP home page Giter VIP logo

simpleinstabot's Introduction

SimpleInstaBot 🤖

Use a robot to attract more followers. Now as a simple desktop app!

Demo

Discord PayPal

How does it work?

It runs as a desktop application on your computer and will every day follow up to 150 users (configurable). You choose a list of Instagram users whose market you want to target. The bot navigates to each of these, finds the last people to have followed them and then follows each of them. Then after 5 days (also configurable), it will unfollow the users. Simple and effective.

The bot will remember every user it has followed, so if you quit the app and open it later, it will still clean up by unfollowing users that it previously followed.

You can find logs and data in your "App Data" folder. See userData. For example on Mac OS:

Library/Application\ Support/SimpleInstaBot/followed.json

Features

What makes it different from other bots?

  • Free and open source
  • No viruses or fishy business, guaranteed to not store your password! (See the code for yourself)
  • Simple, easy to use
  • Effective: Follow/unfollow is proven very effective. By only doing follow/unfollow, the bot avoids all those awkward situations where a bot comments "Awesome!" on a post depicting a tragic events.
  • Secure: Never stores your username or password
  • Safe: Runs on your own computer, to reduce the risk of being banned. Instagram is known to crack down on paid Instagram bot services and cloud and VPN IPs
  • Automatic rate limiting
  • Uses a normal browser to mimic the behavior of a normal user (does not use private APIs easily detectable by Instagram)
  • Randomized timed behavior
  • Simulates human behavior of sleeping at night, and usage in the day time
  • Change browser signature to avoid being identified
  • Passes bot tests: https://intoli.com/blog/not-possible-to-block-chrome-headless/chrome-headless-test.html and https://arh.antoinevastel.com/bots/areyouheadless
  • Runs on all major desktop platforms
  • Multiple modes of operation: Unfollow only, Unfollow non-mutual followers, Unfollow unknown followed accounts, Unfollow user specified list of accounts.

Download

NOTE: After installing you may need to bypass "Untrusted app" dialogs. This is because Microsoft requires a costly certificate to remove this dialog (I'm not going to pay for that.) Alternatively, try to Google windows run untrusted app.

A word of warning

Many people are getting Action Blocked message these days with this bot as well as other bots (it seems even people just manually following using the app) Instagram is tightening their rules by not allowing promiscuous behavior like following and liking strangers' photos as much as before, and imposing temp blocks when they think you crossed the limit.

You use this app at your own risk! I have had great success with this app but I am not responsible for any consequences it may have for your Instagram account.

Tips to avoid ban

I advise you to follow these guidelines:

  • Run the bot on the same internet connection (e.g. WiFi) as you normally use your phone with the Instagram mobile app. It will reduce the chance of being flagged
  • Use conservative parameters (max follows/unfollows per day 150 and max 20 per hour, maybe even start lower, and work your way up)

Multiple accounts

To run the bot on multiple accounts at the same time, run it with the command line argument --root to specify a unique path for each instance:

/path/to/SimpleInstaBot --root ~/Desktop/account1
/path/to/SimpleInstaBot --root ~/Desktop/account2

API / programmatic bot

SimpleInstaBot is built on instauto - you can instead use that if you want to program your own headless bot.

How to run on Raspberry PI

# SSH into your PI
ssh [email protected]

# Download the Raspberry Pi binary
wget https://github.com/mifi/SimpleInstaBot/releases/latest/download/SimpleInstaBot-linux-armv7l.tar.bz2

# Extract it
tar xvf SimpleInstaBot-linux-armv7l.tar.bz2
cd SimpleInstaBot-linux-armv7l

# run it
DISPLAY=:0 ./simpleinstabot

# or:
DISPLAY=:0 ./simpleinstabot --no-sandbox

Troubleshooting

  • Follow button not found: switch your Instagram account into English as stated in the instauto troubleshooting page

FAQ

  • Q: Can I run it on multiple accounts at the same time?
  • A: Yes, with the command line argument --root (see multiple accounts)

Donate 🙈

This project is maintained by me alone. The project will always remain free and open source, but if it's useful for you, consider supporting me. :) It will give me extra motivation to improve it.

Paypal | crypto

Credits

Animations by:

Icons made by Freepik from www.flaticon.com

See also

Releasing

npm version patch && git push && git push --tags

Wait for github actions and go to https://github.com/mifi/SimpleInstaBot/releases


Made with ❤️ in 🇳🇴

More apps by mifi.no

Follow me on GitHub, YouTube, IG, Twitter for more awesome content!

simpleinstabot's People

Contributors

clementwalter avatar dependabot[bot] avatar jonestsai avatar luen avatar mifi avatar nxwi avatar rishibaghel25 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simpleinstabot's Issues

Refactoring improvements

This bot was written in a bit of a hurry, because I just wanted to make a UI for instauto. Therefore there are a few things that are a bit hacky which causes some limitations:

  • Refactor the database so it can handle concurrency. Currently just a json file read/write #44
  • Refactor instauto so it supports stopping the bot (so we don't have to kill the app when stopping)

Unfollow mode

Hi there,
I was thinking, if there is an unfollow mode possible? I actually want to unfollow all of the users, that the bot started to follow. Setting the maxfollowperday to zero is an "invalid parameter".

Schedule following accounts issue

Hi ! I've been using Simple and Terminal and I have the same two different issues in both.

First one issue, MaxFollowsPerHour doesn't work because the bot is working whole the time. For ex if I put MaxFollowsPerHour=10 the bot follow infinite number of accounts in one hour and I got 429 error.

Second one issue,
When I select a number for ex:
MaxFollowsPerHour=10
MaxFollowsPerDay=10
and the followsDB is clean or it has Less of that number into (10) the bot continuos working and following infinite account (the same first one issue) BUT if the followDB has More of that number, there it working fine and I got Reached maximum...etc.

That is the good behavior or I'm doing anything wrong?

Thanks and good bless from Argentina at this catastrophic world period. You're big.

Allow bot to start at runAtHour when clicking "Start Bot"

Hi!
It would be nice to start bot not just after "start bot" button is pressed, but on its hour defined in
runAtHour
It would be useful for situation when I would like to change config (add/remove source profiles) when bot is in his "long sleeping" time, but would not start bot immediately after the start button is pressed.
So as a suggestion - maybe just another button to "start with cron" despite of existing "Start Bot" button.
Additionally - it would also be useful that "stop bot" would not close whole application, just stop bot operations.

Thanks for your comments
Best regards,
Marcin

Show stats when bot is running

Hi! Thanks for your great work!
It would be useful to see the stats (the same that are available while bot is stopped) on the screen "your bot is running".
If it would be a problem to refresh it frequently - I think that updating it when bot reaches daily limit and goes to sleep for longer time would be enough.
Thanks for you support
Marcin

App does not wake after sleeping

Happens both for the app downloaded from the website and run from the terminal. Anyone else has this issue of having to restart the application in order for it to work again (and unfortunately potentially "re"following accounts you already followed the day before) ?

High CPU on RPi

... has been reported.
I suspect it is caused by the lottie animation

"Failed to run Error: The parameter 'browser' was not passed in."

I was getting this error when running the bot for the first time on Manjaro Linux XFCE. When running from the terminal it gave up error messages saying netstat not found. After installing the net-tools package it appears to be working fine. As there is no terminal when the AppImage runs, this netstat missing error should be included in the log instead of the 'parameter browser' error?

Unfollowing deleted user causes exception and 24h sleep

Hi!
Today I got situation that bot was going to unfollow non extisting user (possibly account has been deleted), and this caused exception.

8:17 AM Navigating to user XYZ
8:17 AM Waiting 2 sec
8:17 AM User not found
8:17 AM Error: Evaluation failed: TypeError: Cannot read property '0' of undefined at __puppeteer_evaluation_script__:1:49```

I have manually stopped and started bot, and now seems working fine. 

Bot stops running after some time

Hi there,
Thank you for the good work here! I'm running the bot on a mac server. I realised, that the service is stopping to run soon after I'm no longer looking at the bot window. The program is opened, but it is just not doing anything any longer. When focusing the window again, it starts running again.
It is also visible in the logs. The bot stopped operating at 9:09 the last day and when focusing the window again, it continued to run at 6:05 PM the next day.

9:09 PMNavigating to user mayahalteinfachdiefresse
9:09 PMSleeping 1.867665811692172 sec
9:09 PMfollowedByCount: 60 followsCount: 119
9:09 PMFollowing user mayahalteinfachdiefresse
6:05 PMSleeping 5.703788375003248 sec
6:06 PMSleeping 1.7138594745936955 sec
6:06 PMSleeping 37.26973131047808 sec

Do you have any idea, where this could come from?

Make the app robust to network outages

Hi,

When I have a network outage or high load on the pc I often hit the timeout of 3000 ms to connect. My intention is to set this bot and forget it on the machine so, here are some suggestions.

From a priority order in my view:

1- keep the limit of 3000 ms but add a function to retry in one or few minutes automatically;

2- add a config entry for running the bot in the moment of launching. This would allow me to automate the server to launch the bot with the server startup.

I believe those modifications could help us a lot :)

Thanks in advance!

Follow user's following instead of followers

Feature request received by email:

If I focus in jewelry companies on IG, account following contains jewelry IG account, followers are usually just random people. SO I want to follow same IG account as a specific jewelry account follows.

Program does not create a Log file

I don't know if this is the expected behavior but the .exe file I downloaded from Releases tab does not create or log file or store any sort of data on my PC so that it can unfollow people that it has followed at a later date.

I'm assuming it can only perform all the functions (un following, following new people after 24 hours etc) if you keep the program running 24/7. In that case I'd suggest allowing us an option to save the log file so the program can read that file on restart and restore its previous state

Build for Raspberry PI

This has been requested.
electron-builder supports it but github actions does not have an arm7 builder.

Solutions:

  • Self hosted runner (Raspberry Pi hardware)
  • docker
  • Build it from x64 using prebuilt electron? Only if no binary dependencies

login doesn´t work, failed to run

Tried the newest autoinstaller version from here (win)
https://mifi.github.io/SimpleInstaBot/
Bot window is starting and i can click on START
But directly after the new window is opened and the creds to login were inserted it crashes with "Failed to Run". Tested with several accounts, which are all working when i login manually.

checked the console. Error is:

main.24d9e999.chunk.js:1 TypeError: Cannot read property 'click' of undefined
at module.exports (C:\Users\X\app.asar\node_modules\instauto\index.js:551:23)
at processTicksAndRejections (internal/process/task_queues.js:85:5)
at async Object.initInstauto

Login fail

It gets stuck with a spinner in the login button and the URL hash #reactivated.

Reloading the page solves the issue.

Screenshot 2020-11-08 at 12 42 13

Compile into .exe

Hello genius. First I want to say thanks for sharing your work. They are excellent !!!. Sorry for my bad english.I'm a follow of yours from Argentina.
My problem is that compiling the job with "electron-packager" I get the message "This normally means that either you have deleted this package already somehow (check your ignore settings if using electron-packager). Or your module installation failed.".
Any suggestions to help me compile it into an .exe
Thanks a lot.
Captura

Can you run 2 apps on 1 computer at the same time

I love your app, it works just great.
Is it possible to run 2 apps on 1 computer? And how?

Also I used instazood before and the only difference is that you can follow hashtags there and also there was a comment generator, where the app commented on user posts....will this come in the future?

implement commenting

one enhancement would be the ability to automate comments that would just make this even more wonderful!!

Auto language selection seems broken

Hello, (first sorry for my english)

When i try to connect on mac, it seems regognise everything until a message about save username and password appears then it cannot log because of the window. I try to manually register later, then i'm connected on my account but simpleinstabot still saying it cannot logs.

Bot won't work anymore?

Hey, I use this bot now vor a long time, works very good until today...
I start the bot like everyday but it don't start. I try log off/on and restart the App several times.
I use the latest (1.6.0) MacOS Version of SimpleInstaBot.

Here a Screenshot:
https://i.imgur.com/esSqGsZ.png

LOGS FROM LAST RUN
11:56 AMNo cookies found
11:56 AMWaiting 1 sec
11:56 AMSetting language to english
11:56 AMWaiting 1 sec
11:56 AMWaiting 6 sec
11:56 AMPressing button: Accept cookies dialog
11:56 AMWaiting 4 sec
11:56 AMLogin page button not found, assuming we have login form
11:56 AMWaiting 1 sec
11:56 AMWaiting 1 sec
11:56 AMWaiting 7 sec
11:56 AMWaiting 7 sec
11:57 AMStill not logged in, trying to reload loading page
11:57 AMWaiting 8 sec
11:57 AMWARNING: Login has not succeeded. This could be because of an incorrect username/password, or a "suspicious login attempt"-message. You need to manually complete the process.
11:57 AMWaiting 7 sec
11:57 AMWaiting 10 sec
11:57 AMWaiting 8 sec
11:57 AMWaiting 10 sec
11:57 AMWaiting 7 sec
11:57 AMWaiting 6 sec
11:58 AMWaiting 6 sec
11:58 AMWaiting 9 sec
11:58 AMWaiting 6 sec
11:58 AMWaiting 7 sec
11:58 AMWaiting 5 sec
11:58 AMWaiting 6 sec
11:58 AMWaiting 9 sec
11:58 AMWaiting 8 sec
11:58 AMWaiting 6 sec
11:59 AMWaiting 5 sec
11:59 AMWaiting 9 sec
11:59 AMWaiting 6 sec
11:59 AMWaiting 7 sec
11:59 AMWaiting 8 sec
11:59 AMWaiting 9 sec
11:59 AMWaiting 6 sec
11:59 AMWaiting 9 sec
12:00 PMWaiting 7 sec
12:00 PMWaiting 8 sec
12:00 PMWaiting 7 sec
12:00 PMWaiting 6 sec
12:00 PMWaiting 8 sec
12:00 PMWaiting 9 sec
12:00 PMWaiting 9 sec
12:00 PMWaiting 10 sec
12:01 PMWaiting 8 sec
12:01 PMWaiting 7 sec

Does this works?

Hey. I want to know if this works or not. Please tell me. Thank you.

Following and Unfollowing. I will be doing only 100 actions per day or even less. Like 30 actions per day. ( Or this app will get me action banned? )

Mixing - following/unfollowing actions

Hi!
Thanks for resolving previous issues, that's great. I have one more improvement that can may help bot become more efficient.
By default, bot is starting by unfollowing, as I can see - because of sleeping actions it takes almost half day (literally 5-6h) to finish this job, and than bot starts his following actions.

This doesn't look to be efficient. Without rebuilding application flow is it possible to mix those actions (for example - unfollow users when bot reaches hourly follow limit? (I know that this may become a problem when maxFollowsPerHour is not set-up)

Thanks for you support
Marcin

Cannot read property 'user' of undefined

Navigating to user -

Waiting 1 sec

Error: Evaluation failed: TypeError: Cannot read property 'user' of undefined
at puppeteer_evaluation_script:1:61

Sleeping 15.449751204256607 hours...

someone can help me?

Does not work

I add the login details and everything it needs to, but when I click START it opens another window with the Instagram LogIn page for a second or so then it closes it and it says it failed. Basically I think it cannot add the login credentials by itself. I tried adding them manually super fast before that window closes, but even that didn't work. I am using the last appimage and arch. Cheers!

Add more customization to the script!

Hello there,
First of all i'm loving how simple your bot is and it also works!
couple of suggestions: maybe add more scripts, to comment, reply on stories!
I've had blast of fun using yours but I found out commenting on other user's pictures gets you alot of followers!

Specify a filter for following men or women

Hi,

Would it be possible to specify the bot to only follow men or women? A woman following and liking some random men's photos causes a rather strange movement on the woman's inbox.

liking posts?

hey :)
i was wondering if its possible for the bot to like posts rather than do follows?
if so, is it possible to configure the bots activities and change them? i find that for my account liking 4-6 posts from a user's follower does way better than follow-unfollow trick.

Button did not change the state

Anybody has this problems as me? It started yesterday, bot always write this in application and if I try webview to do manual follow, button still did not change, I also tried it in ig app, but first when i clicked it did not change, after second attemp it changed but when i look at that account later it was same as before (not followed). I dont know if i have ban/ or made over limits, but when i had ban in past it always poped up some text about it. Also im using same setting as before. Could it be bug on ig site?

Snímka obrazovky 2021-04-02 o 13 57 52

Multiple accounts

Support for multiple accounts inside the app (and running multiple instances of the app) has been requested.

As of now you can not run multiple instances of the bot on the same computer (same user), as it will cause conflicts.

Potential issues:

  • Need to prevent conflict with stored files like cookies.json, followed.json etc. (Store one file per account)
  • This may cause more throttling by Instagram to the point that it will reduce the effectiveness of running multiple accounts (because they see more requests from the same IP on multiple accounts)

Got 429 Too Many Requests, waiting...

I had a issues with version 1, instagram will always writing to my mobile app about pishing and I needed always to change every day password, i installed version 2 and everything was good, but today bot wrote this message: Got 429 Too Many Requests, waiting... In ig webview u can see error, Please wait a few minutes before you try again. I tried restart app, restart pc but nothing changed, please help me out.

Snímka obrazovky 2021-03-28 o 11 50 41

Snímka obrazovky 2021-03-28 o 11 50 38

Bot follows more than unfollows

Hey Mikael

The Bot is now running for more than 2 weeks.

I started with 250 people following and now I am following 650.
I think I should follow much less.

Here is my config.

`{
"maxFollowsPerDay": 120,
"maxFollowsPerHour": 20,
"maxLikesPerDay": 70,
"maxLikesPerUser": 5,
"followUserRatioMin": 0.2,
"followUserRatioMax": 4,
"followUserMaxFollowers": 3000,
"followUserMaxFollowing": 1500,
"followUserMinFollowers": 40,
"followUserMinFollowing": 10,
"dontUnfollowUntilDaysElapsed": 3,
"runAtHour": 9
}

Is this a bug or has it to do something with my config?`

Bot does not detect beeing blocked

Hi Mikael,

I just noticed that the bot does not detect if you are blocked by instagram.

The Bot continues unfollowing but without any effect.

image

App pauses when Display goes to sleep (mac)

Hi,

The app pauses when the mac display goes to sleep, but the system hasn't gone to sleep (it's disabled), only the display is off. As soon as I move the mouse and the display is on again, the app continues.

Is that the expected behavior?

Linux

Hey man love your project been using it allot but yesterday I got myself I little raspberry pi so I thought it would be perfect to have your program run 24/7 but I'm not able to run it I'm running raspberry pi os 64bit can anyone help?

Restoring state after closing the program

Hi,

Is it possible to "continue" the bot after closing it? I mean, if the bot followed 10 people and I close it, will it remember to unfollow that 10 people when I reopen it on a certain date? I've seen you talk about it on other issues, but I think it would be great to have this information explicit on Readme.

Thanks for the great software!

Question - How to run two bot instances on mac?

Hello.
I'm trying to run two bot instances on a Mac.
I copied the app to a different dir and launched two instances simultaneously, but both use the same credentials, pages to follow.
Is it possible to separate them completely so they use different data each?

Can I somehow run it on multiple accounts in the same time?

First, thank you so much for the software, it works like a charm. One problem that I have a couple more instagram account. Is there a way to make the program work with more than one acount at the same time? (sorry for the english, I hope you understand what I wanted to say).

Only liking photos without following?

Hi! is it possible to only like a few photos from every user instead of following them as well?
since it is possible to follow and not like any photos, i wonder if it can be possible to just like without following?

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.