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.
Metadata
Release files for matrix-rssbot 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| matrix_rssbot-0.1.9.tar.gz | 10.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| matrix_rssbot-0.1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.6 MB
Release files / matrix_rssbot-0.1.9.tar.gz
| Download URL | matrix_rssbot-0.1.9.tar.gz |
|---|---|
| Size | 10.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57a40ae693ff4133d493bb96be335b14073e7b239a3a9f6efa8a1c7ae8d90c8c
|
|
BLAKE2b-256 checksum How to use checksums |
9f0c71aee0535b100298e23cd34dd5275444d365a35fd11674ecc78625ffde29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.2
|
Release files / matrix_rssbot-0.1.9-py3-none-any.whl
| Download URL | matrix_rssbot-0.1.9-py3-none-any.whl |
|---|---|
| Size | 18.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
62034fbb9c21fed3c9ba4992ed6ac25963ea4965f8a118364ffee9c84a4e961d
|
|
BLAKE2b-256 checksum How to use checksums |
0a79760787e16d404e67b3d40913ad08ebdfdca7f407003a97c406f6505e02be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.2
|