Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Commit 74b7fd2

Browse files
Merge branch 'Materialious:main' into main
2 parents 3919e0e + d29363f commit 74b7fd2

30 files changed

Lines changed: 337 additions & 249 deletions

README.md

Lines changed: 145 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -56,37 +56,150 @@
5656

5757
Open an issue to add your instance.
5858

59-
# Docker deployment
60-
Deploy Materialious for your Invidious instance using Docker. Follow the steps outlined [here](./docs/DOCKER.md) for easy setup.
61-
62-
# Desktop (Windows/MacOS/Linux)
63-
<div style="display: flex; gap: 5px;">
64-
<a href="https://github.com/Materialious/Materialious/releases/latest">
65-
<img src="https://raw.githubusercontent.com/NeoApplications/Neo-Backup/034b226cea5c1b30eb4f6a6f313e4dadcbb0ece4/badge_github.png" alt="Get it on GitHub" height="80"/>
66-
</a>
67-
<a href="https://snapcraft.io/materialious">
68-
<img height="60" alt="Get it from the Snap Store" src="https://snapcraft.io/en/dark/install.svg" />
69-
</a>
70-
<a href='https://flathub.org/apps/us.materialio.Materialious'>
71-
<img width='190' alt='Get it on Flathub' src='https://flathub.org/api/badge?locale=en'/>
72-
</a>
73-
</div>
74-
75-
# Android
76-
<div style="display: flex; gap: 5px;">
77-
<a href="https://github.com/Materialious/Materialious/releases/latest">
78-
<img src="https://raw.githubusercontent.com/NeoApplications/Neo-Backup/034b226cea5c1b30eb4f6a6f313e4dadcbb0ece4/badge_github.png" alt="Get it on GitHub" height="80"/>
79-
</a>
80-
<a href="http://apps.obtainium.imranr.dev/redirect.html?r=obtainium://add/https://github.com/Materialious/Materialious">
81-
<img height="60" alt="Get it on Obtainium" src="https://raw.githubusercontent.com/ImranR98/Obtainium/e3fcf6e0b5187445a76462b4042aba6b2fc15047/assets/graphics/badge_obtainium.png" />
82-
</a>
83-
<a href="https://f-droid.org/packages/us.materialio.app/">
84-
<img height="80" alt="Get it on F-Droid" src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png" />
85-
</a>
86-
<a href="https://apt.izzysoft.de/fdroid/index/apk/us.materialio.app">
87-
<img height="80" alt="Get it on Izzysoft" src="https://codeberg.org/IzzyOnDroid/repo/raw/commit/9873f08e282332a231e64d9729f810f427a521e4/assets/IzzyOnDroid.png" />
88-
</a>
89-
</div>
59+
# Deploying as a website via docker
60+
[Please read the guide here](./docs/DOCKER.md)
61+
62+
# Installing as a local application
63+
<!--This layout is taken from spotube's README as I really liked its layout.
64+
I've commented out places what aren't relevant but might be in the future.-->
65+
<table>
66+
<tr>
67+
<th>Platform</th>
68+
<th>Package/Installation Method</th>
69+
</tr>
70+
<tr>
71+
<td>Windows</td>
72+
<td>
73+
<a href="https://github.com/Materialious/Materialious/releases/latest">
74+
<img width="220" alt="Windows Download" src="https://get.todoist.help/hc/article_attachments/4403191721234/WindowsButton.svg">
75+
</a>
76+
</tr>
77+
<tr>
78+
<td>MacOS (x64)</td>
79+
<td>
80+
<a href="https://github.com/Materialious/Materialious/releases/latest">
81+
<img width="220" alt="MacOS Download" src="https://reachify.io/wp-content/uploads/2018/09/mac-download-button-1.png">
82+
</a>
83+
</td>
84+
</tr>
85+
<tr>
86+
<td>Android</td>
87+
<td>
88+
<br>
89+
<a href="https://github.com/Materialious/Materialious/releases/latest">
90+
<img src="https://raw.githubusercontent.com/NeoApplications/Neo-Backup/034b226cea5c1b30eb4f6a6f313e4dadcbb0ece4/badge_github.png" alt="Get it on GitHub" height="80"/>
91+
</a>
92+
</br>
93+
<br>
94+
<a href="http://apps.obtainium.imranr.dev/redirect.html?r=obtainium://add/https://github.com/Materialious/Materialious">
95+
<img height="60" alt="Get it on Obtainium" src="https://raw.githubusercontent.com/ImranR98/Obtainium/e3fcf6e0b5187445a76462b4042aba6b2fc15047/assets/graphics/badge_obtainium.png" />
96+
</a>
97+
</br>
98+
<br>
99+
<a href="https://f-droid.org/packages/us.materialio.app/">
100+
<img height="80" alt="Get it on F-Droid" src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png" />
101+
</a>
102+
</br>
103+
<br>
104+
<a href="https://apt.izzysoft.de/fdroid/index/apk/us.materialio.app">
105+
<img height="80" alt="Get it on Izzysoft" src="https://codeberg.org/IzzyOnDroid/repo/raw/commit/9873f08e282332a231e64d9729f810f427a521e4/assets/IzzyOnDroid.png" />
106+
</a>
107+
</br>
108+
</td>
109+
</tr>
110+
<tr>
111+
<!-- <tr>
112+
<td>iOS</td>
113+
<td>
114+
<a href="https://github.com/">
115+
<img width="220" alt="Download iOS IPA" src="https://github.com/user-attachments/assets/3e50d93d-fb39-435c-be6b-337745f7c423">
116+
</a>
117+
<br/>
118+
<blockquote style="color:red">
119+
*iPA file only. Requires sideloading with <a href="https://altstore.io/">AltStore</a> or similar tools.
120+
</blockquote>
121+
</td>
122+
</tr> -->
123+
<tr>
124+
<td>Flatpak</td>
125+
<td>
126+
<p><code>flatpak install flathub us.materialio.Materialious</code></p>
127+
<a href="https://flathub.org/apps/us.materialio.Materialious">
128+
<img width="220" alt="Download on Flathub" src="https://flathub.org/assets/badges/flathub-badge-en.png">
129+
</a>
130+
</td>
131+
</tr>
132+
<tr>
133+
<td>AppImage</td>
134+
<td>
135+
<a href="https://github.com/Materialious/Materialious/releases/latest">
136+
<img width="220" alt="Download on Flathub" src="https://user-images.githubusercontent.com/61944859/169455015-13385466-8901-48fe-ba90-b62d58b0be64.png">
137+
</a>
138+
</td>
139+
</tr>
140+
<tr>
141+
<td>Debian/Ubuntu</td>
142+
<td>
143+
<a href="https://github.com/Materialious/Materialious/releases/latest">
144+
<img width="220" alt="Debian/Ubuntu Download" src="https://user-images.githubusercontent.com/61944859/169097994-e92aff78-fd75-4c93-b6e4-f072a4b5a7ed.png">
145+
</a>
146+
<p>Then run: <code>sudo apt install ./Materialious-*-linux-amd64.deb</code></p>
147+
</td>
148+
</tr>
149+
<!-- <tr>
150+
<td>Arch/Manjaro</td>
151+
<td>
152+
<p>With pamac: <code>sudo pamac install spotube-bin</code></p>
153+
<p>With yay: <code>yay -Sy spotube-bin</code></p>
154+
</td>
155+
</tr> -->
156+
<tr>
157+
<td>Fedora/OpenSuse</td>
158+
<td>
159+
<a href="https://github.com/Materialious/Materialious/releases/latest">
160+
<img width="220" alt="Fedora/OpenSuse Download" src="https://user-images.githubusercontent.com/61944859/223638350-5926b9da-04d6-4edd-931d-ad533e4ff058.png">
161+
</a>
162+
<p>For Fedora: <code>sudo dnf install ./Materialious-*-linux-x86_64.rpm</code></p>
163+
<p>For OpenSuse: <code>sudo zypper in ./Materialious-*-linux-x86_64.rpm</code></p>
164+
</td>
165+
</tr>
166+
<tr>
167+
<td>Linux (tarball)</td>
168+
<td>
169+
<a href="https://github.com/Materialious/Materialious/releases/latest">
170+
<img width="220" alt="Tarball Download" src="https://user-images.githubusercontent.com/61944859/169456985-e0ba1fd4-10e8-4cc0-ab94-337acc6e0295.png">
171+
</a>
172+
</td>
173+
</tr>
174+
<!-- <tr>
175+
<td>Macos - <a href="https://brew.sh">Homebrew</a></td>
176+
<td>
177+
<pre lang="bash">
178+
brew tap krtirtho/apps
179+
brew install --cask spotube
180+
</pre>
181+
</td>
182+
</tr>
183+
<tr>
184+
<td>Windows - <a href="https://chocolatey.org">Chocolatey</a></td>
185+
<td>
186+
<p><code>choco install spotube</code></p>
187+
</td>
188+
</tr>
189+
<tr>
190+
<td>Windows - <a href="https://scoop.sh">Scoop</a></td>
191+
<td>
192+
<p><code>scoop bucket add extras</code></p>
193+
<p><code>scoop install spotube</code></p>
194+
</td>
195+
</tr>
196+
<tr>
197+
<td>Windows - <a href="https://github.com/microsoft/winget-cli">WinGet</a></td>
198+
<td>
199+
<p><code>winget install --id KRTirtho.Spotube</code></p>
200+
</td>
201+
</tr> -->
202+
</table>
90203

91204
# Previews
92205

@@ -121,6 +234,7 @@ Deploy Materialious for your Invidious instance using Docker. Follow the steps o
121234
- [Clipious](https://github.com/lamarios/clipious) for inspiration & a good source for learning more about undocumented Invidious routes.
122235
- [Beer CSS](https://github.com/beercss/beercss) (Especially the [YouTube template](https://github.com/beercss/beercss/tree/main/src/youtube) what was used as the base for Materialious.)
123236
- Every dependency in [package.json](/materialious/package.json).
237+
- [spotube](https://github.com/KRTirtho/spotube) for using their README layout for local installation.
124238

125239
# Developers
126240
- [How Materialious is built](./docs/BUILDING.md)

docs/DOCKER.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,6 @@ services:
151151
152152
# Set the default video/audio bitrate to use, -1 automatic, 999999 always best quality
153153
VITE_DEFAULT_DASH_BITRATE: -1
154-
155-
# Please look at step 7 about enabling this.
156-
VITE_DEFAULT_DOWNLOAD_ENABLED: false
157154
```
158155

159156
### Overwriting Materialious defaults

materialious/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
applicationId "us.materialio.app"
88
minSdkVersion rootProject.ext.minSdkVersion
99
targetSdkVersion rootProject.ext.targetSdkVersion
10-
versionCode 101
11-
versionName "1.7.19"
10+
versionCode 102
11+
versionName "1.7.20"
1212
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1313
aaptOptions {
1414
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.

materialious/android/app/capacitor.build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ dependencies {
1414
implementation project(':capacitor-clipboard')
1515
implementation project(':capacitor-screen-orientation')
1616
implementation project(':capacitor-status-bar')
17-
implementation project(':capgo-inappbrowser')
1817
implementation project(':hugotomazi-capacitor-navigation-bar')
1918
implementation project(':capacitor-nodejs')
2019

materialious/android/capacitor.settings.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ project(':capacitor-screen-orientation').projectDir = new File('../node_modules/
1717
include ':capacitor-status-bar'
1818
project(':capacitor-status-bar').projectDir = new File('../node_modules/@capacitor/status-bar/android')
1919

20-
include ':capgo-inappbrowser'
21-
project(':capgo-inappbrowser').projectDir = new File('../node_modules/@capgo/inappbrowser/android')
22-
2320
include ':hugotomazi-capacitor-navigation-bar'
2421
project(':hugotomazi-capacitor-navigation-bar').projectDir = new File('../node_modules/@hugotomazi/capacitor-navigation-bar/android')
2522

materialious/electron/materialious.metainfo.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,11 @@
6262

6363

6464

65-
<release version="1.7.19" date="2025-4-04">
65+
66+
<release version="1.7.20" date="2025-4-08">
67+
<url>https://github.com/Materialious/Materialious/releases/tag/1.7.20</url>
68+
</release>
69+
<release version="1.7.19" date="2025-4-04">
6670
<url>https://github.com/Materialious/Materialious/releases/tag/1.7.19</url>
6771
</release>
6872
<release version="1.7.18" date="2025-4-04">

materialious/electron/package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

materialious/electron/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Materialious",
3-
"version": "1.7.19",
3+
"version": "1.7.20",
44
"description": "Modern material design for Invidious.",
55
"author": {
66
"name": "Ward Pearce",

materialious/electron/src/setup.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
import { USER_AGENT } from 'bgutils-js';
88
import chokidar from 'chokidar';
99
import type { MenuItemConstructorOptions } from 'electron';
10-
import { app, BrowserWindow, Menu, MenuItem, nativeImage, session, Tray } from 'electron';
10+
import { app, BrowserWindow, Menu, MenuItem, nativeImage, session, shell, Tray } from 'electron';
1111
import electronIsDev from 'electron-is-dev';
1212
import electronServe from 'electron-serve';
1313
import windowStateKeeper from 'electron-window-state';
@@ -185,18 +185,14 @@ export class ElectronCapacitorApp {
185185

186186
// Security
187187
this.MainWindow.webContents.setWindowOpenHandler((details) => {
188-
if (!details.url.includes(this.customScheme)) {
189-
return { action: 'deny' };
190-
} else {
191-
return { action: 'allow' };
192-
}
188+
shell.openExternal(details.url);
189+
return { action: 'deny' };
193190
});
194191
this.MainWindow.webContents.on('will-navigate', (event, _newURL) => {
195192
if (!this.MainWindow.webContents.getURL().includes(this.customScheme)) {
196193
event.preventDefault();
197194
}
198195
});
199-
200196
// Link electron plugins into the system.
201197
setupCapacitorElectronPlugins();
202198

materialious/package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)