InstaQuoteBot is a Python script designed to automate the process of generating and posting quote images to Instagram. It utilizes the InstaBot Python module to handle Instagram interactions. The script prompts the user to log in, fetches quotes and authors from an API, generates images using two different templates in an alternating fashion, and finally posts them to Instagram with default captions and hashtags.
codeterrayt-InstaQuoteBot-Demo.mp4
- Python 3.x
- InstaBot Python module
- Image Processing / Editing library (e.g., Pillow)
-
Clone this repository:
https://github.com/codeterrayt/InstaQuoteBot.git
-
Navigate to the project directory:
cd InstaQuoteBot
-
Install dependencies: To use the InstaQuoteBot script, you need to ensure that you have the following dependencies installed:
pip install instabot requests pillow numpy
-
Run the Script
python main.py
-
Image Templates: Replace the template files in the
templates
directory with your desired image templates. Ensure that the templates are appropriately sized and formatted. You can modify the templates directly from the code by editing the GeneateImage.py. -
Default Caption and Hashtags: Modify the default caption and hashtags in the script to suit your preferences. You can find these in the script and adjust them accordingly.
Contributions are welcome! If you'd like to add new features, improve existing ones, or fix any issues, feel free to submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.