All Projects → eVanilla → Instabot.rb

eVanilla / Instabot.rb

An instagram bot works without instagram api, only needs your username and password. written in ruby

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Instabot.rb

Instabotai
Instagram AI bot with face detection. It works without instagram api, need only login and password.
Stars: ✭ 181 (+21.48%)
Mutual labels:  instagram-api, bot, instagram
Instagram Followers Bot
A bot for Instagram. You can follow users using a tag or in a specific location, unfollow those who dont follow-you-back, and follow-back those who follow you
Stars: ✭ 149 (+0%)
Mutual labels:  instagram-api, bot, instagram
Instagram Bot Dm
Instagram bot to send direct messages
Stars: ✭ 101 (-32.21%)
Mutual labels:  instagram-api, bot, instagram
Socialmanagertools Igbot
🤖 📷 Instagram Bot made with love and nodejs
Stars: ✭ 699 (+369.13%)
Mutual labels:  instagram-api, bot, instagram
Onegram
This repository is no longer maintained.
Stars: ✭ 137 (-8.05%)
Mutual labels:  instagram-api, bot, instagram
Instagram Bot
An Instagram bot developed using the Selenium Framework
Stars: ✭ 138 (-7.38%)
Mutual labels:  instagram-api, bot, instagram
Instauto
Simple to use wrapper around the private Instagram API, written in Python.
Stars: ✭ 52 (-65.1%)
Mutual labels:  instagram-api, bot, instagram
Mygf Instagram
Like posts of my girlfriend's Instagram using web api, don't need any api key and access tokens just login and password
Stars: ✭ 140 (-6.04%)
Mutual labels:  instagram-api, bot, instagram
Instagram private api extensions
An extension module to https://github.com/ping/instagram_private_api
Stars: ✭ 97 (-34.9%)
Mutual labels:  instagram-api, instagram
Swiftagram
A modern Swift wrapper for Instagram Private API.
Stars: ✭ 100 (-32.89%)
Mutual labels:  instagram-api, instagram
Instagram api gem
A Ruby wrapper for the Instagram API
Stars: ✭ 100 (-32.89%)
Mutual labels:  instagram-api, instagram
Instagram Bot Cs
Instagram bot write on C#
Stars: ✭ 95 (-36.24%)
Mutual labels:  bot, instagram
Igql
Unofficial Instagram GraphQL API to collet data without authentication
Stars: ✭ 80 (-46.31%)
Mutual labels:  instagram-api, instagram
Spam Bot 3000
Social media research and promotion, semi-autonomous CLI bot
Stars: ✭ 79 (-46.98%)
Mutual labels:  bot, instagram
Toolsig
toolsigv3.1 (Instagram Tools)
Stars: ✭ 121 (-18.79%)
Mutual labels:  instagram-api, instagram
Instagram Tools
Node.JS Instagram Tools
Stars: ✭ 127 (-14.77%)
Mutual labels:  bot, instagram
Instalike Instagram Bot
automate instagram activities using instagram bot - like follow/unfollow comment; python requests lib
Stars: ✭ 128 (-14.09%)
Mutual labels:  bot, instagram
Unfollow Plus
Automated Instagram Unfollower Bot
Stars: ✭ 79 (-46.98%)
Mutual labels:  bot, instagram
Personal Influxdb
Import data from various APIs into InfluxDB
Stars: ✭ 51 (-65.77%)
Mutual labels:  instagram-api, instagram
Instagram ssl pinning
Bypassing SSL Pinning in Instagram Android App
Stars: ✭ 135 (-9.4%)
Mutual labels:  instagram-api, instagram

instabot.rb

An ruby instagram bot and scrapper works without instagram api, only needs your username and password.

https://rubygems.org/gems/instabot https://rubygems.org/gems/instabot https://travis-ci.org/eVanilla/instabot.rb

installation

Add this to your Gemfile:

gem 'instabot'

and then execute

$ bundle install

or install it yourself as:

$ gem install instabot --no-ri --no-rdoc

Usage

here is the basic usage:

require 'instabot' 

bot = Instabot.new :manual
bot.login("username","password")

bot.follow('user_id')
bot.unfollow('user_id')
bot.like('media_id')
bot.unlike('media_id')
bot.comment('media_id', 'comment text here')

bot.logout()

and here is the automatic usage:

require 'instabot'

Config.setup do |set|
  set.username             = 'username'
  set.password             = 'password'
  set.tags                 = %w[test hello birthday]
  
  # set.use_proxy            = true # => it's important to enable the proxy usage
  # set.proxy                = ["localhost",8888] # without username and password
  # set.proxy                = ["localhost",8000,"USERNAME","PASSWORD"] # with username and password
  
  # set.use_tor              = true # default is false

  set.wait_per_action      = 5 * 60
  set.max_like_per_day     = 50
  set.max_follow_per_day   = 50
  set.max_unfollow_per_day = 50
  set.max_comment_per_day  = 50
  set.log_status           = true
  set.infinite_tags        = true
  set.add_tag_per_post     = 5
  set.print_banner         = true
  set.pre_load             = false

  set.unwanted_list        = ["_id","free_","free"]
  set.white_list_users     = ["john","alex","nick"]

  set.comments             = [
    %w[this the your],
    %w[photo picture pic shot snapshot],
    %w[is looks feels is really],
    %w[great super good very good good wow WOW cool GREAT magnificent magical very cool stylish beautiful so beautiful so stylish so professional lovely so lovely very lovely glorious so glorious very glorious adorable excellent amazing],
    %w[. .. ... ! !! !!!]
  ]
end

bot = Instabot.new
bot.mode(:infinite) # => :cleanup, :infinite, ...

Note: Example files are here and be careful about using infinite_tags option

Using proxies

set.use_proxy                 = true # => it's so important to enable the proxy usage
set.proxy                     = ["localhost",8888] # without username and password
set.proxy                     = ["localhost",8000,"USERNAME","PASSWORD"] # with username and password

don't have money to buy a proxy? no problem! continue reading

Using tor

first of all you have to download the latest tor expert bundle from here

then navigate to the Tor folder and run the tor --controlport 9051

also don't forget to enable using tor by set.use_tor = true option, and that's it! we're done

Configuration description:

set description value (example)
username this is your IG username your_ig_username
password this is your IG password your_ig_password
tags This script use tags for searching medias & users write whatever you want like this ["hello_world", "test"] in an array
wait_per_action wait time per actions 1 * 60
log_status printing logs in the file true or false
unwanted_list unwanted names in usernames ["_id","free_","free"]
white_list_users white list usernames ["john","alex","nick"]
max_like_per_day this is the max likes per day limitation 100
max_follow_per_day this is the max follows per day limitation 100
max_unfollow_per_day this is the max unfollows per day limitation 100
max_comment_per_day this is the max comments per day limitation 100
infinite_tags grab new tags by medias (infinite tag grabber) ture or false
add_tag_per_post an limit for infinite_tags 5 , default is 1
print_banner enable or disable banner true or false
comments the comments you want to post in medias just change the values in example
pre_load load pre configurations in logs folder followed_users.txt, unfollowed_users.txt, liked_medias.txt, commented_medias.txt
use_tor enabling and disabling the tor usage true or false
use_proxy enabling and disabling the proxy usage true or false
proxy http(s) proxy details write it in an array like this ["IP",PORT] or if it has username and password you have to use this format ["IP",PORT,"USERNAME","PASSWORD"]

Development description:

Methods are available on rubydoc.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/eVanilla/instabot.rb

Also thank you guys! Contributors

and if you like it just... hit the star button to make me (us) happy! (≖ᴗ≖✿)

Used gems

  • Activesupport
  • Mechanize
  • Colorize
  • Hashie
  • Socksify
  • Net-telnet

What's new in the future ?

Still no idea... what do you think?

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].