sharkdp / insect

High precision scientific calculator with support for physical units
https://numbat.dev/
MIT License
3.17k stars 125 forks source link

Make the website a PWA installable app #360

Closed xPaw closed 11 months ago

xPaw commented 1 year ago

https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Installable_PWAs

It requires adding a manifest file and a service worker. This would allow installing this page as a separate app both on mobile and desktop (via chrome).

A side benefit of adding a service worker also allows making it work offline.

sharkdp commented 11 months ago

I'd like to close this for now. In https://github.com/sharkdp/numbat, we have easier ways of installing the terminal version.