Skip to main content

XMPP bridging framework

Project description

Slidge 🛷

Pythonic XMPP gateways.

Documentation status builds.sr.ht status pypi

Slidge is a general purpose XMPP gateway framework using the python

Homepage: sourcehut

Chat room: slidge@conference.nicoco.fr

Issue tracker: https://todo.sr.ht/~nicoco/slidge

Status

Slidge is alpha-grade software! Right now, only direct messages are implemented, no group chat stuff at all. Direct messaging does (more or less) work for the 5 plugins included in this repo though: Telegram, Signal, Facebook messenger, Skype and Hackernews.

Testing locally should be fairly easy, so please go ahead and give me some feedback, through the MUC, the issue tracker or in my public inbox.

Installation

The easiest way to try out slidge is with docker-compose. Clone the repo, run docker-compose up and you should have:

  • an XMPP server (prosody) exposed on port 5222 with a registered user test@localhost (password: password)
  • 3 gateway components (a dummy network, signal and telegram)
  • hot reloading of gateways on code change
  • signald running in a container (required for signal)

I recommend using gajim to test it. You can launch it with the -p option to use a clean profile and not mess up your normal user settings and such.

It is definitely possible to set up everything without docker, but note that the aiotdlib package needs to be manually built (wheels from pypi are incomplete unfortunately).

About privacy

Slidge (and most if not all XMPP gateway that I know of) will break end-to-end encryption, or more precisely one of the 'ends' become the gateway itself. If privacy is a major concern for you, my advice would be to:

  • use XMPP + OMEMO
  • self-host your gateways
  • have your gateways hosted by someone you know AFK

Related projects

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slidge-0.1.0a1.tar.gz (60.0 kB view hashes)

Uploaded Source

Built Distribution

slidge-0.1.0a1-py3-none-any.whl (76.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page