README.md

xmppc

CLI for XMPP written in C and using libstrophe. This repo is a fork (likely hard) of the original xmppc and might get renamed.

Dependencies

Build

# on Debian/Ubuntu
apt install -y automake libstrophe-dev libc6-dev libglib2.0-dev libgpgme-dev
./bootstrap.sh
./configure
make
# mv xmppc $HOME/.local/bin/ or somewhere else in your PATH

Config file

~/.config/xmppc.conf

[default] is used when neither account nor JID is provided.

[default]
jid=user@domain.tld
pwd=YourSecret

[account1]
jid=account1@domain.tld
pwd=YourSecret

Usage

xmppc --jid user@domain.tld --pwd "password" --mode roster list
xmppc -j user@domain.tld -p "password" -m roster list
xmppc -a alice -m mam list bob@domain.tld
xmppc -m bookmark list
xmppc -h

Issues

Do not report them to upstream xmppc! Send me a message somewhere (it's pretty easy to find how), then I'll decide whether it's a bug in my fork I should fix or something I should report upstream. Please don't bother the original maintainer with issues I might have introduced.