Skip to content

Commit

Permalink
Add macOS + iphone example
Browse files Browse the repository at this point in the history
  • Loading branch information
mwakaba2 committed Oct 7, 2021
1 parent b70eac0 commit 8af63d2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

*Image when recieving a notification on a mobilephone using ntfy*

<img width="324" height="318" src="static/images/via_ntfy_sample.png">
<img width="324" height="318" src="static/images/pushover_android_example.png">
<img width="324" src="static/images/pushover_iphone_example.jpeg">

## Quick demos and tutorials :notebook:

Expand Down Expand Up @@ -131,14 +132,16 @@ Install `ntfy`.
```console
$ pip install ntfy
```
To configure ntfy, please check out [the ntfy official configuration docs](https://ntfy.readthedocs.io/en/latest/#configuring-ntfy)
You can find configuration instructions for different operating systems in [the ntfy official configuration docs](https://ntfy.readthedocs.io/en/latest/#configuring-ntfy)

For example, if your OS is Linux and you want to select `pushover` for the backend, set configuration as follows.
For example, if you want to get notifications via the [Pushover mobile app](https://pushover.net/), make sure to create the configuration file in the right location and select `pushover` for the backend.

```console
$ vim ~/.config/ntfy/ntfy.yml
$ vim ~/.config/ntfy/ntfy.yml # Linux
$ vim ~/Library/Application Support/ntfy/ntfy.yml # macOS
```

**Note:** You'll need to first install the Pushover mobile app and create an account to generate your user key.
```yaml
backends:
- pushover
Expand Down
File renamed without changes
Binary file added static/images/pushover_iphone_example.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8af63d2

Please sign in to comment.