Skip to content

An instagram bot hosted on an Amazon EC2 Instance through Docker. Uses nginx > flask + selenium > firefox all bundled into a single nice little container

License

Notifications You must be signed in to change notification settings

ColeInc/docker_instagram_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker_instagram_bot

This is a repository which stores the setup for a docker container which hosts my instagram bot. The instagram bot is written in Python, utilizing the Selenium library. Currently it is exposed as an API using Flask.

The docker container itself is setup with an Nginx server which hosts the flask API, as well as a Selenium Grid with a firefox node running with it. The flask application talks directly to the selenium grid in order to perform its webscraping.

The underlying instagram bot code in this docker container is based off of the original repository here - instagram-post-scheduler-bot

Resources:

I've made a directory named resources_example inside app/flask which is an example of the resources directory, you can edit yourself to your liking. All you need to do is rename the resources_example directory to resources in order for the python scripts to pick it up.

  • mysql_credentials.json being the credentials for a MySQL server which would run hand in hand with this API for long term storage
  • hashtags_list.json being a custom list of hashtags you'd like the bot to use in its processes.
  • comments_list.json being a custom list of possible comments the instagram bot will comment for you (emojis supported!)

About

An instagram bot hosted on an Amazon EC2 Instance through Docker. Uses nginx > flask + selenium > firefox all bundled into a single nice little container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published