Lemmy: Progressive Web App

Created on 28 Jun 2020  路  6Comments  路  Source: LemmyNet/lemmy

Can the website be turned into a PWA, so that users can easily "add to home screen" and use the website like an app?

enhancement

All 6 comments

Many mobile browsers will let you do this now, such as Firefox nightly preview.

But no, we aren't going to make a wrapper PWA, that would just take up another browsers worth of RAM and battery drain on your phone. There are plans to build an android app tho, and the API is open.

Many mobile browsers will let you do this now, such as Firefox nightly preview.

That is exactly what I'm talking about. I'm using FF Preview 5.2.0 on Android, and when I open websites that are PWA compatible, FF provides an option to "Install", as opposed to just "Add to Home screen" which is what it shows for https://dev.lemmy.ml/

So my question is about whether it can be made 'installable'.

Looks like this is possible here: https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Installable_PWAs

If anyone wants to take a crack at it, go right ahead.

Where should this .webmanifest file go in the repo? I can build a first draft which we can improve upon.

The ui/assets folder.

This is done.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Nutomic picture Nutomic  路  5Comments

chovy picture chovy  路  5Comments

NicolasCARPi picture NicolasCARPi  路  5Comments

miki725 picture miki725  路  6Comments

Nutomic picture Nutomic  路  4Comments