Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/n7st/rssirc
rssirc is an IRC bot which follows RSS feeds.
https://github.com/n7st/rssirc
golang irc rss
Last synced: about 21 hours ago
JSON representation
rssirc is an IRC bot which follows RSS feeds.
- Host: GitHub
- URL: https://github.com/n7st/rssirc
- Owner: n7st
- License: mit
- Created: 2020-07-11T11:02:29.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-16T22:59:29.000Z (12 months ago)
- Last Synced: 2024-06-20T13:30:02.461Z (6 months ago)
- Topics: golang, irc, rss
- Language: Go
- Homepage:
- Size: 4.47 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# rssirc
`rssirc` is an IRC bot which follows RSS feeds.
## Installation
### Using a pre-compiled binary
Download a binary for your system from the
[releases page](https://github.com/n7st/rssirc/releases/).## Configuration
### Linux
Configuration is read from `$HOME/.config/netsplit/rssirc/config.yaml`. If you
are not providing a custom filename, this file must exist.### Example configuration
```yaml
log_level: info
irc:
channels:
- "#firstchannel"
- "#secondchannel"
server: irc.snoonet.org
port: 6697
ident: rssbottest
max_reconnect: 3
modes: +B
nickname: rssbottest
nickserv_account: my-nickserv-account
nickserv_password: my-nickserv-password
use_tls: true# Additional options:
# debug: true # Enable IRC debugging
rss:
-
feed_url: https://www.nasa.gov/rss/dyn/breaking_news.rss
# poll_delay is in minutes and must be 1 or greater.
# The default is hourly.
poll_delay: 60
# max_history defines the cached RSS feed item length
max_history: 3
# channels defines which IRC channels notifications for new feed items
# will be sent to
channels:
- "#firstchannel"
- "#secondchannel"
```## Running
```
% rssirc
```### Optional custom config filename
```
% rssirc path/to/config.yaml
```## Limitations
* Only new items from followed RSS feeds will be displayed in the IRC channels.
This is by design and means that the bot can safely be restarted without
duplicate notifications for new feed items.## License
MIT. See [LICENSE.txt](./LICENSE.txt).