Matrix feeder is a matrix bot that monitors defined channels for media and posts them to another channel.
I have lots of rooms where hobbyists post railway related photos and videos, usually there is lots of noise between them so I decided to channel these into one room to be able to see them as a feed.
MIT see LICENSE file in this repository.
-
dependencies
$> git clone https://github.com/dragonchaser/matrix-feeder $> cd matrix-feeder $> npm install
-
copy
config/config-example.json
toconfig/config.json
& editWARNING:
targetRoomId
must not be present in the list of monitored Rooms, otherwise this will result in loops & lots of spam. -
run
$> node feeder.js
-
invite the bot to the channels of your choice
NOTE: The bot will only relay media if the room is listet in the
monitorChannels
field in the config!
-
x86_64
$> docker run \ -v/path/to/you/config.json:/matrix-feeder/config/config.json \ dragonchaser/matrix-feeder:latest
-
arm32v7 (raspberry pi 2 & 3)
$> docker run \ -v/path/to/you/config.json:/matrix-feeder/config/config.json \ dragonchaser/matrix-feeder:latest-arm32v7
$> git clone https://github.com/dragonchaser/matrix-feeder
$> cd matrix-feeder
$> docker build -f docker/Dockerfile -t <imagename>:<tag> .