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.
Florian Schmaus 69e81b748e [disco] Only perform entity capabilities work if there are any listeners 4 months ago
.github [README] Switch "build status" badge from Travis to Github Actions 2 years ago
config [checkstyle] Bump to 8.27 2 years ago
documentation Add support for XEP-0420: Stanza Content Encryption 2 years ago
resources Switch to 7 months ago
smack-android gradle: use compileClasspath instead of compileOnly 3 years ago
smack-android-extensions gradle: add Android jar to smack-android-extensions compile classpath 3 years ago
smack-bosh [bosh] Use ConnectionConfiguration.getHostString() in BOSHConfiguration 5 months ago
smack-core [core] Add ConnectionConfiguration.getHostString() 5 months ago
smack-debug SMACK-908: Don't use components to count tabs in Debugger 1 year ago
smack-debug-slf4j [core] Deprecate AbstractConnectionListener 2 years ago
smack-experimental [carbons] Remove erroneous assert statement in connectionClosed() 1 year ago
smack-extensions [disco] Only perform entity capabilities work if there are any listeners 4 months ago
smack-im Add more QNAME fields to extension element classes 1 year ago
smack-integration-test [sinttest] Add code comment and empty line 2 years ago
smack-java8 Rename smack-java7 to smack-java8 2 years ago
smack-java8-full Add Smack.getNoticeStream() and 'License' section to README 2 years ago
smack-jingle-old Do not call XmlPullParser.getName() when the event is unknown 1 year ago
smack-legacy [core] Pass down the XML environment in IQChildElementXmlStringBuilder 12 months ago
smack-omemo Do not call XmlPullParser.getName() when the event is unknown 1 year ago
smack-omemo-signal [checkstyle] Tighten JavadocMethod checkstyle rule 2 years ago
smack-omemo-signal-integration-test SmackReactor/NIO, Java8/Android19, Pretty print XML, FSM connections 4 years ago
smack-openpgp Do not call XmlPullParser.getName() when the event is unknown 1 year ago
smack-repl Add org.jivesoftware.smack.Smack with getVersion() and ensureInitialized() 2 years ago
smack-resolver-dnsjava resolver-dnsjava: bump to dnsjava 3.0 series 3 years ago
smack-resolver-javax Introduce Smack's Modular Connection Architecture 3 years ago
smack-resolver-minidns Introduce Smack's Modular Connection Architecture 3 years ago
smack-resolver-minidns-dox Introduce test fixtures 3 years ago
smack-sasl-javax Prevent password enforcement for SASL GSSAPI 10 months ago
smack-sasl-provided [sasl] Avoid mechanisms that need a password when none is available 2 years ago
smack-streammanagement Create smack-streammanagement project and move code there 2 years ago
smack-tcp [tcp] Fix handling in connection exceptions when resuming a stream 5 months ago
smack-xmlparser Make Smack jars OSGi bundles 12 months ago
smack-xmlparser-stax Make Smack jars OSGi bundles 12 months ago
smack-xmlparser-xpp3 Make Smack jars OSGi bundles 12 months ago
.gitignore Add to gitignore 3 years ago
.mailmap Add .mailmap 2 years ago Smack 4.4.5 7 months ago
LICENSE Add Appendix to LICENSE 6 years ago
NOTICE Update NOTICE file 12 months ago [README] Fix typo; s/NOICE/NOTICE/ 2 years ago
build.gradle [build] Remove OSS Sonatype Snapshot repository 12 months ago
repl Bump Ammonite REPL to 1.3.2 4 years ago
settings.gradle Rename smack-java7 to smack-java8 2 years ago
version Smack 4.4.6-SNAPSHOT 7 months ago


Build Status Coverage Status Project Stats Link to XMPP chat


Smack is an open source, highly modular, easy to use, XMPP client library written in Java for Java SE compatible JVMs and Android.

A pure Java library, it can be embedded into your applications to create anything from a full XMPP instant messaging client to simple XMPP integrations such as sending notification messages and presence-enabling devices. Smack and XMPP allows you to easily exchange data, in various ways e.g. fire-and-forget, publish-subscribe, between human and non-human endpoints (M2M, IoT, …).

More information are provided by the Overview.

Getting started

Start with having a look at the Documentation and the Javadoc.

Instructions on how to use Smack in your Java or Android project are provided in the Smack Readme and Upgrade Guide.


Most of Smack is governed by the Apache License 2.0 (SPDX License Identifier: Apache 2.0). This license requires that the contents of a NOTICE text file are shown "…within a display generated by the Derivative Works, if and wherever such third-party notices normally appear.".

Smack comes which such a NOTICE file. Moreover, since smack-core is licensed under the Apache License 2.0, the conditions apply to every project using Smack. The content of Smack's NOTICE file can conveniently be retrieved using Smack.getNoticeStream().

Some subprojects of Smack are governed by other licenses. Please refer to the individual subprojects.

Professional Services

Smack is a collaborative effort of many open source, professionally and spare-time, paid and unpaid, contributors. While we try to provide the best possible XMPP library for Android and Java SE compatible execution environments by following state of the art software engineering practices, the API may not always perfectly fit your requirements. We welcome contributions and encourage discussion about how Smack can be further improved. We also provide paid services ranging from XMPP/Smack related consulting to designing and developing features in order to accommodate your needs. Please contact Florian Schmaus for further information.

Bug Reporting

Only a few users have access for filling bugs in the tracker. New users should:

  1. Read "How to ask for help or report an issue"
  2. Create a discourse account (you can also sign up with your Google account).
  3. Login to the forum account
  4. Press "New Topic" in your toolbar and choose the 'Smack Support' sub-category.

Please search for your issues in the bug tracker before reporting.


If you find Smack useful and feel like donating, then you can use one of the following systems:

  • Donate via Bitcoin: 1LiU78z3498wu3jwRPKbvovKAHjTcpVbuK


The developers hang around in #smack (freenode, IRC) and (XMPP MUC room). Remember that it may take some time (~hours) to get a response.

You can also reach us via the Smack Support Forum if you have questions or need support, or the Smack Developers Forum if you want to discuss Smack development.


If you want to start developing for Smack and eventually contribute code back, then please have a look at the Guidelines for Smack Developers and Contributors. The guidelines also contain development quickstart instructions.


Ignite Realtime

Ignite Realtime is an Open Source community composed of end-users and developers around the world who are interested in applying innovative, open-standards-based RealTime Collaboration to their businesses and organizations. We're aimed at disrupting proprietary, non-open standards-based systems and invite you to participate in what's already one of the biggest and most active Open Source communities.

Smack - an Ignite Realtime community project.