All Projects → gulzar1996 → Auto Like My Gf Insta Pic

gulzar1996 / Auto Like My Gf Insta Pic

Bot to automatically like your friend's Instagram post and notify you on Slack

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Auto Like My Gf Insta Pic

Notify
A dead simple Go library for sending notifications to various messaging services.
Stars: ✭ 727 (-5.95%)
Mutual labels:  bot, slack
Integrations
Connect your App to Multiple Messaging Channels with the W3C Open standard.
Stars: ✭ 721 (-6.73%)
Mutual labels:  bot, slack
Slack Meme
A Meme Bot for Slack.
Stars: ✭ 322 (-58.34%)
Mutual labels:  bot, slack
Sactive Bot
😈 An extensible chat bot framework. sactive-bot is an evolution of the open source hubot project. - https://www.shipengqi.top/sactive-bot .
Stars: ✭ 212 (-72.57%)
Mutual labels:  bot, slack
Aiva
AIVA (A.I. Virtual Assistant): General-purpose virtual assistant for developers.
Stars: ✭ 693 (-10.35%)
Mutual labels:  bot, slack
Serverless Slack App
A Serverless.js Slack App Boilerplate with OAuth and Bot actions
Stars: ✭ 217 (-71.93%)
Mutual labels:  bot, slack
Bottender
⚡️ A framework for building conversational user interfaces.
Stars: ✭ 3,803 (+391.98%)
Mutual labels:  bot, slack
Slack Starterbot
Python-powered simple starter Slack bot.
Stars: ✭ 169 (-78.14%)
Mutual labels:  bot, slack
Joe
A general-purpose bot library inspired by Hubot but written in Go. 🤖
Stars: ✭ 417 (-46.05%)
Mutual labels:  bot, slack
Awesome Bots
Awesome Links about bots.
Stars: ✭ 412 (-46.7%)
Mutual labels:  bot, slack
Hubot Slack
Slack Developer Kit for Hubot
Stars: ✭ 2,260 (+192.37%)
Mutual labels:  bot, slack
Elixir Slack
Slack real time messaging and web API client in Elixir
Stars: ✭ 587 (-24.06%)
Mutual labels:  bot, slack
Go Sarah
Simple yet customizable bot framework written in Go.
Stars: ✭ 188 (-75.68%)
Mutual labels:  bot, slack
Phabulous
A Phabricator bot for Slack
Stars: ✭ 222 (-71.28%)
Mutual labels:  bot, slack
Flottbot
A chatbot framework written in Go. All configurations are made in YAML files, or inside scripts written in your favorite language.
Stars: ✭ 175 (-77.36%)
Mutual labels:  bot, slack
Intelligo
🤖 Chatbot Framework for Node.js.
Stars: ✭ 347 (-55.11%)
Mutual labels:  bot, slack
Office Simulator
Miss the office life? You won't any more with this wonderful office slack simulator.
Stars: ✭ 152 (-80.34%)
Mutual labels:  bot, slack
Php Slack Bot
Slack bot user written in PHP
Stars: ✭ 161 (-79.17%)
Mutual labels:  bot, slack
Pokemongo Bot
The Pokemon Go Bot, baking with community.
Stars: ✭ 3,730 (+382.54%)
Mutual labels:  bot, slack
Slacker
Slack Bot Framework
Stars: ✭ 495 (-35.96%)
Mutual labels:  bot, slack

Image

Auto like my gf Instagram pics

Bot to automatically like your friends' Instagram posts, and notify you on your Slack channel.

Practical use cases

  • You are like me. You don't have time to check social media and you want to give attention to someone so that she notices you.
  • You are in a relationship. Your girlfriend is constantly nagging you for not being the 'first-one' to like her Instagram pics.

How does it work?

This script runs Instagram API every 15mins (cronjob) and checks for any new Instagram post for a paticular user_id. If a new a post is found it likes the post and sends a notification to your configured Slack channel using Slack Webhooks.

Installation

  • git clone https://github.com/gulzar1996/auto-like-my-gf-insta-pic
  • npm install
  • create a .env file (you must set accessToken, user_id (Target user id) from Instagram Developer API and slack_url from Slack Webhooks ) as shown. .env file This would assure that your keys are secured and index.js file is untouched.
  • npm start (run the app)

Like all the recent instagram post (test)

 GET http://localhost:3000/run

Deploy to Heroku

  • cd auto-like-my-gf-insta-pic
  • heroku login
  • heroku create (add heroku to project)
  • git push heroku master (deploy to heroku)
  • heroku ps:scale worker=1 (start dyno worker)

Heroku will generate a url for you

  http://<HEROKU_URL>.herokuapp.com/run

Setting up Cron Job

  • create an account cron-job.org
  • create a cronjob
  • paste the url http://<HEROKU_URL>.herokuapp.com/run in address
  • schedule every 15 mins

Using node-cron (local cron)

  • npm start (run the app)
  • node cron.js & create a node-cron that sends GET to the app every 15 min
  • ps to list background processes
  • kill <process id> to stop the node-cron

Docker Setup

  • Docker >= 17.x, docker-compose >= 1.x
  • Specify environment values in docker-compose.yml.
  • Run docker-compose up

TODO

  • [ ] Twitter Support
  • [ ] Like only pictures of Gf/Bf (face recognition)

Thanks

Inspired from https://github.com/cyandterry/Like-My-GF. Code written in JS from scratch.

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].