A libpurple plugin for https://delta.chat
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.
Nick Thomas 25af2f6b49
Fix licensing issues
6 months ago
pixmaps/pidgin/protocols "Borrow" delta.chat logo 1 year ago
vendor Update to delta v0.41.0 10 months ago
.gitattributes Update to delta v0.41.0 10 months ago
.gitignore Update deltachat-core to v0.35.0 1 year ago
LICENSE License under GPLv3 for compatibility with deltachat-core 1 year ago
Makefile Use native libpurple HTTP functions 10 months ago
README.md Fix licensing issues 6 months ago
delta-connection.c Send images in messages 10 months ago
delta-connection.h Run SMTP and IMAP in their own threads 1 year ago
libdelta.c Clean up debug output 10 months ago
libdelta.h Clean up debug output 10 months ago

README.md

Delta Chat plugin for libpurple

Overview

Delta Chat is an instant messaging application based on email - which is to say, SMTP+IMAP.

Delta has:

This project is a libpurple plugin that wraps deltachat-core, allowing a number of existing desktop and mobile clients to send and receive IMs over SMTP+IMAP. It may be useful for Linux-based mobile devices, for GUI desktop usage without an Electron dependency, or console desktop usage.

Current status is probably best described as “skunkworks”, although connecting to an account and sending / receiving text messages should work reliably. You can view specific progress on the issue board.

Build

There are some licensing issues at present, so you shouldn't build this plugin.

deltachat-core vendors openssl, unconditionally links it, and is MPL-licensed.

purple-plugin-delta is GPLv3 without the OpenSSL exemption

libpurple itself is GPLv2 without the OpenSSL exemption.

deltachat-core-rust may make OpenSSL optional, so linking against that version would be fine.

Linking against a patched / changed deltachat-core that disregards vendored OpenSSL and uses GnuTLS instead would also be fine.

There's no point to purple-plugin-delta adding the OpenSSL exemption because libpurple lacks it, and in any event, it will be unnecessary with the next major version of OpenSSL. So, time should resolve this for us one way or another.

Use

The easiest way to use this is to copy the libdelta.so file into ~/.purple/plugins. When running pidgin, you'll now have the option to add a “Delta Chat” account.

If it doesn't show up, chances are pidgin can't find the various shared libraries the .so depends on. You can run ldd ~/.purple/plugins/libdelta.so to confirm. I'll document fixing this after the build and install system is settled.

At present, the “Username” and “Password” account fields correspond to email address and password, respectively. Many important settings also show up on the “Advanced” tab - if left blank, the plugin will attempt to automatically detect the correct values, but you may need to fill some of them in manually to get the connection to work.

Run pidgin with --debug to see interesting output.