Skip to content

Commit 545350f

Browse files
committed
version update
1 parent ae8f638 commit 545350f

File tree

2 files changed

+30
-20
lines changed

2 files changed

+30
-20
lines changed

README.md

+28-18
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ Notify is a Go-based assistance package that enables you to stream the output of
3535
# Features
3636

3737
- Supports for Slack / Discord / Telegram
38-
- Supports for Pushover / Email / Teams
39-
- Supports for File / Pipe output
38+
- Supports for Pushover / Email
39+
- Supports for Microsoft Teams / Google Chat
40+
- Supports for File / Pipe input
4041
- Supports Line by Line / Bulk Post
4142
- Supports using Single / Multiple providers
4243
- Supports Custom Web-hooks
@@ -51,20 +52,23 @@ notify -h
5152

5253
This will display help for the tool. Here are all the switches it supports.
5354

54-
| Flag | Description | Example |
55-
|--------------------|----------------------------------------------------|------------------------------|
56-
| `-config` | Notify configuration file | `notify -config config.yaml` |
57-
| `-silent` | Don't print the banner | `notify -silent` |
58-
| `-version` | Show version of notify | `notify -version` |
59-
| `-v` | Show Verbose output | `notify -v` |
60-
| `-no-color` | Don't Use colors in output | `notify -nc` |
61-
| `-data` | File path to read data from | `notify -i test.txt` |
62-
| `-bulk` | Read and send data in bulk | `notify -bulk` |
63-
| `-char-limit` | Character limit for message (default 4000) | `notify -cl 2000` |
64-
| `-provider-config` | provider config path | `notify -pc provider.yaml` |
65-
| `-provider` | provider to send the notification to (optional) | `notify -p slack,telegram` |
66-
| `-id` | id to send the notification to (optional) | `notify -id recon,scans` |
67-
| `-rate-limit` | maximum number of HTTP requests to send per second | `notify -rl 1` |
55+
| Flag | Description | Example |
56+
|--------------------|----------------------------------------------------|---------------------------------------|
57+
| `-bulk` | enable bulk processing | `notify -bulk` |
58+
| `-char-limit` | max character limit per message (default 4000) | `notify -cl 2000` |
59+
| `-config` | notify configuration file | `notify -config config.yaml` |
60+
| `-data` | input file to send for notify | `notify -i test.txt` |
61+
| `-delay` | delay in seconds between each notification | `notify -d 2` |
62+
| `-id` | id to send the notification to (optional) | `notify -id recon,scans` |
63+
| `-msg-format` | add custom formatting to message | `notify -mf Hey {{data}}` |
64+
| `-no-color` | disable colors in output | `notify -nc` |
65+
| `-provider-config` | provider config path | `notify -pc provider.yaml` |
66+
| `-provider` | provider to send the notification to (optional) | `notify -p slack,telegram` |
67+
| `-proxy` | http proxy to use with notify | `notify -proxy http://127.0.0.1:8080` |
68+
| `-rate-limit` | maximum number of HTTP requests to send per second | `notify -rl 1` |
69+
| `-silent` | enable silent mode | `notify -silent` |
70+
| `-verbose` | enable verbose mode | `notify -version` |
71+
| `-version` | display version | `notify -version` |
6872

6973

7074
# Notify Installation
@@ -109,8 +113,7 @@ telegram:
109113
telegram_api_key: "XXXXXXXXXXXX"
110114
telegram_chat_id: "XXXXXXXX"
111115
telegram_format: "{{data}}"
112-
# https://core.telegram.org/bots/api#formatting-options
113-
telegram_parsemode: "Markdown" # None/Markdown/MarkdownV2/HTML
116+
telegram_parsemode: "Markdown" # None/Markdown/MarkdownV2/HTML (https://core.telegram.org/bots/api#formatting-options)
114117

115118
pushover:
116119
- id: "push"
@@ -131,6 +134,13 @@ smtp:
131134
smtp_format: "{{data}}"
132135
subject: "Email subject"
133136

137+
googlechat:
138+
- id: "gc"
139+
key: "XXXXXXXX"
140+
token: "XXXXXX"
141+
space: "XXXXXX"
142+
google_chat_format: "{{data}}"
143+
134144
custom:
135145
- id: webhook
136146
custom_webook_url: http://host/api/webhook

internal/runner/banner.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ const banner = `
88
__ _ ___
99
___ ___ / /_(_) _/_ __
1010
/ _ \/ _ \/ __/ / _/ // /
11-
/_//_/\___/\__/_/_/ \_, / v1.0.2
11+
/_//_/\___/\__/_/_/ \_, / v1.0.3
1212
/___/
1313
`
1414

1515
// Version is the current version
16-
const Version = `1.0.2`
16+
const Version = `1.0.3`
1717

1818
// showBanner is used to show the banner to the user
1919
func showBanner() {

0 commit comments

Comments
 (0)