This bot allows one to get RSS feed messages through the Matrix messenger protocol.
npm
npx
node
- Matrix
- Create user account on a server and add user and password to the
settings.json
- Create or join a room with that account
- Create user account on a server and add user and password to the
- settings.json
- Set the sync interval to rerun every x hours
- Add a server and room url
- In the "emitter" array one can add as many RSS emitter as desired (There are some predefined ones, but they are just for reference)
- Run
- Default:
cd rss-fetch && npm install && npm start
Build and run with docker:docker build -t rssbot .
docker run -d -v /path/to/Matrix-RSS-Feed/:/matrix rssbot
- Default:
- One can also emit different RSS feeds to other rooms by adding an object to "rssRooms"
- Customize the messages you receive by editing the
message-template.html
, as see in the "Template" section.
On the first time every fetched RSS feed will be sent to you. The next ones will only include new ones.
Available RSS attributes that are used as id in the template:
- "title"
- "categories"
- "content
- "contentSnippet
- "creator"
- "enclosure"
- "guid"
- "isoDate"
- "link"
- "pubDate"
The first two will be filled with title and creator (if exists in the RSS). The third one won't be filled, as the class isn't mentioned.
<h2 class="parser" id="title"></h2>
<p class="parser" id="creator"></p>
<h3 id="link">Text<h3>
- Docker support
Make it possible to use rooms with encryption (as it is a core feature of Matrix)(somehow working)Find a way to close the connection of the client after every message is sent(connection is reused)- Fix encoding issue of rss-parser
Integrate timestamp anchor to local storage(working)General testing for cross server usage(working)