2023-10-31 07:32:06 +00:00
|
|
|
# VNSTATI webhook
|
|
|
|
|
|
|
|
A simple and maybe effective script to generate vnstati graph and send it to your discord via webhook!
|
|
|
|
|
|
|
|
# How to run?
|
|
|
|
```
|
|
|
|
curl -sL https://github.com/minoplhy/scriptbox/raw/main/vnstati_webhook/sti_discord.sh | bash -s -- -w WEBHOOK_URL ARGUMENTS GOES HERE!
|
|
|
|
```
|
|
|
|
|
|
|
|
## Arguments
|
2023-10-31 07:33:36 +00:00
|
|
|
|
2023-10-31 07:32:06 +00:00
|
|
|
`-w` DISCORD_WEBHOOK_URL
|
2023-10-31 07:33:36 +00:00
|
|
|
|
2023-10-31 07:32:06 +00:00
|
|
|
`-s` summary, hsummary, vsummary
|
2023-10-31 07:33:36 +00:00
|
|
|
|
2023-10-31 07:32:06 +00:00
|
|
|
`-d` DAYS
|
2023-10-31 07:33:36 +00:00
|
|
|
|
2023-10-31 07:32:06 +00:00
|
|
|
`-g` 0, 1, 2, 3
|
2023-10-31 07:33:36 +00:00
|
|
|
|
2023-10-31 07:32:06 +00:00
|
|
|
`-h` TEXT, optional
|
2023-10-31 07:33:36 +00:00
|
|
|
|
2023-10-31 07:32:06 +00:00
|
|
|
`-i` SCALE
|
2023-10-31 07:33:36 +00:00
|
|
|
|
2023-10-31 07:32:06 +00:00
|
|
|
`-t` `enable Image Transparent`
|
|
|
|
|
|
|
|
## Image
|
|
|
|
![ScreenShot](assets/screenshot.png)
|