Skip to content
AdemYahmadiPublic

About

The RSS reader that lives in your Slack sidebar.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

rssme

A tiny RSS/Atom to Slack notifier. Polls any feed on a schedule and posts new entries to a Slack channel with clean, formatted messages.

Features

  • Works with any RSS 2.0 or Atom feed
  • Deduplicates entries using a local SQLite database, so you never get the same notification twice
  • Nicely formatted Slack messages using Block Kit (header, context line with date & author, description, "View posting" button)

Requirements

Setup

git clone https://github.com/AdamYahmadi/rssme.git
cd rssme
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt

Configuration

All configuration is done via environment variables:

Variable Required Default Description
SLACK_WEBHOOK yes — Your Slack incoming webhook URL
FEED_URL yes — The RSS/Atom feed to poll
POLL_INTERVAL no 600 Seconds between checks
DB_PATH no seen.db Path to the SQLite dedup database
SUMMARY_LEN no 600 Max chars of description shown in Slack
NOTIFY_ON_FIRST_RUN no 0 Set to 1 to post all current entries on first run instead of silently marking them as seen

Run it

export SLACK_WEBHOOK="https://hooks.slack.com/services/XXX/YYY/ZZZ"
export FEED_URL="https://example.com/feed.xml"
python reader.py

The first run silently records all current entries as "already seen" so you don't get flooded. Every POLL_INTERVAL seconds after that, only genuinely new entries are posted to Slack.

Keeping it running

The script is a plain while True loop — it only works while the process is alive. A few ways to keep it running long-term:

  • Background service on your machine.
  • Free cloud host.
  • GitHub Actions on a cron.
  • A Raspberry Pi or any old machine you have lying around.
  • Just tmux / screen

About

The RSS reader that lives in your Slack sidebar.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages