maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [SFOS] [STOPPED] Transponder, a native messaging client (https://talk.maemo.org/showthread.php?t=100183)

Modulebaan 2018-01-29 16:02

[STOPPED] Transponder, a native messaging client
 
Due several issues I will not continue the development of Transponder. I will focus on my other apps instead.

Transponder

Transponder is a full blown messaging client for Sailfish OS with multiple providers using Python plugins

Purpose
Transponder wants to fix the lack of messaging clients on Sailfish OS by providing a modular architecture which can be used with multiple providers like Matrix.org, Telegram, IRC, Hangouts, ... as long as their is a Python SDK for it.

Why Python?
I know, C++ with Qt is a nice combination and faster then Python, but Python has already a SDK for a lot of messaging providers which will make the integration and maintaining of a large group of providers possible.

Status
The development of Transponder is in it's early stages.

Donations
You can support me by buying me a coffee: PayPal.me link

Any feedback or ideas on this project are more then welcome!

Zeta 2018-01-29 23:34

Re: Transponder, a native messaging client
 
Quote:

Originally Posted by Modulebaan (Post 1540660)
Transponder is a full blown messaging client for Sailfish OS with multiple providers using Python plugins

Hi,

Thanks for taking this project !

As you are developing something new, I imagine it is to overcome problems of the existing solutions (at least in desktop world) like Pidgin (https://developer.pidgin.im/wiki/ThirdPartyPlugins) or Telepathy ?

Modulebaan 2018-01-30 07:06

Re: Transponder, a native messaging client
 
Indeed, I want to overcome these issues by using as much as possible the offical SDKs from each provider.

rinigus 2018-01-30 08:31

Re: Transponder, a native messaging client
 
I am not an expert in the area and started reading about messaging just few days ago after porting to the latest release which disabled hangouts. Hence my understanding can be patchy.

From reading about telepathy framework and your proposal, I am wondering whether its better to focus on already developed telepathy and develop around it. From the look of it, you should be able to make new plugins for new network types and make it all accessible through the whole system. As far as I can see, its possible to make modules in python as well via PyGObject, if you wish.

Taking into account closed source components, you would probably need to implement Accounts and Messager. But the whole lot of work on making parts work together, designing API for communication and implementing it, has been done already.

There is a mention of issues regarding telepathy. Which particular issues do you have in mind?

Do I miss something vital here that makes it better approach to start developing a new framework from scratch?

Modulebaan 2018-01-30 12:42

Re: Transponder, a native messaging client
 
Quote:

Originally Posted by rinigus (Post 1540666)
I am not an expert in the area and started reading about messaging just few days ago after porting to the latest release which disabled hangouts. Hence my understanding can be patchy.

From reading about telepathy framework and your proposal, I am wondering whether its better to focus on already developed telepathy and develop around it. From the look of it, you should be able to make new plugins for new network types and make it all accessible through the whole system. As far as I can see, its possible to make modules in python as well via PyGObject, if you wish.

Taking into account closed source components, you would probably need to implement Accounts and Messager. But the whole lot of work on making parts work together, designing API for communication and implementing it, has been done already.

There is a mention of issues regarding telepathy. Which particular issues do you have in mind?

Do I miss something vital here that makes it better approach to start developing a new framework from scratch?

I understand your concerns but I want to keep Transponder separated from the integrated Telepathy stuff for several reasons:
  • Telepathy integration doesn't play well with Harbour and I really require this.
  • Depending on Telepathy implementation in SFOS, porting to UT, Plasma, ... is more difficult

Jolla's Telepathy doesn't support properly group chats, files sending like it should. Transponder should reach the state of Sailorgram (in the future)

MartinK 2018-01-30 14:41

Re: Transponder, a native messaging client
 
Also if I remember correctly, there is still the closed source UI layer, so even if community implemented all the backend stuff, someone from Jolla would have to do the UI bits to actually make it useful, which is unfortunately very unlikely to happen given similar cases in the past.

(IIRC, SIP support is basically in place backend wise, but the UI is missing and the community has been waiting for Jolla to do something about it for years and can't do anything due to UI being closed source. And there are many other similar cases.)

So while I would also, like rinigius, want to have a full featured unified messaging UX (it worked very well on the N900!) I'm afraid it's not really possible to do with Telepathy and the closed UI. At least unless there would be a concrete promise from Jolla to help with the UI bits or ideally to finally open source the relevant UI bits.

taixzo 2018-01-30 14:51

Re: Transponder, a native messaging client
 
One of the features I've been trying to integrate into Saera is the ability to read texts aloud as they come in, or to send them with dictation. Will Transponder have a method to allow other apps to communicate with it?

acrux 2018-01-30 15:03

Re: Transponder, a native messaging client
 
Quote:

Originally Posted by Modulebaan (Post 1540660)
Any feedback or ideas on this project are more then welcome!

Modern XMPP/Jabber support with at least Message Carbons and Message Archive Management and multiple accounts and multiuser chat.
Most of this is missing in stock Sailfish xmpp account framework making it very limited.

I know that the probably best Linux desktop xmpp application Gajim is heavily based on python but not sure it can be any use in your project...

Modulebaan 2018-01-30 15:51

Re: Transponder, a native messaging client
 
Quote:

Originally Posted by taixzo (Post 1540676)
One of the features I've been trying to integrate into Saera is the ability to read texts aloud as they come in, or to send them with dictation. Will Transponder have a method to allow other apps to communicate with it?

In the future this is possible, however I like my privacy so retrieving and sending messages would need some kind of authorization between Transponder and other apps.

rinigus 2018-01-30 18:06

Re: Transponder, a native messaging client
 
Quote:

Originally Posted by Modulebaan (Post 1540669)
I understand your concerns but I want to keep Transponder separated from the integrated Telepathy stuff for several reasons:
  • Telepathy integration doesn't play well with Harbour and I really require this.
  • Depending on Telepathy implementation in SFOS, porting to UT, Plasma, ... is more difficult

Jolla's Telepathy doesn't support properly group chats, files sending like it should. Transponder should reach the state of Sailorgram (in the future)

According to Plasma Mobile page they also use Telepathy. From some old docs, looks like Ubuntu Touch used Telepathy.

I don't know about the differences in implementation between Plasma/SFOS/UT. Are there any examples?

What looks to me as a main advantage is that you can hook yourself to the existing components and expand as you progress. As for Store, I would suggest to be more critical in having it and not to spend too much time in playing by its rules. They are quite limiting and should not lead to bad design.

Quote:

Originally Posted by MartinK (Post 1540674)
Also if I remember correctly, there is still the closed source UI layer, so even if community implemented all the backend stuff, someone from Jolla would have to do the UI bits to actually make it useful, which is unfortunately very unlikely to happen given similar cases in the past.

This proposed messaging client will have to implement UI for messaging, UI for accounts, API to link multiple backends with the frontend, and battery-efficient backends. In that sense, using existing API and having to work with "just" UI is a simple undertaking, isn't it? :)

I agree with @Modulebaan in terms of keeping development easily relocatable - with significant closed source components we should be ready to move out from SFOS as a platform. So, having functional alternative UI would be handy.

Quote:

Originally Posted by taixzo (Post 1540676)
One of the features I've been trying to integrate into Saera is the ability to read texts aloud as they come in, or to send them with dictation. Will Transponder have a method to allow other apps to communicate with it?

@taixzo, what was the stumbling block? From all the overviews of Telepathy API it seems that it was designed to have multiple components interacting and it should support such feature out of the box.

As always, its up to the main dev to choose the direction and there are many factors in the equation, including learning-by-doing component. One aspect that I would like to bring out is that its a lot you could learn when working on bigger project that has its Q&A for the code and contributions well developed. Don't know much about telepathy, but I surely did learn much by working with the others and contributing to larger projects.

Whatever way you choose, good luck!


All times are GMT. The time now is 14:51.

vBulletin® Version 3.8.8