Skip to content

juftin/lunchable-pushlunch

Repository files navigation

lunchable-pushlunch

lunchable lunchable

LunchMoney Push Notifications via Pushover

PyPI PyPI - Python Version docs Hatch project Ruff pre-commit semantic-release Gitmoji

PushLunch supports Push Notifications via Pushover. Pushover supports iOS and Android Push notifications. To get started just provide your Pushover User Key directly or via the PUSHOVER_USER_KEY environment variable.

Run via the Lunchable CLI

You can install lunchable with pip or pipx. Make sure to use the lunchable[pushlunch] extra to install the pushlunch plugin. You can also use the lunchable[plugins] extra to install all the known plugins.

pipx install "lunchable[pushlunch]"
pip install "lunchable[pushlunch]"

The below command checks for un-reviewed transactions in the current period and sends them as Push Notifications. The --continuous flag tells it to run forever which will only send you a push notification once for each transaction. By default it will check every 60 minutes, but this can be changed using the --interval argument.

lunchable plugins pushlunch notify --continuous

Run via Docker

docker run --rm \
    --env LUNCHMONEY_ACCESS_TOKEN=${LUNCHMONEY_ACCESS_TOKEN} \
    --env PUSHOVER_USER_KEY=${PUSHOVER_USER_KEY} \
    juftin/lunchable:latest \
    lunchable plugins pushlunch notify --continuous