Skip to content

An Instagram bot linked to a page that uploads computer science questions as a post every 24 hours.

License

Notifications You must be signed in to change notification settings

mayank-bharwal/AlgorithmArena

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AlgorithmArena - Instagram Bot

Instagram: https://www.instagram.com/algorithm.arena/

Screenshot 2024-01-22 at 1 52 24 AM

# Instagram Coding Question Bot

This Python script generates coding questions and posts them on Instagram every 24 hours. It uses the OpenAI API to generate questions and the Instabot library to post them on an Instagram account.

## Installation

1. Clone the repository:

   ```bash
   git clone https://github.com/mayank-bharwal/AlgorithmArena.git
  1. Change into the project directory:

    cd AlgorithmArena
  2. Install the required dependencies:

    pip install openai instabot pillow
  3. Set up your OpenAI API key:

    • Open the script (instagram_coding_bot.py) and replace 'your_openai_api_key_here' with your actual OpenAI API key.
  4. Create a custom font file:

    • If you have a custom font for the text in the image, save it as Lemon-Regular.ttf in the project directory. If not, the script will use the default font.
  5. Create a logo file (optional):

    • If you want to add a logo to the images, save the logo image as logo.png in the project directory.

Usage

  1. Run the script:

    python instagram_coding_bot.py
    

    This will start the bot, which will generate coding questions and post them on Instagram at regular intervals.

  2. To customize the bot's behavior, you can edit the script and modify parameters such as the Instagram account credentials, posting frequency, and more.

Contributing

If you would like to contribute to this project, feel free to submit pull requests or open issues.

License

This project is licensed under the BSD 3-Clause License - see the LICENSE file for details.

Acknowledgments

  • OpenAI for their powerful language model.
  • Instabot for the Instagram automation library.
  • Pillow for the Python Imaging Library used for image manipulation.

About

An Instagram bot linked to a page that uploads computer science questions as a post every 24 hours.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages