GoogleChromeLabs / GoogleChromeLabs/webbundle-plugins

Plugin that serves webbundles?

Open
#11 16 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
64
Forks
11
Avg merge
6h 26m
Merged PRs (30d)
6

Description

Thank you for this plugin. This looks good, but is there a plugin for eager web-bundle consumers rather than creators?

## My Goal
A user can click on https://somedomain.org and the web page loads, using a signed https exchange, without any web server being entrusted with a certificate for https://somedomain.org. Entrusting a webserver with a certificate is deeply problematic in some use cases.

I would like the solution to be generic, so that the solution (plugin or otherwise) can be audited once, then used with many domains, rather than special casing every single domain that wants to "go serverless with SXG". If this is too optimistic, I could start with a root domain such as "we-love-sxg.org" and each subdomain could be served with its own SXG file.

## Plan
Have a generic way of serving SXG files if there is no https server but there is a DNS record indicating the location of an SXG file.

This could be a browser plugin that, if an https request fails, does a DNS lookup looking for a txt record with the URL of an SXG file. If one exists, get that instead. If such a plugin already exists, super, I'd love to play with it. If not, I would like to explore the space. It looks as if manifest3 plugins support redirects but not necessarily in a way compatible with this idea.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.