libstrophe

用于编写 XMPP 客户端的简单轻量级 C 库。「A simple, lightweight C library for writing XMPP clients」

Github stars Tracking Chart

libstrophe Build Status

libstrophe is a lightweight XMPP client library written in C. It has
minimal dependencies and is configurable for various environments. It
runs well on Linux, Unix and Windows based platforms.

Its goals are:

  • usable quickly
  • well documented
  • reliable

Build Instructions

If you are building from a source control checkout, run:

./bootstrap.sh

to generate the configure script.

From the top-level directory, run the following commands:

./configure
make

The public API is defined in strophe.h which is in the
top-level directory.

The examples directory contains some examples of how to
use the library; these may be helpful in addition to the
API documentation

To install on your system, as root (or using sudo):

make install

Note, the default install path is /usr/local/, to specify
another path use the --prefix option during configure, e.g.:

./configure --prefix=/usr

Android

Run script build-android.sh and follow the instructions. You will
need expat sources and android-ndk.

Requirements

libstrophe requires:

  • expat or libxml2 - expat is the default; use --with-libxml2 to
    switch
  • openssl on UNIX systems

To build libstrophe using autotools you will need autoconf, automake,
libtool and pkg-config.

Installation

libstrophe package has been added to popular Linux distributions,
BSD systems and OSX package managers.

Documentation

API documentation is inline with the code and conforms to Doxygen
standards. You can generate an HTML version of the API documentation
by running:

doxygen

Then open docs/html/index.html.

Main metrics

Overview
Name With Ownerstrophe/libstrophe
Primary LanguageC
Program languageShell (Language Count: 4)
Platform
License:Other
所有者活动
Created At2013-04-29 14:59:40
Pushed At2025-04-06 07:38:56
Last Commit At2025-04-02 10:16:16
Release Count19
Last Release Name0.14.0 (Posted on 2025-03-13 14:46:27)
First Release Name0.8.5 (Posted on )
用户参与
Stargazers Count419
Watchers Count46
Fork Count163
Commits Count820
Has Issues Enabled
Issues Count125
Issue Open Count16
Pull Requests Count79
Pull Requests Open Count6
Pull Requests Close Count45
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private