Skip to content

A Docker-based server for sending custom notifications from the RaspberryPi Newsfeed with the help of ChatGPT

License

Notifications You must be signed in to change notification settings

pschuelpen/raspberrypi-news-notification-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RaspberryPi News Notification Server

Logo

image image image License

If you want to know about the latest news from RaspberryPi this project might be for you!!

This Docker container continuously monitors the RSS feed of the RaspberryPi Newsfeed, meticulously analyzing any changes as they occur. By leveraging the capabilities of ChatGPT, it provides you with instant news notifications, ensuring you stay informed with the content that matters most to you. Whether it's new hardware, important announcements, or ryour favorite show, this system prioritizes the information you care about, delivering it directly to you in a concise and user-friendly format.

Installation

The installation process is straightforward. Begin by creating the config.yaml file using the provided template. In this file, you'll need to specify three essential fields:

  • NTFY-Topic: This field configures the notifications sent to your phone via the ntfy service. Learn more about NTFY here
  • OpenAI API Key: This key is necessary for generating summaries and enabling decision-making.
  • Topic Priorities: Specify your preferred topics for updates, such as new product launches. You can provide guidance to the AI about the topics you want to follow.

Build Container:

Simply enter the following command into your terminal shell to build the docker image

sudo docker build -t rpi_newsroom_server .

Run Container:

After that run the container using this command and you are good to go

sudo docker run -d --restart=unless-stopped --name=rpi_newsroom_notification_server rpi_newsroom_server 

ChatGPT Integration

Please note that the decision to send a notification is made by ChatGPT. While it typically makes accurate decisions, there may be instances where notifications are sent more frequently than desired, or topics may be highlighted that were not specifically targeted. However, in my experience using the server, I have never received an incorrect notification, and ChatGPT does an excellent job of summarizing the news!

Additional

In the main.py code, you'll find several adjustable settings that you can modify. While this script is tailored specifically for monitoring the RaspberryPi Newsroom RSS feed, it can easily be adapted to read a variety of other RSS feeds. I focused on this particular feed for simplicity and to cater to a community of fellow RaspberryPi News enthusiasts like myself :)

And yes this Repository has a Twin The Apple Newsroom Notification Server to keep you updated with the latest Apple Products

I hope you have fun with this !

About

A Docker-based server for sending custom notifications from the RaspberryPi Newsfeed with the help of ChatGPT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published