mirror of
https://github.com/minoplhy/scriptbox.git
synced 2024-12-05 01:46:57 +00:00
27 lines
495 B
Markdown
27 lines
495 B
Markdown
# 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
|
|
|
|
`-w` DISCORD_WEBHOOK_URL
|
|
|
|
`-s` summary, hsummary, vsummary
|
|
|
|
`-d` DAYS
|
|
|
|
`-g` 0, 1, 2, 3
|
|
|
|
`-h` TEXT, optional
|
|
|
|
`-i` SCALE
|
|
|
|
`-t` `enable Image Transparent`
|
|
|
|
## Image
|
|
![ScreenShot](assets/screenshot.png) |