GPTHotzo automatically generates and posts tweets using GPT 4.
- Clone the repository
- Install dependencies with
npm install
- Copy
.env.example
to.env
and fill in the values
GPTHotzo works in two steps: Generating the tweets and putting them in a queue-like file at tweets.json
and then tweeting them from that file one-by-one and removing them from there.
Both steps are designed to be able to run in parallel: You can let the tweet
cron run constantly and then run npm start
whenever you want to generate new tweets. New tweets will be added to the queue after the remaining tweets from previous runs.
npm start
- Create new tweets using the training tweets intraining-tweets.json
and insert them intotweets.json
npm run tweet
- Automatically tweet the tweets intweets.json
at the specified interval intweet.ts
npm run crossReference
- Remove tweets fromtweets.json
that are already intraining-tweets.json
MIT