2020-04-19 11:04:30 +02:00
|
|
|
# xmppc
|
|
|
|
|
2020-04-19 12:47:14 +02:00
|
|
|
xmppc - command line interface (CLI) XMPP Client.
|
|
|
|
|
|
|
|
xmppc is a XMPP command line interface client. It's written in C and is using
|
|
|
|
the xmpp library [libstrophe](http://strophe.im/libstrophe/).
|
|
|
|
|
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
* [libc6-dev](https://packages.debian.org/buster/libc6-dev) (2.28-10)
|
|
|
|
* [libglib2.0-dev](https://packages.debian.org/buster/libglib2.0-dev) (2.58.3)
|
|
|
|
* [libstrophe-dev](https://packages.debian.org/buster/libstrophe-dev) (0.9.2-2)
|
|
|
|
* [libgpgme-dev](https://packages.debian.org/buster/libgpgme-dev) (1.12.0)
|
|
|
|
|
|
|
|
## Build
|
|
|
|
|
|
|
|
The project is using [GNU Automake](https://www.gnu.org/software/automake/).
|
|
|
|
|
|
|
|
```
|
2020-05-16 08:45:05 +02:00
|
|
|
aptitude install libstrophe-dev libc6-dev libglib2.0-dev libgpgme-dev
|
2020-04-19 12:47:14 +02:00
|
|
|
./bootstrap.sh
|
|
|
|
./configure
|
|
|
|
make
|
|
|
|
```
|
|
|
|
|
2020-04-19 19:03:12 +02:00
|
|
|
## Config file
|
|
|
|
|
2020-05-16 08:45:05 +02:00
|
|
|
Config file: ` ~/.config/xmppc.conf`.
|
|
|
|
|
2021-12-31 15:30:09 +01:00
|
|
|
The `[default]` will be used, when the user doesn't provide an account and
|
|
|
|
doesn't provide a jid.
|
2020-04-19 19:03:12 +02:00
|
|
|
|
|
|
|
```
|
|
|
|
[default]
|
|
|
|
jid=user@domain.tld
|
|
|
|
pwd=YourSecret
|
2020-04-23 22:24:29 +02:00
|
|
|
|
|
|
|
[account1]
|
|
|
|
jid=account1@domain.tld
|
|
|
|
pwd=YourSecret
|
2020-04-19 19:03:12 +02:00
|
|
|
```
|
|
|
|
|
2020-04-24 20:45:23 +02:00
|
|
|
## Usage
|
2020-04-19 12:47:14 +02:00
|
|
|
|
2020-04-24 20:45:23 +02:00
|
|
|
```
|
|
|
|
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
|
|
|
|
```
|
2020-04-19 12:47:14 +02:00
|
|
|
|
2020-04-24 20:45:23 +02:00
|
|
|
More command and information see: [Wiki](https://codeberg.org/Anoxinon_e.V./xmppc/wiki)
|
2020-04-19 12:47:14 +02:00
|
|
|
|
2020-04-24 20:45:23 +02:00
|
|
|
## Documentation
|
|
|
|
|
|
|
|
* [Wiki](https://codeberg.org/Anoxinon_e.V./xmppc/wiki)
|
2020-04-19 12:47:14 +02:00
|
|
|
|
2020-08-15 07:38:48 +02:00
|
|
|
## Chat
|
|
|
|
|
2020-08-15 07:39:41 +02:00
|
|
|
* [xmpp:xmppc@conference.anoxinon.me?join](xmpp:xmppc@conference.anoxinon.me?join)
|