many changes
new get method
moved to json config file
NOTE (2021-01-13) Rewrote from a bash
to gawk
script.
An awk
(Gawk) wrapper script for easier use of
signal-cli
Usage:
sig snd <name> "message"
: Send to a name not a number (set names
in config file)sig rcv
: Get messages, which are written to a log filesig log
: Read the logs more easily (to see receipts and read-receipts)sig ids
: Check the phone numbers you have keys forsig num
: Check the phone numbers in your config filesig ckn <num>
: Test if <num>
(prefix with +
) using Signalsig cfg
: Edit config filesig cli
: Show signal-cli
usagesig new
: Show the most recent new messages and confirmationssig cnv <name>
: Display a conversation:Note (2021-01-21): signal-cli
seems not to be able to
fully handle
Signal’s version 2 groups; action gnu
will probably fail. Actions
gls
, gad
, glv
still work on version 1 groups. See usage by just
typing sig
.
Also included: checksig
a script to execute sig rcv
and notify you via
send-notify
; run it as a cron
job.
chmod u+x sig; chmod u+x checksig
)signal-cli
must be in the shell’s $PATH
scw_config.awk
is in a directory present in environment
variable $AWKPATH
(set in .bash_profile
, etc)checksig
to your crontab
file. (AWKPATH and the
sig
path will need to be set for a non-user). E.g.:0,10,20,30,40,50 * * * * AWKPATH=/home/foo/awklib /home/foo/bin/checksig /home/foo/bin/sig
Then edit scw_config.awk
to add short names for your numbers.