Another RSS to Mastodon bot.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tastytea 26000270e7
Version bump 0.9.0.
3 months ago
src Replaced for-loops with std::transform, changed a variable name. 3 months ago
.drone.yml Ported to mastoson-cpp 0.105.0. 3 months ago
.gitignore initial commit 1 year ago
CMakeLists.txt Version bump 0.9.0. 3 months ago
LICENSE initial commit 1 year ago Ported to mastoson-cpp 0.105.0. 3 months ago
watchwords.json more filtering 1 year ago

mastorss dumps RSS feeds into a mastodon account.
Supports RSS 2.0 but not RSS 0.92. Does not support Atom at the moment.

<item>s in feeds must have <link>, <title> and <description>.

The documentation is far from complete, sorry.



  • Tested OS: Linux
  • C++ compiler (tested: gcc 5 / 6 / 7 / 8)
  • cmake (tested: 3.9 / 3.12)
  • boost (tested: 1.65 / 1.62)
  • curlpp (tested: 0.8)
  • mastodon-cpp (at least:
  • jsoncpp (tested: 1.8 / 1.7)

Get sourcecode

Development version

git clone


mkdir build
cd build/
cmake ..


Install with make install.


Put watchwords.json into ~/.config/mastorss/. Launch with profile name. The
first occurence of every watchword in an RSS item will be turned into a hashtag.
For profile-specific watchwords see the example in watchwords.json. In the
first run only the newest entry is tooted.

The profile can’t be named “global”.

Example config file


    "example": {
        "instance": "",
        "feedurl": "https:\/\/\/feed.rss",
        "access_token": "123abc",
        "max_size": 400,
        "titles_only": false,
            "If the entry starts with this, skip it",
            "Skip me too!"
            "delete this",
            "<p>[Rr]ead more(\.{3}|…)</p>"
        "append": "#bot"

Error codes

Same as

Code Explanation
1 Could not send post for unknown reasons


Copyright © 2018, 2019 tastytea <>.
License GPLv3: GNU GPL version 3 <>.
This program comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.