syncthing-quick-status
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(?).
Dependencies
- bash 4
curl
jq
Env variables
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
.SYNCTHING_ADDRESS
, defaults tolocalhost:8384
.
Arguments
-v
: verbose, show devices/folder ids and a selection of latest log messages.