Webhook Notifications
You can goshs
let you send notifications using webhooks. The following Webhook Endpoints are supported:
- Discord
- Mattermost
- Slack
Use the following combination of arguments to use webhooks:
Webhook options:
-W, --webhook Enable webhook support (default: false)
-Wu, --webhook-url URL to send webhook requests to
-We, --webhook-events Comma separated list of events to notify
[all, upload, delete, download, view, verbose] (default: all)
-Wp, --webhook-provider Webhook provider
[Discord, Mattermost, Slack] (default: Discord)
An example for Discord would be:
goshs -Wh -Wu https://discord.com/api/webhooks/<id>/<secret>
Anoter example for Slack would be:
goshs -Wh -Wu https://hooks.slack.com/services/<id>/<id>/<id> -Wp slack
You can control which events you want to get notified for. For example use -We upload,delete
to be notified about upload and deletion events only.