1XMPPC(1)
2========
3
4NAME
5----
6xmppc - XMPP Command line Tool
7
8
9SYNOPSIS
10--------
11'xmppc' ['OPTIONS'] -m 'MODE' 'COMMAND' [<args>...]
12
13
14DESCRIPTION
15-----------
16xmppc is a command line tool
17
18OPTIONS
19-------
20*-a, --attribute* 'ACCOUNT'::
21 'ACCOUNT' is an xmpp account...
22
23*-j, --jid* 'JID'::
24 JID of the XMPP Account.
25[
26*-p, --pwd* 'PWD'::
27
28*-v* 'VERBOSE'::
29 Verbose flags. -v WARN -vv INFO --vvv DEBUG -vvvv TRACE
30
31*--help*::
32 Print program version number and help
33
34
35MODES AND COMMANDS
36------------------
37xmppc modes.
38
39*-m roster*:: Roster::
40
41* *list* - List all contacts
42* *export* - Exports all contacts
43
44*-m message*:: Message
45
46* *chat <jid> <message>* - Sending unencrypted message to jid
47
48*-m pgp*:: PGP Mode (XEP-0027)
49
50* *chat <jid> <message>* - Sending pgp encrypted message to jid
51
52*-m omemo*:: OMEMO Mode (XEP-0384)
53
54* *list* - List the device IDs and fingerprints
55
56*-m openpgp*:: openpgp mode (XEP-0373)
57
58* *signcrypt <jid> <message>* - Sending pgp signed and encrypted message to jid
59
60*-m monitor*:: Monitot mode
61
62* *stanza* - Stanza Monitor
63* *monitor* - microblog Monitor microblog (XEP-0277)
64
65*-m bookmark*:: Bookmark mode (XEP-0048)
66
67* *list* - List bookmarks
68
69*-m mam*:: Message Archive Management (XEP-0313)
70
71* *list <jid>* - List messages from <jid>
72
73*-m discovery*:: Service Discovery (XEP-0030)
74
75* *info <jid>* - info request for <jid>
76* *item <jid>* - item request for <jid>
77
78
79ENVIRONMENT VARIABLES
80---------------------
81
82*none
83
84
85EXAMPLES
86--------
87 xmppc --jid user@domain.tld --pwd "secret" --mode roster list
88 xmppc --jid user@domain.tld --pwd "secret" --mode pgp chat friend@domain.tld "Hello"
89 xmppc -a account1 --mode discovery item conference@domain.tld
90 xmppc --mode bookmark list
91
92
93FILES
94-----
95Configuration file to setup accounts.
96
97*~/.config/xmppc.conf*::
98Example:
99
100
101 [default]
102 jid=account1@domain.tld
103 pwd=password1
104
105 [account2]
106 jid=account2@domain.tld
107 pwd=password2
108
109 [account3]
110 jid=account3@domain.tld
111 pwd=password3
112
113EXIT STATUS
114-----------
115*0*::
116 Success
117
118*1*::
119 Failure
120
121
122BUGS
123----
124See <https://codeberg.org/Anoxinon_e.V./xmppc/issues>
125
126
127AUTHOR
128------
129See
130
131RESOURCES
132---------
133Codeberg: <https://codeberg.org/Anoxinon_e.V./xmppc>
134
135
136COPYING
137-------
138Copyright \(C) 2020 Anoxinon e.V. Free use of this software is
139granted under the terms of the GNU General Public License (GPL).