Skip to content

armgit / plexo

Public Imported from GitHub
0

Speed up downloads by combining multiple network connections in parallel

Redesign landing page for public release (#68)

Anmol Kapil9717f4462adb
diff --git a/docs/assets/fonts/Archivo-Variable.woff2 b/docs/assets/fonts/Archivo-Variable.woff2
new file mode 100644
index 0000000..7af3f7d
Binary files /dev/null and b/docs/assets/fonts/Archivo-Variable.woff2 differ
diff --git a/docs/assets/fonts/Geist-Variable.woff2 b/docs/assets/fonts/Geist-Variable.woff2
new file mode 100644
index 0000000..8f01e76
Binary files /dev/null and b/docs/assets/fonts/Geist-Variable.woff2 differ
diff --git a/docs/assets/fonts/GeistMono-Variable.woff2 b/docs/assets/fonts/GeistMono-Variable.woff2
new file mode 100644
index 0000000..cf24126
Binary files /dev/null and b/docs/assets/fonts/GeistMono-Variable.woff2 differ
diff --git a/docs/downloads.js b/docs/downloads.js
index 1a38d27..bc77a18 100644
--- a/docs/downloads.js
+++ b/docs/downloads.js
@@ -44,6 +44,8 @@
linux: [
'AppImage: `chmod +x plexo-*.AppImage`, then run it. Recent Ubuntu needs FUSE 2 first: `sudo apt install libfuse2t64` (older releases call it `libfuse2`) — or use the .deb, which needs nothing extra.',
'.deb: `sudo apt install ./plexo_*.deb`.',
+ 'Fedora / RHEL: use the AppImage, and install FUSE 2 first with `sudo dnf install fuse-libs`.',
+ 'Don’t open the AppImage with Disks (it isn’t a disk image — an “image is smaller than the target device” message means it was opened there). Make it executable and run it as above.',
'Using more than one network needs Linux kernel 5.7 or newer (any current distro); on older kernels Plexo can only use the default network.'
]
}
@@ -123,7 +125,16 @@
// iPadOS reports itself as a Mac, with a touch screen.
if (/Android|iPhone|iPad|iPod/i.test(s) || (/Mac/i.test(platform) && touch > 1)) {
- return { os: 'mobile', arch: null }
+ var mobileArch = null
+ if (hint && hint.architecture) {
+ mobileArch =
+ hint.architecture === 'arm' ? 'arm64' : hint.architecture === 'x86' ? 'x64' : null
+ } else if (/x86_64|x64|amd64/i.test(s)) {
+ mobileArch = 'x64'
+ } else if (/arm|aarch64|iPhone|iPad|iPod/i.test(s) || (/Mac/i.test(platform) && touch > 1)) {
+ mobileArch = 'arm64'
+ }
+ return { os: 'mobile', arch: mobileArch }
}
if (/CrOS/.test(s)) return { os: 'other', arch: null }
diff --git a/docs/favicon.svg b/docs/favicon.svg
new file mode 100644
index 0000000..c0ef8a6
--- /dev/null
+++ b/docs/favicon.svg
@@ -0,0 +1,11 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28">
+ <rect width="28" height="28" rx="7" fill="#0a0a0b"/>
+ <path
+ d="M2.5 7c7 0 8.5 7 15 7M2.5 21c7 0 8.5-7 15-7M17.5 14h8M22 10l4 4-4 4"
+ fill="none"
+ stroke="#fff"
+ stroke-width="2.4"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ />
+</svg>
diff --git a/docs/index.html b/docs/index.html
index 1b9767d..c6eaa3b 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -2,2311 +2,2990 @@
<html lang="en">
<head>
<meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>Plexo — one download, every connection you own</title>
+ <meta name="viewport" content="width=device-width,initial-scale=1" />
+ <meta name="theme-color" content="#0A0A0B" />
<meta
name="description"
- content="Plexo splits a single download across every network you have — Wi-Fi, Ethernet, tethered phone — and merges it back into one verified file."
+ content="A free, open-source download manager for macOS, Windows and Linux that combines your internet connections to download files and torrents faster."
/>
- <link
- href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Roboto+Mono:wght@400;500;600&display=swap"
- rel="stylesheet"
+ <title>Plexo — Free download manager that combines your networks</title>
+ <link rel="canonical" href="https://getplexo.app/" />
+ <link rel="icon" href="favicon.svg" type="image/svg+xml" />
+
+ <meta property="og:type" content="website" />
+ <meta property="og:site_name" content="Plexo" />
+ <meta property="og:url" content="https://getplexo.app/" />
+ <meta property="og:title" content="Plexo — Combine your networks. Download faster." />
+ <meta
+ property="og:description"
+ content="A free, open-source download manager that combines your internet connections to download files and torrents faster."
/>
- <style>
- :root {
- color-scheme: dark;
- }
- * {
- box-sizing: border-box;
+ <meta property="og:image" content="https://getplexo.app/og.png" />
+ <meta property="og:image:width" content="1200" />
+ <meta property="og:image:height" content="630" />
+ <meta property="og:image:alt" content="Plexo — Combine your networks. Download faster." />
+ <meta name="twitter:card" content="summary_large_image" />
+
+ <script type="application/ld+json">
+ {
+ "@context": "https://schema.org",
+ "@type": "SoftwareApplication",
+ "name": "Plexo",
+ "url": "https://getplexo.app/",
+ "image": "https://getplexo.app/og.png",
+ "description": "A free, open-source download manager that combines your internet connections to download files and torrents faster.",
+ "applicationCategory": "UtilitiesApplication",
+ "operatingSystem": "macOS, Windows, Linux",
+ "downloadUrl": "https://github.com/anmolkapil/plexo/releases/latest",
+ "license": "https://opensource.org/licenses/MIT",
+ "isAccessibleForFree": true,
+ "offers": { "@type": "Offer", "price": "0", "priceCurrency": "USD" }
}
- body {
- margin: 0;
- background: #16181a;
+ </script>
+
+ <link
+ rel="preload"
+ href="assets/fonts/Archivo-Variable.woff2"
+ as="font"
+ type="font/woff2"
+ crossorigin
+ />
+ <link
+ rel="preload"
+ href="assets/fonts/Geist-Variable.woff2"
+ as="font"
+ type="font/woff2"
+ crossorigin
+ />
+ <link rel="stylesheet" href="landing.css" />
+ <script src="downloads.js" defer></script>
+ <script src="landing.js" defer></script>
+ </head>
+ <body>
+ <a class="skip-link" href="#main">Skip to content</a>
+ <div
+ style="
+ position: relative;
+ display: flex;
+ flex-direction: column;
+ min-height: 100vh;
+ background: #0a0a0b;
+ color: #ededef;
font-family:
- Manrope,
+ 'Geist',
+ ui-sans-serif,
+ system-ui,
-apple-system,
+ 'Segoe UI',
sans-serif;
+ overflow-x: clip;
-webkit-font-smoothing: antialiased;
- color: #eae7e2;
- }
- a {
- color: #d8a44c;
- text-decoration: none;
- }
- a:hover {
- color: #e8bb6d;
- }
- .wrap {
- max-width: 1120px;
- margin: 0 auto;
- padding: 22px 26px 80px;
- display: flex;
- flex-direction: column;
- gap: 56px;
- }
- header {
- display: flex;
- align-items: center;
- gap: 14px;
- flex-wrap: wrap;
- }
- header .spacer {
- flex: 1;
- }
- header a {
- font:
- 500 13px/1 Manrope,
- sans-serif;
- color: #a9adb2;
- }
- header a:hover {
- color: #eae7e2;
- }
- @media (max-width: 440px) {
- header .support-link {
- display: none;
- }
- }
- .logo {
- width: 32px;
- height: 32px;
- display: block;
- flex-shrink: 0;
- }
- .wordmark {
- font:
- 800 17px/1 Manrope,
- sans-serif;
- letter-spacing: -0.01em;
- }
- .badge {
- padding: 5px 10px;
- border-radius: 999px;
- background: #33291a;
- border: 1px solid #4a3a22;
- font:
- 600 10px/1 'Roboto Mono',
- monospace;
- letter-spacing: 0.14em;
- color: #e8bb6d;
- white-space: nowrap;
- }
- .hero {
- display: flex;
- flex-direction: column;
- gap: 26px;
- max-width: 760px;
- }
- .eyebrow {
- font:
- 500 11px/1 'Roboto Mono',
- monospace;
- letter-spacing: 0.2em;
- color: #8d9196;
- white-space: nowrap;
- }
- h1 {
- margin: 0;
- font:
- 800 clamp(40px, 6.4vw, 68px)/1.02 Manrope,
- sans-serif;
- letter-spacing: -0.035em;
- color: #f5f2ed;
- text-wrap: balance;
- }
- .hero p {
- margin: 0;
- font:
- 400 17px/1.6 Manrope,
- sans-serif;
- color: #a9adb2;
- max-width: 600px;
- text-wrap: pretty;
- }
- .cta-row {
- display: flex;
- align-items: center;
- gap: 16px;
- flex-wrap: wrap;
- margin-top: 4px;
- }
- .primary-btn {
- display: flex;
- align-items: center;
- gap: 13px;
- padding: 16px 24px;
- border-radius: 11px;
- background: #d8a44c;
- color: #1b1405;
- box-shadow: 0 16px 38px rgba(216, 164, 76, 0.22);
- }
- .primary-btn:hover {
- background: #e8bb6d;
- }
- .primary-btn .label {
- display: flex;
- flex-direction: column;
- gap: 3px;
- }
- .primary-btn .title {
- font:
- 700 15px/1.2 Manrope,
- sans-serif;
- color: #1b1405;
- }
- .primary-btn .meta {
- font:
- 500 10.5px/1.3 'Roboto Mono',
- monospace;
- color: #5a4413;
- overflow-wrap: anywhere;
- }
- .carousel {
- position: relative;
- }
- .carousel-track {
- display: flex;
- gap: 14px;
- margin: 0;
- padding: 0;
- list-style: none;
- overflow-x: auto;
- scroll-snap-type: x mandatory;
- scroll-behavior: smooth;
- scrollbar-width: none;
- }
- .carousel-track::-webkit-scrollbar {
- display: none;
- }
- .carousel-track li {
- flex: 0 0 auto;
- scroll-snap-align: center;
- margin: 0;
- }
- .carousel-track img {
- display: block;
- height: clamp(200px, 42vw, 380px);
- width: auto;
- max-width: 88vw;
- }
- .carousel-btn {
- position: absolute;
- top: 50%;
- translate: 0 -50%;
- width: 38px;
- height: 38px;
- border-radius: 50%;
- background: #1b1e20;
- border: 1px solid #33383c;
- color: #eae7e2;
- font:
- 500 18px/1 Manrope,
- sans-serif;
- cursor: pointer;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .carousel-btn:hover {
- background: #262a2d;
- }
- .carousel-btn.prev {
- left: -8px;
- }
- .carousel-btn.next {
- right: -8px;
- }
- .carousel-dots {
- display: none;
- justify-content: center;
- gap: 8px;
- margin-top: 12px;
- }
- .carousel-dots .dot {
- width: 6px;
- height: 6px;
- border-radius: 50%;
- background: #33383c;
- }
- .carousel-dots .dot.active {
- background: #d8a44c;
- }
- @media (max-width: 700px) {
- .wrap {
- gap: 32px;
- padding-top: 18px;
- }
- .top {
- gap: 24px;
- }
- .hero {
- gap: 18px;
- }
- h1 {
- margin-top: -4px;
- }
- .cta-meta {
- margin-top: -6px;
- }
- .downloads,
- .guides,
- .support {
- gap: 14px;
- }
- .carousel-btn {
- display: none;
- }
- .carousel-track li {
- flex: 0 0 100%;
- width: 100%;
- scroll-snap-align: start;
+ "
+ data-canvas-width="1440"
+ data-canvas-height="7029"
+ >
+ <!-- vertical guide lines -->
+ <div
+ aria-hidden="true"
+ style="
+ position: absolute;
+ inset: 0;
+ pointer-events: none;
display: flex;
justify-content: center;
- }
- .carousel-track img {
- width: 100%;
- height: auto;
- max-width: 100%;
- }
- .carousel-dots {
- display: flex;
- }
- }
- .downloads {
- display: flex;
- flex-direction: column;
- gap: 16px;
- }
- .downloads-head {
- display: flex;
- align-items: baseline;
- gap: 14px;
- flex-wrap: wrap;
- }
- .downloads-head .title {
- font:
- 700 21px/1.2 Manrope,
- sans-serif;
- letter-spacing: -0.015em;
- color: #f5f2ed;
- white-space: nowrap;
- }
- .downloads-head .source {
- font:
- 400 11.5px/1.4 'Roboto Mono',
- monospace;
- color: #6f7479;
- overflow-wrap: anywhere;
- }
- .asset-table {
- border-radius: 13px;
- overflow: hidden;
- border: 1px solid #2b2f33;
- background: #1b1e20;
- }
- .asset-row {
- display: grid;
- grid-template-columns: minmax(150px, 1fr) minmax(0, 2fr) 110px;
- grid-template-areas: 'platform file dl';
- gap: 16px;
- align-items: center;
- padding: 15px 18px;
- border-bottom: 1px solid #23262a;
- }
- .asset-row .platform {
- grid-area: platform;
- font:
- 600 13.5px/1.35 Manrope,
- sans-serif;
- color: #eae7e2;
- }
- .asset-row .file {
- grid-area: file;
- font:
- 400 11.5px/1.4 'Roboto Mono',
- monospace;
- color: #8d9196;
- overflow-wrap: anywhere;
- }
- .asset-row .file .size {
- color: #5d6165;
- }
- .asset-row .dl {
- grid-area: dl;
- justify-self: end;
- padding: 9px 15px;
- border-radius: 8px;
- background: #262a2d;
- border: 1px solid #33383c;
- font:
- 600 12px/1 Manrope,
- sans-serif;
- color: #eae7e2;
- white-space: nowrap;
- }
- .asset-row .dl:hover {
- background: #2f3437;
- color: #f5f2ed;
- }
- /* The pre-release line after the downloads sits with them, not as its own section. */
- .groups > .asset-note:last-child {
- margin-top: -14px;
- padding: 0 4px;
- }
- .asset-note {
- padding: 14px 20px;
- font:
- 400 11.5px/1.6 'Roboto Mono',
- monospace;
- color: #6f7479;
- }
- .groups {
- display: flex;
- flex-direction: column;
- gap: 30px;
- }
- .os-group {
- display: flex;
- flex-direction: column;
- gap: 12px;
- }
- .os-group h3 {
- margin: 0;
- font:
- 700 19px/1.2 Manrope,
- sans-serif;
- letter-spacing: -0.015em;
- color: #f5f2ed;
- }
- .asset-table .asset-row:last-child {
- border-bottom: 0;
- }
- .asset-row.recommended {
- background: #202428;
- }
- .asset-row .platform .detail {
- display: block;
- margin-top: 2px;
- font:
- 400 11.5px/1.4 Manrope,
- sans-serif;
- color: #8d9196;
- }
- .asset-row .platform .rec {
- display: inline-block;
- margin-left: 8px;
- padding: 2px 7px;
- border-radius: 999px;
- background: rgba(216, 164, 76, 0.14);
- color: #d8a44c;
- font:
- 600 10px/1.3 'Roboto Mono',
- monospace;
- letter-spacing: 0.02em;
- vertical-align: 1px;
- }
- .os-notes {
- margin: 0;
- padding: 0 4px 0 18px;
- font:
- 400 12.5px/1.6 Manrope,
- sans-serif;
- color: #8d9196;
- }
- .os-notes li {
- margin: 5px 0;
- }
- .os-notes code,
- .g-body code {
- padding: 1px 6px;
- border-radius: 5px;
- background: #23262a;
- color: #c9ccd0;
- font:
- 400 11.5px/1.5 'Roboto Mono',
- monospace;
- overflow-wrap: anywhere;
- }
- .first-launch {
- display: flex;
- flex-direction: column;
- gap: 10px;
- padding: 16px 18px;
- border-radius: 12px;
- border: 1px solid #4a3a22;
- background: #1f1b15;
- }
- .first-launch .fl-warning {
- display: flex;
- align-items: flex-start;
- gap: 10px;
- margin: 0;
- font:
- 600 14px/1.45 Manrope,
- sans-serif;
- color: #f5f2ed;
- }
- .first-launch .fl-warning svg {
- flex-shrink: 0;
- margin-top: 1px;
- }
- .first-launch .fl-warning .quote {
- color: #e8bb6d;
- }
- .first-launch p {
- margin: 0;
- font:
- 400 13.5px/1.6 Manrope,
- sans-serif;
- color: #a9adb2;
- text-wrap: pretty;
- }
- .first-launch strong {
- font-weight: 700;
- color: #eae7e2;
- }
- .first-launch code {
- padding: 1px 6px;
- border-radius: 5px;
- background: #23262a;
- color: #c9ccd0;
- font:
- 400 12px/1.5 'Roboto Mono',
- monospace;
- }
- .fl-command {
- display: flex;
- align-items: stretch;
- border-radius: 9px;
- border: 1px solid #33383c;
- background: #121416;
- overflow: hidden;
- }
- .first-launch .fl-command code {
- flex: 1;
- min-width: 0;
- padding: 10px 12px;
- border-radius: 0;
- background: none;
- font:
- 500 12.5px/1.5 'Roboto Mono',
- monospace;
- color: #eae7e2;
- overflow-x: auto;
- white-space: nowrap;
- }
- .fl-command button {
- flex-shrink: 0;
- padding: 0 14px;
- border: 0;
- border-left: 1px solid #33383c;
- background: #262a2d;
- color: #eae7e2;
- font:
- 600 12px/1 Manrope,
- sans-serif;
- cursor: pointer;
- }
- .fl-command button:hover {
- background: #2f3437;
- }
- .fl-command button.done {
- color: #6cc2b4;
- }
- .first-launch .fl-aside {
- font-size: 12px;
- color: #8d9196;
- }
- .os-group .first-launch {
- margin-top: 4px;
- }
- .hero p .examples {
- display: block;
- margin-top: 6px;
- color: #eae7e2;
- }
- .cta-meta {
- display: flex;
- flex-wrap: wrap;
- align-items: baseline;
- gap: 6px 18px;
- margin-top: -10px;
- font:
- 500 12.5px/1.5 Manrope,
- sans-serif;
- }
- .cta-meta #release-line {
- font:
- 400 11.5px/1.5 'Roboto Mono',
- monospace;
- color: #6f7479;
- }
- .cta-alt {
- display: contents;
- }
- .fl-details {
- border-radius: 12px;
- border: 1px solid #4a3a22;
- background: #1f1b15;
- transition:
- border-color 0.3s,
- box-shadow 0.3s;
- }
- .fl-details > summary {
- display: flex;
- align-items: flex-start;
- gap: 10px;
- padding: 12px 16px;
- list-style: none;
- cursor: pointer;
- font:
- 500 13.5px/1.5 Manrope,
- sans-serif;
- color: #c7cace;
- }
- .fl-details > summary::-webkit-details-marker {
- display: none;
- }
- .fl-details > summary svg {
- flex-shrink: 0;
- margin-top: 1px;
- }
- .fl-details > summary .how {
- margin-left: auto;
- padding-left: 12px;
- font-weight: 700;
- color: #d8a44c;
- white-space: nowrap;
- }
- .fl-details[open] > summary .how {
- color: #8d9196;
- }
- .fl-details > .first-launch {
- border: 0;
- border-top: 1px solid #3a2f1f;
- border-radius: 0 0 12px 12px;
- background: none;
- }
- /* The summary line already carries the icon. */
- .fl-details > .first-launch .fl-warning svg {
- display: none;
- }
- .fl-details.downloading {
- border-color: #d8a44c;
- box-shadow: 0 0 0 4px rgba(216, 164, 76, 0.14);
- }
- .fl-details.downloading > summary {
- font-weight: 700;
- color: #f5f2ed;
- }
- .whats-new-head {
- display: flex;
- align-items: center;
- gap: 10px;
- flex-wrap: wrap;
- padding: 0;
- border: 0;
- background: none;
- text-align: left;
- cursor: default;
- }
- .whats-new-head .count {
- display: none;
- }
- @media (max-width: 960px) {
- .whats-new-head {
- display: grid;
- grid-template-columns: minmax(0, 1fr) auto;
- align-items: center;
- gap: 4px 12px;
- cursor: pointer;
- }
- .whats-new-head .ver {
- grid-row: 2;
- }
- .whats-new-head .count {
- display: block;
- grid-column: 2;
- grid-row: 1 / span 2;
- font:
- 600 12.5px/1 Manrope,
- sans-serif;
- color: #d8a44c;
- white-space: nowrap;
- }
- .whats-new:not(.open) .changes,
- .whats-new:not(.open) .older {
- display: none;
- }
- }
- .os-tabs {
- display: flex;
- flex-wrap: wrap;
- gap: 8px;
- }
- .os-tabs button {
- padding: 9px 16px;
- border-radius: 999px;
- border: 1px solid #33383c;
- background: #1b1e20;
- color: #c7cace;
- font:
- 600 13.5px/1.2 Manrope,
- sans-serif;
- cursor: pointer;
- }
- .os-tabs button:hover {
- background: #262a2d;
- color: #f5f2ed;
- }
- .os-tabs button[aria-selected='true'] {
- border-color: #d8a44c;
- background: #d8a44c;
- color: #1b1405;
- }
- .os-tabs .yours {
- margin-left: 6px;
- font:
- 500 10px/1 'Roboto Mono',
- monospace;
- letter-spacing: 0.06em;
- opacity: 0.75;
- }
- /* With tabs, each tab already names its OS. */
- .groups.tabbed .os-group h3 {
- position: absolute;
- width: 1px;
- height: 1px;
- overflow: hidden;
- clip: rect(0 0 0 0);
- white-space: nowrap;
- }
- .guides {
- display: flex;
- flex-direction: column;
- gap: 16px;
- }
- .guide-list {
- border-radius: 13px;
- border: 1px solid #2b2f33;
- background: #1b1e20;
- overflow: hidden;
- }
- .guide-item + .guide-item {
- border-top: 1px solid #23262a;
- }
- .guide-item > summary {
- display: grid;
- grid-template-columns: minmax(0, 1fr) auto;
- column-gap: 16px;
- row-gap: 3px;
- padding: 16px 20px;
- list-style: none;
- cursor: pointer;
- }
- .guide-item > summary::-webkit-details-marker {
- display: none;
- }
- .guide-item > summary::after {
- content: '+';
- grid-column: 2;
- grid-row: 1 / span 2;
- align-self: center;
- font:
- 400 20px/1 Manrope,
- sans-serif;
- color: #8d9196;
- }
- .guide-item[open] > summary::after {
- content: '−';
- }
- .guide-item > summary:hover {
- background: #202428;
- }
- .g-title {
- font:
- 600 15px/1.35 Manrope,
- sans-serif;
- color: #f5f2ed;
- }
- .g-sub {
- font:
- 400 12.5px/1.45 Manrope,
- sans-serif;
- color: #8d9196;
- }
- .g-body {
- display: flex;
- flex-direction: column;
- gap: 12px;
- max-width: 760px;
- padding: 0 20px 20px;
- }
- .g-body p {
- margin: 0;
- font:
- 400 14px/1.6 Manrope,
- sans-serif;
- color: #a9adb2;
- }
- .fl-details > summary:focus-visible,
- .guide-item > summary:focus-visible,
- .whats-new-head:focus-visible,
- .os-tabs button:focus-visible {
- outline: 2px solid #d8a44c;
- outline-offset: 2px;
- }
- @media (prefers-reduced-motion: reduce) {
- .fl-details {
- transition: none;
- }
- }
- .guide {
- display: flex;
- flex-direction: column;
- gap: 14px;
- max-width: 720px;
- }
- .guide p {
- margin: 0;
- font:
- 400 14px/1.6 Manrope,
- sans-serif;
- color: #a9adb2;
- }
- .top {
- display: grid;
- grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
- gap: 48px;
- align-items: start;
- }
- @media (max-width: 960px) {
- .top {
- grid-template-columns: minmax(0, 1fr);
- }
- /* Stacked, the hero spans the same width as What's new below it. */
- .hero {
- max-width: none;
- }
- }
- .card {
- border-radius: 13px;
- border: 1px solid #2b2f33;
- background: #1b1e20;
- }
- .whats-new {
- display: flex;
- flex-direction: column;
- padding: 20px 20px 18px;
- gap: 16px;
- }
- .whats-new-head .title {
- font:
- 700 16px/1.2 Manrope,
- sans-serif;
- letter-spacing: -0.01em;
- color: #f5f2ed;
- }
- .whats-new-head .ver {
- font:
- 500 10.5px/1 'Roboto Mono',
- monospace;
- color: #8d9196;
- overflow-wrap: anywhere;
- }
- .changes {
- margin: 0;
- padding: 0;
- list-style: none;
- display: flex;
- flex-direction: column;
- gap: 14px;
- }
- /* Beside the hero, the panel takes the hero's height (height 0 keeps it from setting the row's
- height; min-height then fills it) and the list scrolls. Stacked, it shows everything. */
- @media (min-width: 961px) {
- .whats-new {
- align-self: stretch;
- height: 0;
- min-height: 100%;
- }
- .whats-new-head,
- .older {
- flex-shrink: 0;
- }
- .changes {
- flex: 1;
- min-height: 0;
- /* Always show the scrollbar so the list reads as scrollable. A styled
- ::-webkit-scrollbar stays visible in Chrome and Safari, even with macOS
- overlay scrollbars, but only without scrollbar-width/-color, which are
- Firefox's way. The fade spares the scrollbar's strip. */
- overflow-y: scroll;
- padding-right: 12px;
- margin-right: -8px;
- padding-bottom: 18px;
- mask-image:
- linear-gradient(to bottom, #000 calc(100% - 36px), transparent),
- linear-gradient(#000, #000) right / 8px 100% no-repeat;
- }
- .changes::-webkit-scrollbar {
- width: 6px;
- }
- .changes::-webkit-scrollbar-track {
- border-radius: 3px;
- background: #23262a;
- }
- .changes::-webkit-scrollbar-thumb {
- border-radius: 3px;
- background: #5d6165;
- }
- @supports (-moz-appearance: none) {
- .changes {
- scrollbar-width: thin;
- scrollbar-color: #5d6165 #23262a;
- }
- }
- }
- .changes li {
- display: flex;
- flex-direction: column;
- gap: 4px;
- }
- .changes .name {
- display: flex;
- align-items: center;
- gap: 8px;
- font:
- 600 13.5px/1.35 Manrope,
- sans-serif;
- color: #eae7e2;
- }
- .changes p {
- margin: 0;
- font:
- 400 12.5px/1.55 Manrope,
- sans-serif;
- color: #8d9196;
- text-wrap: pretty;
- }
- .changes code {
- padding: 0 5px;
- border-radius: 4px;
- background: #23262a;
- color: #c9ccd0;
- font:
- 400 11.5px/1.5 'Roboto Mono',
- monospace;
- }
- .kind {
- flex-shrink: 0;
- padding: 3px 7px;
- border-radius: 999px;
- font:
- 600 9.5px/1 'Roboto Mono',
- monospace;
- letter-spacing: 0.1em;
- text-transform: uppercase;
- background: rgba(216, 164, 76, 0.14);
- color: #d8a44c;
- }
- .kind.faster {
- background: rgba(78, 168, 154, 0.15);
- color: #6cc2b4;
- }
- .kind.improved {
- background: rgba(126, 147, 189, 0.16);
- color: #9aaed6;
- }
- .kind.fixed {
- background: #262a2d;
- color: #a9adb2;
- }
- .older {
- display: flex;
- flex-direction: column;
- gap: 8px;
- padding-top: 14px;
- border-top: 1px solid #2b2f33;
- }
- .older .label {
- font:
- 500 10.5px/1 'Roboto Mono',
- monospace;
- letter-spacing: 0.14em;
- color: #6f7479;
- }
- .older ul {
- margin: 0;
- padding: 0;
- list-style: none;
- display: flex;
- flex-direction: column;
- gap: 6px;
- }
- .older li a {
- display: flex;
- gap: 10px;
- font:
- 500 12px/1.4 'Roboto Mono',
- monospace;
- color: #a9adb2;
- }
- .older li a:hover {
- color: #eae7e2;
- }
- .older li .date {
- margin-left: auto;
- color: #5d6165;
- white-space: nowrap;
- }
- .older .all {
- font:
- 600 12.5px/1.4 Manrope,
- sans-serif;
- }
- .poll-dialog {
- width: min(440px, calc(100% - 32px));
- padding: 0;
- border-radius: 16px;
- border: 1px solid #33383c;
- background: #1b1e20;
- color: #eae7e2;
- box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
- }
- .poll-dialog::backdrop {
- background: rgba(10, 11, 12, 0.62);
- }
- .poll-dialog[open] {
- animation: pop-in 0.22s ease-out;
- }
- @keyframes pop-in {
- from {
- opacity: 0;
- transform: translateY(10px) scale(0.98);
- }
- }
- @media (prefers-reduced-motion: reduce) {
- .poll-dialog[open] {
- animation: none;
- }
- }
- .poll-dialog .body {
- display: flex;
- flex-direction: column;
- gap: 14px;
- padding: 24px;
- }
- .poll-dialog .top-row {
- display: flex;
- align-items: center;
- gap: 10px;
- }
- .poll-dialog h2:focus {
- outline: none;
- }
- .poll-dialog h2 {
- margin: 0;
- font:
- 800 22px/1.2 Manrope,
- sans-serif;
- letter-spacing: -0.02em;
- color: #f5f2ed;
- text-wrap: balance;
- }
- .poll-dialog p {
- margin: 0;
- font:
- 400 13.5px/1.6 Manrope,
- sans-serif;
- color: #a9adb2;
- text-wrap: pretty;
- }
- .poll-dialog .ask {
- font-weight: 600;
- color: #eae7e2;
- }
- .poll-dialog .poll-choices button:first-child,
- .poll-dialog .see-results {
- background: #d8a44c;
- border-color: #d8a44c;
- color: #1b1405;
- }
- .poll-dialog .poll-choices button:first-child:hover:not(:disabled),
- .poll-dialog .see-results:hover {
- background: #e8bb6d;
- border-color: #e8bb6d;
- }
- .poll-dialog .later {
- align-self: stretch;
- padding: 10px 14px;
- border-radius: 10px;
- border: 0;
- background: none;
- font:
- 600 13.5px/1.2 Manrope,
- sans-serif;
- color: #c7cace;
- cursor: pointer;
- }
- .poll-dialog .later:hover {
- background: #262a2d;
- color: #f5f2ed;
- }
- .poll-dialog .error {
- font:
- 400 11.5px/1.5 'Roboto Mono',
- monospace;
- color: #e0806b;
- }
- .support {
- display: flex;
- flex-direction: column;
- gap: 18px;
- }
- .support > p {
- margin: 0;
- max-width: 760px;
- font:
- 400 14px/1.6 Manrope,
- sans-serif;
- color: #a9adb2;
- text-wrap: pretty;
- }
- .poll {
- display: flex;
- flex-direction: column;
- gap: 16px;
- padding: 22px;
- }
- .poll .question {
- margin: 0;
- font:
- 700 17px/1.35 Manrope,
- sans-serif;
- letter-spacing: -0.01em;
- color: #f5f2ed;
- text-wrap: balance;
- }
- .poll .sub {
- margin: -8px 0 0;
- font:
- 400 13px/1.55 Manrope,
- sans-serif;
- color: #8d9196;
- }
- .poll-choices {
- display: flex;
- gap: 10px;
- flex-wrap: wrap;
- }
- .poll-choices button {
- flex: 1 1 180px;
- padding: 13px 18px;
- border-radius: 10px;
- border: 1px solid #33383c;
- background: #262a2d;
- color: #eae7e2;
- font:
- 600 14px/1.2 Manrope,
- sans-serif;
- cursor: pointer;
- }
- .poll-choices button:hover:not(:disabled) {
- background: #2f3437;
- border-color: #4a3a22;
- }
- .poll-choices button:disabled {
- opacity: 0.6;
- cursor: default;
- }
- .poll-results {
- display: flex;
- flex-direction: column;
- gap: 12px;
- }
- .bar {
- display: flex;
- flex-direction: column;
- gap: 6px;
- }
- .bar .row {
- display: flex;
- align-items: baseline;
- gap: 10px;
- font:
- 600 13.5px/1.3 Manrope,
- sans-serif;
- color: #eae7e2;
- }
- .bar .row .mine {
- display: inline-block;
- margin-left: 6px;
- white-space: nowrap;
- font:
- 500 10px/1 'Roboto Mono',
- monospace;
- letter-spacing: 0.1em;
- color: #d8a44c;
- }
- .bar .row .num {
- margin-left: auto;
- font:
- 500 12px/1 'Roboto Mono',
- monospace;
- color: #a9adb2;
- white-space: nowrap;
- }
- .bar .track {
- height: 8px;
- border-radius: 999px;
- background: #262a2d;
- overflow: hidden;
- }
- .bar .fill {
- height: 100%;
- width: 0;
- border-radius: 999px;
- background: #7e93bd;
- transition: width 0.5s ease;
- }
- .bar.yes .fill {
- background: #d8a44c;
- }
- .poll-meta {
- display: flex;
- align-items: center;
- gap: 8px;
- font:
- 400 11.5px/1.5 'Roboto Mono',
- monospace;
- color: #6f7479;
- }
- .live-dot {
- width: 7px;
- height: 7px;
- border-radius: 50%;
- background: #4ea89a;
- box-shadow: 0 0 0 0 rgba(78, 168, 154, 0.5);
- animation: pulse 2s infinite;
- }
- .live-dot.off {
- background: #5d6165;
- animation: none;
- }
- @keyframes pulse {
- 70% {
- box-shadow: 0 0 0 7px rgba(78, 168, 154, 0);
- }
- 100% {
- box-shadow: 0 0 0 0 rgba(78, 168, 154, 0);
- }
- }
- @media (prefers-reduced-motion: reduce) {
- .live-dot {
- animation: none;
- }
- .bar .fill {
- transition: none;
- }
- }
- .ways {
- display: flex;
- flex-direction: column;
- gap: 12px;
- }
- .ways .lead {
- margin: 0;
- font:
- 600 14px/1.5 Manrope,
- sans-serif;
- color: #eae7e2;
- }
- .ways-grid {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
- gap: 10px;
- }
- .way {
- display: flex;
- flex-direction: column;
- gap: 4px;
- padding: 14px 16px;
- border-radius: 11px;
- border: 1px solid #2b2f33;
- background: #1b1e20;
- font:
- 400 12px/1.5 Manrope,
- sans-serif;
- color: #8d9196;
- text-align: left;
- cursor: pointer;
- }
- .way strong {
- font:
- 600 13.5px/1.35 Manrope,
- sans-serif;
- color: #eae7e2;
- }
- a.way:hover,
- button.way:hover {
- border-color: #4a3a22;
- background: #202428;
- color: #a9adb2;
- }
- .way.primary {
- border-color: #4a3a22;
- background: #241f17;
- }
- [hidden] {
- display: none !important;
- }
- footer {
- display: flex;
- align-items: center;
- gap: 18px;
- flex-wrap: wrap;
- padding-top: 28px;
- border-top: 1px solid #23262a;
- }
- footer .spacer {
- flex: 1;
- }
- footer .ver {
- font:
- 400 11.5px/1 'Roboto Mono',
- monospace;
- color: #6f7479;
- white-space: nowrap;
- }
- footer a {
- font:
- 500 12.5px/1 Manrope,
- sans-serif;
- color: #a9adb2;
- white-space: nowrap;
- }
- footer a:hover {
- color: #eae7e2;
- }
- @media (max-width: 700px) {
- .asset-row {
- grid-template-columns: 1fr auto;
- grid-template-areas:
- 'platform dl'
- 'file file';
- gap: 6px 14px;
- }
- }
- </style>
- </head>
- <body>
- <div class="wrap">
- <header>
- <svg class="logo" viewBox="0 0 1024 1024">
- <path
- d="M512,26 C726,26 820,54 883,117 C946,180 998,298 998,512 C998,726 946,844 883,907 C820,970 726,998 512,998 C298,998 204,970 141,907 C78,844 26,726 26,512 C26,298 78,180 141,117 C204,54 298,26 512,26 Z"
- fill="#23282b"
- />
- <g fill="none" stroke-width="54" stroke-linecap="round" stroke-dasharray="44 64">
- <path d="M186,282 C400,282 470,512 640,512" stroke="#4ea89a" />
- <path d="M186,512 L640,512" stroke="#d8a44c" />
- <path d="M186,742 C400,742 470,512 640,512" stroke="#7e93bd" />
- </g>
- <path
- d="M640,512 L846,512"
- fill="none"
- stroke="#f7f4ef"
- stroke-width="112"
- stroke-linecap="round"
- />
- <circle cx="640" cy="512" r="74" fill="#f7f4ef" />
- </svg>
- <div class="wordmark">Plexo</div>
- <div class="badge">PRE-RELEASE</div>
- <div class="spacer"></div>
- <a class="support-link" href="#support">Support</a>
- <a href="https://github.com/anmolkapil/plexo">GitHub</a>
- </header>
+ "
+ >
+ <div
+ style="
+ width: 100%;
+ max-width: 1248px;
+ height: 100%;
+ border-left: 1px solid rgba(255, 255, 255, 0.09);
+ border-right: 1px solid rgba(255, 255, 255, 0.09);
+ "
+ ></div>
+ </div>
- <div class="top">
- <section class="hero">
- <div class="eyebrow">DOWNLOAD MANAGER · MULTI-LINK</div>
- <h1>One download.<br />Every network.</h1>
- <p>
- Plexo combines all your available internet connections to download files faster.
- <span class="examples"
- >Wi-Fi, Ethernet, tethered phones, any mix your computer has.</span
- >
- </p>
+ <!-- top spotlight glow -->
+ <div aria-hidden="true" class="top-glow">
+ <div class="tg-core"></div>
+ <div class="tg-wide"></div>
+ <div class="tg-sparks"></div>
+ <div class="tg-fade"></div>
+ </div>
- <div class="cta-row">
- <a
- class="primary-btn"
- id="primary-btn"
- href="https://github.com/anmolkapil/plexo/releases/latest"
+ <!-- NAV -->
+ <header
+ style="
+ position: sticky;
+ top: 0;
+ z-index: 30;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ gap: 8px;
+ padding: 20px 16px 0;
+ "
+ >
+ <nav
+ aria-label="Main"
+ style="
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ justify-content: space-between;
+ gap: 10px 24px;
+ width: 100%;
+ max-width: 780px;
+ padding: 7px 7px 7px 20px;
+ border: 1px solid rgba(255, 255, 255, 0.09);
+ border-radius: 30px;
+ background: rgba(20, 20, 22, 0.72);
+ backdrop-filter: blur(14px);
+ -webkit-backdrop-filter: blur(14px);
+ "
+ >
+ <a
+ href="#top"
+ aria-label="Plexo home"
+ style="
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ font-weight: 600;
+ font-size: 18px;
+ letter-spacing: -0.01em;
+ min-height: 44px;
+ "
+ >
+ <svg width="28" height="28" viewBox="0 0 28 28" aria-hidden="true">
+ <path
+ d="M2.5 7c7 0 8.5 7 15 7M2.5 21c7 0 8.5-7 15-7M17.5 14h8M22 10l4 4-4 4"
+ fill="none"
+ stroke="#FFFFFF"
+ stroke-width="2.4"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ ></path>
+ </svg>
+ <span>Plexo</span>
+ </a>
+ <div
+ class="navlinks"
+ style="
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: center;
+ gap: 4px 28px;
+ font-size: 14px;
+ "
+ >
+ <a class="nav-section-link" href="#features" style="padding: 12px 0">Features</a>
+ <a class="nav-section-link" href="#downloads" style="padding: 12px 0">Downloads</a>
+ <a class="nav-section-link" href="#faq" style="padding: 12px 0">FAQ</a>
+ <a class="nav-section-link" href="#support" style="padding: 12px 0">Support</a>
+ </div>
+ <div style="display: flex; align-items: center; gap: 8px">
+ <button
+ type="button"
+ class="menu-btn gh-btn"
+ id="menu-toggle"
+ aria-controls="mobile-menu"
+ aria-label="Menu"
+ aria-expanded="false"
+ style="
+ width: 44px;
+ height: 44px;
+ padding: 0;
+ border-radius: 999px;
+ background: linear-gradient(
+ 160deg,
+ rgba(255, 255, 255, 0.14),
+ rgba(255, 255, 255, 0.03)
+ );
+ border: 1px solid rgba(255, 255, 255, 0.18);
+ color: #ffffff;
+ place-items: center;
+ cursor: pointer;
+ "
>
<svg
+ width="18"
+ height="18"
viewBox="0 0 24 24"
- width="19"
- height="19"
fill="none"
- stroke="#1b1405"
- stroke-width="2.2"
+ stroke="currentColor"
+ stroke-width="2"
stroke-linecap="round"
+ aria-hidden="true"
>
- <path d="M12 3v12" />
- <path d="M6.5 11.5 12 17l5.5-5.5" />
- <path d="M4 20h16" />
+ <path d="M4 8h16"></path>
+ <path d="M4 16h16"></path>
+ </svg>
+ </button>
+ <a
+ href="https://github.com/anmolkapil/plexo"
+ aria-label="Plexo on GitHub"
+ class="gh-btn github-button"
+ style="
+ width: 44px;
+ height: 44px;
+ border-radius: 999px;
+ background: linear-gradient(
+ 160deg,
+ rgba(255, 255, 255, 0.22),
+ rgba(255, 255, 255, 0.05)
+ );
+ border: 1px solid rgba(255, 255, 255, 0.22);
+ box-shadow:
+ inset 0 1px 0 rgba(255, 255, 255, 0.35),
+ inset 0 -1px 0 rgba(255, 255, 255, 0.06),
+ 0 6px 20px -8px rgba(0, 0, 0, 0.6);
+ backdrop-filter: blur(12px) saturate(160%);
+ -webkit-backdrop-filter: blur(12px) saturate(160%);
+ color: #ffffff;
+ display: grid;
+ place-items: center;
+ "
+ >
+ <svg
+ width="24"
+ height="24"
+ viewBox="0 0 24 24"
+ fill="currentColor"
+ shape-rendering="geometricPrecision"
+ aria-hidden="true"
+ >
+ <path
+ d="M12 2.4a9.6 9.6 0 0 0-3.04 18.71c.48.09.66-.21.66-.46v-1.87c-2.69.58-3.25-1.14-3.25-1.14-.44-1.12-1.08-1.42-1.08-1.42-.88-.6.07-.59.07-.59.97.07 1.48 1 1.48 1 .87 1.48 2.27 1.05 2.82.8.09-.62.34-1.05.61-1.29-2.14-.24-4.4-1.07-4.4-4.75 0-1.05.38-1.91 1-2.58-.1-.24-.43-1.22.09-2.54 0 0 .81-.26 2.64.98A9.2 9.2 0 0 1 12 6.93c.82 0 1.63.11 2.4.32 1.83-1.24 2.64-.98 2.64-.98.52 1.32.19 2.3.09 2.54.62.67 1 1.53 1 2.58 0 3.69-2.26 4.5-4.41 4.74.35.3.65.88.65 1.78v2.74c0 .25.18.55.66.46A9.6 9.6 0 0 0 12 2.4Z"
+ ></path>
</svg>
- <span class="label">
- <span class="title" id="primary-title">Download for your OS</span>
- <span class="meta" id="primary-meta">Loading latest release…</span>
- </span>
</a>
</div>
- <div class="cta-meta">
- <span id="release-line">Checking GitHub for the latest release…</span>
- <span class="cta-alt" id="cta-alt"></span>
- <a href="#downloads">All downloads</a>
- </div>
- <div id="first-launch-slot"></div>
- </section>
-
- <aside class="card whats-new" id="whats-new" aria-labelledby="whats-new-title">
- <button
- type="button"
- class="whats-new-head"
- id="whats-new-toggle"
- aria-expanded="false"
- aria-controls="changes"
+ </nav>
+ <div id="mobile-menu" hidden>
+ <div
+ class="menu-panel"
+ style="
+ width: 100%;
+ max-width: 780px;
+ display: flex;
+ flex-direction: column;
+ padding: 8px;
+ border: 1px solid rgba(255, 255, 255, 0.09);
+ border-radius: 24px;
+ background: rgba(20, 20, 22, 0.92);
+ backdrop-filter: blur(14px);
+ -webkit-backdrop-filter: blur(14px);
+ "
>
- <span class="title" id="whats-new-title">What’s new</span>
- <span class="ver" id="whats-new-ver"></span>
- <span class="count" id="whats-new-count"></span>
- </button>
- <ul class="changes" id="changes"></ul>
- <div class="older">
- <div class="label" id="older-label" hidden>EARLIER VERSIONS</div>
- <ul id="older-list"></ul>
- <a class="all" href="https://github.com/anmolkapil/plexo/releases"
- >All releases on GitHub →</a
+ <a
+ class="nav-section-link"
+ href="#features"
+ style="padding: 14px 16px; border-radius: 14px; font-size: 16px"
+ >Features</a
+ >
+ <a
+ class="nav-section-link"
+ href="#downloads"
+ style="padding: 14px 16px; border-radius: 14px; font-size: 16px"
+ >Downloads</a
+ >
+ <a
+ class="nav-section-link"
+ href="#faq"
+ style="padding: 14px 16px; border-radius: 14px; font-size: 16px"
+ >FAQ</a
+ >
+ <a
+ class="nav-section-link"
+ href="#support"
+ style="padding: 14px 16px; border-radius: 14px; font-size: 16px"
+ >Support</a
>
</div>
- </aside>
- </div>
-
- <section class="carousel">
- <ul class="carousel-track" id="shots-track">
- <li>
- <img
- src="screenshots/links.png"
- alt="Plexo's link picker showing Wi-Fi and USB Tethering selected, with ping and parallel stream controls."
- loading="lazy"
- />
- </li>
- <li>
- <img
- src="screenshots/downloading.png"
- alt="Plexo combining Wi-Fi and USB tethering into one 27.9 MB/s download, with per-network speed and progress."
- loading="lazy"
- />
- </li>
- <li>
- <img
- src="screenshots/complete.png"
- alt="Plexo download complete summary: 109.3 MB in 8 seconds at 39.4 MB/s peak, split across Wi-Fi and USB tethering."
- loading="lazy"
- />
- </li>
- </ul>
- <button
- class="carousel-btn prev"
- aria-label="Previous screenshot"
- onclick="
- document.getElementById('shots-track').scrollBy({
- left: -document.getElementById('shots-track').clientWidth * 0.9,
- behavior: 'smooth'
- })
- "
- >
- ‹
- </button>
- <button
- class="carousel-btn next"
- aria-label="Next screenshot"
- onclick="
- document.getElementById('shots-track').scrollBy({
- left: document.getElementById('shots-track').clientWidth * 0.9,
- behavior: 'smooth'
- })
- "
- >
- ›
- </button>
- <div class="carousel-dots" id="shots-dots">
- <span class="dot active"></span>
- <span class="dot"></span>
- <span class="dot"></span>
</div>
- </section>
-
- <section class="downloads" id="downloads">
- <div class="downloads-head">
- <div class="title">All downloads</div>
- <div class="source" id="asset-source">PUBLISHED ON GITHUB RELEASES</div>
- </div>
- <div class="os-tabs" id="os-tabs" role="tablist" aria-label="Operating system" hidden></div>
- <div class="groups" id="asset-groups">
- <div class="asset-note">Loading releases…</div>
- </div>
- </section>
-
- <section class="guides" id="guides">
- <div class="downloads-head">
- <div class="title">Setup guides</div>
- </div>
- <div class="guide-list">
- <details class="guide-item" id="multiple-connections" open>
- <summary>
- <span class="g-title">Use separate connections</span>
- <span class="g-sub">Why two networks on the same router won’t add speed</span>
- </summary>
- <div class="g-body">
- <p>
- Plexo is faster only when each network has its own Internet line, like home Wi-Fi
- plus a phone on USB tethering. Two connections to the same router share one line, so
- they won’t add speed.
- </p>
- <p>
- If two connections have addresses on the same local network (both
- <code>192.168.1.x</code>, say), your computer sends everything through one of them.
- Plexo warns you when two selected connections look like that.
- </p>
- </div>
- </details>
-
- <details class="guide-item" id="mac-tethering">
- <summary>
- <span class="g-title">USB tethering on macOS</span>
- <span class="g-sub">Android phones need a free helper app first</span>
- </summary>
- <div class="g-body">
- <p>
- Macs don’t recognize an Android phone’s USB tethering out of the box. Install the
- free <a href="https://github.com/XiaoMiku01/TetherKit">TetherKit</a> first.
- </p>
- <ol class="os-notes">
- <li>
- Install TetherKit: open Terminal and run
- <code>brew install XiaoMiku01/tap/tetherkit</code>
- </li>
- <li>Connect your Android phone to your Mac with a USB cable.</li>
- <li>
- On your phone: Settings → Network & Internet → Hotspot & tethering → turn on USB
- tethering.
- </li>
- <li>Open Plexo. It picks up the connection automatically.</li>
- </ol>
- </div>
- </details>
-
- <details class="guide-item" id="windows-wifi">
- <summary>
- <span class="g-title">Wi-Fi drops when Ethernet is plugged in</span>
- <span class="g-sub">Windows 10 and 11</span>
- </summary>
- <div class="g-body">
- <p>
- Some Windows PCs switch off Wi-Fi as soon as an Ethernet cable is connected. To stop
- that:
- </p>
- <ol class="os-notes">
- <li>Press Win + R, type <code>gpedit.msc</code>, and press Enter.</li>
- <li>
- Go to Computer Configuration → Administrative Templates → Network → Windows
- Connection Manager.
- </li>
- <li>
- Set “Minimize the number of simultaneous connections to the Internet or a Windows
- domain” to <strong>Disabled</strong>.
- </li>
- </ol>
- </div>
- </details>
- </div>
- </section>
+ </header>
- <section class="support" id="support">
- <div class="downloads-head">
- <div class="title">Help keep Plexo free</div>
- </div>
- <p>
- Plexo is free and open source, built and maintained by one developer. Keeping it going
- costs real money: Apple and Microsoft developer licenses, so macOS and Windows stop
- warning you when you install it, plus the time that goes into every release. I’d like your
- honest take on how to cover that.
- </p>
+ <!-- HERO -->
+ <main id="main">
+ <section id="top" style="position: relative; padding: 96px 24px 0; text-align: center">
+ <span
+ style="
+ position: relative;
+ display: inline-flex;
+ align-items: center;
+ margin-bottom: 28px;
+ padding: 5px 12px;
+ border-radius: 999px;
+ border: 1px solid rgba(255, 255, 255, 0.14);
+ background: rgba(255, 255, 255, 0.05);
+ backdrop-filter: blur(10px);
+ -webkit-backdrop-filter: blur(10px);
+ font-size: 12px;
+ letter-spacing: 0.02em;
+ color: #ededef;
+ "
+ >Pre-release</span
+ >
+ <h1
+ style="
+ position: relative;
+ margin: 0 auto;
+ font-family: 'Archivo', 'Helvetica Neue', sans-serif;
+ font-stretch: 118%;
+ font-weight: 600;
+ font-size: clamp(34px, 4.6vw, 72px);
+ line-height: 1.04;
+ letter-spacing: -0.02em;
+ text-transform: uppercase;
+ color: #ededef;
+ "
+ >
+ <span class="h1-line"><span class="hero-t">Combine</span> your networks.</span
+ ><span class="h1-line"><span class="hero-t">Download</span> faster.</span>
+ </h1>
- <div class="card poll" id="poll">
- <p class="question">Would you be okay with small, non-intrusive ads in Plexo?</p>
- <p class="sub">
- Simple and out of the way: no pop-ups, no video, nothing that interrupts a download.
+ <p
+ style="
+ position: relative;
+ max-width: 580px;
+ margin: 28px auto 0;
+ font-size: 18px;
+ line-height: 1.6;
+ color: #a1a1a8;
+ text-wrap: pretty;
+ "
+ >
+ A free, open-source download manager that combines your internet connections to download
+ <em style="color: #ededef">files</em> and
+ <em style="color: #ededef">torrents</em> faster.
</p>
- <div class="poll-choices" id="poll-choices">
- <button type="button" data-vote="yes">Yes, that’s fine</button>
- <button type="button" data-vote="no">No, I’d rather not</button>
- </div>
- <div class="poll-results" id="poll-results" hidden>
- <div class="bar yes">
- <div class="row">
- <span>Yes, that’s fine <span class="mine" hidden>YOUR VOTE</span></span
- ><span class="num"></span>
- </div>
- <div class="track"><div class="fill"></div></div>
- </div>
- <div class="bar no">
- <div class="row">
- <span>No, I’d rather not <span class="mine" hidden>YOUR VOTE</span></span
- ><span class="num"></span>
- </div>
- <div class="track"><div class="fill"></div></div>
- </div>
- </div>
- <div class="poll-meta">
- <span class="live-dot off" id="poll-dot"></span>
- <span id="poll-status">Anonymous · no sign-in, nothing about you is stored</span>
- </div>
- </div>
- <div class="ways" id="ways" hidden>
- <p class="lead" id="ways-lead">Other ways to support Plexo</p>
- <div class="ways-grid">
- <a class="way primary" href="https://github.com/sponsors/anmolkapil">
- <strong>Sponsor on GitHub</strong>
- One-off or monthly, any amount. Goes straight to licenses and development.
- </a>
- <a class="way" href="https://github.com/anmolkapil/plexo">
- <strong>Star the repo</strong>
- Helps more people find Plexo, and costs nothing.
- </a>
- <a class="way" href="https://github.com/anmolkapil/plexo/issues/new">
- <strong>Report bugs, suggest features</strong>
- Good reports make every release better.
- </a>
- <button type="button" class="way" id="share-btn">
- <strong>Tell a friend</strong>
- <span id="share-text">Copy a link to this page.</span>
- </button>
+ <div class="hero-actions">
+ <div class="hero-action-row">
+ <a id="primary-btn" class="btn-3d download-primary" href="#downloads"
+ ><svg
+ width="20"
+ height="20"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ stroke-width="2.2"
+ aria-hidden="true"
+ >
+ <path d="M12 4v11m-5-5 5 5 5-5M5 20h14" /></svg
+ ><span id="primary-title">Download Plexo</span></a
+ ><a class="lnk all-downloads" href="#downloads">All downloads ↓</a>
+ </div>
+ <p id="hero-download-info">macOS, Windows &amp; Linux</p>
+ <div id="hero-alternates"></div>
</div>
- </div>
- </section>
-
- <footer>
- <div class="ver" id="version-label">PLEXO</div>
- <div class="spacer"></div>
- <a href="https://github.com/anmolkapil/plexo">Source</a>
- <a href="https://github.com/anmolkapil/plexo/issues/new">Report an issue</a>
- </footer>
- </div>
-
- <dialog class="poll-dialog" id="poll-dialog" aria-labelledby="poll-dialog-title">
- <div class="body" id="poll-dialog-ask">
- <div class="top-row">
- <div class="eyebrow">QUICK POLL · 1 QUESTION</div>
- </div>
- <h2 id="poll-dialog-title" tabindex="-1" autofocus>Help decide how Plexo is funded</h2>
- <p>
- Plexo is free and built by one developer. Apple and Microsoft developer licenses, and the
- work on every release, cost money.
- </p>
- <p class="ask">
- Would you be okay with small, non-intrusive ads in Plexo? No pop-ups, no video, nothing
- that interrupts a download.
- </p>
- <div class="poll-choices">
- <button type="button" data-dialog-vote="yes">Yes, that’s fine</button>
- <button type="button" data-dialog-vote="no">No, I’d rather not</button>
- </div>
- <p class="error" id="poll-dialog-error" hidden>
- Couldn’t send your vote. Check your connection and try again.
- </p>
- <button type="button" class="later" data-close>Not now</button>
- </div>
- <div class="body" id="poll-dialog-thanks" hidden>
- <div class="top-row">
- <div class="eyebrow">VOTE COUNTED</div>
- </div>
- <h2>Thanks for voting</h2>
- <p id="poll-dialog-thanks-text"></p>
- <div class="poll-choices">
- <button type="button" class="see-results" id="poll-dialog-results">
- See live results
- </button>
- </div>
- <button type="button" class="later" data-close>Close</button>
- </div>
- </dialog>
-
- <script src="downloads.js"></script>
- <script src="changelog.js"></script>
- <script>
- ;(function () {
- var track = document.getElementById('shots-track')
- var dots = document.querySelectorAll('#shots-dots .dot')
- if (track && dots.length && 'IntersectionObserver' in window) {
- var io = new IntersectionObserver(
- function (entries) {
- entries.forEach(function (entry) {
- if (!entry.isIntersecting) return
- var idx = Array.prototype.indexOf.call(track.children, entry.target)
- dots.forEach(function (d, i) {
- d.classList.toggle('active', i === idx)
- })
- })
- },
- { root: track, threshold: 0.6 }
- )
- Array.prototype.forEach.call(track.children, function (li) {
- io.observe(li)
- })
- }
- })()
-
- ;(function () {
- // On narrow screens What's new is one row until tapped.
- var aside = document.getElementById('whats-new')
- var toggle = document.getElementById('whats-new-toggle')
- toggle.addEventListener('click', function () {
- toggle.setAttribute('aria-expanded', String(aside.classList.toggle('open')))
- })
-
- // A link to a guide (#mac-tethering) opens it.
- function openTarget() {
- var target = location.hash && document.getElementById(location.hash.slice(1))
- if (target && target.tagName === 'DETAILS') target.open = true
- }
- window.addEventListener('hashchange', openTarget)
- openTarget()
- })()
-
- ;(function () {
- var REPO = 'anmolkapil/plexo'
- var repoUrl = 'https://github.com/' + REPO
- var D = window.PlexoDownloads
-
- function $(id) {
- return document.getElementById(id)
- }
-
- function el(tag, className, text) {
- var node = document.createElement(tag)
- if (className) node.className = className
- if (text) node.textContent = text
- return node
- }
-
- // Text with `code` spans, built without innerHTML.
- function withCode(node, text) {
- text.split('`').forEach(function (part, i) {
- if (!part) return
- node.appendChild(i % 2 ? el('code', '', part) : document.createTextNode(part))
- })
- return node
- }
-
- // Text with `code` spans and **bold** button names, built without innerHTML.
- function rich(node, text) {
- text.split('**').forEach(function (part, i) {
- if (!part) return
- node.appendChild(i % 2 ? el('strong', '', part) : withCode(el('span'), part))
- })
- return node
- }
-
- var WARNING_ICON =
- '<svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="#e8bb6d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z"/><path d="M12 9v4"/><path d="M12 17h.01"/></svg>'
-
- // How to get past the unsigned-app warning the first time Plexo opens.
- function firstLaunchBox(fl) {
- var box = el('div', 'first-launch')
- var warning = el('p', 'fl-warning')
- warning.innerHTML = WARNING_ICON // a fixed icon, not page data
- var line = el('span', '', fl.system + ' may say ')
- line.appendChild(el('span', 'quote', '“' + fl.warning + '”'))
- warning.appendChild(line)
- box.appendChild(warning)
- box.appendChild(rich(el('p'), fl.fix))
- if (fl.command) box.appendChild(commandRow(fl.command))
- if (fl.aside) box.appendChild(rich(el('p', 'fl-aside'), fl.aside))
- return box
- }
-
- // Folded to one line until the visitor downloads; the download button opens it.
- function firstLaunchDisclosure(fl) {
- var details = el('details', 'fl-details')
- details.id = 'first-launch'
- var summary = el('summary')
- summary.innerHTML = WARNING_ICON // a fixed icon, not page data
- var text = el(
- 'span',
- 'fl-summary',
- 'Plexo isn’t signed yet, so opening it the first time takes one extra step.'
- )
- summary.appendChild(text)
- summary.appendChild(el('span', 'how', 'See how'))
- details.appendChild(summary)
- details.appendChild(firstLaunchBox(fl))
- details.addEventListener('toggle', function () {
- summary.lastChild.textContent = details.open ? 'Hide' : 'See how'
- })
- $('primary-btn').addEventListener('click', function () {
- details.open = true
- details.classList.add('downloading')
- text.textContent = 'Downloading. Next, open Plexo the first time:'
- })
- return details
- }
-
- function commandRow(command) {
- var wrap = el('div', 'fl-command')
- var code = el('code', '', command)
- var copy = el('button', '', 'Copy')
- copy.type = 'button'
- copy.setAttribute('aria-label', 'Copy the command')
- copy.addEventListener('click', function () {
- function done() {
- copy.textContent = 'Copied'
- copy.classList.add('done')
- setTimeout(function () {
- copy.textContent = 'Copy'
- copy.classList.remove('done')
- }, 2000)
- }
- function selectIt() {
- var range = document.createRange()
- range.selectNodeContents(code)
- var sel = window.getSelection()
- sel.removeAllRanges()
- sel.addRange(range)
- }
- if (navigator.clipboard && navigator.clipboard.writeText) {
- navigator.clipboard.writeText(command).then(done, selectIt)
- } else {
- selectIt()
- }
- })
- wrap.appendChild(code)
- wrap.appendChild(copy)
- return wrap
- }
-
- // Only Chromium browsers will say what chip this is; the rest leave it null.
- function environment() {
- var uaData = navigator.userAgentData
- var hint =
- uaData && uaData.getHighEntropyValues
- ? uaData.getHighEntropyValues(['architecture']).catch(function () {
- return null
- })
- : Promise.resolve(null)
- return hint.then(function (h) {
- return D.detectEnvironment(navigator, h)
- })
- }
-
- function row(asset) {
- var r = el('div', 'asset-row' + (asset.recommended ? ' recommended' : ''))
- var platform = el('div', 'platform', asset.title)
- if (asset.recommended) platform.appendChild(el('span', 'rec', 'FOR YOUR COMPUTER'))
- platform.appendChild(el('span', 'detail', asset.detail))
- var file = el('div', 'file', asset.file + ' ')
- if (asset.sizeText) file.appendChild(el('span', 'size', '· ' + asset.sizeText))
- var dl = el('a', 'dl', 'Download')
- dl.href = asset.url
- r.appendChild(platform)
- r.appendChild(file)
- r.appendChild(dl)
- return r
- }
-
- // Nothing to offer (no release yet, GitHub unreachable, or this page's own script missing):
- // send the visitor to the Releases page rather than leave a spinner up.
- function fallback(failed) {
- $('asset-groups').textContent = ''
- $('cta-alt').textContent = ''
- $('first-launch-slot').textContent = ''
- $('os-tabs').hidden = true
- $('asset-groups').appendChild(
- el(
- 'div',
- 'asset-note',
- failed
- ? 'Couldn’t load the latest release from GitHub — get Plexo from the Releases page.'
- : 'No published build assets yet — check the Releases page on GitHub.'
- )
- )
- $('asset-source').textContent = REPO.toUpperCase()
- $('release-line').textContent = failed
- ? 'Couldn’t check for the latest release.'
- : 'No release published yet.'
- $('version-label').textContent = 'PLEXO'
- $('primary-title').textContent = 'View releases on GitHub'
- $('primary-meta').textContent = repoUrl
- $('primary-btn').href = repoUrl + '/releases'
- }
-
- function render(release, env) {
- var groupsEl = $('asset-groups')
- var sourceEl = $('asset-source')
- var releaseLine = $('release-line')
- var versionEl = $('version-label')
- var primaryTitle = $('primary-title')
- var primaryMeta = $('primary-meta')
- var primaryBtn = $('primary-btn')
- var alt = $('cta-alt')
- var model = D.build(release, env)
-
- groupsEl.textContent = ''
- alt.textContent = ''
- $('first-launch-slot').textContent = ''
-
- if (!release || model.empty) return fallback()
-
- var version = release.tag_name
- var date = release.published_at
- ? new Date(release.published_at).toLocaleDateString(undefined, {
- year: 'numeric',
- month: 'short',
- day: 'numeric'
- })
- : ''
- versionEl.textContent = 'PLEXO · ' + version
- sourceEl.textContent = REPO.toUpperCase() + ' · ' + version.toUpperCase()
- releaseLine.textContent = version + (date ? ' · ' + date : '')
-
- if (model.primary) {
- primaryTitle.textContent = model.primary.title
- primaryMeta.textContent = model.primary.meta
- primaryBtn.href = model.primary.asset.url
- } else {
- // Phones, tablets and anything we don't build for.
- primaryTitle.textContent = model.desktop
- ? 'Choose a download'
- : 'Plexo is a desktop app'
- primaryMeta.textContent = model.desktop
- ? 'Nothing published for your system yet'
- : 'Open this page on a Mac, Windows or Linux computer'
- primaryBtn.href = '#downloads'
- }
-
- model.alternates.forEach(function (a) {
- var link = el('a', '', a.text)
- link.href = a.asset.url
- alt.appendChild(link)
- })
- if (model.firstLaunch) {
- $('first-launch-slot').appendChild(firstLaunchDisclosure(model.firstLaunch))
- }
-
- // One OS at a time, starting with the visitor's own.
- var tabs = $('os-tabs')
- var selected = model.groups.some(function (g) {
- return g.os === env.os
- })
- ? env.os
- : model.groups[0].os
- var panels = []
- tabs.textContent = ''
- tabs.hidden = model.groups.length < 2
- groupsEl.classList.toggle('tabbed', !tabs.hidden)
-
- model.groups.forEach(function (g) {
- var section = el('section', 'os-group')
- section.id = 'os-' + g.os
- section.setAttribute('role', 'tabpanel')
- section.hidden = g.os !== selected
- var tab = el('button', '', g.label)
- tab.type = 'button'
- tab.id = 'tab-' + g.os
- tab.setAttribute('role', 'tab')
- tab.setAttribute('aria-controls', section.id)
- tab.setAttribute('aria-selected', String(g.os === selected))
- if (g.os === env.os) tab.appendChild(el('span', 'yours', 'YOURS'))
- tab.addEventListener('click', function () {
- panels.forEach(function (p) {
- p.section.hidden = p.os !== g.os
- p.tab.setAttribute('aria-selected', String(p.os === g.os))
- })
- })
- section.setAttribute('aria-labelledby', tab.id)
- tabs.appendChild(tab)
- panels.push({ os: g.os, tab: tab, section: section })
- section.appendChild(el('h3', '', g.label))
- var table = el('div', 'asset-table')
- g.rows.forEach(function (asset) {
- table.appendChild(row(asset))
- })
- section.appendChild(table)
- // The visitor's own OS already has this under the download button.
- if (g.firstLaunch && !(model.firstLaunch && g.os === env.os)) {
- section.appendChild(firstLaunchBox(g.firstLaunch))
- }
- var notes = el('ul', 'os-notes')
- g.notes.forEach(function (text) {
- notes.appendChild(withCode(el('li'), text))
- })
- section.appendChild(notes)
- groupsEl.appendChild(section)
- })
-
- if (release.prerelease) {
- groupsEl.appendChild(
- el(
- 'div',
- 'asset-note',
- 'Pre-release build. Expect rough edges, and file an issue if something breaks.'
- )
- )
- }
- }
-
- function shortDate(iso) {
- return iso
- ? new Date(iso).toLocaleDateString(undefined, {
- year: 'numeric',
- month: 'short',
- day: 'numeric'
- })
- : ''
- }
-
- // A release this page has no curated entry for: its own notes, minus the downloads table.
- function itemsFromNotes(body) {
- return String(body || '')
- .split(/\n## |\*\*Full Changelog\*\*/)[0]
- .split(/\n\s*\n/)
- .map(function (p) {
- return p.replace(/\*\*|__/g, '').trim()
- })
- .filter(Boolean)
- .map(function (p) {
- return { text: p }
- })
- }
+ <!-- LIVE HERO WIDGET -->
+ <div
+ class="demo-wrap"
+ style="position: relative; max-width: 920px; margin: 72px auto 0; height: auto"
+ >
+ <div class="demo-stage" style="width: 100%">
+ <div
+ class="demo-frame download-demo"
+ style="
+ position: relative;
+ margin: 0;
+ padding: 24px 24px 0;
+ border-radius: 40px 40px 0 0;
+ border: 1px solid rgba(255, 255, 255, 0.14);
+ border-bottom: 0;
+ background: linear-gradient(
+ 180deg,
+ rgba(255, 255, 255, 0.045) 0%,
+ rgba(255, 255, 255, 0.015) 60%,
+ rgba(255, 255, 255, 0) 100%
+ );
+ backdrop-filter: blur(12px);
+ -webkit-backdrop-filter: blur(12px);
+ text-align: left;
+ "
+ >
+ <div aria-hidden="true" class="shine shine-tl"></div>
+ <div style="display: flex; flex-direction: column; gap: 12px">
+ <!-- top panel -->
+ <div
+ class="demo-speed-panel"
+ style="
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ gap: 24px 28px;
+ padding: 26px 28px;
+ border-radius: 24px;
+ background: #17171a;
+ border: 1px solid rgba(255, 255, 255, 0.06);
+ "
+ >
+ <div
+ class="demo-flow-graphic"
+ style="position: relative; flex: 0 0 300px; height: 160px"
+ >
+ <svg
+ width="300"
+ height="160"
+ viewBox="0 0 300 160"
+ aria-hidden="true"
+ style="position: absolute; inset: 0"
+ >
+ <path
+ class="flow flow-wifi"
+ style="animation-duration: 1s"
+ d="M128 46C164 46 194 80 220 80"
+ ></path>
+ <path
+ class="flow flow-usb"
+ style="animation-duration: 1s"
+ d="M128 116C164 116 194 80 220 80"
+ ></path>
+ <circle class="source-wifi" cx="122" cy="46" r="3.5"></circle>
+ <circle class="source-usb" cx="122" cy="116" r="3.5"></circle>
+ <circle class="combine-ring" cx="220" cy="80" r="10"></circle>
+ <circle class="combine-dot" cx="220" cy="80" r="3.7"></circle>
+ <path class="flow-out" d="M220 80H278"></path>
+ <path class="flow-arrow" d="M277 75.5L284 80L277 84.5Z"></path>
+ </svg>
+ <div
+ style="
+ position: absolute;
+ left: 0;
+ top: 22px;
+ width: 110px;
+ text-align: right;
+ "
+ >
+ <div
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 12.5px;
+ letter-spacing: 0.14em;
+ color: #a1a1a8;
+ "
+ >
+ WI-FI
+ </div>
+ <div
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 17px;
+ color: #ff8a3d;
+ margin-top: 3px;
+ "
+ >
+ <span id="wifi-diagram-speed">34.8 MB/s</span>
+ </div>
+ </div>
+ <div
+ style="
+ position: absolute;
+ left: 0;
+ top: 92px;
+ width: 110px;
+ text-align: right;
+ "
+ >
+ <div
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 12.5px;
+ letter-spacing: 0.14em;
+ color: #a1a1a8;
+ "
+ >
+ USB
+ </div>
+ <div
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 17px;
+ color: #ededef;
+ margin-top: 3px;
+ "
+ >
+ <span id="usb-diagram-speed">11.4 MB/s</span>
+ </div>
+ </div>
+ </div>
- // What's new in the latest release, and links to the ones before it on GitHub.
- function renderChangelog(list) {
- var changes = $('changes')
- var older = $('older-list')
- changes.textContent = ''
- older.textContent = ''
- var latest = list && list[0]
- if (!latest) {
- var li = el('li')
- li.appendChild(el('p', '', 'Release notes for every version are on GitHub.'))
- changes.appendChild(li)
- return
- }
- var curated = (window.PlexoChangelog || []).filter(function (e) {
- return e.version === latest.tag_name
- })[0]
- $('whats-new-ver').textContent =
- latest.tag_name + (latest.published_at ? ' · ' + shortDate(latest.published_at) : '')
- var items = curated ? curated.items : itemsFromNotes(latest.body)
- items.forEach(function (item) {
- var li = el('li')
- if (item.title) {
- var name = el('div', 'name')
- name.appendChild(el('span', 'kind ' + item.kind, item.kind))
- name.appendChild(document.createTextNode(item.title))
- li.appendChild(name)
- }
- li.appendChild(withCode(el('p'), item.text))
- changes.appendChild(li)
- })
- list.slice(1, 5).forEach(function (r) {
- var a = el('a')
- a.href = r.html_url
- a.appendChild(el('span', '', r.tag_name))
- a.appendChild(el('span', 'date', shortDate(r.published_at)))
- var li = el('li')
- li.appendChild(a)
- older.appendChild(li)
- })
- $('older-label').hidden = list.length < 2
- $('whats-new-count').textContent =
- items.length + (items.length === 1 ? ' change' : ' changes') + ' ›'
- }
+ <div class="demo-total" style="flex: 1 1 200px; min-width: 0">
+ <div
+ class="demo-total-label"
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 13px;
+ letter-spacing: 0.16em;
+ color: #a1a1a8;
+ "
+ >
+ TOTAL SPEED
+ </div>
+ <div
+ style="display: flex; align-items: baseline; gap: 10px; margin-top: 10px"
+ >
+ <span
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 64px;
+ font-weight: 600;
+ letter-spacing: -0.04em;
+ line-height: 1;
+ font-variant-numeric: tabular-nums;
+ "
+ ><span id="total-speed">46.2</span></span
+ >
+ <span
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 17px;
+ color: #c8c8ce;
+ "
+ >MB/s</span
+ >
+ </div>
+ </div>
- if (!D) {
- fallback(true)
- renderChangelog(null)
- return
- }
+ <div class="demo-chart" style="flex: 2 1 300px; min-width: 0">
+ <div
+ style="
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ gap: 8px 16px;
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 13px;
+ letter-spacing: 0.16em;
+ color: #a1a1a8;
+ "
+ >
+ <span>THROUGHPUT</span>
+ </div>
+ <svg
+ viewBox="0 0 600 160"
+ preserveAspectRatio="none"
+ aria-hidden="true"
+ style="display: block; width: 100%; height: 150px; margin-top: 14px"
+ >
+ <line class="gline" x1="0" y1="53" x2="600" y2="53"></line>
+ <line class="gline" x1="0" y1="106" x2="600" y2="106"></line>
+ <path class="area area-wifi" id="chart-wifi" d=""></path>
+ <path class="area area-usb" id="chart-usb" d=""></path>
+ <path class="cline" id="chart-line" d=""></path>
+ </svg>
+ </div>
+ </div>
- Promise.all([
- fetch('https://api.github.com/repos/' + REPO + '/releases?per_page=5').then(function (r) {
- return r.ok ? r.json() : Promise.reject()
- }),
- environment()
- ])
- .then(function (results) {
- var list = Array.isArray(results[0]) ? results[0] : []
- render(list[0] || null, results[1])
- renderChangelog(list)
- })
- .catch(function () {
- fallback(true)
- renderChangelog(null)
- })
- })()
+ <!-- file row -->
+ <div
+ class="demo-file-row"
+ style="
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ gap: 16px 22px;
+ padding: 18px 26px 18px 18px;
+ border-radius: 22px;
+ background: #17171a;
+ border: 1px solid rgba(255, 255, 255, 0.06);
+ "
+ >
+ <div
+ id="demo-file-kind"
+ style="
+ flex: 0 0 72px;
+ height: 72px;
+ border-radius: 16px;
+ background: #222225;
+ border: 1px solid rgba(255, 255, 255, 0.07);
+ display: grid;
+ place-items: center;
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 15px;
+ letter-spacing: 0.06em;
+ "
+ >
+ ZIP
+ </div>
+ <div style="flex: 1 1 280px; min-width: 0">
+ <div style="display: flex; align-items: center; gap: 10px; min-width: 0">
+ <span
+ id="demo-file-name"
+ style="
+ font-size: 19px;
+ font-weight: 500;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ "
+ >Project.zip</span
+ >
+ </div>
+ <div
+ style="
+ margin-top: 6px;
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 14px;
+ color: #a1a1a8;
+ "
+ >
+ <span id="downloaded">300.2 MB of 2.3 GB</span> ·
+ <span style="color: #ededef"><span id="download-percent">13%</span></span> ·
+ <span id="time-left">46s left</span>
+ </div>
+ <div
+ class="file-progress"
+ role="progressbar"
+ aria-label="Project.zip download progress"
+ aria-valuemin="0"
+ aria-valuemax="100"
+ aria-valuenow="13"
+ style="
+ margin-top: 12px;
+ height: 4px;
+ border-radius: 4px;
+ background: rgba(255, 255, 255, 0.07);
+ overflow: hidden;
+ "
+ >
+ <div
+ class="bar"
+ id="file-progress-fill"
+ style="
+ height: 100%;
+ border-radius: 4px;
+ width: 13%;
+ background: linear-gradient(90deg, #f36712, #ffd9bf);
+ "
+ ></div>
+ </div>
+ </div>
+ <div
+ class="demo-folder"
+ style="
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ font-size: 15px;
+ color: #c8c8ce;
+ "
+ >
+ <svg
+ width="18"
+ height="18"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ stroke-width="1.8"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ aria-hidden="true"
+ >
+ <path
+ d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z"
+ ></path>
+ </svg>
+ <span>~/Downloads</span>
+ </div>
+ </div>
- // The ads poll. Votes are two public counters on Abacus (a free, keyless counter API), so
- // nothing about the voter is sent or kept; this browser remembers its own vote so it can't
- // vote twice by reloading.
- ;(function () {
- var API = 'https://abacus.jasoncameron.dev'
- var NAMESPACE = 'anmolkapil-plexo'
- var KEYS = { yes: 'ads-poll-yes', no: 'ads-poll-no' }
- var STORE = 'plexo-ads-poll'
- var REFRESH_MS = 15000
+ <!-- network table -->
+ <div
+ class="demo-networks"
+ style="
+ padding-bottom: 96px;
+ border-radius: 22px 22px 0 0;
+ background: linear-gradient(
+ 180deg,
+ #17171a 0%,
+ #17171a calc(100% - 110px),
+ rgba(23, 23, 26, 0) 100%
+ );
+ border: 1px solid rgba(255, 255, 255, 0.06);
+ border-bottom: 0;
+ overflow-x: auto;
+ "
+ >
+ <div class="ntable" style="min-width: 600px">
+ <div
+ class="nhead"
+ style="
+ display: grid;
+ grid-template-columns: minmax(220px, 1.3fr) minmax(240px, 2fr) 130px;
+ gap: 18px;
+ align-items: center;
+ padding: 16px 28px;
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 13px;
+ letter-spacing: 0.16em;
+ color: #a1a1a8;
+ "
+ >
+ <span>NETWORK</span>
+ <span>SHARE OF DOWNLOAD</span>
+ <span>SPEED</span>
+ </div>
- var poll = document.getElementById('poll')
- var choices = poll.querySelectorAll('[data-vote]')
- var results = document.getElementById('poll-results')
- var statusEl = document.getElementById('poll-status')
- var dot = document.getElementById('poll-dot')
- var ways = document.getElementById('ways')
- var waysLead = document.getElementById('ways-lead')
- var counts = { yes: 0, no: 0 }
+ <div
+ class="nrow network-row wifi-row"
+ style="
+ display: grid;
+ grid-template-columns: minmax(220px, 1.3fr) minmax(240px, 2fr) 130px;
+ gap: 18px;
+ align-items: center;
+ padding: 12px 28px;
+ border-top: 1px solid rgba(255, 255, 255, 0.06);
+ "
+ >
+ <label class="n-name" style="display: flex; align-items: center; gap: 14px">
+ <span
+ style="
+ width: 10px;
+ height: 10px;
+ border-radius: 50%;
+ background: #f36712;
+ box-shadow: 0 0 14px rgba(243, 103, 18, 0.8);
+ opacity: 1;
+ "
+ ></span>
+ <input
+ id="wifi-toggle"
+ type="checkbox"
+ checked
+ aria-label="Wi-Fi"
+ class="network-toggle"
+ />
+ <span style="font-size: 18px; color: #ededef">Wi-Fi</span>
+ </label>
+ <div style="display: flex; align-items: center; gap: 12px; min-width: 0">
+ <div
+ class="n-bar"
+ style="
+ flex: 1;
+ height: 8px;
+ border-radius: 8px;
+ background: rgba(255, 255, 255, 0.07);
+ overflow: hidden;
+ "
+ >
+ <div
+ class="bar"
+ id="wifi-contribution"
+ style="
+ height: 100%;
+ border-radius: 8px;
+ width: 73%;
+ background: #f36712;
+ "
+ ></div>
+ </div>
+ <span
+ id="wifi-share"
+ style="
+ width: 42px;
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 15px;
+ color: #ededef;
+ "
+ >73%</span
+ >
+ </div>
+ <span
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 16px;
+ color: #ff8a3d;
+ "
+ ><span id="wifi-speed">34.8 MB/s</span></span
+ >
+ </div>
- function stored() {
- try {
- var v = localStorage.getItem(STORE)
- return v === 'yes' || v === 'no' ? v : null
- } catch (e) {
- return null
- }
- }
+ <div
+ class="nrow network-row usb-row"
+ style="
+ display: grid;
+ grid-template-columns: minmax(220px, 1.3fr) minmax(240px, 2fr) 130px;
+ gap: 18px;
+ align-items: center;
+ padding: 12px 28px;
+ border-top: 1px solid rgba(255, 255, 255, 0.06);
+ "
+ >
+ <label class="n-name" style="display: flex; align-items: center; gap: 14px">
+ <span
+ style="
+ width: 10px;
+ height: 10px;
+ border-radius: 50%;
+ background: #ededef;
+ box-shadow: 0 0 14px rgba(255, 255, 255, 0.55);
+ opacity: 1;
+ "
+ ></span>
+ <input
+ id="usb-toggle"
+ type="checkbox"
+ checked
+ aria-label="USB tethering"
+ class="network-toggle"
+ />
+ <span style="font-size: 18px; color: #ededef">USB Tethering</span>
+ </label>
+ <div style="display: flex; align-items: center; gap: 12px; min-width: 0">
+ <div
+ class="n-bar"
+ style="
+ flex: 1;
+ height: 8px;
+ border-radius: 8px;
+ background: rgba(255, 255, 255, 0.07);
+ overflow: hidden;
+ "
+ >
+ <div
+ class="bar"
+ id="usb-contribution"
+ style="
+ height: 100%;
+ border-radius: 8px;
+ width: 27%;
+ background: #ededef;
+ "
+ ></div>
+ </div>
+ <span
+ id="usb-share"
+ style="
+ width: 42px;
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 15px;
+ color: #ededef;
+ "
+ >27%</span
+ >
+ </div>
+ <span
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 16px;
+ color: #ededef;
+ "
+ ><span id="usb-speed">11.4 MB/s</span></span
+ >
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <p class="demo-caption">
+ <button id="demo-motion" type="button" aria-pressed="false">Pause demo</button
+ ><span id="demo-status" class="sr-only">Downloading</span>
+ </p>
+ </section>
- function remember(v) {
- try {
- localStorage.setItem(STORE, v)
- } catch (e) {
- /* Private mode: the vote still counts, it just isn't remembered. */
- }
- }
+ <div
+ class="hatch"
+ aria-hidden="true"
+ style="
+ height: 72px;
+ margin-top: 120px;
+ border-top: 1px solid rgba(255, 255, 255, 0.06);
+ border-bottom: 1px solid rgba(255, 255, 255, 0.06);
+ "
+ ></div>
- function counter(action, key) {
- return fetch(API + '/' + action + '/' + NAMESPACE + '/' + key).then(function (r) {
- // A counter nobody has hit yet doesn't exist.
- if (r.status === 404) return 0
- if (!r.ok) return Promise.reject()
- return r.json().then(function (j) {
- return Number(j.value) || 0
- })
- })
- }
+ <!-- FEATURES -->
+ <section id="features" style="padding: 120px 0 0">
+ <div style="max-width: 1248px; margin: 0 auto; padding: 0 24px; text-align: center">
+ <span
+ style="
+ display: inline-flex;
+ padding: 8px 18px;
+ border-radius: 999px;
+ border: 1px solid rgba(255, 255, 255, 0.14);
+ background: #151517;
+ font-size: 13px;
+ color: #c8c8ce;
+ "
+ >Features</span
+ >
+ <h2
+ style="
+ margin: 24px auto 0;
+ max-width: 900px;
+ font-family: 'Archivo', 'Helvetica Neue', sans-serif;
+ font-stretch: 118%;
+ font-weight: 600;
+ font-size: clamp(30px, 4.4vw, 60px);
+ line-height: 1.06;
+ letter-spacing: -0.015em;
+ text-transform: uppercase;
+ color: #ededef;
+ text-wrap: balance;
+ "
+ >
+ <span style="color: #f36712">More connections,</span> less waiting
+ </h2>
+ </div>
- function live(ok, text) {
- dot.classList.toggle('off', !ok)
- statusEl.textContent = text
- }
+ <!-- row 1 -->
+ <div style="max-width: 1248px; margin: 72px auto 0; padding: 0 24px">
+ <div
+ class="cells"
+ style="
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr));
+ "
+ >
+ <div class="stack" style="display: flex; flex-direction: column">
+ <div
+ class="feat-title"
+ style="
+ flex: 1;
+ min-height: 300px;
+ display: flex;
+ align-items: center;
+ padding: clamp(28px, 5vw, 64px);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: 40px;
+ background: #0e0e10;
+ "
+ >
+ <h3
+ style="
+ margin: 0;
+ font-family: 'Archivo', 'Helvetica Neue', sans-serif;
+ font-stretch: 118%;
+ font-weight: 600;
+ font-size: clamp(28px, 3.2vw, 46px);
+ line-height: 1.08;
+ letter-spacing: -0.01em;
+ text-transform: uppercase;
+ color: #e4e4e8;
+ "
+ >
+ Multiple<br />connections
+ </h3>
+ </div>
+ <div
+ style="
+ padding: clamp(28px, 4vw, 48px) clamp(28px, 5vw, 64px);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: 40px;
+ background: #0e0e10;
+ "
+ >
+ <p
+ style="
+ margin: 0;
+ max-width: 470px;
+ font-size: 18px;
+ line-height: 1.6;
+ color: #a1a1a8;
+ text-wrap: pretty;
+ "
+ >
+ Use all your internet connections together. Plexo downloads different parts of
+ the same file through each connection, helping it finish faster.
+ </p>
+ </div>
+ </div>
+ <div
+ class="feature-visual"
+ style="
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ min-height: 440px;
+ padding: clamp(24px, 4vw, 56px);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: 40px;
+ background: #0e0e10;
+ "
+ >
+ <div
+ role="img"
+ aria-label="Plexo connections panel: Wi-Fi and USB tethering switched on and combined into one download, Ethernet off"
+ style="
+ width: 100%;
+ max-width: 440px;
+ display: flex;
+ flex-direction: column;
+ gap: 14px;
+ "
+ >
+ <div
+ style="
+ padding: 18px;
+ border-radius: 22px;
+ background: #17171a;
+ border: 1px solid rgba(255, 255, 255, 0.07);
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
+ "
+ >
+ <div
+ style="
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin-bottom: 14px;
+ "
+ >
+ <span style="font-size: 15px; color: #ededef">Connections</span
+ ><span
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 11px;
+ letter-spacing: 0.12em;
+ color: #8c8c94;
+ "
+ >2 OF 3 ACTIVE</span
+ >
+ </div>
+ <div style="display: flex; flex-direction: column; gap: 8px">
+ <div
+ style="
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ padding: 12px 14px;
+ border-radius: 14px;
+ background: #222225;
+ opacity: 1;
+ "
+ >
+ <span
+ style="
+ flex: none;
+ width: 9px;
+ height: 9px;
+ border-radius: 50%;
+ background: #f36712;
+ box-shadow: 0 0 10px #f36712;
+ "
+ ></span>
+ <span
+ style="
+ flex: 1;
+ min-width: 0;
+ display: flex;
+ flex-direction: column;
+ gap: 2px;
+ "
+ ><span style="font-size: 14px; color: #ededef">Wi-Fi</span
+ ><span
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 11px;
+ color: #8c8c94;
+ "
+ >en0</span
+ ></span
+ >
+ <span
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 13px;
+ color: #ff8a3d;
+ "
+ >34.8 MB/s</span
+ >
+ <span
+ style="
+ position: relative;
+ flex: none;
+ width: 34px;
+ height: 20px;
+ border-radius: 999px;
+ background: #f36712;
+ "
+ ><span
+ style="
+ position: absolute;
+ top: 3px;
+ right: 3px;
+ width: 14px;
+ height: 14px;
+ border-radius: 50%;
+ background: #ffffff;
+ "
+ ></span
+ ></span>
+ </div>
+ <div
+ style="
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ padding: 12px 14px;
+ border-radius: 14px;
+ background: #222225;
+ opacity: 1;
+ "
+ >
+ <span
+ style="
+ flex: none;
+ width: 9px;
+ height: 9px;
+ border-radius: 50%;
+ background: #ededef;
+ box-shadow: 0 0 10px #ededef;
+ "
+ ></span>
+ <span
+ style="
+ flex: 1;
+ min-width: 0;
+ display: flex;
+ flex-direction: column;
+ gap: 2px;
+ "
+ ><span style="font-size: 14px; color: #ededef">USB Tethering</span
+ ><span
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 11px;
+ color: #8c8c94;
+ "
+ >en7</span
+ ></span
+ >
+ <span
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 13px;
+ color: #ededef;
+ "
+ >11.4 MB/s</span
+ >
+ <span
+ style="
+ position: relative;
+ flex: none;
+ width: 34px;
+ height: 20px;
+ border-radius: 999px;
+ background: #ededef;
+ "
+ ><span
+ style="
+ position: absolute;
+ top: 3px;
+ right: 3px;
+ width: 14px;
+ height: 14px;
+ border-radius: 50%;
+ background: #140a03;
+ "
+ ></span
+ ></span>
+ </div>
+ <div
+ style="
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ padding: 12px 14px;
+ border-radius: 14px;
+ background: #222225;
+ opacity: 0.7;
+ "
+ >
+ <span
+ style="
+ flex: none;
+ width: 9px;
+ height: 9px;
+ border-radius: 50%;
+ background: transparent;
+ border: 1.5px solid rgba(255, 255, 255, 0.25);
+ "
+ ></span>
+ <span
+ style="
+ flex: 1;
+ min-width: 0;
+ display: flex;
+ flex-direction: column;
+ gap: 2px;
+ "
+ ><span style="font-size: 14px; color: #ededef">Ethernet</span
+ ><span
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 11px;
+ color: #8c8c94;
+ "
+ >en5 · not connected</span
+ ></span
+ >
+ <span
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 13px;
+ color: #8c8c94;
+ "
+ >—</span
+ >
+ <span
+ style="
+ position: relative;
+ flex: none;
+ width: 34px;
+ height: 20px;
+ border-radius: 999px;
+ background: rgba(255, 255, 255, 0.12);
+ "
+ ><span
+ style="
+ position: absolute;
+ top: 3px;
+ left: 3px;
+ width: 14px;
+ height: 14px;
+ border-radius: 50%;
+ background: #8c8c94;
+ "
+ ></span
+ ></span>
+ </div>
+ </div>
+ </div>
+ <div
+ style="
+ position: relative;
+ overflow: hidden;
+ padding: 18px;
+ border-radius: 22px;
+ background: #17171a;
+ border: 1px solid rgba(255, 255, 255, 0.07);
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
+ "
+ >
+ <div
+ aria-hidden="true"
+ style="
+ position: absolute;
+ top: -90px;
+ right: -60px;
+ width: 240px;
+ height: 240px;
+ border-radius: 50%;
+ background: radial-gradient(
+ closest-side,
+ rgba(243, 103, 18, 0.55),
+ rgba(243, 103, 18, 0)
+ );
+ filter: blur(6px);
+ "
+ ></div>
+ <div
+ style="
+ position: relative;
+ display: flex;
+ justify-content: space-between;
+ align-items: baseline;
+ "
+ >
+ <span style="font-size: 15px; color: #ededef">Combined speed</span
+ ><span
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 22px;
+ font-weight: 600;
+ color: #ffffff;
+ "
+ >46.2
+ <span style="font-size: 12px; font-weight: 400; color: #a1a1a8"
+ >MB/s</span
+ ></span
+ >
+ </div>
+ <div
+ style="
+ position: relative;
+ display: flex;
+ gap: 3px;
+ height: 10px;
+ margin-top: 14px;
+ border-radius: 999px;
+ overflow: hidden;
+ background: #222225;
+ "
+ >
+ <span style="width: 75%; background: #f36712"></span>
+ <span style="width: 25%; background: #ededef"></span>
+ </div>
+ <div
+ style="
+ position: relative;
+ display: flex;
+ gap: 16px;
+ margin-top: 10px;
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 11px;
+ letter-spacing: 0.08em;
+ color: #8c8c94;
+ "
+ >
+ <span style="display: flex; align-items: center; gap: 6px"
+ ><span
+ style="width: 7px; height: 7px; border-radius: 2px; background: #f36712"
+ ></span
+ >WI-FI 75%</span
+ ><span style="display: flex; align-items: center; gap: 6px"
+ ><span
+ style="width: 7px; height: 7px; border-radius: 2px; background: #ededef"
+ ></span
+ >USB 25%</span
+ >
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
- function paint() {
- var total = counts.yes + counts.no
- var mine = stored()
- ;['yes', 'no'].forEach(function (k) {
- var bar = results.querySelector('.bar.' + k)
- var pct = total ? Math.round((counts[k] / total) * 100) : 0
- bar.querySelector('.fill').style.width = pct + '%'
- bar.querySelector('.num').textContent =
- pct + '% · ' + counts[k] + (counts[k] === 1 ? ' vote' : ' votes')
- bar.querySelector('.mine').hidden = mine !== k
- })
- if (mine) {
- live(true, 'Live · ' + total + (total === 1 ? ' vote' : ' votes') + ' · anonymous')
- } else if (total) {
- live(
- true,
- total + (total === 1 ? ' vote' : ' votes') + ' so far · anonymous, no sign-in'
- )
- }
- }
+ <div
+ class="hatch"
+ aria-hidden="true"
+ style="
+ height: 72px;
+ border-top: 1px solid rgba(255, 255, 255, 0.06);
+ border-bottom: 1px solid rgba(255, 255, 255, 0.06);
+ "
+ ></div>
- function refresh() {
- if (document.hidden) return Promise.resolve()
- return Promise.all([counter('get', KEYS.yes), counter('get', KEYS.no)])
- .then(function (v) {
- counts.yes = v[0]
- counts.no = v[1]
- paint()
- })
- .catch(function () {
- if (stored())
- live(false, 'Couldn’t load live results right now — your vote is saved.')
- })
- }
+ <!-- row 2 (image left) -->
+ <div style="max-width: 1248px; margin: 0 auto; padding: 0 24px">
+ <div
+ class="cells"
+ style="
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr));
+ "
+ >
+ <div
+ class="feat-swap feature-visual"
+ style="
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ min-height: 440px;
+ padding: clamp(24px, 4vw, 56px);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: 40px;
+ background: #0e0e10;
+ "
+ >
+ <div
+ role="img"
+ aria-label="Plexo download queue with a direct file and a torrent downloading side by side, and a field for pasting a link, magnet or torrent file"
+ style="
+ position: relative;
+ width: 100%;
+ max-width: 440px;
+ display: flex;
+ flex-direction: column;
+ gap: 14px;
+ "
+ >
+ <div
+ style="
+ position: relative;
+ padding: 18px;
+ border-radius: 22px;
+ background: #17171a;
+ border: 1px solid rgba(255, 255, 255, 0.07);
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
+ "
+ >
+ <div
+ style="
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin-bottom: 14px;
+ "
+ >
+ <span style="font-size: 15px; color: #ededef">Add download</span
+ ><span
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 11px;
+ letter-spacing: 0.12em;
+ color: #8c8c94;
+ "
+ >URL · MAGNET · .TORRENT</span
+ >
+ </div>
+ <div
+ style="
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ padding: 6px 6px 6px 14px;
+ border-radius: 14px;
+ background: #222225;
+ border: 1px solid rgba(243, 103, 18, 0.35);
+ "
+ >
+ <span
+ style="
+ flex: 1;
+ min-width: 0;
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 12px;
+ color: #c8c8ce;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ "
+ >magnet:?xt=urn:btih:3b245504cf5f11bbdbe1201cea6a6bf45aee1bc0</span
+ >
+ <span
+ style="
+ flex: none;
+ padding: 8px 14px;
+ border-radius: 10px;
+ background: linear-gradient(180deg, #f2711f, #c94a06);
+ color: #ffffff;
+ font-size: 13px;
+ font-weight: 600;
+ "
+ >Add</span
+ >
+ </div>
+ </div>
+ <div
+ style="
+ position: relative;
+ overflow: hidden;
+ isolation: isolate;
+ padding: 18px;
+ border-radius: 22px;
+ background: #17171a;
+ border: 1px solid rgba(255, 255, 255, 0.07);
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
+ "
+ >
+ <div
+ aria-hidden="true"
+ style="
+ position: absolute;
+ bottom: -110px;
+ left: -80px;
+ width: 260px;
+ height: 260px;
+ border-radius: 50%;
+ background: radial-gradient(
+ closest-side,
+ rgba(243, 103, 18, 0.5),
+ rgba(243, 103, 18, 0)
+ );
+ filter: blur(6px);
+ z-index: -1;
+ pointer-events: none;
+ "
+ ></div>
+ <div
+ style="
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin-bottom: 14px;
+ "
+ >
+ <span style="font-size: 15px; color: #ededef">Queue</span
+ ><span
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 11px;
+ letter-spacing: 0.12em;
+ color: #8c8c94;
+ "
+ >2 DOWNLOADING</span
+ >
+ </div>
+ <div style="display: flex; flex-direction: column; gap: 8px">
+ <div
+ style="
+ padding: 12px 14px;
+ border-radius: 14px;
+ background: #222225;
+ opacity: 1;
+ "
+ >
+ <div style="display: flex; align-items: center; gap: 10px">
+ <span
+ style="
+ flex: none;
+ padding: 2px 7px;
+ border-radius: 6px;
+ border: 1px solid;
+ color: #c8c8ce;
+ border-color: rgba(255, 255, 255, 0.16);
+ background: transparent;
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 10px;
+ letter-spacing: 0.08em;
+ "
+ >FILE</span
+ >
+ <span
+ style="
+ flex: 1;
+ min-width: 0;
+ font-size: 14px;
+ color: #ededef;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ "
+ >Project.zip</span
+ >
+ <span
+ style="
+ flex: none;
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 12px;
+ color: #a1a1a8;
+ "
+ >62%</span
+ >
+ </div>
+ <div
+ style="
+ margin-top: 4px;
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 11px;
+ color: #8c8c94;
+ "
+ >
+ 1.4 GB of 2.3 GB · 2 networks
+ </div>
+ <div
+ style="
+ height: 4px;
+ margin-top: 10px;
+ border-radius: 4px;
+ background: rgba(255, 255, 255, 0.08);
+ overflow: hidden;
+ "
+ >
+ <div
+ style="
+ width: 62%;
+ height: 100%;
+ border-radius: 4px;
+ background: #f36712;
+ "
+ ></div>
+ </div>
+ </div>
+ <div
+ style="
+ padding: 12px 14px;
+ border-radius: 14px;
+ background: #222225;
+ opacity: 1;
+ "
+ >
+ <div style="display: flex; align-items: center; gap: 10px">
+ <span
+ style="
+ flex: none;
+ padding: 2px 7px;
+ border-radius: 6px;
+ border: 1px solid;
+ color: #ff8a3d;
+ border-color: rgba(243, 103, 18, 0.45);
+ background: rgba(243, 103, 18, 0.1);
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 10px;
+ letter-spacing: 0.08em;
+ "
+ >TORRENT</span
+ >
+ <span
+ style="
+ flex: 1;
+ min-width: 0;
+ font-size: 14px;
+ color: #ededef;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ "
+ >ubuntu-24.04-desktop-amd64.iso</span
+ >
+ <span
+ style="
+ flex: none;
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 12px;
+ color: #a1a1a8;
+ "
+ >34%</span
+ >
+ </div>
+ <div
+ style="
+ margin-top: 4px;
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 11px;
+ color: #8c8c94;
+ "
+ >
+ 2.0 GB of 5.8 GB · 48 peers · 2 networks
+ </div>
+ <div
+ style="
+ height: 4px;
+ margin-top: 10px;
+ border-radius: 4px;
+ background: rgba(255, 255, 255, 0.08);
+ overflow: hidden;
+ "
+ >
+ <div
+ style="
+ width: 34%;
+ height: 100%;
+ border-radius: 4px;
+ background: #ededef;
+ "
+ ></div>
+ </div>
+ </div>
+ <div
+ style="
+ padding: 12px 14px;
+ border-radius: 14px;
+ background: #222225;
+ opacity: 0.65;
+ "
+ >
+ <div style="display: flex; align-items: center; gap: 10px">
+ <span
+ style="
+ flex: none;
+ padding: 2px 7px;
+ border-radius: 6px;
+ border: 1px solid;
+ color: #c8c8ce;
+ border-color: rgba(255, 255, 255, 0.16);
+ background: transparent;
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 10px;
+ letter-spacing: 0.08em;
+ "
+ >FILE</span
+ >
+ <span
+ style="
+ flex: 1;
+ min-width: 0;
+ font-size: 14px;
+ color: #ededef;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ "
+ >Footage_Final_4K.mov</span
+ >
+ <span
+ style="
+ flex: none;
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 12px;
+ color: #a1a1a8;
+ "
+ >Queued</span
+ >
+ </div>
+ <div
+ style="
+ margin-top: 4px;
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 11px;
+ color: #8c8c94;
+ "
+ >
+ 3.4 GB · waiting
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="stack" style="display: flex; flex-direction: column">
+ <div
+ class="feat-title"
+ style="
+ flex: 1;
+ min-height: 300px;
+ display: flex;
+ align-items: center;
+ padding: clamp(28px, 5vw, 64px);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: 40px;
+ background: #0e0e10;
+ "
+ >
+ <h3
+ style="
+ margin: 0;
+ font-family: 'Archivo', 'Helvetica Neue', sans-serif;
+ font-stretch: 118%;
+ font-weight: 600;
+ font-size: clamp(28px, 3.2vw, 46px);
+ line-height: 1.08;
+ letter-spacing: -0.01em;
+ text-transform: uppercase;
+ color: #e4e4e8;
+ "
+ >
+ Files and<br />torrents
+ </h3>
+ </div>
+ <div
+ style="
+ padding: clamp(28px, 4vw, 48px) clamp(28px, 5vw, 64px);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: 40px;
+ background: #0e0e10;
+ "
+ >
+ <p
+ style="
+ margin: 0;
+ max-width: 470px;
+ font-size: 18px;
+ line-height: 1.6;
+ color: #a1a1a8;
+ text-wrap: pretty;
+ "
+ >
+ Download files and torrents in one place. Paste a link or add a torrent, and
+ Plexo handles everything in the same queue using all your active connections.
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
- function showVoted(v) {
- poll.querySelector('#poll-choices').hidden = true
- results.hidden = false
- ways.hidden = false
- waysLead.textContent =
- v === 'no'
- ? 'Fair enough, thanks for saying so. Here’s how else you can help:'
- : 'Thanks! And if you’d like to help in other ways too:'
- paint()
- }
+ <div
+ class="hatch"
+ aria-hidden="true"
+ style="
+ height: 72px;
+ border-top: 1px solid rgba(255, 255, 255, 0.06);
+ border-bottom: 1px solid rgba(255, 255, 255, 0.06);
+ "
+ ></div>
- // Resolves true once the vote is counted, false if it couldn't be sent.
- function vote(v) {
- Array.prototype.forEach.call(choices, function (b) {
- b.disabled = true
- })
- live(true, 'Sending your vote…')
- return counter('hit', KEYS[v])
- .then(function (n) {
- counts[v] = Math.max(n, counts[v] + 1)
- remember(v)
- showVoted(v)
- refresh()
- return true
- })
- .catch(function () {
- Array.prototype.forEach.call(choices, function (b) {
- b.disabled = false
- })
- live(false, 'Couldn’t send your vote — check your connection and try again.')
- return false
- })
- }
+ <!-- row 3 -->
+ <div style="max-width: 1248px; margin: 0 auto; padding: 0 24px">
+ <div
+ class="cells"
+ style="
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr));
+ "
+ >
+ <div class="stack" style="display: flex; flex-direction: column">
+ <div
+ class="feat-title"
+ style="
+ flex: 1;
+ min-height: 300px;
+ display: flex;
+ align-items: center;
+ padding: clamp(28px, 5vw, 64px);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: 40px;
+ background: #0e0e10;
+ "
+ >
+ <h3
+ style="
+ margin: 0;
+ font-family: 'Archivo', 'Helvetica Neue', sans-serif;
+ font-stretch: 118%;
+ font-weight: 600;
+ font-size: clamp(28px, 3.2vw, 46px);
+ line-height: 1.08;
+ letter-spacing: -0.01em;
+ text-transform: uppercase;
+ color: #e4e4e8;
+ "
+ >
+ Speed and<br />data limits
+ </h3>
+ </div>
+ <div
+ style="
+ padding: clamp(28px, 4vw, 48px) clamp(28px, 5vw, 64px);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: 40px;
+ background: #0e0e10;
+ "
+ >
+ <p
+ style="
+ margin: 0;
+ max-width: 470px;
+ font-size: 18px;
+ line-height: 1.6;
+ color: #a1a1a8;
+ text-wrap: pretty;
+ "
+ >
+ Stay in control of every connection. Set speed limits and data caps for any
+ network, so you decide how much speed and data each one can use.
+ </p>
+ </div>
+ </div>
+ <div
+ class="feature-visual"
+ style="
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ min-height: 440px;
+ padding: clamp(24px, 4vw, 56px);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: 40px;
+ background: #0e0e10;
+ "
+ >
+ <div
+ role="img"
+ aria-label="Plexo limits settings: USB tethering capped at 8 MB/s with a 2 GB daily data budget, 1.2 GB used; Wi-Fi with no limits"
+ style="
+ position: relative;
+ width: 100%;
+ max-width: 440px;
+ display: flex;
+ flex-direction: column;
+ gap: 14px;
+ "
+ >
+ <div
+ style="
+ position: relative;
+ overflow: hidden;
+ isolation: isolate;
+ padding: 18px;
+ border-radius: 22px;
+ background: #17171a;
+ border: 1px solid rgba(255, 255, 255, 0.07);
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
+ "
+ >
+ <div
+ aria-hidden="true"
+ style="
+ position: absolute;
+ top: -90px;
+ right: -60px;
+ width: 240px;
+ height: 240px;
+ border-radius: 50%;
+ background: radial-gradient(
+ closest-side,
+ rgba(243, 103, 18, 0.55),
+ rgba(243, 103, 18, 0)
+ );
+ filter: blur(6px);
+ z-index: -1;
+ pointer-events: none;
+ "
+ ></div>
+ <div
+ style="
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin-bottom: 14px;
+ "
+ >
+ <span
+ style="
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ font-size: 15px;
+ color: #ededef;
+ "
+ ><span
+ style="
+ width: 9px;
+ height: 9px;
+ border-radius: 50%;
+ background: #ededef;
+ box-shadow: 0 0 10px #ededef;
+ "
+ ></span
+ >USB Tethering</span
+ ><span
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 11px;
+ letter-spacing: 0.12em;
+ color: #8c8c94;
+ "
+ >LIMITS ON</span
+ >
+ </div>
+ <div style="padding: 14px; border-radius: 14px; background: #222225">
+ <div
+ style="display: flex; justify-content: space-between; align-items: baseline"
+ >
+ <span style="font-size: 14px; color: #ededef">Speed cap</span
+ ><span
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 13px;
+ color: #ededef;
+ "
+ >8 MB/s</span
+ >
+ </div>
+ <div
+ style="
+ position: relative;
+ height: 6px;
+ margin: 14px 0 6px;
+ border-radius: 6px;
+ background: rgba(255, 255, 255, 0.1);
+ "
+ >
+ <div
+ style="width: 40%; height: 100%; border-radius: 6px; background: #ededef"
+ ></div>
+ <span
+ style="
+ position: absolute;
+ top: 50%;
+ left: 40%;
+ width: 16px;
+ height: 16px;
+ margin: -8px 0 0 -8px;
+ border-radius: 50%;
+ background: #ffffff;
+ box-shadow:
+ 0 0 0 4px rgba(255, 255, 255, 0.12),
+ 0 2px 6px rgba(0, 0, 0, 0.5);
+ "
+ ></span>
+ </div>
+ <div
+ style="
+ display: flex;
+ justify-content: space-between;
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 10px;
+ color: #8c8c94;
+ "
+ >
+ <span>0</span><span>20 MB/s</span>
+ </div>
+ </div>
+ <div
+ style="
+ margin-top: 8px;
+ padding: 14px;
+ border-radius: 14px;
+ background: #222225;
+ "
+ >
+ <div
+ style="display: flex; justify-content: space-between; align-items: baseline"
+ >
+ <span style="font-size: 14px; color: #ededef">Daily data budget</span
+ ><span
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 13px;
+ color: #ededef;
+ "
+ >1.2 <span style="color: #8c8c94">/ 2.0 GB</span></span
+ >
+ </div>
+ <div
+ style="
+ height: 6px;
+ margin-top: 12px;
+ border-radius: 6px;
+ background: rgba(255, 255, 255, 0.1);
+ overflow: hidden;
+ "
+ >
+ <div
+ style="
+ width: 60%;
+ height: 100%;
+ border-radius: 6px;
+ background: linear-gradient(90deg, #ededef, #f36712);
+ "
+ ></div>
+ </div>
+ <div
+ style="
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin-top: 12px;
+ "
+ >
+ <span style="font-size: 13px; color: #a1a1a8">Stop at limit</span
+ ><span
+ style="
+ position: relative;
+ flex: none;
+ width: 34px;
+ height: 20px;
+ border-radius: 999px;
+ background: #f36712;
+ "
+ ><span
+ style="
+ position: absolute;
+ top: 3px;
+ right: 3px;
+ width: 14px;
+ height: 14px;
+ border-radius: 50%;
+ background: #ffffff;
+ "
+ ></span
+ ></span>
+ </div>
+ </div>
+ </div>
+ <div
+ style="
+ position: relative;
+ padding: 18px;
+ border-radius: 22px;
+ background: #17171a;
+ border: 1px solid rgba(255, 255, 255, 0.07);
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
+ "
+ >
+ <div
+ style="
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ margin-bottom: 14px;
+ "
+ >
+ <span
+ style="
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ font-size: 15px;
+ color: #ededef;
+ "
+ ><span
+ style="
+ width: 9px;
+ height: 9px;
+ border-radius: 50%;
+ background: #f36712;
+ box-shadow: 0 0 10px #f36712;
+ "
+ ></span
+ >Wi-Fi</span
+ ><span
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 11px;
+ letter-spacing: 0.12em;
+ color: #8c8c94;
+ "
+ >NO LIMITS</span
+ >
+ </div>
+ <div
+ style="
+ display: grid;
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ gap: 8px;
+ "
+ >
+ <div style="padding: 12px 14px; border-radius: 14px; background: #222225">
+ <div
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 11px;
+ letter-spacing: 0.12em;
+ color: #8c8c94;
+ "
+ >
+ SPEED CAP
+ </div>
+ <div style="margin-top: 6px; font-size: 14px; color: #ededef">Off</div>
+ </div>
+ <div style="padding: 12px 14px; border-radius: 14px; background: #222225">
+ <div
+ style="
+ font-family: 'Geist Mono', ui-monospace, monospace;
+ font-size: 11px;
+ letter-spacing: 0.12em;
+ color: #8c8c94;
+ "
+ >
+ DATA
+ </div>
+ <div style="margin-top: 6px; font-size: 14px; color: #ededef">
+ Unlimited
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
- Array.prototype.forEach.call(choices, function (b) {
- b.addEventListener('click', function () {
- vote(b.getAttribute('data-vote'))
- })
- })
+ <div
+ class="hatch"
+ aria-hidden="true"
+ style="
+ height: 72px;
+ border-top: 1px solid rgba(255, 255, 255, 0.06);
+ border-bottom: 1px solid rgba(255, 255, 255, 0.06);
+ "
+ ></div>
- var share = document.getElementById('share-btn')
- share.addEventListener('click', function () {
- var url = 'https://anmolkapil.github.io/plexo/'
- var text = document.getElementById('share-text')
- if (navigator.share) {
- navigator.share({ title: 'Plexo', url: url }).catch(function () {})
- return
- }
- if (!navigator.clipboard) {
- text.textContent = url
- return
- }
- navigator.clipboard.writeText(url).then(
- function () {
- text.textContent = 'Link copied — thank you!'
- },
- function () {
- text.textContent = url
- }
- )
- })
+ <section id="downloads" class="section downloads" aria-labelledby="downloads-title">
+ <div class="section-heading">
+ <span class="section-tag">Downloads</span>
+ <h2 id="downloads-title"><span>Get Plexo</span> for your machine</h2>
+ <div id="release-meta" class="release-meta" aria-live="polite">
+ Loading the latest release…
+ </div>
+ </div>
+ <div class="download-box">
+ <div class="os-tabs" role="tablist" aria-label="Operating system">
+ <button
+ type="button"
+ role="tab"
+ id="tab-mac"
+ aria-selected="true"
+ aria-controls="panel-mac"
+ tabindex="0"
+ data-os="mac"
+ >
+ <svg class="os-icon os-icon-apple" viewBox="0 0 24 24" aria-hidden="true">
+ <path
+ d="M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09Zm3.377-3.065C16.372 2.819 16.929 1.403 16.774 0c-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.56-1.701Z"
+ />
+ </svg>
+ <span>macOS</span></button
+ ><button
+ type="button"
+ role="tab"
+ id="tab-win"
+ aria-selected="false"
+ aria-controls="panel-win"
+ tabindex="-1"
+ data-os="win"
+ >
+ <svg class="os-icon" viewBox="0 0 24 24" aria-hidden="true">
+ <path
+ d="M3 5.25 11 4.1v7.15H3v-6Zm9-1.3 9-1.3v8.6h-9v-7.3ZM3 12.75h8V19.9l-8-1.15v-6Zm9 0h9v8.6l-9-1.3v-7.3Z"
+ />
+ </svg>
+ <span>Windows</span></button
+ ><button
+ type="button"
+ role="tab"
+ id="tab-linux"
+ aria-selected="false"
+ aria-controls="panel-linux"
+ tabindex="-1"
+ data-os="linux"
+ >
+ <svg
+ class="os-icon os-icon-terminal"
+ viewBox="0 0 24 24"
+ fill="none"
+ aria-hidden="true"
+ >
+ <rect x="2.75" y="3.75" width="18.5" height="16.5" rx="3.25" />
+ <path d="m7.25 9 3 3-3 3M13 15h4" />
+ </svg>
+ <span>Linux</span>
+ </button>
+ </div>
+ <div
+ id="panel-mac"
+ class="os-panel"
+ role="tabpanel"
+ aria-labelledby="tab-mac"
+ tabindex="0"
+ ></div>
+ <div
+ id="panel-win"
+ class="os-panel"
+ role="tabpanel"
+ aria-labelledby="tab-win"
+ tabindex="0"
+ hidden
+ ></div>
+ <div
+ id="panel-linux"
+ class="os-panel"
+ role="tabpanel"
+ aria-labelledby="tab-linux"
+ tabindex="0"
+ hidden
+ ></div>
+ <noscript
+ ><p>
+ JavaScript is needed to find the latest builds.
+ <a href="https://github.com/anmolkapil/plexo/releases"
+ >Download from GitHub releases.</a
+ >
+ </p></noscript
+ >
+ </div>
+ <p class="release-warning">
+ Found a problem with this build?
+ <a href="https://github.com/anmolkapil/plexo/issues/new?labels=bug">Report a bug</a>
+ </p>
+ </section>
+ <div
+ class="hatch"
+ aria-hidden="true"
+ style="height: 72px; margin-top: 120px; border-block: 1px solid rgba(255, 255, 255, 0.06)"
+ ></div>
+ <!-- FAQ -->
+ <section id="faq" style="padding: 120px 24px 0">
+ <div style="max-width: 920px; margin: 0 auto">
+ <div style="text-align: center">
+ <span
+ style="
+ display: inline-flex;
+ padding: 8px 18px;
+ border-radius: 999px;
+ border: 1px solid rgba(255, 255, 255, 0.14);
+ background: #151517;
+ font-size: 13px;
+ color: #c8c8ce;
+ "
+ >FAQ</span
+ >
+ <h2
+ style="
+ margin: 24px auto 0;
+ font-family: 'Archivo', 'Helvetica Neue', sans-serif;
+ font-stretch: 118%;
+ font-weight: 600;
+ font-size: clamp(30px, 4.4vw, 60px);
+ line-height: 1.06;
+ letter-spacing: -0.015em;
+ text-transform: uppercase;
+ color: #ededef;
+ text-wrap: balance;
+ "
+ >
+ <span style="color: #f36712">Questions,</span> answered
+ </h2>
+ </div>
+ <div
+ style="
+ margin-top: 56px;
+ padding: 8px clamp(20px, 4vw, 40px);
+ border-radius: 32px;
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ background: #0e0e10;
+ "
+ >
+ <details class="faq-item" name="faq" open>
+ <summary>
+ How does Plexo combine my connections?<span aria-hidden="true">+</span>
+ </summary>
+ <p
+ style="
+ margin: 0 0 24px;
+ max-width: 720px;
+ font-size: 16px;
+ line-height: 1.65;
+ color: #a1a1a8;
+ "
+ >
+ Plexo splits a download into smaller chunks, downloads those chunks over all the
+ connections you've selected, then puts them back together as one file. This lets
+ one download use the combined capacity of your available connections.
+ </p>
+ </details>
- // Ask in a popup shortly after the page opens. "Not now" (or Esc, or a click outside) asks
- // again on a later visit: never twice in one browser session, at least a day apart, and at
- // most MAX_ASKS times. Voting ends it for good.
- var dialog = document.getElementById('poll-dialog')
- var ASKS = 'plexo-ads-poll-asks'
- var SESSION = 'plexo-ads-poll-asked'
- var LEGACY = 'plexo-ads-poll-prompted'
- var PROMPT_DELAY_MS = 2000
- var MIN_GAP_MS = 24 * 60 * 60 * 1000
- var MAX_ASKS = 3
+ <details class="faq-item" name="faq">
+ <summary>Which connections can I combine?<span aria-hidden="true">+</span></summary>
+ <p
+ style="
+ margin: 0 0 24px;
+ max-width: 720px;
+ font-size: 16px;
+ line-height: 1.65;
+ color: #a1a1a8;
+ "
+ >
+ You can combine active connections available on your computer, such as Wi-Fi,
+ Ethernet, and a phone connected through USB tethering. Each connection needs to
+ provide a separate route to the internet.
+ </p>
+ </details>
- function asks() {
- var a = JSON.parse(localStorage.getItem(ASKS) || 'null')
- if (a && typeof a.count === 'number') return a
- // Asked once by the page before this rule, date unknown.
- return { count: localStorage.getItem(LEGACY) === '1' ? 1 : 0, last: 0 }
- }
+ <details class="faq-item" name="faq">
+ <summary>
+ Why does my computer warn me when I open Plexo?<span aria-hidden="true">+</span>
+ </summary>
+ <p
+ style="
+ margin: 0 0 24px;
+ max-width: 720px;
+ font-size: 16px;
+ line-height: 1.65;
+ color: #a1a1a8;
+ "
+ >
+ Plexo isn't code-signed yet, so macOS and Windows may show a security warning the
+ first time you open it. Follow the first-launch steps under Downloads for your
+ system. You only need to do this once, and the full source code is available on
+ GitHub. Code-signing licenses cost money; if you'd like to help remove these
+ warnings, consider
+ <a href="https://github.com/sponsors/anmolkapil">sponsoring Plexo</a> so the
+ project can cover them.
+ </p>
+ </details>
- function shouldAsk() {
- try {
- if (sessionStorage.getItem(SESSION)) return false
- var a = asks()
- return a.count < MAX_ASKS && Date.now() - a.last >= MIN_GAP_MS
- } catch (e) {
- // Can't remember that we asked, so don't ask at all rather than on every visit.
- return false
- }
- }
+ <details class="faq-item" name="faq">
+ <summary>
+ Can Plexo combine internet speed for my whole device?<span aria-hidden="true"
+ >+</span
+ >
+ </summary>
+ <p
+ style="
+ margin: 0 0 24px;
+ max-width: 720px;
+ font-size: 16px;
+ line-height: 1.65;
+ color: #a1a1a8;
+ "
+ >
+ No. Plexo combines connections only for downloads started inside Plexo. It isn't a
+ VPN and doesn't change how browsers, games, streaming apps, or other software use
+ the internet.
+ </p>
+ </details>
- function markAsked() {
- try {
- var a = asks()
- localStorage.setItem(ASKS, JSON.stringify({ count: a.count + 1, last: Date.now() }))
- sessionStorage.setItem(SESSION, '1')
- return true
- } catch (e) {
- return false
- }
- }
+ <details class="faq-item" name="faq">
+ <summary>Is Plexo stable?<span aria-hidden="true">+</span></summary>
+ <p
+ style="
+ margin: 0 0 24px;
+ max-width: 720px;
+ font-size: 16px;
+ line-height: 1.65;
+ color: #a1a1a8;
+ "
+ >
+ Plexo is currently a pre-release. The core download flow works, but you may still
+ encounter bugs or rough edges. If something goes wrong, please report it on
+ GitHub.
+ </p>
+ </details>
- function closeDialog() {
- if (dialog.open) dialog.close()
- }
+ <details class="faq-item" name="faq">
+ <summary>
+ How do I use Android USB tethering on a Mac?<span aria-hidden="true">+</span>
+ </summary>
+ <p
+ style="
+ margin: 0 0 24px;
+ max-width: 720px;
+ font-size: 16px;
+ line-height: 1.65;
+ color: #a1a1a8;
+ "
+ >
+ macOS doesn't support Android USB tethering by itself. Install
+ <a href="https://github.com/XiaoMiku01/TetherKit">TetherKit</a>, connect your
+ phone by USB, then turn on <strong>USB tethering</strong> in your phone's hotspot
+ and tethering settings. Once macOS shows it as a network connection, Plexo can use
+ it. Follow the
+ <a href="https://github.com/anmolkapil/plexo#using-a-usb-tethered-android-phone"
+ >full Android USB tethering tutorial</a
+ >.
+ </p>
+ </details>
+ </div>
+ </div>
+ </section>
- Array.prototype.forEach.call(dialog.querySelectorAll('[data-close]'), function (b) {
- b.addEventListener('click', closeDialog)
- })
- dialog.addEventListener('click', function (e) {
- // A click on the backdrop lands on the dialog element itself.
- if (e.target === dialog) closeDialog()
- })
- var dialogChoices = dialog.querySelectorAll('[data-dialog-vote]')
- Array.prototype.forEach.call(dialogChoices, function (b) {
- b.addEventListener('click', function () {
- var v = b.getAttribute('data-dialog-vote')
- Array.prototype.forEach.call(dialogChoices, function (c) {
- c.disabled = true
- })
- document.getElementById('poll-dialog-error').hidden = true
- vote(v).then(function (ok) {
- Array.prototype.forEach.call(dialogChoices, function (c) {
- c.disabled = false
- })
- if (!ok) {
- document.getElementById('poll-dialog-error').hidden = false
- return
- }
- document.getElementById('poll-dialog-ask').hidden = true
- document.getElementById('poll-dialog-thanks').hidden = false
- document.getElementById('poll-dialog-thanks-text').textContent =
- v === 'no'
- ? 'Fair enough, thanks for saying so. There are other ways to help, like sponsoring or starring the repo, right next to the results.'
- : 'That helps a lot. The live results, and other ways to help, are on this page.'
- })
- })
- })
- document.getElementById('poll-dialog-results').addEventListener('click', function () {
- closeDialog()
- document.getElementById('support').scrollIntoView({ behavior: 'smooth' })
- })
+ <div
+ class="hatch"
+ aria-hidden="true"
+ style="
+ height: 72px;
+ margin-top: 120px;
+ border-top: 1px solid rgba(255, 255, 255, 0.06);
+ border-bottom: 1px solid rgba(255, 255, 255, 0.06);
+ "
+ ></div>
- if (!stored() && shouldAsk() && typeof dialog.showModal === 'function') {
- setTimeout(function () {
- // Not if they voted meanwhile, or are already looking at the poll.
- if (stored() || location.hash === '#support') return
- if (markAsked()) dialog.showModal()
- }, PROMPT_DELAY_MS)
- }
+ <!-- SUPPORT -->
+ <section id="support" style="padding: 120px 0 120px">
+ <div style="max-width: 1248px; margin: 0 auto; padding: 0 24px; text-align: center">
+ <span
+ style="
+ display: inline-flex;
+ padding: 8px 18px;
+ border-radius: 999px;
+ border: 1px solid rgba(255, 255, 255, 0.14);
+ background: #151517;
+ font-size: 13px;
+ color: #c8c8ce;
+ "
+ >Support</span
+ >
+ <h2
+ style="
+ margin: 24px auto 0;
+ max-width: 900px;
+ font-family: 'Archivo', 'Helvetica Neue', sans-serif;
+ font-stretch: 118%;
+ font-weight: 600;
+ font-size: clamp(30px, 4.4vw, 60px);
+ line-height: 1.06;
+ letter-spacing: -0.015em;
+ text-transform: uppercase;
+ color: #ededef;
+ text-wrap: balance;
+ "
+ >
+ <span style="color: #f36712">Keep Plexo</span> fast and free
+ </h2>
+ </div>
+ <div style="max-width: 1248px; margin: 72px auto 0; padding: 0 24px">
+ <div
+ class="cells"
+ style="
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr));
+ "
+ >
+ <div
+ style="
+ position: relative;
+ overflow: hidden;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+ gap: 40px;
+ min-height: 380px;
+ padding: clamp(28px, 5vw, 64px);
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: 40px;
+ background: #0e0e10;
+ "
+ >
+ <div
+ aria-hidden="true"
+ style="
+ position: absolute;
+ top: -160px;
+ left: -120px;
+ width: 420px;
+ height: 420px;
+ border-radius: 50%;
+ background: radial-gradient(
+ closest-side,
+ rgba(243, 103, 18, 0.32),
+ rgba(243, 103, 18, 0)
+ );
+ filter: blur(20px);
+ pointer-events: none;
+ "
+ ></div>
+ <p
+ style="
+ position: relative;
+ margin: 0;
+ max-width: 440px;
+ font-size: clamp(20px, 2vw, 24px);
+ line-height: 1.5;
+ color: #ededef;
+ text-wrap: pretty;
+ "
+ >
+ Plexo is free and open source.
+ <span style="color: #a1a1a8"
+ >If it helps you, support the project by starring it, sharing it, reporting
+ problems, or sponsoring the code-signing licenses needed to remove the macOS and
+ Windows security warnings.</span
+ >
+ </p>
+ <div
+ style="
+ position: relative;
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ gap: 14px 22px;
+ "
+ >
+ <a
+ href="https://github.com/anmolkapil/plexo"
+ class="btn-3d"
+ style="
+ display: inline-flex;
+ align-items: center;
+ gap: 10px;
+ padding: 16px 28px;
+ border-radius: 999px;
+ background: linear-gradient(180deg, #f2711f 0%, #dd5a0c 55%, #c94a06 100%);
+ color: #ffffff;
+ font-weight: 600;
+ font-size: 17px;
+ "
+ >
+ <svg
+ width="18"
+ height="18"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ stroke-width="2"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ aria-hidden="true"
+ >
+ <path
+ d="m12 3 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2L12 17.3l-5.6 2.9 1.1-6.2L3 9.6l6.2-.9Z"
+ ></path>
+ </svg>
+ <span>Star on GitHub</span>
+ </a>
+ <span style="font-size: 14px; color: #8c8c94"
+ >A star helps more people discover Plexo.</span
+ >
+ </div>
+ </div>
+ <div
+ style="
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ overflow: hidden;
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: 40px;
+ background: #0e0e10;
+ "
+ >
+ <a
+ href="https://github.com/sponsors/anmolkapil"
+ class="srow"
+ style="
+ display: flex;
+ align-items: center;
+ gap: 18px;
+ width: 100%;
+ padding: 22px clamp(20px, 3vw, 32px);
+ border: 0;
+ background: transparent;
+ font-family: inherit;
+ text-align: left;
+ cursor: pointer;
+ "
+ >
+ <span
+ style="
+ flex: none;
+ width: 44px;
+ height: 44px;
+ border-radius: 999px;
+ display: grid;
+ place-items: center;
+ border: 1px solid rgba(255, 255, 255, 0.12);
+ background: rgba(255, 255, 255, 0.04);
+ color: #ededef;
+ "
+ ><svg
+ width="18"
+ height="18"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ stroke-width="1.8"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ aria-hidden="true"
+ >
+ <path
+ d="M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10Z"
+ ></path></svg
+ ></span>
+ <span
+ style="flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px"
+ ><span style="font-size: 17px; font-weight: 500; color: #ededef"
+ >Sponsor Plexo</span
+ ><span style="font-size: 14px; line-height: 1.5; color: #a1a1a8"
+ >Help fund code signing and keep Plexo free.</span
+ ></span
+ >
+ <svg
+ width="18"
+ height="18"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ stroke-width="2"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ aria-hidden="true"
+ style="flex: none; color: #8c8c94"
+ >
+ <path d="M7 17 17 7"></path>
+ <path d="M8 7h9v9"></path>
+ </svg>
+ </a>
+ <button
+ type="button"
+ id="share-button"
+ class="srow"
+ style="
+ display: flex;
+ align-items: center;
+ gap: 18px;
+ width: 100%;
+ padding: 22px clamp(20px, 3vw, 32px);
+ border: 0;
+ background: transparent;
+ font-family: inherit;
+ text-align: left;
+ cursor: pointer;
+ border-top: 1px solid rgba(255, 255, 255, 0.07);
+ "
+ >
+ <span
+ style="
+ flex: none;
+ width: 44px;
+ height: 44px;
+ border-radius: 999px;
+ display: grid;
+ place-items: center;
+ border: 1px solid rgba(255, 255, 255, 0.12);
+ background: rgba(255, 255, 255, 0.04);
+ color: #ededef;
+ "
+ ><svg
+ width="18"
+ height="18"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ stroke-width="1.8"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ aria-hidden="true"
+ >
+ <circle cx="18" cy="5" r="3"></circle>
+ <circle cx="6" cy="12" r="3"></circle>
+ <circle cx="18" cy="19" r="3"></circle>
+ <path d="m8.6 13.5 6.8 4M15.4 6.5l-6.8 4"></path></svg
+ ></span>
+ <span
+ style="flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px"
+ ><span style="font-size: 17px; font-weight: 500; color: #ededef"
+ ><span id="share-label">Share Plexo</span></span
+ ><span style="font-size: 14px; line-height: 1.5; color: #a1a1a8"
+ >Know someone with slow downloads? Send them Plexo.</span
+ ></span
+ >
+ <svg
+ width="18"
+ height="18"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ stroke-width="2"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ aria-hidden="true"
+ style="flex: none; color: #8c8c94"
+ >
+ <path d="M7 17 17 7"></path>
+ <path d="M8 7h9v9"></path>
+ </svg>
+ </button>
+ <a
+ href="https://github.com/anmolkapil/plexo/issues/new?labels=bug"
+ class="srow"
+ style="
+ display: flex;
+ align-items: center;
+ gap: 18px;
+ width: 100%;
+ padding: 22px clamp(20px, 3vw, 32px);
+ border: 0;
+ background: transparent;
+ font-family: inherit;
+ text-align: left;
+ cursor: pointer;
+ border-top: 1px solid rgba(255, 255, 255, 0.07);
+ "
+ >
+ <span
+ style="
+ flex: none;
+ width: 44px;
+ height: 44px;
+ border-radius: 999px;
+ display: grid;
+ place-items: center;
+ border: 1px solid rgba(255, 255, 255, 0.12);
+ background: rgba(255, 255, 255, 0.04);
+ color: #ededef;
+ "
+ ><svg
+ width="18"
+ height="18"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ stroke-width="1.8"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ aria-hidden="true"
+ >
+ <rect x="7" y="7" width="10" height="13" rx="5"></rect>
+ <path
+ d="M12 7V4M3 13h4M17 13h4M4 8l3 2M20 8l-3 2M4 19l3-2M20 19l-3-2"
+ ></path></svg
+ ></span>
+ <span
+ style="flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px"
+ ><span style="font-size: 17px; font-weight: 500; color: #ededef"
+ >Report a bug</span
+ ><span style="font-size: 14px; line-height: 1.5; color: #a1a1a8"
+ >Found something broken? Tell us what happened.</span
+ ></span
+ >
+ <svg
+ width="18"
+ height="18"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ stroke-width="2"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ aria-hidden="true"
+ style="flex: none; color: #8c8c94"
+ >
+ <path d="M7 17 17 7"></path>
+ <path d="M8 7h9v9"></path>
+ </svg>
+ </a>
+ <a
+ href="https://github.com/anmolkapil/plexo/issues/new?labels=enhancement"
+ class="srow"
+ style="
+ display: flex;
+ align-items: center;
+ gap: 18px;
+ width: 100%;
+ padding: 22px clamp(20px, 3vw, 32px);
+ border: 0;
+ background: transparent;
+ font-family: inherit;
+ text-align: left;
+ cursor: pointer;
+ border-top: 1px solid rgba(255, 255, 255, 0.07);
+ "
+ >
+ <span
+ style="
+ flex: none;
+ width: 44px;
+ height: 44px;
+ border-radius: 999px;
+ display: grid;
+ place-items: center;
+ border: 1px solid rgba(255, 255, 255, 0.12);
+ background: rgba(255, 255, 255, 0.04);
+ color: #ededef;
+ "
+ ><svg
+ width="18"
+ height="18"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ stroke-width="1.8"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ aria-hidden="true"
+ >
+ <path d="M9 18h6M10 21h4"></path>
+ <path
+ d="M12 3a6 6 0 0 0-3.5 10.9c.6.4 1 1.1 1 1.9V16h5v-.2c0-.8.4-1.5 1-1.9A6 6 0 0 0 12 3Z"
+ ></path></svg
+ ></span>
+ <span
+ style="flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px"
+ ><span style="font-size: 17px; font-weight: 500; color: #ededef"
+ >Request a feature</span
+ ><span style="font-size: 14px; line-height: 1.5; color: #a1a1a8"
+ >Have an idea? Tell us what Plexo should do next.</span
+ ></span
+ >
+ <svg
+ width="18"
+ height="18"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ stroke-width="2"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ aria-hidden="true"
+ style="flex: none; color: #8c8c94"
+ >
+ <path d="M7 17 17 7"></path>
+ <path d="M8 7h9v9"></path>
+ </svg>
+ </a>
+ </div>
+ </div>
+ </div>
+ </section>
+ </main>
+ <!-- CREDIT BAR -->
+ <div
+ style="
+ position: relative;
+ width: 100%;
+ max-width: 1248px;
+ margin: auto auto 0;
+ padding: 20px 24px;
+ box-sizing: border-box;
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ justify-content: space-between;
+ gap: 12px 24px;
+ font-size: 14px;
+ color: #a1a1a8;
+ "
+ >
+ <span
+ >Made by
+ <a href="https://github.com/anmolkapil" class="lnk" style="color: #ededef"
+ >Anmol Kapil</a
+ ></span
+ >
+ <a
+ href="#top"
+ class="lnk"
+ style="
+ display: inline-flex;
+ align-items: center;
+ gap: 8px;
+ min-height: 44px;
+ color: #ededef;
+ "
+ >Back to Top
+ <svg
+ width="16"
+ height="16"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ stroke-width="2"
+ stroke-linecap="round"
+ stroke-linejoin="round"
+ aria-hidden="true"
+ >
+ <path d="M12 19V5"></path>
+ <path d="m6 11 6-6 6 6"></path>
+ </svg>
+ </a>
+ </div>
- if (stored()) showVoted(stored())
- refresh()
- setInterval(refresh, REFRESH_MS)
- document.addEventListener('visibilitychange', function () {
- if (!document.hidden) refresh()
- })
- })()
- </script>
+ <!-- FOOTER -->
+ <footer
+ style="position: relative; border-top: 1px solid rgba(255, 255, 255, 0.1); overflow: hidden"
+ >
+ <div
+ aria-hidden="true"
+ class="giant"
+ style="
+ position: relative;
+ z-index: 0;
+ width: calc(100% - 48px);
+ max-width: 1200px;
+ margin: 28px auto -0.126em;
+ clip-path: inset(0 0 0.126em 0);
+ font-family: 'Archivo', 'Helvetica Neue', sans-serif;
+ font-stretch: 125%;
+ font-weight: 800;
+ font-size: clamp(64px, 20.5vw, 288px);
+ line-height: 0.92;
+ letter-spacing: -0.04em;
+ text-align: center;
+ user-select: none;
+ "
+ >
+ PLEXO
+ </div>
+ </footer>
+ </div>
+ <p id="share-status" class="sr-only" role="status"></p>
+ <dialog id="install-dialog" aria-labelledby="install-dialog-title">
+ <button type="button" class="dialog-close" aria-label="Close installation help">×</button>
+ <div class="download-dialog-heading">
+ <span class="download-dialog-icon" aria-hidden="true">↓</span>
+ <div>
+ <h2 id="install-dialog-title">Thanks for downloading Plexo</h2>
+ <p id="install-dialog-subtitle"></p>
+ </div>
+ </div>
+ <div id="install-dialog-content"></div>
+ <div class="download-dialog-actions">
+ <span>
+ Didn’t start? <a id="download-retry" href="#">Try again</a> ·
+ <a id="download-other-builds" href="#downloads">Other builds</a>
+ </span>
+ <form method="dialog"><button class="btn-3d">Got it</button></form>
+ </div>
+ </dialog>
+ <div id="download-help-toast" class="download-help-toast" role="status" hidden>
+ <span class="download-toast-icon" aria-hidden="true">↓</span>
+ <button id="download-help-reopen" type="button">
+ <strong>Plexo is downloading</strong>
+ <span>Need help opening it?</span>
+ </button>
+ <button id="download-help-dismiss" type="button" aria-label="Dismiss">×</button>
+ </div>
</body>
</html>
diff --git a/docs/landing.css b/docs/landing.css
new file mode 100644
index 0000000..da41978
--- /dev/null
+++ b/docs/landing.css
@@ -0,0 +1,1766 @@
+@font-face {
+ font-family: 'Archivo';
+ src: url('assets/fonts/Archivo-Variable.woff2') format('woff2');
+ font-weight: 100 900;
+ font-display: swap;
+ font-stretch: 62% 125%;
+}
+@font-face {
+ font-family: 'Geist';
+ src: url('assets/fonts/Geist-Variable.woff2') format('woff2');
+ font-weight: 100 900;
+ font-display: swap;
+}
+@font-face {
+ font-family: 'Geist Mono';
+ src: url('assets/fonts/GeistMono-Variable.woff2') format('woff2');
+ font-weight: 100 900;
+ font-display: swap;
+}
+
+body {
+ margin: 0;
+ background: #0a0a0b;
+}
+* {
+ box-sizing: border-box;
+}
+html {
+ color-scheme: dark;
+ scroll-behavior: smooth;
+}
+a {
+ color: inherit;
+ text-decoration: none;
+}
+.lnk {
+ background: linear-gradient(currentColor, currentColor) left calc(100% - 1px) / 0 1px no-repeat;
+ transition:
+ color 0.2s,
+ background-size 0.25s ease;
+}
+.lnk:hover {
+ color: #f36712;
+ background-size: 100% 1px;
+}
+.navlinks a {
+ position: relative;
+ color: #a1a1a8;
+ transition:
+ color 0.2s,
+ text-shadow 0.2s;
+}
+.navlinks a:hover {
+ color: #ededef;
+}
+.navlinks .nav-section-link::after {
+ position: absolute;
+ right: 0;
+ bottom: 4px;
+ left: 0;
+ width: 18px;
+ height: 2px;
+ margin: auto;
+ border-radius: 999px;
+ background: #f36712;
+ box-shadow: 0 0 12px rgba(243, 103, 18, 0.72);
+ content: '';
+ opacity: 0;
+ transform: scaleX(0.35);
+ transition:
+ opacity 0.2s,
+ transform 0.2s;
+}
+.navlinks .nav-section-link[aria-current='location'] {
+ color: #fff;
+ text-shadow: 0 0 18px rgba(255, 255, 255, 0.22);
+}
+.navlinks .nav-section-link[aria-current='location']::after {
+ opacity: 1;
+ transform: scaleX(1);
+}
+.menu-panel .nav-section-link {
+ border: 1px solid transparent;
+ color: #a1a1a8;
+ transition:
+ background 0.2s,
+ border-color 0.2s,
+ color 0.2s;
+}
+.menu-panel .nav-section-link[aria-current='location'] {
+ border-color: rgba(243, 103, 18, 0.2);
+ background: rgba(243, 103, 18, 0.1);
+ color: #fff;
+ box-shadow: inset 3px 0 #f36712;
+}
+.btn-primary {
+ transition:
+ background 0.2s,
+ transform 0.2s;
+}
+.btn-primary:hover {
+ background: #ff7d2e !important;
+ transform: translateY(-1px);
+}
+.btn-3d {
+ position: relative;
+ text-shadow: 0 1px 1px rgba(80, 25, 0, 0.35);
+ border: 1px solid rgba(255, 255, 255, 0.16);
+ box-shadow:
+ inset 0 1px 0 rgba(255, 255, 255, 0.28),
+ inset 0 -1px 0 rgba(0, 0, 0, 0.18),
+ 0 1px 2px rgba(0, 0, 0, 0.4),
+ 0 10px 30px -12px rgba(243, 103, 18, 0.55);
+ transition:
+ transform 0.2s ease,
+ box-shadow 0.2s ease,
+ filter 0.2s ease;
+}
+.btn-3d:hover {
+ transform: translateY(-2px);
+ filter: brightness(1.06);
+ box-shadow:
+ inset 0 1px 0 rgba(255, 255, 255, 0.32),
+ inset 0 -1px 0 rgba(0, 0, 0, 0.18),
+ 0 1px 2px rgba(0, 0, 0, 0.4),
+ 0 14px 40px -12px rgba(243, 103, 18, 0.7);
+}
+.btn-3d:active {
+ transform: translateY(1px);
+ filter: brightness(0.97);
+}
+.download-action .download-symbol {
+ transition: transform 0.2s ease;
+}
+.download-action:hover .download-symbol {
+ transform: translateY(2px);
+}
+.gh-btn {
+ transition:
+ background 0.2s,
+ transform 0.2s,
+ box-shadow 0.2s;
+}
+.gh-btn:hover {
+ background: linear-gradient(
+ 160deg,
+ rgba(255, 255, 255, 0.32),
+ rgba(255, 255, 255, 0.09)
+ ) !important;
+ border-color: rgba(255, 255, 255, 0.35) !important;
+ transform: translateY(-1px);
+}
+.github-button {
+ flex: 0 0 44px;
+ box-sizing: border-box;
+ border: 1px solid rgba(255, 255, 255, 0.24) !important;
+ border-radius: 9999px !important;
+ background: linear-gradient(
+ 145deg,
+ rgba(255, 255, 255, 0.18),
+ rgba(255, 255, 255, 0.07) 52%,
+ rgba(255, 255, 255, 0.035)
+ ) !important;
+ box-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.85) !important;
+ backdrop-filter: blur(14px) saturate(140%) !important;
+ -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
+}
+.github-button svg {
+ width: 24px;
+ height: 24px;
+ overflow: visible;
+}
+.github-button:hover {
+ border-color: rgba(255, 255, 255, 0.32) !important;
+ background: linear-gradient(
+ 145deg,
+ rgba(255, 255, 255, 0.24),
+ rgba(255, 255, 255, 0.1) 55%,
+ rgba(255, 255, 255, 0.05)
+ ) !important;
+}
+.srow {
+ transition: background 0.2s;
+}
+.srow:hover {
+ background: rgba(255, 255, 255, 0.03) !important;
+}
+.srow:hover svg:last-child {
+ color: #f36712 !important;
+}
+.tile {
+ transition:
+ border-color 0.2s,
+ background 0.2s;
+}
+.tile:hover {
+ border-color: rgba(243, 103, 18, 0.45) !important;
+ background: rgba(243, 103, 18, 0.05) !important;
+}
+.hero-t {
+ background: linear-gradient(180deg, #ffa066 0%, #f36712 70%);
+ -webkit-background-clip: text;
+ background-clip: text;
+ color: transparent;
+}
+.top-glow {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ height: 820px;
+ pointer-events: none;
+ overflow: hidden;
+}
+.top-glow > div {
+ position: absolute;
+ inset: 0;
+}
+.tg-wide {
+ background: radial-gradient(
+ ellipse 70% 75% at 50% -10%,
+ rgba(150, 45, 8, 0.55) 0%,
+ rgba(110, 32, 6, 0.32) 40%,
+ rgba(60, 18, 4, 0.12) 65%,
+ transparent 85%
+ );
+}
+.tg-core {
+ background: radial-gradient(
+ ellipse 42% 52% at 50% -6%,
+ rgba(255, 150, 90, 0.9) 0%,
+ rgba(243, 103, 18, 0.7) 22%,
+ rgba(200, 70, 15, 0.38) 48%,
+ rgba(140, 40, 8, 0.12) 72%,
+ transparent 90%
+ );
+ filter: blur(8px);
+}
+.tg-sparks {
+ background-image:
+ radial-gradient(1.6px 1.6px at 31% 9%, rgba(255, 215, 180, 0.9), transparent),
+ radial-gradient(1.2px 1.2px at 38% 22%, rgba(255, 215, 180, 0.7), transparent),
+ radial-gradient(2px 2px at 44% 6%, rgba(255, 225, 195, 0.8), transparent),
+ radial-gradient(1.2px 1.2px at 52% 15%, rgba(255, 215, 180, 0.6), transparent),
+ radial-gradient(1.6px 1.6px at 58% 4%, rgba(255, 225, 195, 0.85), transparent),
+ radial-gradient(1.2px 1.2px at 63% 19%, rgba(255, 215, 180, 0.6), transparent),
+ radial-gradient(1.8px 1.8px at 67% 10%, rgba(255, 215, 180, 0.75), transparent),
+ radial-gradient(1.2px 1.2px at 35% 30%, rgba(255, 215, 180, 0.5), transparent),
+ radial-gradient(1.4px 1.4px at 60% 27%, rgba(255, 215, 180, 0.55), transparent),
+ radial-gradient(1px 1px at 48% 26%, rgba(255, 215, 180, 0.6), transparent);
+ animation: tgDrift 9s ease-in-out infinite alternate;
+}
+@keyframes tgDrift {
+ from {
+ transform: translateY(0);
+ opacity: 0.55;
+ }
+ to {
+ transform: translateY(14px);
+ opacity: 1;
+ }
+}
+.tg-fade {
+ background: linear-gradient(180deg, transparent 45%, #0a0a0b 100%);
+}
+@media (prefers-reduced-motion: reduce) {
+ .tg-sparks {
+ animation: none;
+ }
+}
+.h1-line {
+ display: block;
+ white-space: nowrap;
+}
+.menu-btn {
+ display: none;
+}
+.menu-panel a:hover {
+ background: rgba(255, 255, 255, 0.05);
+}
+.cells {
+ padding-left: 1px;
+}
+.cells > * {
+ margin: 0 0 -1px -1px;
+}
+.stack > *:first-child {
+ margin-bottom: -1px;
+}
+@media (max-width: 1008px) {
+ .feat-swap {
+ order: 2;
+ }
+ .feat-title {
+ min-height: 0 !important;
+ }
+}
+@media (max-width: 640px) {
+ .navlinks {
+ display: none !important;
+ }
+ .menu-btn {
+ display: grid !important;
+ }
+ .h1-line {
+ white-space: normal;
+ }
+}
+@media (min-width: 641px) {
+ .menu-panel {
+ display: none !important;
+ }
+}
+.dl-modal {
+ animation: dlIn 0.28s ease-out;
+}
+.dl-scrim {
+ animation: fadeIn 0.2s ease-out;
+}
+.dl-toast {
+ animation: dlUp 0.3s ease-out;
+}
+@keyframes fadeIn {
+ from {
+ opacity: 0;
+ }
+ to {
+ opacity: 1;
+ }
+}
+@keyframes dlUp {
+ from {
+ opacity: 0;
+ transform: translateY(10px);
+ }
+ to {
+ opacity: 1;
+ transform: none;
+ }
+}
+@keyframes dlIn {
+ from {
+ opacity: 0;
+ transform: translateY(-8px);
+ }
+ to {
+ opacity: 1;
+ transform: none;
+ }
+}
+.hatch {
+ background-image: repeating-linear-gradient(
+ 135deg,
+ rgba(255, 255, 255, 0.055) 0 1px,
+ transparent 1px 11px
+ );
+}
+.giant {
+ background: linear-gradient(
+ 180deg,
+ #f36712 0%,
+ rgba(243, 103, 18, 0.4) 45%,
+ rgba(243, 103, 18, 0) 92%
+ );
+ -webkit-background-clip: text;
+ background-clip: text;
+ color: transparent;
+ transition:
+ opacity 0.8s ease,
+ filter 0.8s ease;
+}
+.flow {
+ fill: none;
+ stroke-width: 3;
+ stroke-linecap: round;
+ stroke-dasharray: 6 8;
+ animation: plexoFlow 1s linear infinite;
+ transition: opacity 0.4s;
+}
+.flow.off {
+ animation-play-state: paused;
+ opacity: 0.16;
+}
+.flow-out {
+ fill: none;
+ stroke: #ededef;
+ stroke-width: 6.5;
+ stroke-linecap: round;
+ transition: opacity 0.4s;
+}
+.flow-arrow {
+ fill: #ededef;
+ transition: opacity 0.4s;
+}
+.flow-out.off {
+ opacity: 0.2;
+}
+@keyframes plexoFlow {
+ to {
+ stroke-dashoffset: -30;
+ }
+}
+.combine-ring {
+ fill: none;
+ stroke: #ededef;
+ stroke-opacity: 0.25;
+ stroke-width: 1.5;
+}
+.combine-dot {
+ fill: #ededef;
+}
+.area {
+ transition:
+ d 0.5s linear,
+ opacity 0.3s ease;
+}
+.area.off {
+ opacity: 0.18;
+}
+.area-wifi {
+ fill: rgba(243, 103, 18, 0.62);
+}
+.area-usb {
+ fill: rgba(200, 200, 206, 0.5);
+}
+.cline {
+ fill: none;
+ stroke: #ededef;
+ stroke-width: 2;
+ vector-effect: non-scaling-stroke;
+ transition: d 0.5s linear;
+}
+.gline {
+ stroke: rgba(255, 255, 255, 0.07);
+ stroke-width: 1;
+ vector-effect: non-scaling-stroke;
+}
+.bar {
+ transition: width 0.5s linear;
+}
+.shine {
+ position: absolute;
+ pointer-events: none;
+ z-index: 1;
+}
+.shine-tl {
+ top: -1px;
+ left: -1px;
+ width: 280px;
+ height: 210px;
+ border-top: 1px solid rgba(255, 255, 255, 0.82);
+ border-left: 1px solid rgba(255, 255, 255, 0.82);
+ border-top-left-radius: 40px;
+ background: none;
+ filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
+ -webkit-mask-image: radial-gradient(230px 170px at 68px 44px, #000 0%, transparent 88%);
+ mask-image: radial-gradient(230px 170px at 68px 44px, #000 0%, transparent 88%);
+}
+.demo-frame {
+ max-width: none;
+ transform-origin: top left;
+ -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 96px), transparent 100%);
+ mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 96px), transparent 100%);
+}
+.demo-stage {
+ position: relative;
+ overflow: hidden;
+}
+@media (prefers-reduced-motion: reduce) {
+ .flow {
+ animation: none;
+ }
+ .area,
+ .cline,
+ .bar {
+ transition: none;
+ }
+}
+
+:root {
+ color-scheme: dark;
+ --orange: #f36712;
+ --text: #ededef;
+ --muted: #a1a1a8;
+ font-family: 'Geist', sans-serif;
+}
+html {
+ scroll-padding-top: 110px;
+}
+body {
+ -webkit-font-smoothing: antialiased;
+}
+button,
+input {
+ font: inherit;
+}
+button {
+ cursor: pointer;
+}
+button,
+a,
+input,
+summary {
+ touch-action: manipulation;
+}
+[hidden] {
+ display: none !important;
+}
+a:focus-visible,
+button:focus-visible,
+input:focus-visible,
+summary:focus-visible,
+[tabindex]:focus-visible {
+ outline: 2px solid #ff8a3d;
+ outline-offset: 5px;
+}
+.skip-link {
+ position: fixed;
+ top: 8px;
+ left: 8px;
+ z-index: 100;
+ padding: 12px 18px;
+ background: #f36712;
+ border-radius: 12px;
+ transform: translateY(-150%);
+}
+.skip-link:focus {
+ transform: none;
+}
+.sr-only {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ margin: -1px;
+ overflow: hidden;
+ clip-path: inset(50%);
+ white-space: nowrap;
+ border: 0;
+}
+.hero-actions {
+ position: relative;
+ margin-top: 40px;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ gap: 14px;
+}
+.hero-action-row {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ flex-wrap: wrap;
+ gap: 12px 28px;
+}
+.download-primary {
+ display: inline-flex;
+ align-items: center;
+ gap: 12px;
+ padding: 18px 34px;
+ border-radius: 999px;
+ background: linear-gradient(180deg, #f2711f, #dd5a0c 55%, #c94a06);
+ color: white;
+ font-weight: 600;
+ font-size: 18px;
+}
+.all-downloads {
+ display: inline-flex;
+ align-items: center;
+ min-height: 58px;
+ font-size: 15px;
+}
+#hero-download-info {
+ margin: 0;
+ font:
+ 13px/1.6 'Geist Mono',
+ monospace;
+ color: #8c8c94;
+ max-width: 580px;
+}
+#hero-alternates {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: center;
+ gap: 12px;
+}
+#hero-alternates a {
+ padding: 14px 24px;
+ border: 1px solid #ffffff29;
+ border-radius: 999px;
+ font-size: 15px;
+ background: #ffffff08;
+}
+#hero-alternates a:hover {
+ border-color: #f36712;
+}
+.flow-wifi {
+ stroke: #f36712;
+}
+.flow-usb {
+ stroke: #c8c8ce;
+}
+.source-wifi,
+.legend-wifi {
+ fill: #f36712;
+ background: #f36712;
+}
+.source-usb,
+.legend-usb {
+ fill: #c8c8ce;
+ background: #c8c8ce;
+}
+#wifi-diagram-speed,
+#wifi-speed {
+ color: #ff8a3d;
+}
+#usb-diagram-speed,
+#usb-speed {
+ color: #ededef;
+}
+#wifi-contribution {
+ background: #f36712 !important;
+}
+#usb-contribution {
+ background: #c8c8ce !important;
+}
+.wifi-row .n-name > span:first-child {
+ background: #f36712 !important;
+ box-shadow: 0 0 12px rgba(243, 103, 18, 0.65) !important;
+}
+.usb-row .n-name > span:first-child {
+ background: #c8c8ce !important;
+ box-shadow: 0 0 12px rgba(200, 200, 206, 0.45) !important;
+}
+.demo-paused .flow,
+.demo-paused .flow-out {
+ animation-play-state: paused;
+}
+.network-row.off {
+ opacity: 0.4;
+}
+.network-toggle {
+ position: relative;
+ flex: none;
+ width: 16px;
+ height: 16px;
+ margin: 0;
+ appearance: none;
+ box-sizing: border-box;
+ border: 1px solid #ffffff29;
+ border-radius: 4px;
+ background: #ffffff08;
+ cursor: pointer;
+ touch-action: manipulation;
+ transition:
+ background 0.2s,
+ border-color 0.2s;
+}
+.network-toggle::after {
+ position: absolute;
+ top: 3px;
+ left: 3px;
+ width: 9px;
+ height: 5px;
+ border-left: 2px solid currentColor;
+ border-bottom: 2px solid currentColor;
+ content: '';
+ opacity: 0;
+ transform: rotate(-45deg) scale(0.75);
+ transition:
+ opacity 0.12s,
+ transform 0.16s ease-out;
+}
+.network-toggle:checked {
+ border: 0;
+ background: #f36712;
+ color: #0a0a0b;
+}
+.network-toggle:checked::after {
+ opacity: 1;
+ transform: rotate(-45deg) scale(1);
+}
+.network-toggle:focus-visible {
+ outline: 2px solid rgba(237, 237, 239, 0.75);
+ outline-offset: 3px;
+}
+.usb-row .network-toggle:checked {
+ background: #c8c8ce;
+ color: #0a0a0b;
+}
+#demo-motion {
+ padding: 10px 14px;
+ border: 1px solid #ffffff26;
+ border-radius: 999px;
+ background: #ffffff08;
+ color: #ededef;
+ min-height: 44px;
+}
+.demo-caption {
+ position: relative;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ gap: 10px;
+ margin: 12px 0 0;
+ color: #a1a1a8;
+ font-size: 13px;
+}
+.faq-item {
+ border-bottom: 1px solid #ffffff12;
+}
+.faq-item:last-child {
+ border-bottom: 0;
+}
+.faq-item summary {
+ list-style: none;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: 20px;
+ padding: 24px 0;
+ font-size: 17px;
+ font-weight: 500;
+ cursor: pointer;
+ transition: color 0.2s ease;
+}
+.faq-item summary:hover {
+ color: #fff;
+}
+.faq-item summary::-webkit-details-marker {
+ display: none;
+}
+.faq-item summary span {
+ position: relative;
+ flex: none;
+ width: 20px;
+ height: 20px;
+ color: transparent;
+ font-size: 0;
+}
+.faq-item summary span::before,
+.faq-item summary span::after {
+ position: absolute;
+ top: 9px;
+ left: 3px;
+ width: 14px;
+ height: 1.5px;
+ border-radius: 999px;
+ background: #a1a1a8;
+ content: '';
+ transition:
+ background 0.2s,
+ transform 0.22s ease;
+}
+.faq-item summary span::after {
+ transform: rotate(90deg);
+}
+.faq-item[open] summary span::after {
+ transform: rotate(0deg) scaleX(0);
+}
+.faq-item::details-content {
+ block-size: 0;
+ overflow: hidden;
+ opacity: 0;
+ transition:
+ block-size 0.28s ease,
+ opacity 0.2s ease,
+ content-visibility 0.28s allow-discrete;
+}
+.faq-item[open]::details-content {
+ block-size: auto;
+ opacity: 1;
+}
+.faq-item p a {
+ color: #f58a45;
+ font-weight: 500;
+ text-decoration-line: underline;
+ text-decoration-color: rgba(245, 138, 69, 0.55);
+ text-decoration-thickness: 1px;
+ text-underline-offset: 3px;
+ transition:
+ color 0.2s ease,
+ text-decoration-color 0.2s ease;
+}
+.faq-item p a:hover {
+ color: #ffab72;
+ text-decoration-color: currentColor;
+}
+.downloads {
+ position: relative;
+ padding: 120px 24px 0;
+ max-width: 1248px;
+ margin: auto;
+}
+.section-heading {
+ text-align: center;
+}
+.section-tag {
+ display: inline-flex;
+ padding: 8px 18px;
+ border-radius: 999px;
+ border: 1px solid #ffffff24;
+ background: #151517;
+ font-size: 13px;
+ color: #c8c8ce;
+}
+.section-heading h2 {
+ margin: 24px auto 0;
+ font:
+ 600 clamp(30px, 4.4vw, 60px)/1.06 'Archivo',
+ sans-serif;
+ font-stretch: 118%;
+ letter-spacing: -0.015em;
+ text-transform: uppercase;
+ text-wrap: balance;
+}
+.section-heading h2 span {
+ color: #f36712;
+}
+.section-heading p {
+ font-size: 14px;
+ color: #8c8c94;
+ margin-top: 20px;
+}
+.download-box {
+ max-width: 920px;
+ margin: 36px auto 0;
+}
+.os-tabs {
+ position: relative;
+ display: flex;
+ justify-content: center;
+ gap: 4px;
+ padding: 6px;
+ border: 1px solid #ffffff14;
+ border-radius: 999px;
+ background: #141416;
+ width: max-content;
+ max-width: 100%;
+ margin: auto;
+}
+.os-tabs::before {
+ position: absolute;
+ top: 6px;
+ bottom: 6px;
+ left: 0;
+ width: var(--tab-width, 0);
+ border-radius: 999px;
+ background: linear-gradient(180deg, #f2711f, #dd5a0c 55%, #c94a06);
+ box-shadow: inset 0 1px 0 #ffffff47;
+ content: '';
+ transform: translateX(var(--tab-left, 6px));
+ transition:
+ width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
+ transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
+}
+.os-tabs button {
+ position: relative;
+ z-index: 1;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ gap: 10px;
+ min-height: 44px;
+ padding: 0 28px;
+ border: 0;
+ border-radius: 999px;
+ background: transparent;
+ color: #c8c8ce;
+ font-size: 15px;
+ font-weight: 500;
+ cursor: pointer;
+ transition:
+ background 0.25s ease,
+ box-shadow 0.25s ease,
+ color 0.2s ease,
+ transform 0.2s ease;
+}
+.os-tabs button:not([aria-selected='true']):hover {
+ background: rgba(255, 255, 255, 0.05);
+ color: #fff;
+}
+.os-icon {
+ width: 19px;
+ height: 19px;
+ flex: none;
+ fill: currentColor;
+}
+.os-icon-apple {
+ width: 17px;
+ height: 20px;
+}
+.os-icon-terminal {
+ fill: none;
+ stroke: currentColor;
+ stroke-width: 1.8;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+}
+.os-tabs [aria-selected='true'] {
+ background: transparent;
+ color: white;
+ box-shadow: none;
+}
+.release-meta {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ padding: 24px 0;
+ color: #a1a1a8;
+ font-size: 14px;
+}
+.release-meta a {
+ color: #ededef;
+ text-decoration: underline;
+ text-underline-offset: 4px;
+ text-decoration-color: rgba(237, 237, 239, 0.5);
+ transition:
+ color 0.2s,
+ text-decoration-color 0.2s,
+ text-underline-offset 0.2s;
+}
+.release-meta a:hover,
+.release-warning a:hover,
+.download-dialog-actions a:hover {
+ color: #ff8a3d;
+ text-decoration-color: #ff8a3d;
+ text-underline-offset: 6px;
+}
+.architecture-list {
+ display: flex;
+ flex-direction: column;
+ border: 1px solid #ffffff14;
+ border-radius: 24px;
+ background: #111113;
+ overflow: hidden;
+}
+.architecture-card {
+ padding: 22px 28px;
+ border-top: 1px solid #ffffff0f;
+}
+.architecture-card:first-child {
+ border-top: 0;
+}
+.architecture-card h3 {
+ font-size: 16px;
+ font-weight: 600;
+ margin: 0;
+}
+.architecture-card > p {
+ font-size: 13px;
+ color: #8c8c94;
+ margin: 4px 0 14px;
+}
+.asset-link {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: 16px;
+ min-height: 44px;
+ padding: 12px 0;
+ border-top: 1px solid #ffffff0f;
+ font-size: 15px;
+}
+.asset-link:hover {
+ color: #ff8a3d;
+}
+.asset-link small {
+ font:
+ 12px 'Geist Mono',
+ monospace;
+ color: #8c8c94;
+}
+.asset-link > span:last-child {
+ border: 1px solid #ffffff24;
+ border-radius: 999px;
+ min-width: 44px;
+ padding: 8px 14px;
+ text-align: center;
+}
+.os-note {
+ margin: 24px 0 0;
+ color: #8c8c94;
+ font-size: 14px;
+ line-height: 1.6;
+ text-align: center;
+}
+.install-help {
+ margin-top: 24px;
+ border: 1px solid #ffffff14;
+ border-radius: 20px;
+ padding: 20px 24px;
+ background: #111113;
+}
+.install-help summary {
+ font-size: 16px;
+ font-weight: 500;
+ cursor: pointer;
+}
+.install-help p {
+ font-size: 15px;
+ line-height: 1.6;
+ color: #a1a1a8;
+}
+.install-help code {
+ display: block;
+ overflow-wrap: anywhere;
+ padding: 14px;
+ border: 1px solid #ffffff14;
+ border-radius: 12px;
+ background: #0a0a0b;
+ font:
+ 13px/1.6 'Geist Mono',
+ monospace;
+ color: #ededef;
+}
+.download-fallback {
+ color: #a1a1a8;
+}
+.release-link {
+ display: block;
+ margin: 24px auto 0;
+ text-align: center;
+ font-size: 14px;
+ color: #a1a1a8;
+}
+#install-dialog {
+ position: fixed;
+ width: min(860px, calc(100vw - 32px));
+ max-height: calc(100dvh - 48px);
+ padding: clamp(24px, 5vw, 40px);
+ border: 1px solid #ffffff26;
+ border-radius: 28px;
+ background: #111113;
+ color: #ededef;
+ box-shadow: 0 25px 90px #0009;
+}
+#install-dialog::backdrop {
+ background: #0009;
+ backdrop-filter: blur(8px);
+}
+#install-dialog h2 {
+ margin: 0 44px 24px 0;
+ font-size: 26px;
+}
+#install-dialog p {
+ line-height: 1.6;
+ color: #a1a1a8;
+}
+#install-dialog .install-help {
+ margin-top: 16px;
+}
+#install-dialog form {
+ margin-top: 24px;
+ text-align: right;
+}
+#install-dialog form button {
+ padding: 14px 28px;
+ border-radius: 999px;
+ background: linear-gradient(180deg, #f2711f, #c94a06);
+ color: white;
+ font-weight: 600;
+}
+.dialog-close {
+ position: absolute;
+ top: 20px;
+ right: 20px;
+ width: 44px;
+ height: 44px;
+ border: 1px solid #ffffff24;
+ border-radius: 999px;
+ background: #ffffff08;
+ color: #ededef;
+ font-size: 28px;
+}
+
+/* Downloads and first-launch help mirror the supplied reference's dense utility layout. */
+.section-heading .release-meta {
+ padding: 20px 0 0;
+}
+.release-meta.is-loaded .release-summary {
+ animation: releaseIn 0.4s ease-out both;
+}
+@keyframes releaseIn {
+ from {
+ opacity: 0;
+ transform: translateY(6px);
+ }
+}
+.release-summary {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ gap: 9px;
+}
+.release-kicker {
+ color: #a1a1a8;
+ font-size: 13px;
+}
+.release-details {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ flex-wrap: wrap;
+ gap: 10px;
+}
+.release-archive {
+ color: #8c8c94;
+ font-size: 13px;
+}
+.release-version {
+ color: #ededef;
+ font-family: 'Geist Mono', ui-monospace, monospace;
+}
+.detected-badge {
+ padding: 3px 10px;
+ border: 1px solid rgba(243, 103, 18, 0.45);
+ border-radius: 999px;
+ background: rgba(243, 103, 18, 0.14);
+ color: #ff8a3d;
+ font-size: 11px;
+ font-weight: 600;
+}
+.release-warning {
+ margin: 28px 0 0 !important;
+ color: #8c8c94 !important;
+ font-size: 13px !important;
+ text-align: center;
+}
+.release-warning a {
+ color: #ededef;
+ text-decoration: underline;
+ text-underline-offset: 4px;
+ text-decoration-color: rgba(237, 237, 239, 0.5);
+ transition:
+ color 0.2s,
+ text-decoration-color 0.2s,
+ text-underline-offset 0.2s;
+}
+.download-box {
+ max-width: 1200px;
+ margin-top: 40px;
+}
+.os-panel {
+ margin-top: 36px;
+}
+.architecture-notice {
+ max-width: 640px;
+ margin: 0 auto 20px;
+ padding: 14px 20px;
+ border: 1px solid rgba(243, 103, 18, 0.35);
+ border-radius: 16px;
+ background: rgba(243, 103, 18, 0.07);
+ color: #e4e4e8;
+ font-size: 14px;
+ line-height: 1.5;
+ text-align: center;
+}
+.architecture-list {
+ display: block;
+ max-width: 920px;
+ margin: 0 auto;
+ overflow-x: auto;
+}
+.architecture-card {
+ display: grid;
+ grid-template-columns: minmax(200px, 1.3fr) minmax(170px, 1fr) minmax(240px, 1.5fr) 140px;
+ align-items: center;
+ gap: 20px;
+ min-width: 760px;
+ padding: 16px 28px;
+ border-top: 1px solid rgba(255, 255, 255, 0.06);
+ transition:
+ background 0.2s ease,
+ border-color 0.2s ease;
+}
+.architecture-card:first-child {
+ border-top: 0;
+}
+.architecture-card.recommended {
+ background: rgba(243, 103, 18, 0.06);
+}
+.architecture-card:hover {
+ background: rgba(255, 255, 255, 0.025);
+}
+.architecture-card.recommended:hover {
+ background: rgba(243, 103, 18, 0.09);
+}
+.os-panel:not([hidden]) {
+ animation: panelIn 0.24s ease-out both;
+}
+@keyframes panelIn {
+ from {
+ opacity: 0;
+ transform: translateY(6px);
+ }
+}
+.download-platform {
+ min-width: 0;
+}
+.download-platform-title {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+}
+.architecture-card h3 {
+ font-size: 16px;
+ font-weight: 600;
+}
+.architecture-card > .download-platform > p {
+ margin: 3px 0 0;
+ color: #8c8c94;
+ font-size: 13px;
+}
+.download-format {
+ display: flex;
+ flex-direction: column;
+ gap: 3px;
+ color: #ededef;
+ font-size: 15px;
+}
+.download-size {
+ color: #8c8c94;
+ font:
+ 12px 'Geist Mono',
+ ui-monospace,
+ monospace;
+}
+.download-file {
+ overflow: hidden;
+ color: #8c8c94;
+ font:
+ 13px 'Geist Mono',
+ ui-monospace,
+ monospace;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+.asset-link.download-action {
+ justify-self: end;
+ justify-content: center;
+ gap: 8px;
+ min-height: 44px;
+ padding: 0 18px;
+ border: 1px solid rgba(255, 255, 255, 0.14);
+ border-radius: 999px;
+ background: rgba(255, 255, 255, 0.03);
+ color: #ededef;
+ font-size: 14px;
+ font-weight: 500;
+}
+.asset-link.download-action > span:last-child {
+ min-width: 0;
+ padding: 0;
+ border: 0;
+}
+.download-symbol {
+ color: #ff8a3d;
+ font-size: 17px;
+}
+.install-help {
+ max-width: 920px;
+ margin: 32px auto 0;
+ padding: 0;
+ overflow: hidden;
+ text-align: left;
+ interpolate-size: allow-keywords;
+}
+.install-help summary {
+ display: flex;
+ align-items: center;
+ gap: 14px;
+ padding: 16px 22px;
+ list-style: none;
+ cursor: pointer;
+ transition: background 0.2s ease;
+}
+.install-help summary:hover {
+ background: rgba(255, 255, 255, 0.025);
+}
+.install-help summary::-webkit-details-marker {
+ display: none;
+}
+.install-help-icon {
+ display: grid;
+ flex: none;
+ width: 36px;
+ height: 36px;
+ place-items: center;
+ border: 1px solid rgba(255, 255, 255, 0.12);
+ border-radius: 999px;
+ background: rgba(255, 255, 255, 0.04);
+}
+.install-help-icon svg {
+ width: 18px;
+ height: 18px;
+ fill: none;
+ stroke: var(--orange);
+ stroke-width: 1.75;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+}
+.install-help-title {
+ display: flex;
+ flex: 1;
+ flex-direction: column;
+ gap: 2px;
+}
+.install-help-title small {
+ color: #8c8c94;
+ font-size: 13px;
+ font-weight: 400;
+}
+.install-help-toggle {
+ position: relative;
+ flex: none;
+ width: 20px;
+ height: 20px;
+ color: transparent;
+ font-size: 0;
+}
+.install-help-toggle::before,
+.install-help-toggle::after {
+ position: absolute;
+ top: 9px;
+ left: 3px;
+ width: 14px;
+ height: 1.5px;
+ border-radius: 999px;
+ background: #a1a1a8;
+ content: '';
+ transition: transform 0.22s ease;
+}
+.install-help-toggle::after {
+ transform: rotate(90deg);
+}
+.install-help[open] .install-help-toggle::after {
+ transform: rotate(0deg) scaleX(0);
+}
+.install-help::details-content {
+ block-size: 0;
+ overflow: hidden;
+ opacity: 0;
+ transition:
+ block-size 0.28s ease,
+ opacity 0.2s ease,
+ content-visibility 0.28s allow-discrete;
+}
+.install-help[open]::details-content {
+ block-size: auto;
+ opacity: 1;
+}
+.install-guide-body {
+ padding: 4px clamp(22px, 4vw, 40px) clamp(22px, 4vw, 36px);
+ border-top: 1px solid rgba(255, 255, 255, 0.06);
+}
+.install-guide-intro {
+ max-width: 680px;
+}
+.install-steps {
+ display: flex;
+ flex-direction: column;
+ gap: 16px;
+ margin: 26px 0 0;
+ padding: 0;
+ list-style: none;
+}
+.install-steps li {
+ display: flex;
+ align-items: flex-start;
+ gap: 14px;
+}
+.install-step-number {
+ display: grid;
+ flex: none;
+ width: 28px;
+ height: 28px;
+ place-items: center;
+ border: 1px solid rgba(243, 103, 18, 0.4);
+ border-radius: 999px;
+ background: rgba(243, 103, 18, 0.14);
+ color: #ff8a3d;
+ font:
+ 13px 'Geist Mono',
+ ui-monospace,
+ monospace;
+}
+.install-step-copy {
+ flex: 1;
+ min-width: 0;
+}
+.install-step-copy p,
+.install-fix p {
+ margin: 3px 0 0;
+ color: #c8c8ce;
+ font-size: 15px;
+ line-height: 1.6;
+}
+.command-row {
+ display: flex;
+ align-items: center;
+ margin-top: 10px;
+ overflow: hidden;
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: 12px;
+ background: #0a0a0b;
+}
+.command-row code {
+ flex: 1;
+ min-width: 0;
+ padding: 12px 14px;
+ overflow-x: auto;
+ color: #ededef;
+ font:
+ 13px 'Geist Mono',
+ ui-monospace,
+ monospace;
+ white-space: nowrap;
+}
+.copy-command {
+ flex: none;
+ min-height: 44px;
+ padding: 0 16px;
+ border: 0;
+ border-left: 1px solid rgba(255, 255, 255, 0.08);
+ background: transparent;
+ color: #c8c8ce;
+ font-size: 13px;
+}
+.install-fix,
+.dialog-fix {
+ margin-top: 26px;
+ padding: 16px 18px;
+ border: 1px solid rgba(255, 255, 255, 0.07);
+ border-radius: 16px;
+ background: #17171a;
+}
+#install-dialog {
+ width: min(900px, calc(100vw - 32px));
+ max-height: calc(100dvh - 48px);
+ padding: clamp(22px, 4vw, 36px);
+ overflow: auto;
+ overscroll-behavior: contain;
+ background: #141416;
+ box-shadow:
+ inset 0 1px 0 rgba(255, 255, 255, 0.06),
+ 0 40px 120px -30px rgba(0, 0, 0, 0.9);
+}
+.download-dialog-heading {
+ display: flex;
+ align-items: flex-start;
+ gap: 14px;
+ padding-right: 44px;
+}
+.download-dialog-icon,
+.download-toast-icon {
+ display: grid;
+ flex: none;
+ width: 42px;
+ height: 42px;
+ place-items: center;
+ border: 1px solid rgba(243, 103, 18, 0.45);
+ border-radius: 999px;
+ background: rgba(243, 103, 18, 0.14);
+ color: #ff8a3d;
+ font-size: 20px;
+}
+#install-dialog h2 {
+ margin: 0;
+}
+#install-dialog-subtitle {
+ margin: 6px 0 0;
+}
+#install-dialog-content > .install-guide-body {
+ margin-top: 26px;
+ padding: 22px 0 0;
+}
+.download-dialog-actions {
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ justify-content: space-between;
+ gap: 14px 20px;
+ margin-top: 26px;
+ color: #8c8c94;
+ font-size: 14px;
+}
+.download-dialog-actions a {
+ color: #ededef;
+ text-decoration: underline;
+ text-underline-offset: 4px;
+ text-decoration-color: rgba(237, 237, 239, 0.5);
+ transition:
+ color 0.2s,
+ text-decoration-color 0.2s,
+ text-underline-offset 0.2s;
+}
+#install-dialog form {
+ margin: 0;
+}
+.download-help-toast {
+ position: fixed;
+ right: 20px;
+ bottom: 20px;
+ z-index: 55;
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ width: min(380px, calc(100vw - 40px));
+ padding: 12px 8px 12px 14px;
+ border: 1px solid rgba(255, 255, 255, 0.12);
+ border-radius: 18px;
+ background: rgba(22, 22, 24, 0.92);
+ box-shadow:
+ inset 0 1px 0 rgba(255, 255, 255, 0.06),
+ 0 20px 50px -20px rgba(0, 0, 0, 0.85);
+ backdrop-filter: blur(14px);
+ animation: dlUp 0.3s ease-out;
+}
+.download-help-toast > button {
+ border: 0;
+ background: transparent;
+}
+#download-help-reopen {
+ flex: 1;
+ min-width: 0;
+ min-height: 44px;
+ padding: 0;
+ text-align: left;
+}
+#download-help-reopen strong,
+#download-help-reopen span {
+ display: block;
+}
+#download-help-reopen strong {
+ color: #ededef;
+ font-size: 14px;
+}
+#download-help-reopen span {
+ margin-top: 2px;
+ color: #ff8a3d;
+ font-size: 13px;
+ text-decoration: underline;
+ text-underline-offset: 3px;
+}
+#download-help-dismiss {
+ width: 44px;
+ height: 44px;
+ color: #8c8c94;
+ font-size: 24px;
+}
+
+#features,
+#downloads,
+#faq,
+#support {
+ scroll-margin-top: 112px;
+}
+#faq {
+ interpolate-size: allow-keywords;
+}
+
+.motion-ready .reveal-on-scroll {
+ opacity: 0;
+ transform: translateY(16px);
+ transition:
+ opacity 0.55s ease,
+ transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
+ transition-delay: var(--reveal-delay, 0ms);
+}
+.motion-ready .reveal-on-scroll.is-visible {
+ opacity: 1;
+ transform: none;
+}
+.motion-ready #top > span,
+.motion-ready #top h1,
+.motion-ready #top > p,
+.motion-ready #top .hero-actions,
+.motion-ready #top .demo-wrap {
+ animation: heroIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
+}
+.motion-ready #top h1 {
+ animation-delay: 60ms;
+}
+.motion-ready #top > p {
+ animation-delay: 120ms;
+}
+.motion-ready #top .hero-actions {
+ animation-delay: 180ms;
+}
+.motion-ready #top .demo-wrap {
+ animation-delay: 240ms;
+}
+@keyframes heroIn {
+ from {
+ opacity: 0;
+ transform: translateY(12px);
+ }
+}
+.speed-pop {
+ animation: speedPop 0.28s ease-out;
+}
+@keyframes speedPop {
+ 50% {
+ transform: scale(1.025);
+ }
+}
+a:focus-visible {
+ border-radius: 4px;
+ outline: 2px solid rgba(243, 103, 18, 0.85);
+ outline-offset: 4px;
+}
+
+@media (hover: hover) {
+ .feature-visual {
+ transition:
+ border-color 0.25s ease,
+ box-shadow 0.25s ease;
+ }
+ .feature-visual > div {
+ transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
+ }
+ .feature-visual:hover {
+ border-color: rgba(243, 103, 18, 0.24) !important;
+ box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
+ }
+ .feature-visual:hover > div {
+ transform: translateY(-3px);
+ }
+}
+
+#mobile-menu {
+ width: 100%;
+ max-width: 780px;
+}
+
+#mobile-menu .menu-panel {
+ box-sizing: border-box;
+}
+
+@media (min-width: 700px) and (max-width: 1008px) {
+ .cells {
+ grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
+ }
+}
+
+@media (max-width: 900px) {
+ .architecture-list {
+ overflow: visible;
+ }
+ .architecture-card {
+ min-width: 0;
+ grid-template-columns: minmax(0, 1fr) minmax(150px, 0.9fr) auto;
+ gap: 8px 18px;
+ }
+ .download-platform {
+ grid-column: 1;
+ grid-row: 1;
+ }
+ .download-format {
+ grid-column: 2;
+ grid-row: 1;
+ }
+ .download-file {
+ grid-column: 1 / 3;
+ grid-row: 2;
+ min-width: 0;
+ overflow-wrap: anywhere;
+ white-space: normal;
+ }
+ .architecture-card .download-action {
+ grid-column: 3;
+ grid-row: 1 / 3;
+ align-self: center;
+ }
+}
+
+@media (max-width: 640px) {
+ #top {
+ padding-top: 64px !important;
+ }
+ #features,
+ #downloads,
+ #faq,
+ #support {
+ padding-top: 72px !important;
+ }
+ .os-tabs button {
+ flex: 1 1 auto;
+ min-width: 0;
+ gap: 8px;
+ padding: 0 14px;
+ }
+ .architecture-card {
+ grid-template-columns: minmax(0, 1fr);
+ gap: 8px;
+ padding: 16px 20px;
+ }
+ .download-platform,
+ .download-format,
+ .download-file,
+ .architecture-card .download-action {
+ grid-column: 1;
+ grid-row: auto;
+ }
+ .architecture-card .download-action {
+ width: 100%;
+ margin-top: 6px;
+ justify-content: center;
+ }
+ .hatch {
+ height: 48px !important;
+ }
+ #top + .hatch {
+ margin-top: 72px !important;
+ }
+ .demo-wrap {
+ margin-top: 48px !important;
+ }
+ .feature-visual {
+ min-height: 0 !important;
+ padding: 18px !important;
+ border-radius: 28px !important;
+ }
+ .feat-title,
+ .stack > div:last-child {
+ padding: 28px 22px !important;
+ border-radius: 28px !important;
+ }
+ .srow {
+ gap: 12px !important;
+ }
+ #hero-download-info {
+ font-size: 12px;
+ }
+ .hero-actions {
+ margin-top: 28px;
+ }
+}
+
+@media (max-width: 360px) {
+ .os-tabs button {
+ gap: 6px;
+ padding-inline: 6px;
+ font-size: 13px;
+ }
+ .os-icon {
+ width: 17px;
+ height: 17px;
+ }
+}
+@media (prefers-reduced-motion: reduce) {
+ html {
+ scroll-behavior: auto;
+ }
+ .motion-ready .reveal-on-scroll {
+ opacity: 1;
+ transform: none;
+ }
+ *,
+ *::before,
+ *::after {
+ animation: none !important;
+ transition: none !important;
+ }
+}
diff --git a/docs/landing.js b/docs/landing.js
new file mode 100644
index 0000000..3a46af2
--- /dev/null
+++ b/docs/landing.js
@@ -0,0 +1,746 @@
+/* The landing page uses the shared release classifier in downloads.js. */
+;(function () {
+ 'use strict'
+ const $ = (id) => document.getElementById(id)
+ const repo = 'https://github.com/anmolkapil/plexo'
+ const labels = { mac: 'macOS', win: 'Windows', linux: 'Linux' }
+ const sectionIds = ['features', 'downloads', 'faq', 'support']
+ const sectionLinks = Array.from(document.querySelectorAll('.nav-section-link'))
+ const pageSections = sectionIds.map((id) => $(id)).filter(Boolean)
+ let navFrame = 0
+
+ function updateActiveSection() {
+ navFrame = 0
+ const marker = window.scrollY + Math.min(window.innerHeight * 0.5, 360)
+ let activeId = ''
+ pageSections.forEach((section) => {
+ if (section.offsetTop <= marker) activeId = section.id
+ })
+ if (window.scrollY + window.innerHeight >= document.documentElement.scrollHeight - 2) {
+ activeId = pageSections.at(-1)?.id || activeId
+ }
+ sectionLinks.forEach((link) => {
+ const active = link.hash === '#' + activeId
+ if (active) link.setAttribute('aria-current', 'location')
+ else link.removeAttribute('aria-current')
+ })
+ }
+
+ function queueActiveSectionUpdate() {
+ if (!navFrame) navFrame = window.requestAnimationFrame(updateActiveSection)
+ }
+
+ window.addEventListener('scroll', queueActiveSectionUpdate, { passive: true })
+ window.addEventListener('resize', queueActiveSectionUpdate)
+ updateActiveSection()
+
+ const revealTargets = Array.from(
+ document.querySelectorAll(
+ '#features .section-heading, #features .cells > *, #downloads .section-heading, #downloads .download-box, #faq > div > div:first-child, #faq .faq-item, #support > div:first-child, #support .cells > *, footer .giant'
+ )
+ )
+ document.documentElement.classList.add('motion-ready')
+ revealTargets.forEach((target, index) => {
+ target.classList.add('reveal-on-scroll')
+ target.style.setProperty('--reveal-delay', `${(index % 3) * 70}ms`)
+ })
+ if ('IntersectionObserver' in window) {
+ const revealObserver = new IntersectionObserver(
+ (entries) => {
+ entries.forEach((entry) => {
+ if (!entry.isIntersecting) return
+ entry.target.classList.add('is-visible')
+ revealObserver.unobserve(entry.target)
+ })
+ },
+ { rootMargin: '0px 0px -8% 0px', threshold: 0.08 }
+ )
+ revealTargets.forEach((target) => revealObserver.observe(target))
+ } else {
+ revealTargets.forEach((target) => target.classList.add('is-visible'))
+ }
+
+ const demoStage = document.querySelector('.demo-stage')
+ const demoFrame = document.querySelector('.demo-frame')
+ function fitDemoToViewport() {
+ if (!demoStage || !demoFrame) return
+ const designWidth = 1040
+ const scale = Math.min(1, demoStage.clientWidth / designWidth)
+ demoFrame.style.width = designWidth + 'px'
+ demoFrame.style.transform = 'scale(' + scale + ')'
+ demoStage.style.height = Math.ceil(demoFrame.offsetHeight * scale) + 'px'
+ }
+ window.addEventListener('resize', fitDemoToViewport)
+ if ('ResizeObserver' in window) new ResizeObserver(fitDemoToViewport).observe(demoStage)
+ document.fonts?.ready.then(fitDemoToViewport)
+ window.requestAnimationFrame(fitDemoToViewport)
+
+ const installGuides = {
+ mac: {
+ title: 'Opening Plexo for the first time on macOS',
+ why: 'Plexo isn’t signed with an Apple Developer ID yet, so macOS blocks it the first time you open it. You only need to allow it once.',
+ steps: [
+ ['Open the .dmg and drag **Plexo** into your **Applications** folder.'],
+ ['Open Plexo. When macOS says it can’t verify the app, click **Done**.'],
+ ['Open **System Settings → Privacy & Security**, then click **Open Anyway**.']
+ ],
+ fix: [
+ 'Seeing “Plexo is damaged and can’t be opened”? Run this in Terminal, then open Plexo again:',
+ 'xattr -cr /Applications/Plexo.app'
+ ]
+ },
+ win: {
+ title: 'Installing Plexo on Windows',
+ why: 'Plexo isn’t code-signed yet, so your browser and Windows SmartScreen may warn you before it installs.',
+ steps: [
+ ['If your browser flags the file, choose **Keep**.'],
+ ['On **Windows protected your PC**, click **More info**.'],
+ ['Click **Run anyway** and finish the install.']
+ ],
+ fix: null
+ },
+ linux: {
+ title: 'Running Plexo on Linux',
+ why: 'Linux doesn’t block unsigned apps, but each package type has its own first step.',
+ steps: [
+ [
+ '**AppImage:** make it executable, then run it.',
+ 'chmod +x Plexo-*.AppImage && ./Plexo-*.AppImage'
+ ],
+ ['**Debian / Ubuntu:** install the .deb with apt.', 'sudo apt install ./plexo_*.deb'],
+ ['**Fedora / RHEL:** install the .rpm with dnf.', 'sudo dnf install ./plexo-*.rpm'],
+ ['Using more than one network requires **Linux kernel 5.7 or newer**.']
+ ],
+ fix: [
+ 'AppImage won’t start on Ubuntu 24.04 or newer? Install FUSE first:',
+ 'sudo apt install libfuse2t64'
+ ]
+ }
+ }
+ let selectedOS = 'mac'
+
+ function selectOS(os) {
+ selectedOS = os
+ document.querySelectorAll('[data-os]').forEach((tab) => {
+ const selected = tab.dataset.os === os
+ tab.setAttribute('aria-selected', String(selected))
+ tab.tabIndex = selected ? 0 : -1
+ $('panel-' + tab.dataset.os).hidden = !selected
+ })
+ window.requestAnimationFrame(updateTabIndicator)
+ }
+ const tabs = Array.from(document.querySelectorAll('[data-os]'))
+ const osTabs = document.querySelector('.os-tabs')
+ function updateTabIndicator() {
+ const activeTab = tabs.find((tab) => tab.getAttribute('aria-selected') === 'true')
+ if (!osTabs || !activeTab) return
+ osTabs.style.setProperty('--tab-left', activeTab.offsetLeft + 'px')
+ osTabs.style.setProperty('--tab-width', activeTab.offsetWidth + 'px')
+ }
+ tabs.forEach((tab, index) => {
+ tab.addEventListener('click', () => selectOS(tab.dataset.os))
+ tab.addEventListener('keydown', (event) => {
+ let next
+ if (event.key === 'ArrowRight') next = (index + 1) % tabs.length
+ if (event.key === 'ArrowLeft') next = (index + tabs.length - 1) % tabs.length
+ if (event.key === 'Home') next = 0
+ if (event.key === 'End') next = tabs.length - 1
+ if (next === undefined) return
+ event.preventDefault()
+ selectOS(tabs[next].dataset.os)
+ tabs[next].focus()
+ })
+ })
+ window.addEventListener('resize', updateTabIndicator)
+ window.requestAnimationFrame(updateTabIndicator)
+ $('primary-btn').addEventListener('click', () => {
+ if ($('primary-btn').getAttribute('href') === '#downloads') selectOS(selectedOS)
+ })
+
+ function element(tag, className, content) {
+ const node = document.createElement(tag)
+ if (className) node.className = className
+ if (content) node.textContent = content
+ return node
+ }
+ function safeReleaseURL(value) {
+ try {
+ const url = new URL(value)
+ return url.protocol === 'https:' &&
+ url.hostname === 'github.com' &&
+ url.pathname.startsWith('/anmolkapil/plexo/releases/')
+ ? url.href
+ : null
+ } catch {
+ return null
+ }
+ }
+ function assetLink(asset, className) {
+ const link = element('a', className)
+ link.href = asset.url
+ link.setAttribute('aria-label', 'Download ' + asset.title + ' ' + asset.kind)
+ return link
+ }
+ function appendRichText(node, value) {
+ String(value)
+ .split('**')
+ .forEach((part, index) => node.append(index % 2 ? element('strong', '', part) : part))
+ }
+ function architectureName(os, arch) {
+ if (arch === 'any') return 'x64 & ARM64'
+ if (arch === 'arm64') return os === 'mac' ? 'Apple silicon' : 'ARM64'
+ return os === 'mac' ? 'Intel' : 'Intel / AMD'
+ }
+ function architectureNote(os, arch) {
+ if (os === 'mac')
+ return arch === 'arm64' ? 'Macs with an M-series chip' : 'Macs with an Intel processor'
+ if (arch === 'any') return 'One installer for both architectures'
+ return arch === 'arm64' ? 'ARM 64-bit computers' : 'Intel and AMD 64-bit'
+ }
+ function formatLabel(kind) {
+ return (
+ {
+ dmg: 'Disk image (.dmg)',
+ exe: 'Installer (.exe)',
+ appimage: 'AppImage',
+ deb: 'Debian / Ubuntu (.deb)',
+ rpm: 'Fedora / RHEL (.rpm)'
+ }[kind] || kind
+ )
+ }
+ function heroBuildMeta(asset, release) {
+ return [
+ architectureName(asset.os, asset.arch),
+ formatLabel(asset.kind),
+ asset.sizeText,
+ release.tag_name || 'Latest'
+ ]
+ .filter(Boolean)
+ .join(' · ')
+ }
+ function copyButton(command) {
+ const button = element('button', 'copy-command', 'Copy')
+ button.type = 'button'
+ button.dataset.copy = command
+ button.setAttribute('aria-label', 'Copy command')
+ return button
+ }
+ function renderInstallGuideBody(os) {
+ const guide = installGuides[os]
+ const body = element('div', 'install-guide-body')
+ body.append(element('p', 'install-guide-intro', guide.why))
+ const steps = element('ol', 'install-steps')
+ guide.steps.forEach(([description, command], index) => {
+ const item = document.createElement('li')
+ item.append(element('span', 'install-step-number', String(index + 1)))
+ const copy = element('div', 'install-step-copy')
+ const text = document.createElement('p')
+ appendRichText(text, description)
+ copy.append(text)
+ if (command) {
+ const commandRow = element('div', 'command-row')
+ commandRow.append(element('code', '', command), copyButton(command))
+ copy.append(commandRow)
+ }
+ item.append(copy)
+ steps.append(item)
+ })
+ body.append(steps)
+ if (guide.fix) {
+ const fix = element('div', 'install-fix')
+ fix.append(element('p', '', guide.fix[0]))
+ const commandRow = element('div', 'command-row')
+ commandRow.append(element('code', '', guide.fix[1]), copyButton(guide.fix[1]))
+ fix.append(commandRow)
+ body.append(fix)
+ }
+ return body
+ }
+ function renderInstallGuide(os) {
+ const guide = installGuides[os]
+ const details = element('details', 'install-help')
+ const summary = document.createElement('summary')
+ const icon = element('span', 'install-help-icon')
+ icon.setAttribute('aria-hidden', 'true')
+ const shield = document.createElementNS('http://www.w3.org/2000/svg', 'svg')
+ shield.setAttribute('viewBox', '0 0 24 24')
+ shield.setAttribute('aria-hidden', 'true')
+ shield.innerHTML =
+ '<path d="M12 3 4.5 6v5.5c0 4.6 3.1 8.4 7.5 9.5 4.4-1.1 7.5-4.9 7.5-9.5V6L12 3Z"/><path d="M12 8v5.25"/><path d="M12 16.5v.01"/>'
+ icon.append(shield)
+ const title = element('span', 'install-help-title')
+ title.append(
+ element('strong', '', 'First time opening Plexo?'),
+ element('small', '', guide.title)
+ )
+ summary.append(icon, title, element('span', 'install-help-toggle', '+'))
+ details.append(summary, renderInstallGuideBody(os))
+ return details
+ }
+ function placeholderPanels(message) {
+ const choices = {
+ mac: ['Apple silicon (ARM64)', 'Intel (x64)'],
+ win: ['Intel / AMD (x64) and ARM64'],
+ linux: ['Intel / AMD (x86_64)', 'ARM64']
+ }
+ Object.keys(choices).forEach((os) => {
+ const panel = $('panel-' + os)
+ panel.replaceChildren()
+ const list = element('div', 'download-table architecture-list')
+ choices[os].forEach((name) => {
+ const card = element('div', 'download-row architecture-card placeholder-download-row')
+ const platform = element('div', 'download-platform')
+ platform.append(element('h3', '', name), element('p', '', message))
+ const link = element('a', 'asset-link download-action', 'View builds')
+ link.href = repo + '/releases'
+ card.append(platform, element('span'), element('span'), link)
+ list.append(card)
+ })
+ panel.append(list)
+ })
+ }
+ placeholderPanels('Finding available builds…')
+
+ async function environment() {
+ let hint = null
+ try {
+ if (navigator.userAgentData?.getHighEntropyValues) {
+ hint = await Promise.race([
+ navigator.userAgentData.getHighEntropyValues(['architecture', 'bitness']),
+ new Promise((resolve) => setTimeout(() => resolve(null), 1500))
+ ])
+ }
+ } catch {
+ // Safari and Firefox do not disclose CPU architecture. Let the visitor choose.
+ }
+ return window.PlexoDownloads.detectEnvironment(navigator, hint)
+ }
+
+ function renderGroup(group, env) {
+ const panel = $('panel-' + group.os)
+ panel.replaceChildren()
+ if (env.os === group.os && !env.arch && group.rows.some((asset) => asset.arch !== 'any')) {
+ panel.append(
+ element(
+ 'p',
+ 'architecture-notice',
+ 'We couldn’t identify your processor, so all compatible builds are shown.'
+ )
+ )
+ }
+ const list = element('div', 'download-table architecture-list')
+ group.rows.forEach((asset) => {
+ const row = element('div', 'download-row architecture-card')
+ if (asset.recommended) row.classList.add('recommended')
+ const platform = element('div', 'download-platform')
+ const title = element('span', 'download-platform-title')
+ title.append(element('h3', '', architectureName(group.os, asset.arch)))
+ if (asset.recommended) title.append(element('span', 'detected-badge', 'Detected'))
+ platform.append(title, element('p', '', architectureNote(group.os, asset.arch)))
+ const file = element('span', 'download-file', asset.file)
+ file.title = asset.file
+ const format = element('span', 'download-format')
+ format.append(element('span', '', formatLabel(asset.kind)))
+ if (asset.sizeText) format.append(element('small', 'download-size', asset.sizeText))
+ const link = assetLink(asset, 'asset-link download-action tile')
+ link.append(element('span', 'download-symbol', '↓'), element('span', '', 'Download'))
+ row.append(platform, format, file, link)
+ list.append(row)
+ })
+ panel.append(list)
+ panel.append(renderInstallGuide(group.os))
+ }
+
+ function renderRelease(release, env) {
+ const cleaned = {
+ ...release,
+ assets: (release.assets || []).filter((asset) => safeReleaseURL(asset.browser_download_url))
+ }
+ const model = window.PlexoDownloads.build(cleaned, env)
+ const releaseSummary = element('div', 'release-summary')
+ releaseSummary.append(
+ element(
+ 'span',
+ 'release-kicker',
+ release.prerelease ? 'Latest pre-release' : 'Latest release'
+ )
+ )
+ const releaseDetails = element('div', 'release-details')
+ releaseDetails.append(element('span', 'release-version', release.tag_name || 'Latest'))
+ const notes = element('a', '', 'Release notes')
+ notes.href = safeReleaseURL(release.html_url) || repo + '/releases'
+ releaseDetails.append(notes)
+ const archive = element('span', 'release-archive')
+ archive.append('Looking for an older build? ')
+ const previousReleases = element('a', '', 'Previous releases')
+ previousReleases.href = repo + '/releases'
+ archive.append(previousReleases)
+ releaseSummary.append(releaseDetails, archive)
+ $('release-meta').replaceChildren(releaseSummary)
+ $('release-meta').classList.add('is-loaded')
+ Object.keys(labels).forEach((os) => {
+ const group = model.groups.find((group) => group.os === os)
+ if (group) renderGroup(group, env)
+ else {
+ const panel = $('panel-' + os)
+ panel.replaceChildren(
+ element(
+ 'p',
+ 'download-fallback',
+ 'No ' + labels[os] + ' builds are attached to this release.'
+ )
+ )
+ const link = element('a', 'asset-link', 'Previous releases')
+ link.href = repo + '/releases'
+ panel.append(link)
+ }
+ })
+ if (labels[env.os]) selectOS(env.os)
+ const group = model.groups.find((group) => group.os === env.os)
+ const candidates = group?.rows || []
+ const universal = candidates.find((asset) => asset.arch === 'any')
+ // Never silently default an unknown chip to ARM64 or x64.
+ const primary = universal || (env.arch && candidates.find((asset) => asset.arch === env.arch))
+ if (primary) {
+ $('primary-title').textContent = 'Download for ' + labels[env.os]
+ $('primary-btn').href = primary.url
+ $('primary-btn').setAttribute(
+ 'aria-label',
+ 'Download for ' + labels[env.os] + ': ' + primary.title
+ )
+ $('hero-download-info').textContent = heroBuildMeta(primary, release)
+ } else if (candidates.length) {
+ $('primary-title').textContent = 'Download for ' + labels[env.os]
+ $('primary-btn').href = '#downloads'
+ $('hero-download-info').textContent = env.arch
+ ? 'Your architecture isn’t available in this release. See the available builds below.'
+ : 'Choose your architecture below — your browser can’t identify it.'
+ const choices = candidates.filter(
+ (asset, index, rows) => rows.findIndex((other) => other.arch === asset.arch) === index
+ )
+ choices.forEach((asset) => {
+ const link = assetLink(asset, '')
+ link.textContent = asset.title + ' ↓'
+ $('hero-alternates').append(link)
+ })
+ } else {
+ $('primary-title').textContent = 'Download Plexo'
+ if (env.os === 'mobile') {
+ const suggestedOS = /Android/i.test(navigator.userAgent) ? 'linux' : 'mac'
+ const suggestedGroup =
+ model.groups.find((candidate) => candidate.os === suggestedOS) || model.groups[0]
+ const suggested =
+ suggestedGroup?.rows.find((asset) => asset.arch === env.arch) ||
+ suggestedGroup?.rows.find((asset) => asset.arch === 'any') ||
+ suggestedGroup?.rows[0]
+ $('hero-download-info').textContent = suggested
+ ? heroBuildMeta(suggested, release)
+ : (env.arch ? architectureName(suggestedOS, env.arch) + ' · ' : '') +
+ (release.tag_name || 'Latest')
+ } else {
+ $('hero-download-info').textContent = 'Available for macOS, Windows & Linux'
+ }
+ }
+ }
+
+ async function loadDownloads() {
+ const controller = new AbortController()
+ const timeout = setTimeout(() => controller.abort(), 9000)
+ try {
+ const [response, env] = await Promise.all([
+ fetch('https://api.github.com/repos/anmolkapil/plexo/releases?per_page=10', {
+ signal: controller.signal
+ }),
+ environment()
+ ])
+ if (!response.ok) throw new Error('Release lookup failed')
+ const releases = await response.json()
+ const release =
+ Array.isArray(releases) &&
+ releases.find(
+ (release) =>
+ !release.draft &&
+ release.assets?.some((asset) => window.PlexoDownloads.describe(asset.name))
+ )
+ if (!release) throw new Error('No release builds found')
+ renderRelease(release, env)
+ } catch {
+ $('release-meta').textContent =
+ 'Couldn’t load the latest builds. You can still download from GitHub.'
+ $('release-meta').classList.add('is-loaded')
+ $('hero-download-info').textContent =
+ 'macOS, Windows & Linux · Choose your build in All downloads'
+ placeholderPanels('Choose a build from the release assets.')
+ } finally {
+ clearTimeout(timeout)
+ }
+ }
+ loadDownloads()
+
+ const menu = $('mobile-menu')
+ const menuToggle = $('menu-toggle')
+ function closeMenu() {
+ menu.hidden = true
+ menuToggle.setAttribute('aria-expanded', 'false')
+ }
+ menuToggle.addEventListener('click', () => {
+ menu.hidden = !menu.hidden
+ menuToggle.setAttribute('aria-expanded', String(!menu.hidden))
+ })
+ menu.addEventListener('click', (event) => {
+ if (event.target.closest('a')) closeMenu()
+ })
+ document.addEventListener('keydown', (event) => {
+ if (event.key === 'Escape' && !menu.hidden) {
+ closeMenu()
+ menuToggle.focus()
+ }
+ })
+
+ const dialog = $('install-dialog')
+ const downloadToast = $('download-help-toast')
+ let lastDownload = null
+ function showDownloadHelp(asset, href) {
+ const guide = installGuides[asset.os]
+ if (!guide) return
+ lastDownload = { asset, href }
+ downloadToast.hidden = true
+ $('install-dialog-title').textContent = 'Thanks for downloading Plexo'
+ $('install-dialog-subtitle').textContent =
+ 'Your download has started. Here’s how to open it on ' + labels[asset.os] + ' the first time.'
+ $('download-retry').href = href
+ const content = $('install-dialog-content')
+ content.replaceChildren(renderInstallGuideBody(asset.os))
+ dialog.showModal()
+ }
+ dialog.querySelector('.dialog-close').addEventListener('click', () => dialog.close())
+ dialog.addEventListener('close', () => {
+ if (lastDownload) downloadToast.hidden = false
+ })
+ dialog.addEventListener('click', (event) => {
+ if (event.target === dialog) {
+ const bounds = dialog.getBoundingClientRect()
+ if (
+ event.clientX < bounds.left ||
+ event.clientX > bounds.right ||
+ event.clientY < bounds.top ||
+ event.clientY > bounds.bottom
+ )
+ dialog.close()
+ }
+ })
+ $('download-other-builds').addEventListener('click', () => dialog.close())
+ $('download-help-reopen').addEventListener('click', () => {
+ if (lastDownload) showDownloadHelp(lastDownload.asset, lastDownload.href)
+ })
+ $('download-help-dismiss').addEventListener('click', () => {
+ downloadToast.hidden = true
+ })
+ document.addEventListener('click', (event) => {
+ const copy = event.target.closest('[data-copy]')
+ if (copy) {
+ const command = copy.dataset.copy
+ navigator.clipboard?.writeText(command).then(
+ () => {
+ copy.textContent = 'Copied'
+ window.setTimeout(() => (copy.textContent = 'Copy'), 1800)
+ },
+ () => {}
+ )
+ return
+ }
+ const link = event.target.closest('a')
+ if (
+ !link ||
+ event.defaultPrevented ||
+ event.ctrlKey ||
+ event.metaKey ||
+ event.shiftKey ||
+ event.altKey ||
+ event.button !== 0 ||
+ !link.href.startsWith(repo + '/releases/download/')
+ )
+ return
+ const asset = window.PlexoDownloads.describe(link.href.split('/').pop())
+ if (!asset) return
+ showDownloadHelp(asset, link.href)
+ })
+
+ const reducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)')
+ let paused = reducedMotion.matches
+ let elapsed = 0
+ let wifiBytes = 219.7
+ let usbBytes = 80.5
+ let wifi = 34.8
+ let usb = 11.4
+ const demoFiles = [
+ { name: 'Project.zip', kind: 'ZIP', size: 2355 },
+ { name: 'ubuntu-24.04-desktop-amd64.iso', kind: 'ISO', size: 5940 },
+ { name: 'Footage_Final_4K.mov', kind: 'MOV', size: 3480 }
+ ]
+ let demoFileIndex = 0
+ let demoDoneAt = 0
+ const wifiHistory = Array.from({ length: 31 }, (_, i) =>
+ i < 4 ? i * 2.7 : 34.8 + Math.sin(i / 2) * 1.3
+ )
+ const initialTotalHistory = Array.from({ length: 31 }, (_, i) =>
+ i < 5 ? i * 8.3 : 44.8 + Math.sin(i / 3) * 3
+ )
+ const usbHistory = initialTotalHistory.map((value, index) =>
+ Math.max(0, value - wifiHistory[index])
+ )
+ function updateMotionButton() {
+ $('demo-motion').textContent = paused ? 'Play demo' : 'Pause demo'
+ $('demo-motion').setAttribute('aria-pressed', String(paused))
+ document.querySelector('.download-demo').classList.toggle('demo-paused', paused)
+ }
+ updateMotionButton()
+ $('demo-motion').addEventListener('click', () => {
+ paused = !paused
+ updateMotionButton()
+ })
+ reducedMotion.addEventListener('change', (event) => {
+ paused = event.matches
+ updateMotionButton()
+ })
+ function graphPoint(value, index, max) {
+ return ((index * 600) / 30).toFixed(1) + ' ' + (145 - (value / max) * 130).toFixed(1)
+ }
+ function linePath(values, max) {
+ return values
+ .map((value, index) => (index ? 'L' : 'M') + graphPoint(value, index, max))
+ .join(' ')
+ }
+ function areaPath(bottom, top, max) {
+ const upper = top.map((value, index) => graphPoint(value, index, max))
+ const lower = bottom.map((value, index) => graphPoint(value, index, max)).reverse()
+ return 'M' + upper.join(' L') + ' L' + lower.join(' L') + ' Z'
+ }
+ function renderDemo() {
+ const file = demoFiles[demoFileIndex]
+ const wifiOn = $('wifi-toggle').checked
+ const usbOn = $('usb-toggle').checked
+ const w = wifiOn ? wifi : 0
+ const u = usbOn ? usb : 0
+ const total = w + u
+ const downloaded = wifiBytes + usbBytes
+ const percent = Math.min(100, (downloaded / file.size) * 100)
+ const formatMegabytes = (value) =>
+ value >= 1024 ? (value / 1024).toFixed(1) + ' GB' : value.toFixed(1) + ' MB'
+ $('total-speed').textContent = total.toFixed(1)
+ $('wifi-speed').textContent = $('wifi-diagram-speed').textContent = w.toFixed(1) + ' MB/s'
+ $('usb-speed').textContent = $('usb-diagram-speed').textContent = u.toFixed(1) + ' MB/s'
+ $('demo-file-kind').textContent = file.kind
+ $('demo-file-name').textContent = file.name
+ $('downloaded').textContent = formatMegabytes(downloaded) + ' of ' + formatMegabytes(file.size)
+ $('download-percent').textContent = Math.floor(percent) + '%'
+ $('time-left').textContent = demoDoneAt
+ ? 'Complete'
+ : total
+ ? Math.ceil((file.size - downloaded) / total) + 's left'
+ : 'Waiting for a network'
+ $('file-progress-fill').style.width = percent + '%'
+ document
+ .querySelector('.file-progress')
+ .setAttribute('aria-valuenow', String(Math.floor(percent)))
+ document
+ .querySelector('.file-progress')
+ .setAttribute('aria-label', file.name + ' download progress')
+ $('demo-status').textContent = paused
+ ? 'Demo paused'
+ : demoDoneAt
+ ? 'Complete'
+ : total
+ ? 'Downloading'
+ : 'Waiting for network'
+ ;[
+ ['wifi', w],
+ ['usb', u]
+ ].forEach(([name, speed]) => {
+ const share = total ? (speed / total) * 100 : 0
+ $(name + '-contribution').style.width = share + '%'
+ $(name + '-share').textContent = Math.round(share) + '%'
+ document.querySelector('.' + name + '-row').classList.toggle('off', !speed)
+ document.querySelector('.flow-' + name).classList.toggle('off', !speed)
+ })
+ const stackedHistory = wifiHistory.map((value, index) => value + usbHistory[index])
+ const chartMax = Math.max(1, ...stackedHistory)
+ const path = linePath(stackedHistory, chartMax)
+ const baseline = new Array(wifiHistory.length).fill(0)
+ $('chart-line').setAttribute('d', path)
+ $('chart-wifi').setAttribute('d', areaPath(baseline, wifiHistory, chartMax))
+ $('chart-usb').setAttribute('d', areaPath(wifiHistory, stackedHistory, chartMax))
+ $('chart-wifi').classList.toggle('off', !wifiOn)
+ $('chart-usb').classList.toggle('off', !usbOn)
+ }
+ function tick() {
+ if (paused || document.hidden) return
+ elapsed++
+ wifi = 34.8 + Math.sin(elapsed * 0.75) * 1.4 + Math.sin(elapsed * 0.2) * 0.5
+ usb = 11.4 + Math.sin(elapsed * 0.47) * 2.4 + Math.cos(elapsed * 0.2) * 0.7
+ const w = $('wifi-toggle').checked ? wifi : 0
+ const u = $('usb-toggle').checked ? usb : 0
+ const file = demoFiles[demoFileIndex]
+ if (demoDoneAt && Date.now() - demoDoneAt > 2500) {
+ demoFileIndex = (demoFileIndex + 1) % demoFiles.length
+ wifiBytes = 0
+ usbBytes = 0
+ demoDoneAt = 0
+ } else if (!demoDoneAt) {
+ wifiBytes += w
+ usbBytes += u
+ const downloaded = wifiBytes + usbBytes
+ if (downloaded >= file.size) {
+ const scale = file.size / downloaded
+ wifiBytes *= scale
+ usbBytes *= scale
+ demoDoneAt = Date.now()
+ }
+ }
+ wifiHistory.push(w)
+ wifiHistory.shift()
+ usbHistory.push(u)
+ usbHistory.shift()
+ renderDemo()
+ }
+ ;['wifi', 'usb'].forEach((name) =>
+ $(name + '-toggle').addEventListener('change', () => {
+ const w = $('wifi-toggle').checked ? wifi : 0
+ const u = $('usb-toggle').checked ? usb : 0
+ wifiHistory[wifiHistory.length - 1] = w
+ usbHistory[usbHistory.length - 1] = u
+ renderDemo()
+ const total = document.querySelector('.demo-total')
+ total.classList.remove('speed-pop')
+ window.requestAnimationFrame(() => total.classList.add('speed-pop'))
+ })
+ )
+ $('demo-motion').addEventListener('click', renderDemo)
+ renderDemo()
+ setInterval(tick, 1000)
+
+ $('share-button').addEventListener('click', async () => {
+ const url =
+ location.protocol === 'file:' || ['localhost', '127.0.0.1'].includes(location.hostname)
+ ? 'https://getplexo.app/'
+ : location.origin + location.pathname
+ try {
+ if (navigator.share)
+ await navigator.share({
+ title: 'Plexo',
+ text: 'Combine your networks. Download faster.',
+ url
+ })
+ else {
+ await navigator.clipboard.writeText(url)
+ $('share-status').textContent = 'Link copied. Ready to share.'
+ $('share-label').textContent = 'Link copied'
+ window.setTimeout(() => ($('share-label').textContent = 'Share Plexo'), 2400)
+ }
+ } catch (error) {
+ if (error.name !== 'AbortError') {
+ $('share-status').textContent = 'Copy this link: ' + url
+ }
+ }
+ })
+})()
diff --git a/docs/og.png b/docs/og.png
new file mode 100644
index 0000000..6cdd3da
Binary files /dev/null and b/docs/og.png differ
diff --git a/docs/robots.txt b/docs/robots.txt
new file mode 100644
index 0000000..2c7202c
--- /dev/null
+++ b/docs/robots.txt
@@ -0,0 +1,4 @@
+User-agent: *
+Allow: /
+
+Sitemap: https://getplexo.app/sitemap.xml
diff --git a/docs/sitemap.xml b/docs/sitemap.xml
new file mode 100644
index 0000000..4184d07
--- /dev/null
+++ b/docs/sitemap.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
+ <url>
+ <loc>https://getplexo.app/</loc>
+ </url>
+</urlset>
diff --git a/e2e/downloads.spec.ts b/e2e/downloads.spec.ts
index ecad682..c20af44 100644
--- a/e2e/downloads.spec.ts
+++ b/e2e/downloads.spec.ts
@@ -1,6 +1,6 @@
import { createRequire } from 'node:module'
import { resolve } from 'node:path'
-import { _electron as electron, expect, test, type Page } from '@playwright/test'
+import { _electron as electron, expect, test, type Locator, type Page } from '@playwright/test'
// M. The download page: what each file is called, which one a visitor is offered, and that the
// page says so. The logic lives in docs/downloads.js; the page is checked by loading the real
@@ -175,9 +175,12 @@ test.describe('which browser is on which system', () => {
test('Windows, phones, tablets and Chromebooks', () => {
expect(D.detectEnvironment(nav(BROWSERS.chromeWindows)).os).toBe('win')
- expect(D.detectEnvironment(nav(BROWSERS.iphone)).os).toBe('mobile')
- expect(D.detectEnvironment(nav(BROWSERS.android)).os).toBe('mobile') // not Linux
- expect(D.detectEnvironment(nav(BROWSERS.ipadDesktopMode)).os).toBe('mobile') // not a Mac
+ expect(D.detectEnvironment(nav(BROWSERS.iphone))).toEqual({ os: 'mobile', arch: 'arm64' })
+ expect(D.detectEnvironment(nav(BROWSERS.android))).toEqual({ os: 'mobile', arch: 'arm64' }) // not Linux
+ expect(D.detectEnvironment(nav(BROWSERS.ipadDesktopMode))).toEqual({
+ os: 'mobile',
+ arch: 'arm64'
+ }) // not a Mac
expect(D.detectEnvironment(nav(BROWSERS.chromeOs)).os).toBe('other') // not Linux
})
})
@@ -288,108 +291,156 @@ async function openPage(
})
const page = await app.firstWindow()
await page.waitForFunction(
- () => !document.querySelector('#asset-groups .asset-note')?.textContent?.startsWith('Loading')
+ () => !document.querySelector('#release-meta')?.textContent?.trim().startsWith('Loading')
)
return { page, close: () => app.close() }
}
test.describe('the download page', () => {
- test('every download is listed under its OS with what it is, its size and the right link', async () => {
+ test('every build is listed under its OS and architecture with a direct link', async () => {
const { page, close } = await openPage(BROWSERS.chromeWindows)
try {
- await expect(page.locator('.os-group h3')).toHaveText(['macOS', 'Windows', 'Linux'])
- await expect(page.locator('.asset-row')).toHaveCount(SHIPPED.length)
-
- const rows = await page.locator('.asset-row').evaluateAll((els) =>
- els.map((row) => ({
- title: row.querySelector('.platform')?.childNodes[0]?.textContent,
- detail: row.querySelector('.detail')?.textContent,
- file: row.querySelector('.file')?.textContent,
- href: (row.querySelector('a.dl') as HTMLAnchorElement).href
- }))
+ await expect(page.locator('.os-panel .asset-link')).toHaveCount(SHIPPED.length)
+ await expect(page.locator('.os-panel .download-size')).toHaveCount(SHIPPED.length)
+ await expect(page.getByRole('tab', { name: 'Windows' })).toHaveAttribute(
+ 'aria-selected',
+ 'true'
)
- expect(rows.map((r) => r.title)).toEqual([
- 'Apple silicon',
- 'Intel',
- 'Windows 10 and 11',
- 'AppImage · x86_64',
- 'Debian / Ubuntu · x86_64',
- 'AppImage · ARM64',
- 'Debian / Ubuntu · ARM64'
- ])
- expect(rows[2].detail).toBe('Installer · x64 and ARM64')
- expect(rows[0].file).toMatch(/plexo-1\.0\.0-rc\.7-arm64\.dmg · \d+(\.\d)? MB/)
- expect(rows.map((r) => r.href.split('/').pop())).toEqual([
- 'plexo-1.0.0-rc.7-arm64.dmg',
- 'plexo-1.0.0-rc.7-x64.dmg',
- 'plexo-1.0.0-rc.7-setup.exe',
- 'plexo-1.0.0-rc.7-x86_64.AppImage',
- 'plexo_1.0.0-rc.7_amd64.deb',
- 'plexo-1.0.0-rc.7-arm64.AppImage',
- 'plexo_1.0.0-rc.7_arm64.deb'
+ await expect(page.locator('#primary-btn')).toHaveAttribute('href', BASE + SHIPPED[2])
+ for (const [os, count] of [
+ ['macOS', 2],
+ ['Windows', 1],
+ ['Linux', 4]
+ ] as const) {
+ await page.getByRole('tab', { name: os }).click()
+ const panel = page.getByRole('tabpanel', { name: os })
+ await expect(panel).toBeVisible()
+ await expect(panel.locator('.asset-link')).toHaveCount(count)
+ const hrefs = await panel
+ .locator('.asset-link')
+ .evaluateAll((links) => links.map((link) => (link as HTMLAnchorElement).href))
+ for (const href of hrefs) expect(SHIPPED).toContain(href.split('/').pop())
+ await expect(panel).toContainText(/Download/)
+ }
+ await expect(page.locator('#panel-mac h3')).toHaveText(['Apple silicon', 'Intel'])
+ await expect(page.locator('#panel-linux h3')).toHaveText([
+ 'Intel / AMD',
+ 'Intel / AMD',
+ 'ARM64',
+ 'ARM64'
])
- // The one meant for this visitor is marked, and only that one.
- await expect(page.locator('.asset-row.recommended')).toHaveCount(1)
- await expect(page.locator('.asset-row.recommended .rec')).toHaveText('FOR YOUR COMPUTER')
- await expect(page.locator('.asset-row.recommended .platform')).toContainText(
- 'Windows 10 and 11'
+ } finally {
+ await close()
+ }
+ })
+
+ test('uncertain Mac architecture exposes both direct downloads without guessing', async () => {
+ const { page, close } = await openPage(BROWSERS.safariMac)
+ try {
+ await expect(page.locator('#primary-btn')).toHaveAttribute('href', '#downloads')
+ await expect(page.locator('#hero-download-info')).toContainText('can’t identify')
+ await expect(page.locator('#hero-alternates a')).toHaveCount(2)
+ await expect(page.locator('#hero-alternates a').first()).toHaveAttribute(
+ 'href',
+ BASE + SHIPPED[1]
+ )
+ await expect(page.locator('#hero-alternates a').last()).toHaveAttribute(
+ 'href',
+ BASE + SHIPPED[3]
)
+ await page.getByRole('link', { name: 'All downloads' }).click()
+ await expect(page).toHaveURL(/#downloads$/)
+ await expect(page.getByRole('tabpanel', { name: 'macOS' })).toBeVisible()
} finally {
await close()
}
})
- test('each OS explains its first launch, with commands set apart as code', async () => {
- const { page, close } = await openPage(BROWSERS.chromeWindows)
+ test('detected architecture downloads the matching build directly', async () => {
+ const { page, close } = await openPage(BROWSERS.chromeMac, { architecture: 'x86' })
try {
- // The unsigned-app warning and the way past it, under the button for this visitor's OS...
- const hero = page.locator('#first-launch-slot .first-launch')
- await expect(hero).toHaveCount(1)
- await expect(hero.locator('.fl-warning')).toHaveText(
- 'Windows may say “Windows protected your PC”'
+ await expect(page.locator('#primary-btn')).toHaveAttribute('href', BASE + SHIPPED[3])
+ await expect(page.locator('#hero-download-info')).toHaveText(
+ 'Intel · Disk image (.dmg) · 93.0 MB · v1.0.0-rc.7'
)
- await expect(hero).toContainText('Run anyway')
- // ...once: not again with their own OS's downloads, but with every other OS's.
- await expect(page.locator('.os-group').nth(1).locator('.first-launch')).toHaveCount(0)
- const mac = page.locator('.os-group').nth(0).locator('.first-launch')
- await expect(mac.locator('.fl-warning')).toContainText('Plexo is damaged and can’t be opened')
- await expect(mac.locator('.fl-command code')).toHaveText(
- 'xattr -dr com.apple.quarantine /Applications/Plexo.app'
+ await expect(page.locator('#hero-alternates a')).toHaveCount(0)
+ } finally {
+ await close()
+ }
+ })
+
+ test('mobile visitors get desktop choices instead of an incompatible direct download', async () => {
+ const { page, close } = await openPage(BROWSERS.iphone)
+ try {
+ await expect(page.locator('#primary-btn')).toHaveAttribute('href', '#downloads')
+ await expect(page.locator('#hero-download-info')).toHaveText(
+ 'Apple silicon · Disk image (.dmg) · 91.0 MB · v1.0.0-rc.7'
)
+ } finally {
+ await close()
+ }
+ })
+
+ test('each OS retains its installation guidance', async () => {
+ const { page, close } = await openPage(BROWSERS.chromeWindows)
+ try {
+ await page.getByRole('tab', { name: 'macOS' }).click()
+ const mac = page.getByRole('tabpanel', { name: 'macOS' })
+ await mac.locator('summary').click()
+ await expect(mac.locator('code')).toHaveText('xattr -cr /Applications/Plexo.app')
await expect(mac).toContainText('Open Anyway')
- await expect(page.locator('.os-group').nth(2).locator('.first-launch')).toHaveCount(0)
- await expect(page.locator('.os-group').nth(2).locator('.os-notes')).toContainText(
- 'libfuse2t64'
- )
- await expect(page.locator('.os-group').nth(2).locator('.os-notes')).toContainText(
- 'kernel 5.7'
+ await page.getByRole('tab', { name: 'Windows' }).click()
+ await page.getByRole('tabpanel', { name: 'Windows' }).locator('summary').click()
+ await expect(page.getByRole('tabpanel', { name: 'Windows' })).toContainText('Run anyway')
+ await page.getByRole('tab', { name: 'Linux' }).click()
+ const linux = page.getByRole('tabpanel', { name: 'Linux' })
+ await linux.locator('summary').click()
+ await expect(linux).toContainText('libfuse2t64')
+ await expect(linux).toContainText('kernel 5.7')
+ const sectionGuide = await linux.locator('.install-guide-body').textContent()
+ await page.evaluate(() => {
+ document.addEventListener('click', (event) => event.preventDefault(), { once: true })
+ })
+ await linux.locator('.asset-link').first().click()
+ const dialog = page.locator('#install-dialog')
+ await expect(dialog).toBeVisible()
+ expect(await dialog.locator('.install-guide-body').textContent()).toBe(sectionGuide)
+ await expect(dialog.locator('.walkthrough-preview')).toHaveCount(0)
+ await expect(page.locator('#release-meta')).toContainText('Latest pre-release')
+ await expect(page.getByRole('link', { name: 'Previous releases' })).toHaveAttribute(
+ 'href',
+ 'https://github.com/anmolkapil/plexo/releases'
)
- await expect(page.locator('.asset-note')).toContainText('Pre-release build')
+ await expect(page.locator('.release-badge')).toHaveCount(0)
} finally {
await close()
}
})
- test('a file name cannot inject markup into the page', async () => {
+ test('release content and URLs cannot inject executable markup', async () => {
const hostile = release([
'plexo-<img src=x onerror=document.title=1>-x64.dmg',
'plexo-1.0.0-setup.exe'
- ])
+ ]) as { tag_name: string; assets: { browser_download_url: string }[] }
+ hostile.tag_name = '<img src=x onerror=document.title=1>'
+ hostile.assets.push({ browser_download_url: 'javascript:alert(1)' })
const { page, close } = await openPage(BROWSERS.chromeWindows, { releases: [hostile] })
try {
- await expect(page.locator('.asset-row img')).toHaveCount(0)
- await expect(page.locator('.asset-row').first()).toContainText('<img src=x onerror=')
+ await expect(page.locator('#release-meta')).toContainText('<img src=x onerror=')
+ await expect(page.locator('#downloads img')).toHaveCount(0)
+ await expect(page.locator('a[href^="javascript:"]')).toHaveCount(0)
+ await expect(page).toHaveTitle(/Plexo/)
} finally {
await close()
}
})
- test('GitHub unreachable: the page falls back to the Releases page', async () => {
+ test('GitHub unreachable leaves usable links to release builds', async () => {
const { page, close } = await openPage(BROWSERS.chromeWindows, { apiStatus: 500 })
try {
- await expect(page.locator('#primary-title')).toHaveText('View releases on GitHub')
- await expect(page.locator('#asset-groups')).toContainText('Couldn’t load the latest release')
- await expect(page.locator('#primary-btn')).toHaveAttribute(
+ await expect(page.locator('#release-meta')).toContainText('Couldn’t load')
+ await expect(page.locator('#primary-btn')).toHaveAttribute('href', '#downloads')
+ await expect(page.locator('#panel-win .asset-link')).toHaveAttribute(
'href',
'https://github.com/anmolkapil/plexo/releases'
)
@@ -397,4 +448,115 @@ test.describe('the download page', () => {
await close()
}
})
+
+ test('OS tabs support keyboard navigation', async () => {
+ const { page, close } = await openPage(BROWSERS.chromeWindows)
+ try {
+ const windows = page.getByRole('tab', { name: 'Windows' })
+ await windows.focus()
+ await windows.press('ArrowRight')
+ await expect(page.getByRole('tab', { name: 'Linux' })).toBeFocused()
+ await expect(page.getByRole('tabpanel', { name: 'Linux' })).toBeVisible()
+ await page.getByRole('tab', { name: 'Linux' }).press('Home')
+ await expect(page.getByRole('tab', { name: 'macOS' })).toBeFocused()
+ } finally {
+ await close()
+ }
+ })
+
+ test('navbar highlights the section currently in view', async () => {
+ const { page, close } = await openPage(BROWSERS.chromeWindows)
+ try {
+ const currentLink = (section: string): Locator =>
+ page.locator(`.navlinks a[href="#${section}"]`)
+
+ await expect(page.locator('.navlinks [aria-current="location"]')).toHaveCount(0)
+ await page
+ .locator('#downloads')
+ .evaluate((section) => section.scrollIntoView({ block: 'start' }))
+ await expect(currentLink('downloads')).toHaveAttribute('aria-current', 'location')
+
+ await page.locator('#faq').evaluate((section) => section.scrollIntoView({ block: 'start' }))
+ await expect(currentLink('faq')).toHaveAttribute('aria-current', 'location')
+
+ await page.evaluate(() => window.scrollTo(0, document.documentElement.scrollHeight))
+ await expect(currentLink('support')).toHaveAttribute('aria-current', 'location')
+ } finally {
+ await close()
+ }
+ })
+
+ test('phone and tablet layouts keep the demo and download actions in view', async () => {
+ const { page, close } = await openPage(BROWSERS.chromeWindows)
+ try {
+ await page.setViewportSize({ width: 390, height: 844 })
+ await page.getByRole('tab', { name: 'macOS' }).click()
+ await expect(page.locator('.demo-flow-graphic')).toBeVisible()
+ await expect(page.locator('.demo-chart')).toBeVisible()
+ const flowBounds = await page.locator('.demo-flow-graphic').boundingBox()
+ const totalBounds = await page.locator('.demo-total').boundingBox()
+ const chartBounds = await page.locator('.demo-chart').boundingBox()
+ expect(flowBounds?.x).toBeLessThan(totalBounds?.x ?? 0)
+ expect(totalBounds?.x).toBeLessThan(chartBounds?.x ?? 0)
+ const demoBounds = await page.locator('.demo-frame').boundingBox()
+ expect(demoBounds?.width).toBeLessThanOrEqual(342)
+ expect(demoBounds?.width).toBeGreaterThan(330)
+ for (const tab of await page.locator('.os-tabs button').all()) {
+ const padding = await tab.evaluate((button) => {
+ const buttonRect = button.getBoundingClientRect()
+ const iconRect = button.querySelector('svg')?.getBoundingClientRect()
+ const labelRect = button.querySelector('span')?.getBoundingClientRect()
+ return {
+ left: (iconRect?.left ?? buttonRect.left) - buttonRect.left,
+ right: buttonRect.right - (labelRect?.right ?? buttonRect.right)
+ }
+ })
+ expect(padding.left).toBeGreaterThanOrEqual(12)
+ expect(padding.right).toBeGreaterThanOrEqual(12)
+ }
+ await expect(page.locator('#panel-mac .asset-link')).toHaveCount(2)
+ for (const card of await page.locator('#panel-mac .architecture-card').all()) {
+ const bounds = await card.boundingBox()
+ expect(bounds?.x).toBeGreaterThanOrEqual(0)
+ expect((bounds?.x ?? 0) + (bounds?.width ?? 0)).toBeLessThanOrEqual(390)
+ }
+
+ await page.locator('#menu-toggle').click()
+ await expect(page.locator('#mobile-menu')).toBeVisible()
+ expect((await page.locator('#mobile-menu').boundingBox())?.width).toBeGreaterThan(340)
+
+ await page.setViewportSize({ width: 768, height: 1024 })
+ const columns = await page
+ .locator('#features .cells')
+ .first()
+ .evaluate((grid) => getComputedStyle(grid).gridTemplateColumns.split(' ').length)
+ expect(columns).toBe(2)
+ for (const card of await page.locator('#panel-mac .architecture-card').all()) {
+ const bounds = await card.boundingBox()
+ expect((bounds?.x ?? 0) + (bounds?.width ?? 0)).toBeLessThanOrEqual(768)
+ }
+ } finally {
+ await close()
+ }
+ })
+
+ test('network toggles change speed and stop a transfer when both are off', async () => {
+ const { page, close } = await openPage(BROWSERS.chromeWindows)
+ try {
+ await page.getByRole('button', { name: 'Pause demo' }).click()
+ const combined = Number(await page.locator('#total-speed').textContent())
+ await page.getByRole('checkbox', { name: 'Wi-Fi' }).uncheck()
+ await expect(page.locator('#wifi-speed')).toHaveText('0.0 MB/s')
+ expect(Number(await page.locator('#total-speed').textContent())).toBeLessThan(combined)
+ await expect(page.locator('#usb-share')).toHaveText('100%')
+ await page.getByRole('checkbox', { name: 'USB tethering' }).uncheck()
+ await expect(page.locator('#total-speed')).toHaveText('0.0')
+ await expect(page.locator('#time-left')).toHaveText('Waiting for a network')
+ await page.getByRole('checkbox', { name: 'Wi-Fi' }).check()
+ await expect(page.locator('#wifi-share')).toHaveText('100%')
+ await expect(page.locator('#wifi-speed')).not.toHaveText('0.0 MB/s')
+ } finally {
+ await close()
+ }
+ })
})