Short answer
Nerve không phải Telegram bot, WhatsApp group, SSH client, hay plaintext webhook. CI job, cron script, hoặc local monitor chạy nerve send. Payload được encrypt trước khi tới relay.
Nếu bạn tìm “GitHub Actions notification to phone” hoặc “server down alert”, pattern ở đây là: báo nhanh, nhưng sender không có quyền đọc history hoặc chạy command.
Quick start
go install github.com/nerve-ink/nerve-cli/cmd/nerve@latest
export PATH="$PATH:$(go env GOPATH)/bin"
export NERVE_DSN="nerve://TOKEN:[email protected]"
echo "deploy failed on $(hostname)" | nerve send --severity critical
Security model
Good first alerts
Start with failed production deploys, failed smoke checks, cron backup failures, SSL expiry, disk full, and VPS down events. Do not send every success message to the phone.
What not to send
Keep alerts short. Avoid passwords, private keys, full logs, database URLs, and unredacted environment dumps. Nerve is an alert pipe, not log storage.
FAQ
Làm sao gửi GitHub Actions alert tới điện thoại?
Thêm step nerve send với if: failure() và lưu NERVE_DSN như GitHub Actions secret.
Sender DSN có đọc được alert cũ không?
Không. Sender DSN chỉ gửi encrypted signals vào một pipe.
Có cần chạy agent để nhận alerts không?
Không. Agent là tùy chọn cho signed actions trên máy tin tưởng.