A twitter bot that tweets words along with their definition(s) everyday in the form of a beautiful looking image card.
- A word and it's definition are randomly generated through the https://www.wordsapi.com/ api.
- This generated information is then substituted into HTML template layouting a clean and minimalistic social media card.
- This HTML card is then rendered into a PNG image via the https://htmlcsstoimage.com/ api.
- That image is then tweeted via the Twitter API.
- A cron job is setup to complete this process once everyday at 12PM (EDT).
Note: Rate limits include 50 images renders a month and 1500 word generations a day on the free plan(s) for their respective API's.
This twitter bot is located on the twitter handle @word_of_day_
. If you are interested in expanding your vocabulary every day by doing nothing more than just browsing twitter, consider giving it a follow.