We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2014-08-04 19:52:55 +0200

A mini webserver to bridge your Jolla and your computer

Hi everybody,

I was trying to create a playlist on my Jolla and quite frustrated when I had this idea. I guess that I'm not the first to have it, but I wanted to expose it with the community so that there can be a debate on how to implement it and bring this awesome feature to our awesome device :)

Today, we have a very limited user-friendly way to interact with our Jolla. Of course, we have SSH, but the fact is that we don't have mass storange, and that MTP is quite buggy. Moreover, even if we had better connection protocol, we won't have all fancy integration that other mobile OS have. For example, with iTunes, you can reorder the applications on your iPhone, send and download photos and videos, and create playlists. On Android, you have some very nice web applications (GMail, GDrive etc.) to manage data on your Android, and same for Windows phone.

Fact is that Jolla users might trust the cloud less, and their device more. Still, it's not a reason not to give them nice integration with other devices (like a computer). There have been initiatives in the open-source world, like KDE-connect, that allows an Android phone to push notifications, calls and sms on your KDE desktop. But this thread is not really about KDE connect. It is about something that could technically work everywhere.

I'm thinking of a mini webserver that could be accessed only when plugged on USB. This webserver would host some webapps that are bridged to your Jolla system. For those who have used the Sailfish SDK, it ressembles a lot to the target manager. On Qt Creator's side, you have a webpage that allows controlling the target, like installing new packages.

A webserver could unlock many capabilities:

  • Managing files (drag files from desktop directly on the web app to upload to Jolla)
  • Managing music (moving them around to create playlist)
  • Viewing or organizing photos
  • Sending SMS
  • Maybe even answering calls
  • Provide API to allow other apps to connect to it

What do you think about this idea ? Feel free to discuss in comments and answers, to add new ideas, and provide hints on how to do it (I don't know how neither how to restrict a webserver to USB only, nor which technology to use, so please contribute :))

A mini webserver to bridge your Jolla and your computer

Hi everybody,

I was trying to create a playlist on my Jolla and quite frustrated when I had this idea. I guess that I'm not the first to have it, but I wanted to expose it with the community so that there can be a debate on how to implement it and bring this awesome feature to our awesome device :)

Today, we have a very limited user-friendly way to interact with our Jolla. Of course, we have SSH, but the fact is that we don't have mass storange, and that MTP is quite buggy. Moreover, even if we had better connection protocol, we won't have all fancy integration that other mobile OS have. For example, with iTunes, you can reorder the applications on your iPhone, send and download photos and videos, and create playlists. On Android, you have some very nice web applications (GMail, GDrive etc.) to manage data on your Android, and same for Windows phone.

Fact is that Jolla users might trust the cloud less, and their device more. Still, it's not a reason not to give them nice integration with other devices (like a computer). There have been initiatives in the open-source world, like KDE-connect, that allows an Android phone to push notifications, calls and sms on your KDE desktop. But this thread is not really about KDE connect. It is about something that could technically work everywhere.

To make it available to all type of computers (and maybe phones / tablets ?), I'm thinking of a mini webserver that could be accessed only when plugged on USB. This webserver would host some webapps that are bridged to your Jolla system. For those who have used the Sailfish SDK, it ressembles a lot to the target manager. On Qt Creator's side, you have a webpage that allows controlling the target, like installing new packages.

A webserver could unlock many capabilities:

  • Managing files (drag files from desktop directly on the web app to upload to Jolla)
  • Managing music (moving them around to create playlist)
  • Viewing or organizing photos
  • Sending SMS
  • Maybe even answering calls
  • Provide API to allow other apps to connect to it

What do you think about this idea ? Feel free to discuss in comments and answers, to add new ideas, and provide hints on how to do it (I don't know how neither how to restrict a webserver to USB only, nor which technology to use, so please contribute :))