Skip to content

Instantly share code, notes, and snippets.

Avatar

Travis Newman travnewmatic

View GitHub Profile
View sendmatrix
#!/bin/bash
# Adjust homserver, room, and accesstoken to your particular setup
# Script is expecting data to be piped in on STDIN
# Example:
# echo "some text" | sendmatrix
msgtype=m.text
homeserver=<homeserver>
room=<room id>
You can’t perform that action at this time.