https://github.com/averagemarcus/tank
https://github.com/averagemarcus/tank
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/averagemarcus/tank
- Owner: AverageMarcus
- License: mit
- Created: 2021-07-07T11:02:16.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-04-25T21:02:54.000Z (about 3 years ago)
- Last Synced: 2025-02-12T11:24:15.944Z (over 1 year ago)
- Language: Go
- Size: 54.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tank
A webhook handler to send messages to a Matrix homeserver.
## Example
```sh
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:
```sh
make docker-build
```
Standalone:
```sh
make build
```
## Contributing
If you find a bug or have an idea for a new feature please [raise an issue](issues/new) 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](LICENSE)