Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yutotnh/notify-server
When a request is received, desktop notification of the contents is sent.
https://github.com/yutotnh/notify-server
actix-web clap rust serde
Last synced: about 2 months ago
JSON representation
When a request is received, desktop notification of the contents is sent.
- Host: GitHub
- URL: https://github.com/yutotnh/notify-server
- Owner: yutotnh
- Created: 2023-12-09T18:58:31.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-05T13:19:14.000Z (8 months ago)
- Last Synced: 2024-05-05T14:29:10.364Z (8 months ago)
- Topics: actix-web, clap, rust, serde
- Language: Rust
- Homepage:
- Size: 376 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Notify Server
When a request is received, desktop notification of the contents is sent.
## Usage
```text
Usage: notify-server.exe [PORT]Arguments:
[PORT] The port to listen on [default: 12413]Options:
-h, --help Print help
-V, --version Print version
```## Example
### Start Server (Windows)
```console
./notify-server.exe # default port: 12413
```### Client sends notification
```console
curl -G http://localhost:12413/ --data-urlencode "summary=Hello" --data-urlencode "body=World"
```### Server-side desktop notification
![notifycation sample](./image/notification-sample.png)