An open API service indexing awesome lists of open source software.

https://github.com/sudo-self/i-am-webpage

webpage PWA to APK
https://github.com/sudo-self/i-am-webpage

Last synced: about 1 year ago
JSON representation

webpage PWA to APK

Awesome Lists containing this project

README

          

# Hi! I'm Webpage
PWA   
APK


### webpage
sudo touch index.html

sudo touch style.css

sudo touch script.js

### webapp
sudo touch manifest.json

sudo touch myscript.js

sudo touch README.md

added 1.png

added 2.png

sudo npm i

sudo npm install --global sw-precache

sudo sw-precache

sudo npm i @bubblewrap/cli

### android apk

sudo bubblewrap init --manifest https://webpage.sudo-self.com/manifest.json

sudo bubblewrap build


![Screenshot 2023-12-20 at 1 09 46 AM](https://github.com/sudo-self/i-am-webpage/assets/119916323/61fa2aed-906c-431e-95bc-14cd86dcaf3e)
![Screenshot 2023-12-19 at 11 18 06 PM](https://github.com/sudo-self/i-am-webpage/assets/119916323/0fcc1f79-7d03-4d64-8d24-0a3f47beb1c5)
![Screenshot 2023-12-20 at 1 32 13 AM](https://github.com/sudo-self/i-am-webpage/assets/119916323/0eea40c4-34d9-4c8b-ac62-49d46798fa4a)

### work while offline
myscript.js
if ("serviceWorker" in navigator) { // register service worker navigator.serviceWorker.register("service-worker.js"); }