DEV Community

Cover image for I built a tool that creates and posts AI content to social media automatically 🧌
Adheeban Manoharan
Adheeban Manoharan

Posted on

I built a tool that creates and posts AI content to social media automatically 🧌

I have always been intrigued by the idea of automating a social media handle. With the advent of LLMs, generating content has never been easier.

I wanted to experiment a little in this space and thus created LLM Influencer, A bot powered by OpenAI's GPT-3 and DALL-E 2 generative AIs.


πŸ’‘ How does it work?

LLM Influencer utilizes the power of AI to create thought-provoking daily content accompanied by visually appealing images and posts it to twitter on a daily basis. The type of content that gets generated are available as separate plug-and-play modules.


πŸš€ Features:

βœ… Generates daily motivational content for Twitter and other social media platforms.
βœ… Offers easy plug-and-play modules for different types of content generation.
βœ… Leverages ChatGPT and DALL-E 2 to provide creative and unique outputs.
βœ… Includes built-in scheduling for automatic posting at your desired time every day.
βœ… Provides email notifications to keep you informed in case of any job failures.

🧩 Currently Available Modules:

1️⃣ Quoter: Delivers motivational quotes paired with captivating images, designed to inspire and uplift you each day.
2️⃣ Tweet Storm: Explores various aspects of life through engaging tweet storms, offering valuable insights and perspectives.


I have been posting the generated content to my own twitter handle for while now, I have added some of the posts here.

I'll add the links for the repository and the twitter handle where I post the generated content.


Life is a journey between the bright marble of our dreams and the muddy realities of our days, but both are equally important. βœ¨πŸ§±πŸ’­ pic.twitter.com/yjPHfahtAr

β€” Adheeban Manoharan (@iamadhee_) June 16, 2023

GitHub logo iamadhee / llm-influencer

πŸŽ™ AI-driven social media content generation

LLM Influencer

Your AI-powered content generator

About

This project is an experimentation with AI, that aims on AI-Driven content generation. The aim is to be able to generate various types of content, such as podcasts, articles, and more using AI.

Installation

  1. Clone the repository
  2. Install the required dependencies using poetry install
    • This project uses poetry for dependency management, so make sure you have it installed. If not, you can install it using pip install poetry

Usage

  1. Create a .env file in the root directory of the project, there is an example .env.example file provided. Fill in the required environment variables.
  2. If you want, you can play around with the config.toml file to change the configurations of the content. Each type of content has its own section in the config file.
  3. To create content of your choice, run the following command
    python generate.py <type> <description>
    Enter fullscreen mode Exit fullscreen mode
    • <type> is…

Kindly have a look and share your valuable thoughts.

Top comments (4)

Collapse
 
moopet profile image
Ben Sinclair

Is the image related to the random text content in any way? If it is, you could improve this project by adding alt text describing either what's in the image or what prompt was used to generate it.

Collapse
 
iamadhee profile image
Adheeban Manoharan

The prompt for the image is generated by ChatGPT based on the generated quote. So yes, the quote and the image are related. This is the prompt that is being used right now. Alt text sounds great. Will add that one.

Collapse
 
syeo66 profile image
Red Ochsenbein (he/him)

Great... another spam machine...

Collapse
 
iamadhee profile image
Adheeban Manoharan

Sorry that you feel that way. I see this as more of an experiment with an AI that could actually mirror an influencer.