Show HN: Crystal Sage, I got tired of fighting with webhooks

github.com

1 points by olivato 3 hours ago

Look, I just wanted to send logs to Telegram, Discord, and Slack without having to always spend 15min reading docs.

Usually it goes as following: Discord wants the webhook in format A Telegram needs a bot token AND a chat ID Slack wants everything wrapped in JSON origami

And the docs for all three look like they were written by different species.

I looked at existing solutions. They all seemed to require too much config or they were part of a bigger alerting software. I wanted something stupid simple. So I made Crystal Sage. It's a 14.8MB Go binary. Yes, I KNOW. 14MB just to make HTTP requests.

You only configure one single config.yaml

Then curl ( or use whatever thing to make a http request ) once and it hits everything:

curl -X POST localhost:8080/prod-alerts -d "content=Server is on fire "

That's it. One YAML file. All your messaging platforms. Multiple channels per platform if you want.

Docker: https://hub.docker.com/repository/docker/olivatooo/crystal-s... GitHub: https://github.com/olivatooo/crystal-sage