Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moparisthebest/sendxmpp-rs
sendxmpp in rust
https://github.com/moparisthebest/sendxmpp-rs
Last synced: about 2 months ago
JSON representation
sendxmpp in rust
- Host: GitHub
- URL: https://github.com/moparisthebest/sendxmpp-rs
- Owner: moparisthebest
- License: agpl-3.0
- Created: 2017-08-11T04:31:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-11-05T04:00:04.000Z (about 2 years ago)
- Last Synced: 2023-03-12T07:27:54.147Z (almost 2 years ago)
- Language: Rust
- Size: 106 KB
- Stars: 11
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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](https://github.com/moparisthebest/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:
recipientsOptional 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 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