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

https://github.com/benhid/ghostie

Notifies you when long-running commands complete
https://github.com/benhid/ghostie

nodejs notifications socket-io

Last synced: 2 months ago
JSON representation

Notifies you when long-running commands complete

Awesome Lists containing this project

README

          

# 👻.link

Use ghostie to receive desktop notifications when any command finishes.

Grab an url or use your own (valid UUID v4) to get started:

```console
$ echo $(curl -sL https://ghostie.link)
https://ghostie.link/...
```

## How it works

ghostie establish a WebSocket connection between the server and the client via [socket.io](https://socket.io).
Submitted notifications (POSTed) are broadcasted to all connected clients and persisted in the local database.

If the user granted permission, a desktop notification is displayed using the [Notification API](https://developer.mozilla.org/es/docs/Web/API/notification).

## Run locally

Clone the repository and run the following commands:

Using node:

```console
$ npm i
$ npm start
```

Using Docker:

```console
$ docker build -t benhid/ghostie .
$ docker run -p 3000:3000 benhid/ghostie
```

## License

This project is licensed under the MIT license. See the [LICENSE](LICENSE) file for more info.