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.1.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.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cli_notifier-0.4.1.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.1.tar.gz
Algorithm Hash digest
SHA256 4bdf5397d2e6fa4c4526370a3ea178cc39d9a8e4ec6b6ca5efa1cac0f130510b
MD5 1086a6d15974e61e5fa4e9ed612b28d7
BLAKE2b-256 5e02d3f26068646c677e9149c6ecec3c338a479b2384cbf944b7a0acdcfb14be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cli_notifier-0.4.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1f4d37c10d1390a929e827622b521b1f16f906fc840383e85cf2c913b69aae8c
MD5 46004a124bb396c2d108201614dd0c0c
BLAKE2b-256 07c2086b647f9db54c5a92b0567ad470e8253b3f210520338ff1321dcd70c866

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