Hacker News daily digest with AI-generated summary of each article

Some time ago I created a simple workflow that was sending links from Hacker News daily. Unfortunately, RSS from YCombinator (hosting hacker news) was very simple - there was no description, just a title and a link for each item.

I decided to use ChatGPT API (from OpenAI) to read articles for me. As ChatGPT doesn’t have internet access, I download the articl first, then clean the HTML code out and send the remaining text to OpenAI API.

Then I combine it with original data and format it nicely and send it by email using SMTP.

It is triggered daily.

You will need:

  • OpenAI API key
  • SMTP account setup