~nicoco/slidge

Pythonic XMPP gateways.
telegram: move contact logic into Contact class
telegram: fix 'last seen' date formatting
core: do not update avatar if property updated with the same data

clone

read-only
https://git.sr.ht/~nicoco/slidge
read/write
git@git.sr.ht:~nicoco/slidge

You can also use your local clone with git send-email.

#Slidge 🛷

Home | Source | Issues | Patches | Chat

Turn any XMPP client into that fancy multiprotocol chat app that every cool kid want.

Documentation status builds.sr.ht status Debian package pypi

Slidge is a general purpose XMPP (puppeteer) gateway framework in python. It's a work in progress, but it should make writing gateways to other chat networks (plugins) as frictionless as possible.

It comes with a few plugins included, implementing at least basic direct messaging and often more "advanced" instant messaging features:

Presences¹ Typing² Marks³ Upload Edit React Retract Reply
Signal N/A N/A
Telegram
Discord N/A ~
Steam N/A N/A ~ N/A N/A
Mattermost ~ ~
Facebook
Skype

This table may not be entirely accurate, but in theory, stuff marked ✅ works. N/A means that the legacy network does not have an equivalent of this XMPP feature (because XMPP is better, what did you think?).

WARNING: you may break the terms of use of a legacy network and end up getting your account locked by using slidge. Refer to the keeping a low profile documentation page for more info.

#Status

Slidge is beta-grade software. Right now, only direct messages are implemented, no group chat stuff at all. Direct messaging does (more or less) work though. Any contribution whatsoever (testing, patches, suggestions, beer, …) is more than welcome.

Try slidge and give us some feedback, through the MUC, the issue tracker or in the public inbox. Don't be shy!

#Installation

#containers

Containers are available on docker hub.

#debian

Debian packages are built on each push to master as artifacts of this build job

#pip

Tagged releases are uploaded to pypi.

pip install slidge[signal]  # you can replace signal with any network listed in the table above
python -m slidge --legacy-module=slidge.plugins.signal

If you're looking for the bleeding edge, download an artifact here.

#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 and trust