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

https://github.com/lezgomatt/hoy

A dead simple notifier.
https://github.com/lezgomatt/hoy

Last synced: 11 months ago
JSON representation

A dead simple notifier.

Awesome Lists containing this project

README

          

Hoy! [![PyPI - Version](https://img.shields.io/pypi/v/hoy?style=flat-square)](https://pypi.org/project/hoy/)
====

A dead simple notifier.

Be informed when your scripts finish running!

Installation
------------

```bash
pipx install hoy
# or
uv tool install hoy
```

Usage
-----

Simply run `hoy` after a long-running process (example: `sleep 5`):

```bash
sleep 5; hoy
# Or if you want a custom message:
sleep 5; hoy "All clear, my dear!" # it'll also work without quotes
# Or if you want different messages for success and failure:
sleep 5; hoy $status # or `hoy $?` depending on your shell
# Or if you want a custom message again:
sleep 5 && hoy Success! || hoy Fail!
```