A automated twitter persona agent powered by GenAI who tweets twice a day.
Go to the settings section of you forked repository.
Navigate to Secrets and variable on the left bar and click Actions.
Add the following environment with exact name.
For accessing twitter account to tweets
For LLM agent to decide what to tweet (you can configure it in prompt.py file)
For more info on how to access secret panel, read the docs
Clone the repository
git clone https://github.com/Mohwit/TwitterTron.git
After cloning the repository, install the required packages using the following command:
pip install -r requirements.txt
Create a .env file and add you secret varibles there with following name:
Run the main.py file with the command
python main.py
Note: It will tweet each time you will run the main.py file.