Skip to content

vox-hunter/AI-Tweet-Generator

Repository files navigation

Tweet Generator

alt text

This is a Python-based application that generates tweets based on user input. It uses the Streamlit library to create a web-based user interface.

Getting Started

You can view my live site here

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

You need to have Python installed on your machine. You can download Python from here. This project also requires the following Python libraries:

  • Streamlit
  • fetch (a custom module in this project)

You can install these packages using pip:

pip install -r requirements.txt

Running the Application

To run the application, navigate to the project directory in your terminal and run the following command:

streamlit run main.py

Using the Tweet Generator

The Tweet Generator has three input fields:

  • Topic: Enter the topic of the tweet.
  • Mood: Enter the mood of the tweet.
  • Style: Enter the style of the tweet.
  • If you are a X premium user, make sure to toggle the premium limit. It changes the tweet limit from 280 characters to 25,000 characters
  • To generate a tweet in different language, fill the input field in the language you desire.

After filling in these fields, click the "Generate Tweet" button. The application will generate a tweet based on your inputs and display it on the screen. You can then post the generated tweet to Twitter by clicking the "Post Tweet" button.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Credits

  • Vox
  • Gemini 1.5 Flash LLM
  • Streamlit for deploying

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages