Do you want to get a summary of the most recent news from an RSS or Atom feed? Do you want to see them in Markdown format, in a Microsoft Word docuemn

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-02-11 14:30:02

Do you want to get a summary of the most recent news from an RSS or Atom feed? Do you want to see them in Markdown format, in a Microsoft Word docuemnt, or on an e-ink device? Here's the tool for you.

This application is deployed as an AWS Lambda function. The function downloads the most recent entries from an RSS or Atom feed, downloads the linked content, extracts text, and makes a summary. The output is written in JSON format in an S3 bucket. The S3 object allows public reads so that it can be easily downloaded on an external device.

The URL of the RSS feed, the cron schedule to run the function, and special instructions that can be added to the summarization prompt can be edited in the AWS SAM temnplate file (template.yaml).

The run.sh script uses Pandoc to convert the Markdown output of the markdown_news.py script to HTML, Microsoft Word, and PDF. Follow the instructions on the Pandoc site to install the tool.

Most of the MicroPython code in the RaspberryPiPico folder is specific to the e-ink display model. More information on the e-ink display can be found here.

Leave a Comment