codeberg.org Open in urlscan Pro
2a03:4000:4c:e24:85e:10ff:fef8:a405  Public Scan

Submitted URL: https://smplxmpp.com/
Effective URL: https://codeberg.org/tropf/smplxmpp
Submission: On April 07 via manual from US — Scanned from DE

Form analysis 2 forms found in the DOM

POST /tropf/smplxmpp/action/watch?redirect_to=%2ftropf%2fsmplxmpp

<form method="post" action="/tropf/smplxmpp/action/watch?redirect_to=%2ftropf%2fsmplxmpp">
  <input type="hidden" name="_csrf" value="aBp709KOifGRda3I0utbaotLFEc6MTY0OTMwMDEzODI5NTkzMTE4OQ">
  <div class="ui labeled button tooltip" tabindex="0" data-content="Melde dich an, um dieses Repository zu beobachten." data-position="top center" data-variation="inverted tiny">
    <button type="submit" class="ui compact small basic button" disabled="">
      <svg viewBox="0 0 16 16" class="svg octicon-eye" width="16" height="16" aria-hidden="true">
        <path fill-rule="evenodd"
          d="M1.679 7.932c.412-.621 1.242-1.75 2.366-2.717C5.175 4.242 6.527 3.5 8 3.5c1.473 0 2.824.742 3.955 1.715 1.124.967 1.954 2.096 2.366 2.717a.119.119 0 0 1 0 .136c-.412.621-1.242 1.75-2.366 2.717C10.825 11.758 9.473 12.5 8 12.5c-1.473 0-2.824-.742-3.955-1.715C2.92 9.818 2.09 8.69 1.679 8.068a.119.119 0 0 1 0-.136zM8 2c-1.981 0-3.67.992-4.933 2.078C1.797 5.169.88 6.423.43 7.1a1.619 1.619 0 0 0 0 1.798c.45.678 1.367 1.932 2.637 3.024C4.329 13.008 6.019 14 8 14c1.981 0 3.67-.992 4.933-2.078 1.27-1.091 2.187-2.345 2.637-3.023a1.619 1.619 0 0 0 0-1.798c-.45-.678-1.367-1.932-2.637-3.023C11.671 2.992 9.981 2 8 2zm0 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4z">
        </path>
      </svg>Beobachten </button>
    <a class="ui basic label" href="/tropf/smplxmpp/watchers">
								1
							</a>
  </div>
</form>

POST /tropf/smplxmpp/action/star?redirect_to=%2ftropf%2fsmplxmpp

<form method="post" action="/tropf/smplxmpp/action/star?redirect_to=%2ftropf%2fsmplxmpp">
  <input type="hidden" name="_csrf" value="aBp709KOifGRda3I0utbaotLFEc6MTY0OTMwMDEzODI5NTkzMTE4OQ">
  <div class="ui labeled button tooltip" tabindex="0" data-content="Bitte melde dich an, um dieses Repository zu favorisieren." data-position="top center" data-variation="inverted tiny">
    <button type="submit" class="ui compact small basic button" disabled="">
      <svg viewBox="0 0 16 16" class="svg octicon-star" width="16" height="16" aria-hidden="true">
        <path fill-rule="evenodd"
          d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.75.75 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25zm0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41L8 2.694v.001z">
        </path>
      </svg>Favorisieren </button>
    <a class="ui basic label" href="/tropf/smplxmpp/stars">
									0
								</a>
  </div>
</form>

Text Content

Diese Webseite funktioniert besser mit JavaScript.
Codeberg
Community Issues Documentation Blog

Donate Join / Support

Contact
Erkunden Hilfe
Registrieren Anmelden

tropf
/
smplxmpp

Beobachten 1
Favorisieren 0
Fork
Du hast bereits einen Fork von smplxmpp erstellt

0
Code Issues 1 Pull-Requests Releases Wiki Aktivität

simple XMPP command line client

151 Commits
2 Branches
5 Tags
858 KiB
C++ 88.2%
CMake 11.8%
 
 
Branch: master

Vergleichen


HTTPS
ZIP herunterladen TAR.GZ herunterladen BUNDLE herunterladen In VS Code klonen

Rolf Pfeffertal 6c8f85cc49

add tit-for-tat mode vor 12 Monaten bin add tit-for-tat mode vor 12 Monaten
cmake bump version vor 1 Jahr doc allow to avoid spdlog system version vor 1
Jahr include add tit-for-tat mode vor 12 Monaten man add tit-for-tat mode vor 12
Monaten src add tit-for-tat mode vor 12 Monaten .gitignore progress: split cmake
across multiple files vor 2 Jahren CMakeLists.txt bump version vor 1 Jahr
COPYING add license vor 2 Jahren README.md reference binary builds in readme vor
1 Jahr TODO add tit-for-tat mode vor 12 Monaten

README.MD



SMPLXMPP

simple XMPP command line client

smplxmpp allows you to send and receive xmpp messages via the commandline. Both
normal chat messages and MUCs are supported.

This is another tool in your linux toolbelt: To have it's output and/or input
joined to other line-oriented tools like sed or awk in a pipeline.

Install a binary:
Debian | Ubuntu | Fedora | openSUSE | Archlinux | Manjaro


EXAMPLES

Please have a look at the Tutorial for more detailed introduction.


FULLY CONFIGURED

This example shows sending and receiving messages when using a config file.

# send a message to alice
$ echo "alice@example.com Hello, World!" | smplxmpp

# now wait for a response interactively (and clear the offline queue)
$ smplxmpp
alice@example.com Hello Bot!
alice@example.com How are you doing?



OUT OF THE BOX

This example will work out of the box.

Note that you should not do that, it will leak your password to all users of the
system (via the process list).

$ smplxmpp -j alice@example.com --pass=hackme



MUC

Don't forget to specify a nick. Also, parsing nicks in MUCs is almost impossible
(they basically can contain any character), so they are not displayed (so you
don't have to write complex parsers for smplxmpp's output)

$ smplxmpp --muc "muc@conference.example.com/nick"



ONLY ONE USER

To only send and receive messages from a single user use --focus

$ smplxmpp --focus "bob@example.com"
Hello!
There are no more prefixes!



ENCODING HELPER

Every line contains only one message. Newlines within a message are encoded to
\n.

To encode a message you may pipe it through smplxmpp-nl:

$ fortune | smplxmpp-nl | smplxmpp --focus "bob@example.com"


Use the flag -d to decode messages.


CONFIGURATION FILE

Place these in /etc/smplxmpp.conf (system wide) or in ~/.smplxmpprc (only user).

jid alice@example.com
pass hackme



DOCUMENTATION

For the usage please refer to the man pages smplxmpp(1) for the binary,
smplxmpp(5) for the configuration and smplxmpp-nl(1) for the encoding and
decoding helper.

man 1 smplxmpp
man 5 smplxmpp
man 1 smplxmpp-nl


Additional documentation on the internal structure is provided in the doc/
directory.

Activate the build option BUILD_DOCUMENTATION to build the API documentation.


INSTALL

This is a cmake project, and can be installed like any other cmake project.

git clone https://codeberg.org/tropf/smplxmpp.git
cd smplxmpp
mkdir build && cd build
cmake ..
ccmake . # optional, adjust build vars
make -j8
sudo make install


See the docs for available build configuration.


DEPENDENCIES

You require cmake and a c++ compiler (e.g. g++).

As libraries you need gloox and spdlog. If you don't have them installed you can
set SMPLXMPP_GLOOX_USE_SYSTEM and SMPLXMPP_SPDLOG_USE_SYSTEM to OFF
respectively, which causes smplxmpp to fetch them via the internet and build
them locally.

As transitive dependencies libidn, zlib and gnutls are also required. (Don't
forget their header files for building.)


LICENSE

This project is available under the GNU GPLv3 only.


ONLINE

Find this project on Codeberg.

Deutsch
bahasa Indonesia Deutsch English español français italiano latviešu magyar nyelv
Nederlands polski Português de Portugal português do Brasil suomi svenska Türkçe
čeština ελληνικά български русский српски Українська فارسی മലയാളം 日本語 简体中文
繁體中文(台灣) 繁體中文(香港) 한국어
Lizenzen API Privacy Policy Bylaws/Satzung Imprint/Impressum Terms of Use Report
Abuse