An open API service indexing awesome lists of open source software.

https://github.com/jessielw/gotify-cli-rs

Basic CLI written in rust to send messages to your Gotify notification server
https://github.com/jessielw/gotify-cli-rs

basic cli client fast gotify message notification rust send

Last synced: 3 days ago
JSON representation

Basic CLI written in rust to send messages to your Gotify notification server

Awesome Lists containing this project

README

          

# Gotify-CLI

A CLI to send notifications to Gotify supporting proper markdown built in rust

## Usage

```
Light CLI tool to send notifications to your Gotify server

Usage: gotify-cli-rs [OPTIONS] --server --app-key --title --message

Options:
-s, --server Gotify server URL
-a, --app-key Gotify app token
-t, --title Title of the message
-m, --message Message to send (supports markdown)
-p, --priority Priority level [default: 5]
-h, --help Print help
-V, --version Print version
```

## Example Usage

```
gotify-cli-rs --server "https://gotify.randomserver.com" --app-key "APPLICATION_KEY" --title "Some Notification" --message "**Alert!!**\nYou have an alert!" --priority 8
```

## Markdown Information

Supports correctly sending markdown to the Gotify server. You should use `\n` for line breaks and gotify-cli-rs will automatically take care of spacing/proper line breaks. See [docs](https://github.github.com/gfm/) for specific markdown version supported by Gotify.