Skip to content

itzTerra/offline_web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Pages PWA

Example of a PWA hosted on GitHub Pages.

Inspired by this.

Manifest

{
    "name": "Github Page PWA",
    "short_name": "GPPWA",
    "description": "Github Page as a Progressive Web App",
    "dir": "ltr",

    // Display of the app ("standalone", "fullscreen", "minimal-ui" or "browser")
    "display": "fullscreen", 
    "orientation": "portrait",
   
    // "scope": "/offline_web/",
    // "start_url": "/offline_web/",

    // "offline_page": "/",

    // "fallbacks": {
    //     "/": "/"
    // },
   
    // colours of the app as displayed in the installer
    "background_color": "#ffffff",
    "theme_color": "#ffffff",
   
    "categories": [],
    "shortcuts": [],
    "screenshots": [],
   
    // The possible icons to display. Make sure to change the src URL,
    // the type and the size to your needs. If the size isn't correct, 
    // you may not be able to install the app. 
    "icons": [
        {
          "src": "/offline_web/favicon.jpg",
          "type": "image/png",
          "sizes": "512x512"
        }
    ]
}

About

Example of PWA, which works offline with caching

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published