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.5.0.tar.gz (8.3 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.5.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cli_notifier-0.5.0.tar.gz
  • Upload date:
  • Size: 8.3 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.5.0.tar.gz
Algorithm Hash digest
SHA256 e100e19e5a767aa190bc39f3c1e58857578c47eb64f446631e8f562b4f2d6a47
MD5 040f0509fc559ef00142301ba2bcac72
BLAKE2b-256 936a46e8d71826568ed36ab99d2be3d693c2473d295099094fef7eb31d293b28

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cli_notifier-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae509828da9af08e61f308579417329bff01fd7d4e519aa45a387f4600351e71
MD5 078dd4561521bfa416b6d7df3b86cf75
BLAKE2b-256 f08c8cdc45786ae0c6b7d27f3da29680c2991cac39f1873b90953b72c24fabda

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