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
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!)