Mattereddit is a Matterbridge API plugin allowing you to connect Reddit group chats to the various chat services supported by Matterbridge.
This version has been rewritten in Python, and no longer needs a headless browser.
Matterbridge and Mattereddit are used by BHJ to bridge our Reddit, Discord, and IRC chatrooms.
[api]
[api.bhjgeneral]
BindAddress="127.0.0.1:4242"
Token="MATTERBRIDGE_TOKEN"
Buffer=1000
RemoteNickFormat="{NICK}"
...
[[gateway]]
name="bhjgeneral"
enable=true
[[gateway.inout]]
account="api.bhjgeneral"
channel="api"
Add these to your existing Matterbridge config to set up an API instance that Mattereddit can connect to.
{
"reddit":
{
"username": "BHJMatterbridge",
"password": "reddit password",
"room": "https://www.reddit.com/chat/r/bonehurtingjuice/channel/814473_c092110c9476c2129151c240b7ccd2baa3af6b7d"
},
"matterbridge":
{
"api": "http://127.0.0.1:4242",
"token": "MATTERBRIDGE_TOKEN",
"gateway": "bhjgeneral"
}
}
This file should be in Mattereddit's working directory.