diff --git a/branding/PNG/Logo-Black-(No-BG).png b/branding/PNG/Logo-Black-(No-BG).png
new file mode 100644
index 00000000..3e538894
Binary files /dev/null and b/branding/PNG/Logo-Black-(No-BG).png differ
diff --git a/branding/PNG/Logo-Black.png b/branding/PNG/Logo-Black.png
new file mode 100644
index 00000000..ce9df10e
Binary files /dev/null and b/branding/PNG/Logo-Black.png differ
diff --git a/branding/PNG/Logo-Gradient-(No-BG).png b/branding/PNG/Logo-Gradient-(No-BG).png
new file mode 100644
index 00000000..1f0abd97
Binary files /dev/null and b/branding/PNG/Logo-Gradient-(No-BG).png differ
diff --git a/branding/PNG/Logo-Gradient.png b/branding/PNG/Logo-Gradient.png
new file mode 100644
index 00000000..538da353
Binary files /dev/null and b/branding/PNG/Logo-Gradient.png differ
diff --git a/branding/PNG/Logo-White-(No-BG).png b/branding/PNG/Logo-White-(No-BG).png
new file mode 100644
index 00000000..ee198b05
Binary files /dev/null and b/branding/PNG/Logo-White-(No-BG).png differ
diff --git a/branding/PNG/Logo-White.png b/branding/PNG/Logo-White.png
new file mode 100644
index 00000000..92ce5199
Binary files /dev/null and b/branding/PNG/Logo-White.png differ
diff --git a/branding/SVG/Logo Black (No BG).svg b/branding/SVG/Logo Black (No BG).svg
new file mode 100644
index 00000000..198134cd
--- /dev/null
+++ b/branding/SVG/Logo Black (No BG).svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/branding/SVG/Logo Black.svg b/branding/SVG/Logo Black.svg
new file mode 100644
index 00000000..01e0d503
--- /dev/null
+++ b/branding/SVG/Logo Black.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/branding/SVG/Logo Gradient (No BG).svg b/branding/SVG/Logo Gradient (No BG).svg
new file mode 100644
index 00000000..3f538323
--- /dev/null
+++ b/branding/SVG/Logo Gradient (No BG).svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/branding/SVG/Logo Gradient.svg b/branding/SVG/Logo Gradient.svg
new file mode 100644
index 00000000..3216cd03
--- /dev/null
+++ b/branding/SVG/Logo Gradient.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/branding/SVG/Logo White (No BG).svg b/branding/SVG/Logo White (No BG).svg
new file mode 100644
index 00000000..6e0371b9
--- /dev/null
+++ b/branding/SVG/Logo White (No BG).svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/branding/SVG/Logo White.svg b/branding/SVG/Logo White.svg
new file mode 100644
index 00000000..f0fb2874
--- /dev/null
+++ b/branding/SVG/Logo White.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/packages/frontend/public/android-chrome-192x192.png b/packages/frontend/public/android-chrome-192x192.png
new file mode 100644
index 00000000..5ac9858d
Binary files /dev/null and b/packages/frontend/public/android-chrome-192x192.png differ
diff --git a/packages/frontend/public/android-chrome-512x512.png b/packages/frontend/public/android-chrome-512x512.png
new file mode 100644
index 00000000..a722ee3e
Binary files /dev/null and b/packages/frontend/public/android-chrome-512x512.png differ
diff --git a/packages/frontend/public/apple-touch-icon.png b/packages/frontend/public/apple-touch-icon.png
new file mode 100644
index 00000000..966f94aa
Binary files /dev/null and b/packages/frontend/public/apple-touch-icon.png differ
diff --git a/packages/frontend/public/assets/background.png b/packages/frontend/public/assets/background.png
deleted file mode 100644
index 94cb135a..00000000
Binary files a/packages/frontend/public/assets/background.png and /dev/null differ
diff --git a/packages/frontend/public/assets/logo.png b/packages/frontend/public/assets/logo.png
index da6bc19e..92ce5199 100644
Binary files a/packages/frontend/public/assets/logo.png and b/packages/frontend/public/assets/logo.png differ
diff --git a/packages/frontend/public/favicon-16x16.png b/packages/frontend/public/favicon-16x16.png
new file mode 100644
index 00000000..6830f5e7
Binary files /dev/null and b/packages/frontend/public/favicon-16x16.png differ
diff --git a/packages/frontend/public/favicon-32x32.png b/packages/frontend/public/favicon-32x32.png
new file mode 100644
index 00000000..747588fb
Binary files /dev/null and b/packages/frontend/public/favicon-32x32.png differ
diff --git a/packages/frontend/public/favicon.ico b/packages/frontend/public/favicon.ico
index 0a2e8ab3..66e64568 100644
Binary files a/packages/frontend/public/favicon.ico and b/packages/frontend/public/favicon.ico differ
diff --git a/packages/frontend/public/logo.png b/packages/frontend/public/logo.png
index da6bc19e..92ce5199 100644
Binary files a/packages/frontend/public/logo.png and b/packages/frontend/public/logo.png differ
diff --git a/packages/frontend/src/app/manifest.json b/packages/frontend/src/app/manifest.json
new file mode 100644
index 00000000..7929eaf9
--- /dev/null
+++ b/packages/frontend/src/app/manifest.json
@@ -0,0 +1,20 @@
+{
+ "name": "AIOStreams",
+ "short_name": "AIO",
+ "icons": [
+ {
+ "src": "/android-chrome-192x192.png",
+ "sizes": "192x192",
+ "type": "image/png"
+ },
+ {
+ "src": "/android-chrome-512x512.png",
+ "sizes": "512x512",
+ "type": "image/png"
+ }
+ ],
+ "theme_color": "#ffffff",
+ "start_url": ".",
+ "background_color": "black",
+ "display": "standalone"
+}
diff --git a/packages/server/src/app.ts b/packages/server/src/app.ts
index e1ad5667..9c9a735c 100644
--- a/packages/server/src/app.ts
+++ b/packages/server/src/app.ts
@@ -137,11 +137,22 @@ builtinsRouter.use('/torrent-galaxy', torrentGalaxy);
app.use('/builtins', builtinsRouter);
app.get(
- ['/_next/*any', '/assets/*any', '/favicon.ico', '/logo.png'],
+ [
+ '/_next/*any',
+ '/assets/*any',
+ '/favicon.ico',
+ '/logo.png',
+ '/manifest.json',
+ '/android-chrome-192x192.png',
+ '/android-chrome-512x512.png',
+ '/apple-touch-icon.png',
+ '/favicon-16x16.png',
+ '/favicon-32x32.png',
+ ],
staticRateLimiter,
(req, res, next) => {
const filePath = path.resolve(frontendRoot, req.path.replace(/^\//, ''));
- if (filePath.startsWith(frontendRoot)) {
+ if (filePath.startsWith(frontendRoot) && fs.existsSync(filePath)) {
res.sendFile(filePath);
return;
}
diff --git a/packages/server/src/routes/stremio/manifest.ts b/packages/server/src/routes/stremio/manifest.ts
index 544a8511..b83784f1 100644
--- a/packages/server/src/routes/stremio/manifest.ts
+++ b/packages/server/src/routes/stremio/manifest.ts
@@ -47,12 +47,9 @@ const manifest = async (config?: UserData): Promise => {
typeof resource === 'string' ? [resource] : resource.types;
return [...new Set([...types, ...resourceTypes])];
}, [] as string[]),
- background:
- config?.addonBackground ||
- 'https://raw.githubusercontent.com/Viren070/AIOStreams/refs/heads/main/packages/frontend/public/assets/background.png',
logo:
config?.addonLogo ||
- 'https://raw.githubusercontent.com/Viren070/AIOStreams/refs/heads/main/packages/frontend/public/assets/logo.png',
+ 'https://raw.githubusercontent.com/Viren070/AIOStreams/refs/heads/main/packages/frontend/public/logo.png',
behaviorHints: {
configurable: true,
configurationRequired: config ? false : true,