Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for the distribution of Web apps? #38

Closed
hanguokai opened this issue Jul 8, 2021 · 5 comments
Closed

Support for the distribution of Web apps? #38

hanguokai opened this issue Jul 8, 2021 · 5 comments
Labels
enhancement Enhancement or change to an existing feature status: invalid Invalid issue

Comments

@hanguokai
Copy link
Member

In the past, Chrome supports another type of extensions - Chrome apps, a special web apps distributed through Chrome Web Store. It was deprecated and will stop supporting. One reason for abandoning is that it uses a lot of proprietary APIs instead of web standard APIs. Its successor is PWA, standardized by Web Applications Working Group.

Although Chrome apps is deprecated, but Web apps are highly anticipated by developers. Currently, distributing web apps is a very fragmented experience:

  • Let users install PWA from developer's website: Developers are required to use Service Worker for caching and upgrading web apps by themselves. And need to find a way to get users.
  • Publish PWA to the Microsoft Store
  • Publish PWA to Google Play Store : but you know, play store is an android app store, not focus on Web.
  • Encapsulating a Web app as a native app: like Electron Apps, but this approach has some obvious drawbacks.

Web extensions can also be considered as a way to distribute Web apps. For example, packaging a web app as a web extension, when users click the extension icon, launch the web app. But this form seems to lack some of the features of a native app or PWA, and users don’t feel comfortable using it.

So I hope browser's extension store can better support web app, including functions and distribution.

@larsgk
Copy link

larsgk commented Jul 9, 2021

Hi @hanguokai - I agree that it would make sense to be able to bundle and install PWAs, have you seen https://github.com/WICG/webpackage ?

@hanguokai
Copy link
Member Author

I didn't pay attention to webpackage before, but I can see that this is a positive attempt by web developers to distribute static web apps.

I am glad to see that browser vendors are willing to standardize the Web Extension together. The "extension store"(or call it "web store") is also suitable for distributing static web apps, so this is an opportunity for all browsers to support the distribution of web apps together.

Extension protocol "browser-extension://extension_id/my_app.html" is treated as secure contexts like http://localhost . It is suitable for independent offline applications, e.g. a pure web video player for local files. Another example, Secure Shell App and Secure Shell Extension, they are the same web app but two forms.

Distributing applications is an important thing for developers, and installation means distribution. There may be more than one form of distribution. I can't say which form is the best, but the web store is a natural form of distributing web apps, it is easier to be accepted by developers and users.

@dotproto
Copy link
Member

dotproto commented Jul 13, 2021

I am glad to see that browser vendors are willing to standardize the Web Extension together.

For clarity, that's not what this group is doing. Per the announcement, "this community group seeks to align on a common vision for browser extensions and to work towards future standardization." W3C community groups cannot create standards.

Community Groups may produce Reports; these are not standards-track documents but may become input to the standards process. For instance, a Community Group might gather to work on a new technical specification, or convene to have discussions about a tutorial for an existing specification.

source: W3C Community & Business Groups FAQ

While the WECG is seeking to create a specification for WebExtensions, not everything related to browser extensions will be specified. Specifically, we are aiming to specify "a consistent model and common core of functionality, APIs, and permissions." With luck another body will be able to use the report we produce in whole or in part.

@hanguokai
Copy link
Member Author

Thanks for pointing out the precise definition of W3C Community Group. At the same time, I'm sure it's appropriate to post this proposal here. Because it’s an idea at this stage. I think it’s a very important topic for the future.

@xeenon xeenon added enhancement Enhancement or change to an existing feature status: invalid Invalid issue labels Sep 2, 2021
@Rob--W
Copy link
Member

Rob--W commented Mar 18, 2024

Out of scope for this CG.

@Rob--W Rob--W closed this as not planned Won't fix, can't repro, duplicate, stale Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or change to an existing feature status: invalid Invalid issue
Projects
None yet
Development

No branches or pull requests

5 participants