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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cli_notifier-0.3.0.tar.gz.
File metadata
- Download URL: cli_notifier-0.3.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b08b2290b15afc6e71ce9d6d96bca4b0c995bed2e38f1dc06c994037e244dca3
|
|
| MD5 |
a5570264c33ad3e401da917e90590589
|
|
| BLAKE2b-256 |
8dc9493f1ce022f4f71d51597c2eb6f1fff118800110500fe1e02cdc00ca3aac
|
File details
Details for the file cli_notifier-0.3.0-py3-none-any.whl.
File metadata
- Download URL: cli_notifier-0.3.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1b70858582b835b7824a61e9f7c5595b22de540f513b9f52c9ea2452912d816
|
|
| MD5 |
7d984cbc671ead8fdb77745701b2f5ed
|
|
| BLAKE2b-256 |
1d14a30877bb63d363aafc8d373ff210beb6ab81bb01594ebb76356075b7e2a3
|