Generating and tweeting humorous rhyming quotes on programming topics using Gemini API, and as if they were said by a celebrity.
The list of celebrities was exported from IMDb's list of Top 1000 Actors and Actresses and stored here.
-
Put your API keys in environment variables or in the
application.propertiesfile. You would need to have Gemini API key and Twitter API keys. Refer to theapplication.propertiesfile to see the required properties. -
Build and run the application
make build make run
Note
This application is configured to work like a command line application, and running it in the dev mode or executing the application's JAR/executable would post the tweet.
The final tweet posted would look like this:
This old code, it runs so slow,
A tangled mess, where seeds don't grow.
But deep inside, a purpose lies,
Beneath the dust, a truth that never dies.
- as if by Kevin Costner
#quoteweaver #rhymingquotes #programmingquotes #project #quarkus
See my X profile for more such tweets.