You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Marcus Noble 88cbbd17fc
Switched back to formatted message
4 months ago
.dockerignore Initial release 12 months ago
.gitignore Initial release 12 months ago
Dockerfile Initial release 12 months ago
LICENSE Initial release 12 months ago
Makefile Fix release task 6 months ago
README.md Added alertmanager payload parsing 7 months ago
alertmanager.go Updated alert manager handling 6 months ago
go.mod Added alertmanager payload parsing 7 months ago
go.sum Render formatting 7 months ago
main.go Added nexmo SMS parsing 4 months ago
nexmo.go Switched back to formatted message 4 months ago
payload.go Correctly get room ID 7 months ago

README.md

Tank

A webhook handler to send messages to a Matrix homeserver.

Example

curl -X "POST" "http://localhost:3000/" \
     -H 'Content-Type: application/json; charset=utf-8' \
     -d $'{
  "message": "Test webhook",
  "type": "text",
  "roomID": "example"
}'

Features

  • Send text messages to a room
  • Send notice messages to a room
  • Integrations:
    • Alertmanager - Use the /alertmanager endpoint

Building from source

With Docker:

make docker-build

Standalone:

make build

Contributing

If you find a bug or have an idea for a new feature please raise an issue to discuss it.

Pull requests are welcomed but please try and follow similar code style as the rest of the project and ensure all tests and code checkers are passing.

Thank you 💛

License

See LICENSE