Can your site be installed?
Paste a link. The checker reads the page, the manifest, the icons and the service worker, then lists what is missing and how to fix it.
- A web app manifestwith a name, colors, a start page and display mode that opens in its own window.
- Icons192 and 512 pixel icons, a maskable one for Android, an apple-touch-icon for iOS and a favicon.
- A service workerthat answers requests, so the app opens without a connection.
Good to know: a browser tab may only read another site when that site allows it, a rule called CORS. Most sites do not allow it, so for them you get a one line command that runs the same check from your computer.
Check pasted source
Open the site in another tab and press Ctrl U (Option Cmd U on a Mac) to see its source. Select all, copy and paste it below. Nothing leaves your browser.
-
Run the full check on your computer. It needs Node.js and reads everything, because the command line has no CORS rule.
- Paste the page source. The checker reads it here, with no request to the site.
-
If it is your site, allow reading. For public pages it is safe to send this header, and then this checker can read everything:
Access-Control-Allow-Origin: *
Some files are private to the site, so their checks are marked not readable. Nothing is wrong with them as far as this page knows. For the full picture run:
-
Fix:
Fix everything in one go. In the project folder, this writes the manifest, every icon size, the service worker, an offline page and the head tags:
npx installkite init