echo-notifier — push notifikasi ke HP via Telegram saat AI agent selesai task
Project description
📡 echo-notifier
Push notifikasi ke HP via Telegram saat AI agent selesai task.
AI Agent → echon → Telegram Bot API → HP
Quick Install
pipx install cli-notifier
echon --init # Setup AI agent global
echon --setup # Setup Telegram @radjaCLInotifierBOT
Selesai. Setiap AI agent di project mana pun bakal kirim notifikasi ke HP.
Kenapa ECHO)))?
Zero-dependency Python script yang langsung kirim notifikasi ke Telegram — gak perlu backend, gak perlu server, gak perlu Expo Go.
| Fitur | Status |
|---|---|
| Telegram bot bawaan — gak perlu bikin sendiri | ✅ |
| Zero dependency (stdlib only) | ✅ |
| Cross-platform (macOS, Linux, Windows) | ✅ |
| Auto-detect chat ID | ✅ |
Env var override: ECHO_BOT_TOKEN |
✅ |
Global AI agent config via --init |
✅ |
Clean uninstall via --uninstall |
✅ |
Usage
Wrap command (jalanin + notify pas selesai):
echon "sleep 5 && echo selesai"
Direct dari AI agent:
echon --agent "CommandCode" --message "Berhasil setup database"
echon --agent "Claude Code" --message "Gagal deploy" --status failed
Semua Command
| Perintah | Fungsi |
|---|---|
echon <command> |
Jalankan command + notify |
--message, -m |
Kirim notifikasi langsung |
--status, -s |
success (default) / failed |
--agent, -a |
Nama AI agent |
--setup |
Setup ulang Telegram/Expo |
--init |
Setup AI agent global config |
--uninstall |
Hapus semua config |
--version |
Tampilkan versi |
Setup Kustom
Lewati bot bawaan dan pake bot sendiri:
export ECHO_BOT_TOKEN="token_dari_bot_father"
echon --setup
Development
git clone https://github.com/dinarradja/cli-notifier
cd cli-notifier
python -m venv venv && source venv/bin/activate
pip install build twine
python -m unittest tests/test_echo.py -v
Build + Publish
python -m build
python -m twine upload dist/*
Struktur Proyek
cli-notifier/
├── echo.py ← Main script (stdlib only)
├── tests/test_echo.py ← 20+ unit tests
├── backend/main.py ← FastAPI server (opsional, Expo)
├── App.js ← Expo app (opsional)
└── .github/workflows/ci.yml ← CI pipeline
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-1.0.2.tar.gz.
File metadata
- Download URL: cli_notifier-1.0.2.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eafb0ae1c97b6e027c6c6267124b5733b164dc7427c8e134e245b011295efd50
|
|
| MD5 |
a8ce2a416a00f172563ab0290c1ac680
|
|
| BLAKE2b-256 |
aa2c2571a4347e25b797187c6b1b9c82872f806743a2794027f29b2eaa1c3a29
|
File details
Details for the file cli_notifier-1.0.2-py3-none-any.whl.
File metadata
- Download URL: cli_notifier-1.0.2-py3-none-any.whl
- Upload date:
- Size: 8.3 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 |
1c8b7abf613c594b5a074c310477a5423a7b8e8ee9e86af33044526d7b3d7790
|
|
| MD5 |
102e915df09341693e8b2d817708c050
|
|
| BLAKE2b-256 |
ae9c78fc0d2632583342000e8a9b2c72d88fd2acf13c6ac13f8c359822646578
|