Skip to main content

Push notifikasi ke HP via Telegram saat AI agent selesai task

Project description

CLI Notifier

Push notifikasi ke HP via Telegram saat AI agent selesai task. Works like a plugin — pip install aja, langsung jalan.

AI Agent → notify → Telegram Bot API → HP (Telegram)

Instalasi

# Pakai pipx (recommended)
pipx install cli-notifier

# Atau pip biasa
pip install cli-notifier

Lalu init global AI tools biar semua agent auto-notify:

notify --init

Selesai. Setiap AI agent di project mana pun bakal otomatis kirim notifikasi.

Setup Telegram (sekali doang)

First run notify bakal minta setup. Atau:

notify --setup

Tinggal ikutin petunjuk — bikin bot via @BotFather, masukkin token. Selesai.

Usage

Wrap command:

notify "sleep 5 && echo selesai"

Direct dari AI agent (otomatis dilakukan AI):

notify --agent "CommandCode" --message "Berhasil setup database"
notify --agent "CommandCode" --message "Gagal deploy" --status failed

Tanpa pip/pipx

Clone repo, terus:

cd cli-notifier
./notify_cli.py --init     # Setup AI tools
./notify_cli.py --setup    # Setup Telegram

Atau make install untuk symlink global.

Cara Kerja

notify adalah script Python zero-dependency (stdlib aja — urllib, subprocess). Kirim notifikasi langsung ke Telegram Bot API, tanpa perlu backend/server sendiri.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cli_notifier-0.4.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cli_notifier-0.4.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file cli_notifier-0.4.0.tar.gz.

File metadata

  • Download URL: cli_notifier-0.4.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for cli_notifier-0.4.0.tar.gz
Algorithm Hash digest
SHA256 bb2c2ac752ae6858270cc103b6408e37f374a040b0ab9194edbf5142431c2720
MD5 3d527c7d51895af29b9037b34c3400f6
BLAKE2b-256 d6b278a49982ce644e89df0d08b384e0752e270e0fc90f04e85486be3dbf2dd3

See more details on using hashes here.

File details

Details for the file cli_notifier-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: cli_notifier-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for cli_notifier-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5e14c5982dc780b77dae99f80b94c1755f743bdc7fb149277017b5b92158449d
MD5 74f29e1e6195886ccdedc1b5d969eb9d
BLAKE2b-256 2e60feb59e5b921e904e96074961988172d1ef215c4953966ad2454979167814

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page