Vietnamese

Gửi cảnh báo CI/CD và server tới điện thoại.

Khi deploy fail, cron job lỗi, hoặc VPS down, Nerve gửi một encrypted signal ngắn tới điện thoại.

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

Sender DSNSender DSN gửi encrypted signals vào một pipe. Nó không đọc history, không decrypt messages, và không execute commands.
No agent by defaultAlerts thông thường không cần agent token. Agent chỉ dành cho signed bounded actions trên máy bạn tin tưởng.
Phone pathAPNs/FCM deliver or wake the app; the app syncs the encrypted record and decrypts locally.

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.

Related