rss-wmb

command module
v0.0.0-...-ebd62ec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2026 License: LGPL-3.0 Imports: 5 Imported by: 0

README

Quite simply, this takes RSS feeds and checks them often, then sends the title and link to a channel on IRC through my wmb bot.

TODO

  • Check feeds in a slightly more staggered manner
  • Flesh out this README more
  • Write tests
    • Test wmb package
    • Test rss package
      • CheckFeeds function
      • ScheduleFeeds function
    • Test db package
    • Test env package
  • Probably a race condition in CleanupDB with the scheduled feed check in terms of the database locking - should check this out

Enviorment Variables

  • FEED_URLS - A comma seperated list of RSS feed urls
  • FEED_CHANNELS - A comma seperated list of IRC channels to send the feed to, matching up exactly in position with FEED_URLS (ie, first feed, first item in FEED_CHANNELS)
  • PASSWORD - The password to wmb
  • STATEFILE - The sqlitedb file to store the state of the feeds in

Why?

I no longer wanted to run any sort of RSS feed monitoring software, and tend to live in IRC. Also wanted to learn to do more things in Go, and plugin to my wmb project.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL