A CLI based XMPP client. Useful for sending one-shot messages or in conjunction with a long-running process (e.g., tail -f /var/log/message | grep blah
). Written in Go so it's statically compiled and surprisingly portable.
Checking the code out into $GOPATH: go get salsa.debian.org/mdosch/go-sendxmpp
Cross compiling for OpenWRT running on MIPS: GOOS=linux GOARCH=mipsle GOMIPS=softfloat go build -ldflags "-s -w" salsa.debian.org/mdosch/go-sendxmpp
Cross compiling for OpenWRT running on ARM v7: GOOS=linux GOARCH=arm GOARM=7 go build salsa.debian.org/mdosch/go-sendxmpp
The resulting executable will be $GOPATH/go-sendxmpp. Don't bother looking in the bin/ or pkg/ subdirectories, it won't be in there. Upload to the box in question and enjoy.