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

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


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

Search: