XMPPC(1)
okay so bestie, welcome to XMPPC(1) β the XMPP command line tool, and honestly? iconic. Weβre gonna go through every flag, mode, file, and tiny little detail together, no cap. πβ¨
πΈ NAME πΈ
xmppc β XMPP Command line Tool. Thatβs the whole name, and itβs giving βsmall binary, big group-chat energy.β π
π¦ SYNOPSIS π¦
xmppc [OPTIONS] -m MODE COMMAND [<args>...]
xmppc [-a ACCOUNT] [-j JID] [-p PASSWORD] -m MODE COMMAND [<args>...]
β¨ DESCRIPTION β¨
okay so xmppc is an XMPP command line tool. You need an XMPP Account to use it β no account, no slay. The account info can be defined via the command line argument -j JID.
If no password is provided via -p PASSWORD, xmppc will ask the user to enter the password. Another option is to define 1 or more accounts within a configuration file, and -a ACCOUNT can be used to select the account. π«Ά
The argument -m MODE defines the xmppc MODE which should be used (roster, message, pgp, omemo, openpgp, monitor, bookmark, mam, discovery). The COMMAND and the args required by the COMMAND depend on the chosen MODE. iykyk β¨
π OPTIONS π
-a, --attribute ACCOUNTβACCOUNTis a name of a xmpp account defined within the configuration file. pick your account, bestie π-j, --jid JIDβJIDof the XMPP Account. literally your XMPP identity π-p, --pwd PWDβ Password of the XMPP Account. secret secret, donβt tell anyone π-v VERBOSE, Verbose flags. -v[v[v[v]]]β verbosity flags, bestie:-vis WARN,-vvis INFO,--vvvis DEBUG,-vvvvis TRACE. yes, that--vvvis exactly what the page says β donβt come for me π--helpβ Print program version number and help. short, sweet, helpful π«Ά
π MODES AND COMMANDS π
okay, xmppc modes. Pick your main character with -m, then run the command. β¨
-m rosterβ The Roster mode can be used to provide information of the xmpp accountβs roster. The roster is the XMPP list of contacts. πlistβ List all contactsexportβ Exports all contacts
-m messageβ The message mode can be used to send unencrypted messages to another xmpp account. πchat <jid> <message>β Sending unencrypted message to jid
-m pgpβ PGP Mode (XEP-0027) πchat <jid> <message>β Sending pgp encrypted message to jid
-m omemoβ OMEMO Mode (XEP-0384) π¦listβ List the device IDs and fingerprints
-m openpgpβ openpgp mode (XEP-0373) π₯signcrypt <jid> <message>β Sending pgp signed and encrypted message to jid
-m monitorβ Monitot mode. yes, βMonitotβ is exactly how the page spells it, bestie πstanzaβ Stanza Monitormonitorβ microblog Monitor microblog (XEP-0277)
-m bookmarkβ Bookmark mode (XEP-0048) πlistβ List bookmarks
-m mamβ Message Archive Management (XEP-0313) ποΈlist <jid>β List messages from<jid>
-m discoveryβ Service Discovery (XEP-0030) πinfo <jid>β info request for<jid>item <jid>β item request for<jid>
π ENVIRONMENT VARIABLES π
the page lists exactly one env var, and honestly? sheβs lowkey carrying the whole config vibe:
HOMEβ thatβs the one, bestie π
π₯ EXAMPLES π₯
run these exactly as written; the quotes and flags matter, bestie:
xmppc --jid user@domain.tld --pwd "secret" --mode roster list
xmppc --jid user@domain.tld --mode pgp chat friend@domain.tld "Hello"
xmppc -a account1 --mode discovery item conference@domain.tld
xmppc --mode bookmark list
π FILES π
Configuration file to setup accounts.
~/.config/xmppc.conf β Example:
[default]
jid=account1@domain.tld
pwd=password1
[account2]
jid=account2@domain.tld
[account3]
jid=account3@domain.tld
pwd=password3
π EXIT STATUS π
0β Success. slay. β¨1β Failure. not slay. π
π BUGS π
See https://codeberg.org/Anoxinon_e.V./xmppc/issues β thatβs the issue tracker, bestie. π
π AUTHOR π
- DebXWoody (OpenPGP:
A602F76893F138B4A8EFDDD5C2DC916F35751C24)
π RESOURCES π
- Source:
https://codeberg.org/Anoxinon_e.V./xmppc - Documentation:
https://codeberg.org/Anoxinon_e.V./xmppc/wiki
π COPYING π
Copyright (C) 2020 Anoxinon e.V. Free use of this software is granted under the terms of the GNU General Public License (GPL).
okay thatβs the whole page β stay hydrated, stay iconic, and may your stanzas always land. π«Ά This was the XMPPC(1) manual page, dated 05/16/2020 πβ¨
π¦ where this page comes from
- alpine 3.24: xmppc-doc 0.1.2-r3 Β· GPL-3.0-or-later
- debian bookworm: xmppc 0.1.0-2 Β· GPL-3.0-or-later
- debian trixie: xmppc 0.1.0-2+b2 Β· GPL-3.0-or-later
- nixos 26.05: xmppc 0.1.2
- nixpkgs unstable: xmppc 0.1.2
- opensuse-leap 16.0: xmppc 0.1.2-bp160.1.12 Β· GPL-3.0-or-later
- opensuse-leap 16.0: xmppc 0.1.2-bp160.1.12 Β· GPL-3.0-or-later
- opensuse-leap 16.0: xmppc 0.1.2-bp160.1.12 Β· GPL-3.0-or-later
- opensuse-leap 16.0: xmppc 0.1.2-bp160.1.12 Β· GPL-3.0-or-later
- ubuntu jammy: xmppc 0.1.0-2 Β· GPL-3.0-or-later
- ubuntu noble: xmppc 0.1.0-2build3 Β· GPL-3.0-or-later
- ubuntu questing: xmppc 0.1.0-2build3
- ubuntu resolute: xmppc 0.1.0-2build5 Β· GPL-3.0-or-later
- ubuntu stonking: xmppc 0.1.0-2build5 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms