You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> ntfy brings notification to your shell. It can automatically provide desktop notifications when long running commands finish or it can send push notifications to your phone when a specific command finishes.
117
+
> ntfy brings notification to your shell. It can automatically provide desktop notifications when long running code executions finish or it can send push notifications to your phone when a specific execution finishes.
118
118
119
-
### How to work
119
+
### How to enable notifications via `ntfy`
120
120
121
121
Install `ntfy`.
122
122
123
123
```console
124
124
$ pip install ntfy
125
125
```
126
-
Configure ntfy in accodance with [the ntfy official document](https://ntfy.readthedocs.io/en/latest/#configuring-ntfy)
126
+
To configure ntfy, please check out [the ntfy official configuration docs](https://ntfy.readthedocs.io/en/latest/#configuring-ntfy)
127
+
128
+
For example, if your OS is Linux and you want to select `pushover` for the backend, set configuration as follows.
127
129
128
130
```console
129
131
$ vim ~/.config/ntfy/ntfy.yml
@@ -133,7 +135,7 @@ $ vim ~/.config/ntfy/ntfy.yml
133
135
backends:
134
136
- pushover
135
137
pushover:
136
-
user_key: hunter2
138
+
user_key: YOUR_PUSHOVER_USER_KEY
137
139
```
138
140
139
141
Change the notifications [settings](#settings). Append `"ntfy"` into `notification_methods` attribute.
0 commit comments