10 ms·
Any demos of these capabilities on GitHub ?
by dhalwani 4y ago
Any demos of these capabilities on GitHub ?
- deleted 4y ago[deleted]
- bradeeoh 4y agoThe goal was to make it so sites that already support standards based Web Push work out of the box. We'd expect most sites that support standalone mode when added to the Home Screen and support Web Push to Just Work™ 3 real world examples are lichess.org for Chess fans, elk.zone for Mastodon fans, and twitter.com for those that still actively use Twitter.
- jakear 4y agoIf you're comfortable with a little `npm i && node server.js`: https://github.com/JacksonKearl/push-simple https://github.com/JacksonKearl/push-simple. This is based on Mozilla's example here, with some modifications to make it work standalone (and ask for permissions on-user-interaction, else it gets blocked by the browser): https://github.com/mdn/serviceworker-cookbook https://github.com/mdn/serviceworker-cookbook
- toastal 4y agoBut please no demos from other code forges, blogs, the spec, or the web in general? Code exists everywhere. Git is distributed version control—not centralizing code a feature. You didn't need to specify a specific place.
- jakear 4y agoStrongest plausible interpretation doctrine would have you read this as "any git-accessible self contained minimal samples available"?
- toastal 4y agoBut feeding into a proprietary product isn’t good for us. Using Google and Photoshop as verbs isn’t great as is, but Git by its nature as a DVCS it becomes even more important we don’t have our language drift in a way that centralizes. Specifying that it is Git is even of questionable value. “Are there any samples with the source available“ is a better phrasing (minimal and self-contained aren't implied by naming a platform).