igniterealtime / pade

Pàdé (Yoruba word for Meet) is a browser extension (Chrome/Edge) based unified communications desktop client for Openfire.
https://igniterealtime.github.io/pade/
Apache License 2.0
104 stars 46 forks source link

Make the application work as a web page and as a progressive web app #180

Closed deleolajide closed 5 years ago

deleolajide commented 5 years ago

Pàdé runs installs as a browser extension and runs like a desktop application. In some use cases where browser extensions are not permitted, it is desirable to run Pàdé as basic web page or install and run as a progressive web app. This is most desired for mobile devices

deleolajide commented 5 years ago

In order to support a web page or progressive web app (PWA), a web server with web push support is required. This feature will require the Openfire Chat API plugin to host the Pàdé web application. Perform the following changes to Pàdé:

  1. Enable Pàdé to work work as a PWA that installs like a native app on the desktop or mobile.

  2. Support web push directly from Openfire using VAPID and a service worker to open Pàdé when messages are received and the user is offline.

  3. Support single sign on with browser stored username/password using the Credential Management API. User should experience the Converse login or registration screen only once.

  4. Adjust the already responsive Converse UI for a mobile form factor

  5. Handle PWA caching

deleolajide commented 5 years ago

Done. Changes implemented in version 1.2.8 and available in public web site http://pade.chat Register a new account and test it.

To deploy locally, you would need Openfire Chat API plugin version 0.9.5 Release 3

Installs on the mobile phone home screen

image

Converse responsive UI

image

image

Installs on the desktop

image

image

Single sign-on with Credential Management API.

image

Web Push

image

wrooot commented 5 years ago

This http://pade.chat accepts only new accounts? Wasn't able to login with my igniterealtime account.

deleolajide commented 5 years ago

This http://pade.chat accepts only new accounts?

Yes. The domain is pade.chat.

marclaporte commented 5 years ago

wow.

Just wow!