Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,18 @@ export default defineConfig({
'lock-keyhole',
'moon',
'package',
'package-check',
'sliders-horizontal',
'sparkles',
'triangle-alert',
],
'simple-icons': [
'android',
'appimage',
'apple',
'archlinux',
'fedora',
'fdroid',
'flatpak',
'fluxer',
'github',
Expand Down
26 changes: 26 additions & 0 deletions src/data/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ export const flatparkSiteUrl = 'https://flatpark.org/apps/org.opentubex.OpenTube
const flatpakReleaseBaseUrl = `https://github.com/OpenTubeX/flatpak/releases/download/${releaseTag}`;
export const snapSiteUrl = 'https://snapcraft.io/opentubex';
const snapReleaseBaseUrl = `https://github.com/OpenTubeX/snap/releases/download/${releaseTag}`;
export const fdroidSiteUrl = 'https://fdroid.opentubex.org/';
export const obtainiumUrl =
'https://apps.obtainium.imranr.dev/redirect?r=obtainium://add/https://github.com/OpenTubeX/OpenTubeX';
export const fdroidNightlyUrl = 'https://fdroid.opentubex.org/#release-channels';
export const obtainiumNightlyUrl =
'https://apps.obtainium.imranr.dev/redirect?r=obtainium://app/%7B%22id%22%3A%22org.opentubex.app.nightly%22%2C%22url%22%3A%22https%3A%2F%2Fgithub.com%2FOpenTubeX%2FOpenTubeX%22%2C%22author%22%3A%22OpenTubeX%22%2C%22name%22%3A%22OpenTubeX%20Nightly%22%2C%22preferredApkIndex%22%3A0%2C%22additionalSettings%22%3A%22%7B%5C%22includePrereleases%5C%22%3Atrue%2C%5C%22fallbackToOlderReleases%5C%22%3Atrue%2C%5C%22filterReleaseTitlesByRegEx%5C%22%3A%5C%22nightly%5C%22%2C%5C%22apkFilterRegEx%5C%22%3A%5C%22android-universal%5B.%5Dapk%24%5C%22%7D%22%2C%22overrideSource%22%3A%22GitHub%22%7D';

export function downloadUrl(assetName: string): string {
return `${releaseBaseUrl}/${assetName}`;
Expand Down Expand Up @@ -154,6 +160,26 @@ export const downloadGroups: DownloadGroup[] = [
},
],
},
{
title: 'Android',
icon: 'simple-icons:android',
links: [
{
label: 'Install with F-Droid',
url: fdroidSiteUrl,
icon: 'simple-icons:fdroid',
preferred: true,
isExternal: true,
},
{
label: 'Install with Obtainium',
url: obtainiumUrl,
icon: 'lucide:package-check',
preferred: true,
isExternal: true,
},
],
},
{
title: 'Ubuntu / Debian',
icon: 'simple-icons:ubuntu',
Expand Down
23 changes: 22 additions & 1 deletion src/pages/downloads.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import {
downloadGroups,
flatparkSiteUrl,
flatpakSiteUrl,
fdroidNightlyUrl,
obtainiumNightlyUrl,
releaseTag,
releaseVersion,
rpmRepositoryUrl,
Expand All @@ -18,6 +20,7 @@ import {
const platformMeta: Record<string, string> = {
Windows: '10+',
macOS: '12+',
Android: '7.0+ · early preview',
};

const aurTabs = [
Expand All @@ -32,6 +35,7 @@ const nightlyTabs = [
{ id: 'opensuse', label: 'openSUSE', icon: 'simple-icons:opensuse' },
{ id: 'flatpak', label: 'Flatpak', icon: 'simple-icons:flatpak' },
{ id: 'snap', label: 'Snap', icon: 'simple-icons:snapcraft' },
{ id: 'android', label: 'Android', icon: 'simple-icons:android' },
];

const wingetCode = 'winget install OpenTubeX.OpenTubeX';
Expand Down Expand Up @@ -95,7 +99,7 @@ flatpak install opentubex org.opentubex.OpenTubeX//nightly`;

<SignalLayout
title="Downloads – OpenTubeX"
description={`Download OpenTubeX ${releaseVersion} beta for Windows, macOS, and Linux. Package managers and GitHub releases.`}
description={`Download OpenTubeX ${releaseVersion} beta for Windows, macOS, Linux, and Android. Package managers and GitHub releases.`}
active="downloads"
mono
>
Expand Down Expand Up @@ -400,6 +404,23 @@ flatpak install opentubex org.opentubex.OpenTubeX//nightly`;
<p class="pkg__body pkg__body--follow">Switch an existing manual installation:</p>
<CmdCode code={snapNightlyMigrationCode} lang="shell" title="Existing manual installation" />
</div>
<div slot="android">
<p class="pkg__body">Install and update the Android nightly preview through F-Droid or Obtainium:</p>
<ul class="format-list" aria-label="Android nightly install links">
<li>
<a class="is-preferred" href={fdroidNightlyUrl} rel="noopener noreferrer">
<Icon name="simple-icons:fdroid" aria-hidden="true" />
Install nightly with F-Droid
</a>
</li>
<li>
<a class="is-preferred" href={obtainiumNightlyUrl} rel="noopener noreferrer">
<Icon name="lucide:package-check" aria-hidden="true" />
Install nightly with Obtainium
</a>
</li>
</ul>
</div>
</SignalTabs>
</div>
</article>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const screenshots = [

<SignalLayout
title="OpenTubeX – Privacy-first YouTube client"
description="OpenTubeX is a privacy-first desktop YouTube client. Encrypted sync, SponsorBlock, no tracking."
description="OpenTubeX is a privacy-first YouTube client. Encrypted sync, SponsorBlock, no tracking."
active="home"
>
<main id="top">
Expand Down Expand Up @@ -109,7 +109,7 @@ const screenshots = [
/>
<h1 class="hero__headline" id="hero-heading">Your YouTube signal, sealed.</h1>
<p class="hero__lede">
A highly customizable, privacy-focused desktop YouTube client that aims to provide the best UX.
A highly customizable, privacy-focused YouTube client that aims to provide the best UX.
</p>
<div class="cta-group">
<a class="btn btn--primary" href="/downloads/">
Expand Down