Simple RSS feed bridge for Matrix
Project description
Matrix-RSSBot
This is a simple, no-database RSS/Atom feed bot for Matrix. It is designed to be easy to use and lightweight.
Installation
pip install matrix-rssbot
Create a configuration file in config.ini
based on the config.dist.ini provided in the repository.
At the very least, you need to provide the following configuration:
[Matrix]
Homeserver = http://your-homeserver.example.com
AccessToken = syt_YourAccessTokenHere
We recommend using pantalaimon as a proxy, because the bot itself does not support end-to-end encryption.
You can start the bot by running:
rssbot
Usage
The bot will automatically join all rooms it is invited to.
You have to ensure that the bot has the necessary permissions to send state events and messages in the room. Regular users cannot send state events, so you have to either raise the bot user's power level (Moderator
level should do) or lower the power level required to send state events.
You can now add a feed to the bot by sending a message to the bot in the room you want the feed to be posted in. The message should be in the following format:
!rssbot addfeed https://example.com/feed.xml
To list all feeds in a room, you can use the following command:
!rssbot listfeeds
Finally, to remove a feed, you can use the following command:
!rssbot removefeed https://example.com/feed.xml
Alternatively, you can use the number of the feed in the list, which you can get by using the listfeeds
command instead of the URL.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file matrix_rssbot-0.1.9.tar.gz
.
File metadata
- Download URL: matrix_rssbot-0.1.9.tar.gz
- Upload date:
- Size: 10.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57a40ae693ff4133d493bb96be335b14073e7b239a3a9f6efa8a1c7ae8d90c8c |
|
MD5 | d0c0231eb5d09ac8874b3c642ffe651b |
|
BLAKE2b-256 | 9f0c71aee0535b100298e23cd34dd5275444d365a35fd11674ecc78625ffde29 |
File details
Details for the file matrix_rssbot-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: matrix_rssbot-0.1.9-py3-none-any.whl
- Upload date:
- Size: 18.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62034fbb9c21fed3c9ba4992ed6ac25963ea4965f8a118364ffee9c84a4e961d |
|
MD5 | 434d5833255590f4427fa9ef9f1f3585 |
|
BLAKE2b-256 | 0a79760787e16d404e67b3d40913ad08ebdfdca7f407003a97c406f6505e02be |