You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Travis Burtrum 5b36300054 sendxmpp-rs v3.0.1 5 months ago
.ci Implement jenkins builds 2 years ago
src Update tokio-xmpp, switch to rustls 5 months ago
.gitignore update Cargo.lock, builds with patched xmpp-rs 4 years ago
.rustfmt.toml Add --raw option to support sending a stream of raw XML 2 years ago
Cargo.lock Update tokio-xmpp, switch to rustls 5 months ago
Cargo.toml sendxmpp-rs v3.0.1 5 months ago
LICENSE.md Version 2.0.0 as released on crates.io 2 years ago
README.md sendxmpp-rs v3.0.0 5 months ago
sendxmpp.toml Allow optional nick in config file 6 months ago

README.md

sendxmpp-rs

sendxmpp is the XMPP equivalent of sendmail. It is an alternative to the old sendxmpp written in Perl, or the newer sendxmpp-py.

Installation: cargo install sendxmpp

Configuration: cp sendxmpp.toml ~/.config/ and edit ~/.config/sendxmpp.toml with your XMPP credentials

Usage: sendxmpp [OPTIONS] [ARGUMENTS]

Positional arguments:
  recipients

Optional arguments:
  -h, --help           show this help message and exit
  -c, --config CONFIG  path to config file. default: ~/.config/sendxmpp.toml with fallback to /etc/sendxmpp/sendxmpp.toml
  -e, --force-pgp      Force OpenPGP encryption for all recipients
  -a, --attempt-pgp    Attempt OpenPGP encryption for all recipients
  -r, --raw            Send raw XML stream, cannot be used with recipients or PGP
  -p, --presence       Send a <presence/> after connecting before sending messages, required for receiving for --raw
  -m, --muc            Recipients are Multi-User Chats
  -n, --nick NICK      Nickname to use in Multi-User Chats

Usage examples:

  • echo "This is a test" | sendxmpp user@host
  • sendxmpp user@host <README.md

License

GNU/AGPLv3 - Check LICENSE.md for details