Because sometimes I'm too lazy to open the browser.
An elegant(?), fast(?) and colorful(!) solution to have the complete(?) syncthing
status in a jiffy(?).
- bash 4+
curl
jq
coreutils
(fornumfmt
)- works on Linux as well as on MacOS
SYNCTHING_API_KEY
.SYNCTHING_CONFIG_FILE
, the place where it'll look for the api key if not given in the variable above. Defaults to$HOME/.config/syncthing/config.xml
on Linux and$HOME/Library/Application Support/Syncthing/config.xml
on MacOS.SYNCTHING_ADDRESS
, defaults tolocalhost:8384
.
-v
: verbose, show devices/folder ids and a selection of latest log messages (which is specially helpful for more details about "out of sync" folders).