Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Any demos of these capabilities on GitHub ?


The 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.


If you're comfortable with a little `npm i && node server.js`: 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


But 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.


Strongest plausible interpretation doctrine would have you read this as "any git-accessible self contained minimal samples available"?


But 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).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: