Giter Club home page Giter Club logo

autogpt-social's Introduction

๐Ÿค– AutoGPT-Social ๐Ÿ“ธ

๐Ÿš€ This Instagram bot app automatically generates and posts engaging content for your Instagram account using OpenAI GPT. The bot gets real-world feedback in the form of likes and comments and uses the data to optimize captions, hashtags, and posting times. The bot's goal is to get as many likes, comments, and followers as possible. ๐Ÿ’ฏ

๐ŸŒŸ Features

  • ๐Ÿ–ผ๏ธ Automatically selects images and generates captions w/ hashtags for Instagram posts
  • ๐Ÿ“ˆ Gets real-time feedback (number of likes, comments) to optimize posting schedule, captions, and hashtags for maximum views, likes, comments, and follows
  • โฒ๏ธ Set the number of posts per day
  • ๐Ÿ” Automatically finds 100s of relevant hashtags and figures out which are best

๐Ÿ› ๏ธ Setup and Installation

  1. ๐Ÿ Make sure you have Python 3.x installed (tested on 3.8). You can download it from here.
  2. ๐Ÿ’ป pip install openai instagrapi instaloader Pillow
  3. ๐Ÿ“ฆ Clone this repository:
    git clone https://github.com/WillReynolds5/AutoGPT-Social.git
    cd AutoGPT-Social

๐Ÿ“š Usage

  1. ๐Ÿ”‘ Add an Instagram account and OpenAI API key:
    python initialize_bot.py <instagram_username> <instagram_password> <openai_api_key>
  2. ๐Ÿ—‚๏ธ This script will create a directory for the specified Instagram account, set up the required directory structure, and save the account configuration in a JSON file.

  3. ๐Ÿ“ Input will ask that you enter an account summary: <your_account_summary>
    ie. The posts should be centered around adding value to viewers' lives by creating informative copy about tips, trends, and fun ideas in the areas of gardening, interior design, architecture, and real estate in general.
  4. ๐Ÿท๏ธ Input will ask that you enter at least one relevant hashtag (separate multiple by commas)<your_hashtags>
    ie. #realestate, #design
  5. โœ๏ธ (Optional) Edit accounts/<instagram_username>/prompt.txt if you want to customize the mission statement or objectives for the bot.
  6. โž• Add all of your images to the accounts/<instagram_username>/queue directory. The bot will select images from this directory to post on Instagram.
  7. ๐Ÿ“ท Give your images simple yet descriptive titles so the bot knows what is in them (separate words with _) ie. photo_of_golden_gate_bridge.jpg
  8. ๐Ÿš€ Run the Instagram bot with the specified account directory and desired number of posts per day:
    python start_bot.py <instagram_username> <post_count>
  9. ๐Ÿ”„ Replace <instagram_username> with the appropriate Instagram username directory created by the initialize_bot.py script and <post_count> with the desired number of posts per day.
  10. Input the wrong api_key, username or password? Fix them at accounts/<instagram_username>/config.json
Sample
Image
modern_design.jpg

Sample Post:

Looking for ways to bring a modern touch to your home? Here are a few tips:

  • Incorporate clean lines and geometric shapes in your furniture and decor
  • Use a neutral color palette with pops of bold colors for contrast
  • Add light fixtures with a modern design to enhance the space

Follow us for more informative posts about architecture, interior design, gardening, and real estate. Don't forget to use these related hashtags in your posts to join the conversation: #griffith_partners #moderndesign #homedecor #interiordesign #architecture.

Coming Soon!

  • Support for twitter. Want other platforms? DM me on twitter @spacemonkeyai
  • AI Image generation

Notes

  • The Instagram bot app uses GPT-3.5-turbo and OpenAI's API to generate captions. Make sure you have a valid OpenAI API key.
  • The app is not responsible for any consequences of using the bot, such as Instagram account restrictions or bans. Use it at your own risk.

autogpt-social's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.