JavaScript CC0-1.0

pwa-examples

Examples for progressive web apps.

M

mdn

Dernière activité 8 juil. 2026
mdn/pwa-examples

1 k

étoiles

622

forks

3

issues ouvertes

examplesprogressive-web-apppwa

Ce README est souvent en anglais.

PWA Examples

Examples for progressive web apps.

In this repo, we currently have:

  • CycleTracker: A basic app for tracking menstrual cycles. The app's HTML includes a form to add a period cycle start and end dates. The JavaScript app functionality sorts the dates and saves them to local storage. It also displays the dates retrieved from local storage below the form. The app includes a manifest file with three icons, color scheme, etc. The app also includes a service worker to handle asset caching.

  • a2hs: An example set up to show how Add to home screen (A2HS) works. See it live here. This includes an icon and manifest file for allowing the app to be added to home screen, and a simple service worker for making the site work offline.

  • js13kpwa: A list of A-Frame entries submitted to the js13kGames 2017 competition, used as an example for the MDN articles about Progressive Web Apps. The js13kPWA have the App Shell structure, works offline with the Service Worker, is installable thanks to the Manifest file and Add to Homescreen feature, and is re-engageable by using Notifications and Push. See it live here.

  • Custom titlebar demo: A basic demo that shows how to create a custom draggable app titlebar using window controls overlay features such as titlebar-area-* env() variables and the window-drag property. See it live here.

Projets similaires

A curated list of Progressive Web Apps, resources, tools and articles

JavaScriptawesome-listmodern-webprogressive-web-app
Hhemanth
4,9 k étoiles627

A collection of useful tricks for PWAs (Progressive Web Apps)

progressive-web-appspwas
Kkarlhorky
194 étoiles6

A Sample WordPress-based Progressive Web App

JavaScript
GGoogleChromeLabs
561 étoiles93