|lub 7b99ba0d2b||2 weeks ago|
|.gitignore||4 weeks ago|
|Dockerfile||3 weeks ago|
|LICENSE.md||3 weeks ago|
|README.md||2 weeks ago|
|requirements.txt||3 weeks ago|
|scrape.py||2 weeks ago|
Matrix Room: #snowstorm-matrix:imninja.net
This bot will send news about Blizzard games to Matrix room they got invited to.
Information about which URLs already got posted is also saved into the admin room via state events.
These bots are publicly hosted. Just invite them to a room and they should start doing their job.
Just kick them, when you don't want to receive updates anymore.
First create all users you want to use.
Next you have to create a new room you can use as admin room. You have to specify the room id of that room later. Invite all bot users to that room.
Additionally you have to allow every user to post to the cache state:
Additional bot users can be added via register -> invite to admin room -> access token file.
After initial configuration you can run it manually:
docker run --rm \ -v $(pwd)/heroesofthestorm:/heroesofthestorm:ro \ -e HOMESERVER=https://example.org -e MIXD=@heeeroooooooes:example.org -e ACCESSTOKEN_FILE=/heroesofthestorm \ -e ADMIN_ROOM='!iesofojasief90429ewiofj:example.org' \ -e CATEGORY=heroesofthestorm snowstorm-matrix
Or via docker-compose/swarm:
snowstorm-matrix_overwatch: image: snowstorm-matrix deploy: replicas: 1 secrets: - snowstorm-matrix_overwatch environment: - HOMESERVER=http://synapse:8008 - ACCESSTOKEN_FILE=/run/secrets/snowstorm-matrix_overwatch - MXID=@bastionrulez:example.com - ADMIN_ROOM=!jjpPluoxZoAOBQeYer:example.org - CATEGORY=overwatch snowstorm-matrix_worldofwarcraft: image: snowstorm-matrix deploy: replicas: 1 secrets: - snowstorm-matrix_worldofwarcraft environment: - HOMESERVER=http://synapse:8008 - ACCESSTOKEN_FILE=/run/secrets/snowstorm-matrix_worldofwarcraft - MXID=@forthehorde:example.com - ADMIN_ROOM=!jjpPluoxZoAOBQeYer:example.org - CATEGORY=worldofwarcraft