Archived
1
0
Fork 0
This repository has been archived on 2024-01-27. You can view files and clone it, but cannot push or open issues or pull requests.
dockerfiles/feed-to-muc/README.md
2019-07-28 15:05:21 +02:00

971 B

feed-to-muc: Bridge a rss-feed to a xmpp muc

Run Martin Doschs Feed-to-MUC bridge inside a docker container. https://salsa.debian.org/mdosch-guest/feed-to-muc

This image expects the following configuration file at /.config/feed-to-muc/config.json

{
"ServerAddress": "example.com:5222",
"BotJid":        "feedbot@example.com",
"Password":      "ChangeThis!",
"Muc":           "muc-to-feed@conference.example.com",
"MucNick":       "feedbot",
"Contact":       "xmpp:botadmin@example.com",
"MaxArticles":    5,
"RefreshTime":    30,
"NoExcerpt":     false,
"Quiet":         false,
"Filter":        [ "submitted by", "[link]" ],
"Feeds":         [ "https://www.debian.org/News/news",
                 "https://www.debian.org/security/dsa-long",
                 "https://www.reddit.com/r/FDroidUpdates/new.rss" ]
}

Usage

# sudo docker run -d \
    -v /path/to/config.json:/.config/feed-to-muc/config.json
    elfrinjo/feed-to-muc:latest