diff options
| author | Franck Cuny <franck@fcuny.net> | 2022-09-05 16:59:20 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2022-09-07 19:12:12 -0700 |
| commit | c853a5078b0a8dee22bb69b971b8315f66033f49 (patch) | |
| tree | 3c05da1eb7c9d39e936de21108f42a59765ab4ef /tools/sendsms/README.org | |
| parent | meta: ignore build for rust projects (diff) | |
| download | infra-c853a5078b0a8dee22bb69b971b8315f66033f49.tar.gz | |
feat(tool/sendsms): a CLI to send SMS
This is a new tool to send SMS via Twilio's API. For now it supports a
single subcommand: reboot. Using that subcommand, a SMS will be send
with the name of the host and the IP address for the defined network
interface. This is useful to be notified when one of my machine reboot,
and what's the IP for the main interface (this is useful since my ISP
does not provide a static IP).
Change-Id: I5886a2c77ebd344ab3befa51a6bdd3d65bcc85d4
Diffstat (limited to 'tools/sendsms/README.org')
| -rw-r--r-- | tools/sendsms/README.org | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/sendsms/README.org b/tools/sendsms/README.org new file mode 100644 index 0000000..8f3ffdd --- /dev/null +++ b/tools/sendsms/README.org @@ -0,0 +1,8 @@ +#+TITLE: sendsms + +A CLI to send SMS via [[https://console.twilio.com][twilio's API]]. + +** Usage +The tool supports subcommands, which are profiles with predefined messages. + +For example, you can write a systemd unit that is triggered after a reboot to send an SMS with =sendsms reboot=. The SMS will contain the hostname and IP of a predefined interface. |
