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

Commit 3919e0e

Browse files
Merge branch 'Materialious:main' into main
2 parents 1b6b7c6 + ef2fab3 commit 3919e0e

46 files changed

Lines changed: 3505 additions & 3075 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/prod-flathub.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,21 @@ jobs:
3939
CHECKSUM=$(curl -L ${{ steps.get_release.outputs.aarch64_url }} | sha256sum | awk '{ print $1 }')
4040
echo "aarch64_sha256=$CHECKSUM" >> "$GITHUB_OUTPUT"
4141
42+
- name: Generate SHA256 checksum for materialious.metainfo.xml
43+
id: sha256_metainfo
44+
run: |
45+
METAINFO_URL="https://raw.githubusercontent.com/Materialious/Materialious/main/materialious/electron/materialious.metainfo.xml"
46+
CHECKSUM=$(curl -L $METAINFO_URL | sha256sum | awk '{ print $1 }')
47+
echo "metainfo_sha256=$CHECKSUM" >> "$GITHUB_OUTPUT"
48+
4249
- name: Update manifest file with new urls and checksums
4350
run: |
4451
MANIFEST_FILE="us.materialio.Materialious.yml"
4552
yq eval -i ".modules[0].sources[0].url = \"${{ steps.get_release.outputs.x86_url }}\"" $MANIFEST_FILE
4653
yq eval -i ".modules[0].sources[0].sha256 = \"${{ steps.sha256_x86.outputs.x86_64_sha256 }}\"" $MANIFEST_FILE
4754
yq eval -i ".modules[0].sources[1].url = \"${{ steps.get_release.outputs.aarch64_url }}\"" $MANIFEST_FILE
4855
yq eval -i ".modules[0].sources[1].sha256 = \"${{ steps.sha256_arm.outputs.aarch64_sha256 }}\"" $MANIFEST_FILE
56+
yq eval -i ".modules[0].sources[5].sha256 = \"${{ steps.sha256_metainfo.outputs.metainfo_sha256 }}\"" $MANIFEST_FILE
4957
5058
- name: Set Git user identity
5159
run: |

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
- [Invidious API extended integration!](https://github.com/Materialious/api-extended)
2626
- Sync your watch progress between Invidious sessions.
2727
- Watch sync parties!
28-
- Silence skipper (Experimental.)
2928
- [YouTube.js](https://github.com/LuanRT/YouTube.js) fallback if Invidious fails loading videos for Desktop & Android.
3029
- Preview video on hover.
3130
- Sponsorblock built-in.
@@ -120,7 +119,6 @@ Deploy Materialious for your Invidious instance using Docker. Follow the steps o
120119
- [SecularSteve](https://github.com/SecularSteve) for creating Materialious' logo.
121120
- [Invidious](https://github.com/iv-org)
122121
- [Clipious](https://github.com/lamarios/clipious) for inspiration & a good source for learning more about undocumented Invidious routes.
123-
- [Vidstack player](https://github.com/vidstack/player)
124122
- [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.)
125123
- Every dependency in [package.json](/materialious/package.json).
126124

docs/DOCKER.md

Lines changed: 1 addition & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -273,94 +273,4 @@ Add these additional environment variables to Materialious.
273273
VITE_DEFAULT_PEERJS_HOST: "peerjs.example.com"
274274
VITE_DEFAULT_PEERJS_PATH: "/"
275275
VITE_DEFAULT_PEERJS_PORT: 443
276-
```
277-
278-
279-
## Step 7 (Optional): Enabling downloads
280-
281-
### Step 1: Add the following to your reverse proxies
282-
283-
#### Caddy
284-
285-
```caddy
286-
# Materialious
287-
materialious.example.com {
288-
reverse_proxy localhost:3001
289-
290-
header {
291-
Cross-Origin-Opener-Policy "same-origin"
292-
Cross-Origin-Embedder-Policy "require-corp"
293-
}
294-
}
295-
296-
# Invidious
297-
invidious.example.com {
298-
# Other configurations
299-
300-
header /ggpht/* Cross-Origin-Resource-Policy cross-origin
301-
}
302-
```
303-
304-
#### Nginx
305-
```nginx
306-
# Materialious
307-
server {
308-
listen 80;
309-
server_name materialious.example.com;
310-
311-
add_header Cross-Origin-Opener-Policy "same-origin" always;
312-
add_header Cross-Origin-Embedder-Policy "require-corp" always;
313-
314-
location / {
315-
proxy_pass http://localhost:3001;
316-
}
317-
}
318-
319-
# Invidious
320-
server {
321-
listen 80;
322-
server_name invidious.example.com;
323-
324-
location /ggpht/ {
325-
add_header Cross-Origin-Resource-Policy cross-origin;
326-
}
327-
}
328-
```
329-
330-
#### Traefik
331-
Add the following to Materialious
332-
333-
```yaml
334-
# Materialious
335-
http:
336-
middlewares:
337-
materialious-downloads:
338-
headers:
339-
customResponseHeaders:
340-
Cross-Origin-Opener-Policy: "same-origin"
341-
Cross-Origin-Embedder-Policy: "require-corp"
342-
343-
# Invidious
344-
http:
345-
routers:
346-
ggpht-router:
347-
rule: "PathPrefix(`/ggpht/`)"
348-
service: ggpht-service
349-
middlewares:
350-
- headers-ggpht
351-
352-
middlewares:
353-
headers-ggpht:
354-
headers:
355-
customResponseHeaders:
356-
Cross-Origin-Resource-Policy: cross-origin
357-
```
358-
359-
360-
### Step 2: Modify docker compose.
361-
362-
Add this environment variable to Materialious.
363-
```yaml
364-
VITE_DEFAULT_DOWNLOAD_ENABLED: true
365-
```
366-
276+
```

materialious/android/.idea/other.xml

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

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 96
11-
versionName "1.7.14"
10+
versionCode 101
11+
versionName "1.7.19"
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
@@ -16,7 +16,6 @@ dependencies {
1616
implementation project(':capacitor-status-bar')
1717
implementation project(':capgo-inappbrowser')
1818
implementation project(':hugotomazi-capacitor-navigation-bar')
19-
implementation project(':mediagrid-capacitor-native-audio')
2019
implementation project(':capacitor-nodejs')
2120

2221
}

materialious/android/capacitor.settings.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,5 @@ project(':capgo-inappbrowser').projectDir = new File('../node_modules/@capgo/ina
2323
include ':hugotomazi-capacitor-navigation-bar'
2424
project(':hugotomazi-capacitor-navigation-bar').projectDir = new File('../node_modules/@hugotomazi/capacitor-navigation-bar/android')
2525

26-
include ':mediagrid-capacitor-native-audio'
27-
project(':mediagrid-capacitor-native-audio').projectDir = new File('../node_modules/@mediagrid/capacitor-native-audio/android')
28-
2926
include ':capacitor-nodejs'
3027
project(':capacitor-nodejs').projectDir = new File('../node_modules/capacitor-nodejs/android')

materialious/capacitor.config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@ const config: CapacitorConfig = {
66
webDir: 'build',
77
plugins: {
88
CapacitorNodeJS: {
9-
nodeDir: 'nodejs-android'
9+
nodeDir: 'nodejs-android',
1010
}
1111
},
12+
server: {
13+
hostname: 'www.youtube.com',
14+
androidScheme: 'https'
15+
}
1216
};
1317

1418
export default config;

materialious/electron/capacitor.config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@ const config: CapacitorConfig = {
66
webDir: 'build',
77
plugins: {
88
CapacitorNodeJS: {
9-
nodeDir: 'nodejs-android'
9+
nodeDir: 'nodejs-android',
1010
}
1111
},
12+
server: {
13+
hostname: 'www.youtube.com',
14+
androidScheme: 'https'
15+
}
1216
};
1317

1418
export default config;

materialious/electron/materialious.metainfo.xml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,27 @@
5757

5858

5959

60-
<release version="1.7.14" date="2025-2-21">
60+
61+
62+
63+
64+
65+
<release version="1.7.19" date="2025-4-04">
66+
<url>https://github.com/Materialious/Materialious/releases/tag/1.7.19</url>
67+
</release>
68+
<release version="1.7.18" date="2025-4-04">
69+
<url>https://github.com/Materialious/Materialious/releases/tag/1.7.18</url>
70+
</release>
71+
<release version="1.7.17" date="2025-4-02">
72+
<url>https://github.com/Materialious/Materialious/releases/tag/1.7.17</url>
73+
</release>
74+
<release version="1.7.16" date="2025-4-02">
75+
<url>https://github.com/Materialious/Materialious/releases/tag/1.7.16</url>
76+
</release>
77+
<release version="1.7.15" date="2025-2-23">
78+
<url>https://github.com/Materialious/Materialious/releases/tag/1.7.15</url>
79+
</release>
80+
<release version="1.7.14" date="2025-2-21">
6181
<url>https://github.com/Materialious/Materialious/releases/tag/1.7.14</url>
6282
</release>
6383
<release version="1.7.13" date="2025-2-21">

0 commit comments

Comments
 (0)