From 441e2defdbb115f5aa693197eb10d9f7bd653d6f Mon Sep 17 00:00:00 2001 From: intergrav Date: Wed, 08 Apr 2026 03:28:19 +0000 Subject: [PATCH] feat: pwa support and icon. i know the icon is terrible i spent 30 seconds on it. ill maybe fix it later (note: this does *not* add offline support. i dont plan on implementing song caching nor do i really want to, and i'm not even sure if large-scale song caching is possible on the web. this app requires a connection to the server to function) --- src/index.html | 2 ++ src/manifest.json | 17 +++++++++++++++++ src/static/tinysub-192.png | 0 src/static/tinysub-512.png | 0 src/static/tinysub.svg | 1 + 5 file(s) changed, 20 insertion(s)(+), 0 deletion(s)(-) diff --git a/src/index.html b/src/index.html --- a/src/index.html +++ b/src/index.html @@ -4,6 +4,8 @@ tinysub + + diff --git a/src/manifest.json b/src/manifest.json new file mode 100644 --- /dev/null +++ b/src/manifest.json @@ -0,0 +1,17 @@ +{ + "name": "tinysub", + "start_url": "/", + "display": "standalone", + "icons": [ + { + "src": "static/tinysub-192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "static/tinysub-512.png", + "sizes": "512x512", + "type": "image/png" + } + ] +} diff --git a/src/static/tinysub-192.png b/src/static/tinysub-192.png new file mode 100644 --- /dev/null +++ b/src/static/tinysub-192.png diff --git a/src/static/tinysub-512.png b/src/static/tinysub-512.png new file mode 100644 --- /dev/null +++ b/src/static/tinysub-512.png diff --git a/src/static/tinysub.svg b/src/static/tinysub.svg new file mode 100644 --- /dev/null +++ b/src/static/tinysub.svg @@ -0,0 +1,1 @@ + \ No newline at end of file -- tangled.sh