1
0 Comments

I created a Twitter bot that posts highlights from books

I created a Twitter bot, checkout https://twitter.com/_BookHighlights

It's a Twitter account that publishes my highlights from various books.

I'm a big readwise user and love using the product as a capture system for highlights.

I don't always review the highlights so I created a bot that grabs highlights from their API and publishes them on Twitter. I'm more likely to review highlights on my own Twitter timeline.

The implementation behind this is pretty simple. I have a scheduled AWS Lambda function that runs every 20 minutes and grabs a random highlight from readwise. The lambda function then creates an image with the relevant highlight and publishes it on Twitter.

I'm trying to monetize the account as well. I signed up as an Amazon affiliate and if a follower buys the book from the link posted on the tweet I will get a percentage of the sale.

on March 29, 2021