Description
All Python scripts in this repository run client-side in the browser using Pyodide. This means the web application has no backend requirements to execute code and can theoretically run completely offline!
Adding a Service Worker and web manifest would turn the project into a Progressive Web App (PWA), allowing users to launch games and utilities offline.
Proposed Solution
- Create a
service-worker.js caching HTML files, scripts, styles, assets, and key Pyodide assets.
- Register the service worker inside
index.html.
- Add a basic
manifest.json file defining app metadata, colors, and application icon files.
Files to modify/create
web-app/service-worker.js (NEW)
web-app/manifest.json (NEW)
web-app/index.html (Register service worker & reference manifest)
Description
All Python scripts in this repository run client-side in the browser using Pyodide. This means the web application has no backend requirements to execute code and can theoretically run completely offline!
Adding a Service Worker and web manifest would turn the project into a Progressive Web App (PWA), allowing users to launch games and utilities offline.
Proposed Solution
service-worker.jscaching HTML files, scripts, styles, assets, and key Pyodide assets.index.html.manifest.jsonfile defining app metadata, colors, and application icon files.Files to modify/create
web-app/service-worker.js(NEW)web-app/manifest.json(NEW)web-app/index.html(Register service worker & reference manifest)