Skip to content

mumoshu/minpwa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MinPWA

This is a minimal Progressive Web App (PWA) that demonstrates:

  • How to create a PWA
  • How to install a PWA as a desktop app
  • How to call a Chrome extension from a PWA

I manually tested this works via localhost or over a ngrrok tunnel.

The service worker in the PWA won't work if you open the index.html file directly in the browser, or if it's served over HTTP (not HTTPS) on non-localhost.

To run the HTTP server that serves the PWA, run:

go run .

Then open http://localhost:8080 in your browser.

If you are developing over a remote connection, you can use ngrok to tunnel the localhost to a public URL:

ngrok http http://localhost:8080

Then open the ngrok URL in your browser.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published