maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Display your Jolla's notification in a web browser (https://talk.maemo.org/showthread.php?t=95934)

blabber 2015-09-07 20:18

Display your Jolla's notification in a web browser
 
Hi all,

the last few days I have been working on a little project to display my Jolla's notifications in a web browser on my desktop. The current version works fine for me and displays for example missed calls, SMS and Threema notifications.

The tool is written in go, source code is available under https://github.com/blabber/jollanotifications, a precompiled version can be obtained here.

To build the source yourself you need a go environment. Call
Code:

env GOOS=linux GOARCH=arm GOARM=7 go build
to build the binary. Copy the binary and the html folder to your Jolla and start the binary. Then visit <ip-of-your-jolla>:8080 with your favourite web browser.

Using the precompiled version is similar, but you don't have to build the binary yourself.

Maybe somebody finds this useful.

Best regards, blabber.

Fuzzillogic 2015-09-07 20:32

Re: Display your Jolla's notification in a web browser
 
Neat :) How about using real browser notifications? Yeah, doesn't work on microsoft browsers, but who uses them anyway?

blabber 2015-09-07 21:48

Re: Display your Jolla's notification in a web browser
 
Quote:

Originally Posted by Fuzzillogic (Post 1481482)

That's a nice idea I haven't thought of. Currently I am polling periodically for the whole backlog of notifications. This makes displaying desktop notifications for single notifications difficult.

But I am planning to move from poll to push via websockets. That will make displaying notifications easier.


All times are GMT. The time now is 00:25.

vBulletin® Version 3.8.8