Skip to content

Matrix feeder is a matrix bot that monitors defined channels for images and posts them to another channel.

License

Notifications You must be signed in to change notification settings

dragonchaser/matrix-feeder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

matrix-feeder

Matrix feeder is a matrix bot that monitors defined channels for media and posts them to another channel.

Why

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.

License

MIT see LICENSE file in this repository.

Install & Run

  • dependencies

    $> git clone https://github.com/dragonchaser/matrix-feeder
    $> cd matrix-feeder
    $> npm install
  • copy config/config-example.json to config/config.json & edit

    WARNING: 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!

Docker

run

  • 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

build

$> git clone https://github.com/dragonchaser/matrix-feeder
$> cd matrix-feeder
$> docker build -f docker/Dockerfile -t <imagename>:<tag> .

About

Matrix feeder is a matrix bot that monitors defined channels for images and posts them to another channel.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published