Redesign the site and fix the download page

Download page: each card now links to its store listing (Chrome Web
Store, Firefox Add-ons), with the latest unpacked build underneath. The
zip links come from the newest GitHub release by matching "chrome" or
"firefox" in the file name; the old code looked for underscore names
that don't exist, so the buttons only ever opened the release page.
Dropped the .crx/.xpi instructions, which no browser accepts from a
website.

Home page: new hero with a Chrome <-> Firefox transfer strip and the
real 2.1.1 dashboard (light and dark), a three-step "how it works" with
real screens, a bento feature grid, the transfer table and a closing
call to action with store buttons.

Style: same monochrome ink scale, Geist and Geist Mono hosted on the
site (SIL OFL), hairline borders, contrast-checked text pairs, motion
limited to transform/opacity with hover gated to fine pointers and
reduced-motion handling.

Privacy: list everything Portage reads about installed extensions,
note that it stores appearance settings locally, and that cookies are
set again on import. Updated the date.

Adds .assetsignore so wrangler.jsonc and other repo files aren't
published with the site.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Christian
2026-10-25 04:27:49 -04:00
parent c82cbc1193
commit 0f429d6b22
14 changed files with 790 additions and 499 deletions
+163 -194
View File
@@ -1,194 +1,163 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Download Portage</title>
<meta name="description" content="Download Portage for Chrome and Firefox. Export and import your browser data locally securely.">
<meta name="theme-color" content="#18181b">
<link rel="icon" href="media/logo.png">
<link rel="stylesheet" href="styles.css">
<script src="site.js" defer></script>
</head>
<body>
<nav class="nav">
<div class="nav-inner">
<a class="brand" href="index.html">
<span class="mk"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 18V6"/><path d="m4 10 4-4 4 4"/><path d="M16 6v12"/><path d="m12 14 4 4 4-4"/></svg></span>
Portage
</a>
<div class="links">
<a class="navlink" href="index.html#features">Features</a>
<a class="navlink" href="index.html#matrix">What transfers</a>
<a href="https://github.com/pvrzz/Portage/" target="_blank" rel="noopener" class="navlink">GitHub</a>
<button class="theme-toggle" id="themeToggle" aria-label="Toggle theme"></button>
</div>
</div>
</nav>
<header class="page-head reveal">
<div class="wrap">
<h1>Install Portage</h1>
<p>Download the latest release directly from GitHub.</p>
</div>
</header>
<section style="padding-top: 20px;">
<div class="wrap reveal">
<div class="dl-grid">
<div class="dl-card">
<div class="top">
<div class="logo">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="4"/><line x1="21.17" y1="8" x2="12" y2="8"/><line x1="3.95" y1="6.06" x2="8.54" y2="14"/><line x1="10.88" y1="21.94" x2="15.46" y2="14"/>
</svg>
</div>
<div>
<h3>Chrome</h3>
<div class="ver" id="ver-chrome">Fetching latest...</div>
</div>
</div>
<a href="https://github.com/pvrzz/Portage/releases/latest" id="btn-chrome" class="btn btn-primary">Download Portage (.crx)</a>
<div class="note">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"/><line x1="12" y1="9" x2="12" y2="13"/><line x1="12" y1="17" x2="12.01" y2="17"/></svg>
<span>Signed by Chrome. Installs permanently — no developer mode needed.</span>
</div>
<ul class="steps">
<li>Navigate to <code>chrome://extensions</code> in your URL bar.</li>
<li>Enable <strong>Developer mode</strong> in the top right corner.</li>
<li>Drag and drop the downloaded <code>.crx</code> file onto the page.</li>
<li>Click <strong>Add extension</strong> to confirm.</li>
</ul>
<details class="dev-toggle">
<summary>Developer install (unpacked source)</summary>
<ul class="steps">
<li>Download the unpacked <code>.zip</code> using the button below.</li>
<li>Unzip it somewhere you'll remember.</li>
<li>Navigate to <code>chrome://extensions</code> and enable <strong>Developer mode</strong>.</li>
<li>Click <strong>Load unpacked</strong> and select the unzipped folder.</li>
</ul>
<a href="https://github.com/pvrzz/Portage/releases/latest" id="btn-chrome-zip" class="btn btn-ghost" style="margin-top:12px">Download unpacked (.zip)</a>
</details>
</div>
<div class="dl-card">
<div class="top">
<div class="logo">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M12 2a10 10 0 1 0 10 10c0 -1.968 -.42 -3.864 -1.18 -5.556c-2.378 1.34 -4.82 -1.18 -3.95 -3.985c-2.02 .894 -3.716 2.37 -4.87 4.541z" />
<path d="M12 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0" />
</svg>
</div>
<div>
<h3>Firefox</h3>
<div class="ver" id="ver-firefox">Fetching latest...</div>
</div>
</div>
<a href="https://github.com/pvrzz/Portage/releases/latest" id="btn-firefox" class="btn btn-primary" type="application/octet-stream" download>Download Portage (.xpi)</a>
<div class="note">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z"/></svg>
<span>Signed by Mozilla. Installs permanently — no developer mode needed.</span>
</div>
<ul class="steps">
<li>Click <strong>Install Portage (.xpi)</strong> above.</li>
<li>Firefox will prompt — click <strong>Continue to Installation</strong>.</li>
<li>Click <strong>Add</strong> to confirm.</li>
</ul>
<details class="dev-toggle">
<summary>Developer install (unsigned source)</summary>
<ul class="steps">
<li>Download the unsigned <code>.zip</code> using the button below.</li>
<li>Unzip it somewhere you'll remember.</li>
<li>Navigate to <code>about:debugging#/runtime/this-firefox</code>.</li>
<li>Click <strong>Load Temporary Add-on...</strong> and select <code>manifest.json</code> from the unzipped folder.</li>
</ul>
<p class="dev-note">Temporary add-ons are removed when Firefox restarts.</p>
<a href="https://github.com/pvrzz/Portage/releases/latest" id="btn-firefox-zip" class="btn btn-ghost" style="margin-top:12px">Download unsigned (.zip)</a>
</details>
</div>
</div>
<div class="star-band reveal">
<a href="https://github.com/pvrzz/Portage" target="_blank" rel="noopener" class="ghstar">
<svg viewBox="0 0 24 24" fill="currentColor"><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.52 11.52 0 0 1 12 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222 0 1.606-.014 2.898-.014 3.293 0 .322.216.694.825.576C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>
Star Portage on GitHub
</a>
</div>
</div>
</section>
<footer class="foot">
<div class="foot-inner">
<a class="brand" href="index.html">
<span class="mk"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 18V6"/><path d="m4 10 4-4 4 4"/><path d="M16 6v12"/><path d="m12 14 4 4 4-4"/></svg></span>
Portage
</a>
<div class="spacer"></div>
<div class="links2">
<a href="https://github.com/pvrzz/Portage/" target="_blank" rel="noopener">GitHub</a>
<a href="https://github.com/pvrzz/Portage/releases" target="_blank" rel="noopener">Releases</a>
<a href="privacy.html">Privacy</a>
</div>
<span class="made">made by <a href="https://pvrz.lol/" target="_blank" rel="noopener">pvrz</a> <span class="heart"><svg viewBox="0 0 24 24" fill="currentColor"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.29 1.51 4.04 3 5.5l7 7Z"/></svg></span></span>
</div>
</footer>
<script>
document.addEventListener("DOMContentLoaded", async () => {
const REPO = "pvrzz/Portage";
const verChrome = document.getElementById("ver-chrome");
const verFirefox = document.getElementById("ver-firefox");
const btnChrome = document.getElementById("btn-chrome");
const btnFirefox = document.getElementById("btn-firefox");
const btnFirefoxZip = document.getElementById("btn-firefox-zip");
try {
const res = await fetch(`https://api.github.com/repos/${REPO}/releases/latest`);
if (!res.ok) throw new Error("GitHub API failed");
const data = await res.json();
const tag = data.tag_name || "Latest";
let chromeUrl = data.html_url;
let chromeZipUrl = data.html_url;
let firefoxXpiUrl = data.html_url;
let firefoxZipUrl = data.html_url;
if (data.assets && data.assets.length > 0) {
const crxAsset = data.assets.find(a => a.name.endsWith(".crx"));
if (crxAsset) chromeUrl = crxAsset.browser_download_url;
const cZipAsset = data.assets.find(a => a.name === "portage_chrome.zip");
if (cZipAsset) chromeZipUrl = cZipAsset.browser_download_url;
const xpiAsset = data.assets.find(a => a.name.endsWith(".xpi"));
if (xpiAsset) firefoxXpiUrl = xpiAsset.browser_download_url;
const fAsset = data.assets.find(a => a.name === "portage_firefox.zip");
if (fAsset) firefoxZipUrl = fAsset.browser_download_url;
}
verChrome.textContent = tag;
verFirefox.textContent = tag;
btnChrome.href = chromeUrl;
document.getElementById("btn-chrome-zip").href = chromeZipUrl;
btnFirefox.href = firefoxXpiUrl;
btnFirefoxZip.href = firefoxZipUrl;
} catch (err) {
console.warn("Could not fetch release data:", err);
verChrome.textContent = "Latest Release";
verFirefox.textContent = "Latest Release";
}
});
</script>
</body>
</html>
<!DOCTYPE html>
<!--
Portage by pvrz
https://github.com/pvrzz/Portage/
File Name: download.html
-->
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Download Portage</title>
<meta name="description" content="Install Portage from the Chrome Web Store or Firefox Add-ons, or load the latest build unpacked.">
<meta property="og:title" content="Download Portage">
<meta property="og:description" content="Get Portage for Chrome and Firefox.">
<meta property="og:image" content="media/og.png">
<meta name="theme-color" content="#18181b">
<link rel="icon" href="media/logo.png">
<link rel="preload" href="media/fonts/Geist-Variable.woff2" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="styles.css">
<script src="site.js"></script>
</head>
<body>
<nav class="nav" aria-label="Main">
<div class="nav-inner">
<a class="brand" href="index.html" aria-label="Portage home">
<span class="mk"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M8 18V6"/><path d="m4 10 4-4 4 4"/><path d="M16 6v12"/><path d="m12 14 4 4 4-4"/></svg></span>
Portage
</a>
<div class="links">
<a class="navlink" href="index.html#screens">How it works</a>
<a class="navlink" href="index.html#features">Features</a>
<a class="navlink" href="index.html#matrix">What transfers</a>
<a class="navlink" href="https://github.com/pvrzz/Portage/" target="_blank" rel="noopener">GitHub</a>
<a class="btn btn-primary btn-sm cta" href="download.html" aria-current="page">Download</a>
<button class="theme-toggle" id="themeToggle" type="button" aria-label="Toggle theme"></button>
</div>
</div>
</nav>
<header class="page-head">
<div class="aura" aria-hidden="true"><i></i><i></i></div>
<div class="wrap">
<h1>Install Portage</h1>
<p>Get it from your browser's store for automatic updates. Install it in both browsers you're moving between.</p>
</div>
</header>
<main class="wrap">
<div class="dl-grid reveal-group">
<article class="dl-card" aria-labelledby="dl-chrome">
<div class="dl-main">
<div class="dl-top">
<div class="dl-logo"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="4"/><path d="M21.17 8H12"/><path d="M3.95 6.06 8.54 14"/><path d="M10.88 21.94 15.46 14"/></svg></div>
<div>
<h2 id="dl-chrome">Chrome</h2>
<div class="sub">Also Edge, Brave and other Chromium browsers</div>
</div>
</div>
<a class="btn btn-primary btn-lg" href="https://chromewebstore.google.com/detail/portage/cjnhjkemfckfnhkmbbjdnjmohjljjlmc" target="_blank" rel="noopener">
Add to Chrome
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 17 17 7"/><path d="M7 7h10v10"/></svg>
</a>
<ul class="dl-points">
<li><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 6 9 17l-5-5"/></svg>Installs from the Chrome Web Store and updates itself</li>
<li><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 6 9 17l-5-5"/></svg>Includes the reading list on Chrome</li>
</ul>
</div>
<div class="dl-build">
<div class="dl-build-head">
<h3>Latest build (unpacked)</h3>
<span class="ver-pill" data-build-version data-state="loading">checking…</span>
</div>
<p>For testing a release before it reaches the store, or for browsers without store access.</p>
<div class="row">
<a class="btn btn-ghost btn-sm" data-build-zip="chrome" href="https://github.com/pvrzz/Portage/releases/latest">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><path d="M7 10l5 5 5-5"/><path d="M12 15V3"/></svg>
Download .zip
</a>
</div>
<details class="howto">
<summary><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg>How to load it unpacked</summary>
<ol>
<li>Unzip the download somewhere you'll keep it.</li>
<li>Open <code>chrome://extensions</code> and turn on <strong>Developer mode</strong>.</li>
<li>Click <strong>Load unpacked</strong> and pick the folder that contains <code>manifest.json</code>.</li>
</ol>
<p class="note">Unpacked builds don't update on their own. Remove it before installing the store version.</p>
</details>
</div>
</article>
<article class="dl-card" aria-labelledby="dl-firefox">
<div class="dl-main">
<div class="dl-top">
<div class="dl-logo"><svg 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 2a10 10 0 1 0 10 10c0-1.97-.42-3.86-1.18-5.56-2.38 1.34-4.82-1.18-3.95-3.98-2.02.89-3.72 2.37-4.87 4.54z"/><circle cx="12" cy="12" r="3"/></svg></div>
<div>
<h2 id="dl-firefox">Firefox</h2>
<div class="sub">Firefox 115 and newer, including ESR</div>
</div>
</div>
<a class="btn btn-primary btn-lg" href="https://addons.mozilla.org/firefox/addon/portage/" target="_blank" rel="noopener">
Get the add-on
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 17 17 7"/><path d="M7 7h10v10"/></svg>
</a>
<ul class="dl-points">
<li><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 6 9 17l-5-5"/></svg>Installs from Firefox Add-ons and updates itself</li>
<li><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M20 6 9 17l-5-5"/></svg>Keeps history titles and visit times on import</li>
</ul>
</div>
<div class="dl-build">
<div class="dl-build-head">
<h3>Latest build (unpacked)</h3>
<span class="ver-pill" data-build-version data-state="loading">checking…</span>
</div>
<p>For testing a release before it reaches Add-ons. Firefox removes temporary add-ons when it restarts.</p>
<div class="row">
<a class="btn btn-ghost btn-sm" data-build-zip="firefox" href="https://github.com/pvrzz/Portage/releases/latest">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><path d="M7 10l5 5 5-5"/><path d="M12 15V3"/></svg>
Download .zip
</a>
</div>
<details class="howto">
<summary><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m9 18 6-6-6-6"/></svg>How to load it temporarily</summary>
<ol>
<li>Unzip the download somewhere you'll keep it.</li>
<li>Open <code>about:debugging#/runtime/this-firefox</code>.</li>
<li>Click <strong>Load Temporary Add-on…</strong> and pick <code>manifest.json</code> from the unzipped folder.</li>
</ol>
<p class="note">The add-on stays until Firefox restarts. Use the Add-ons version for everyday use.</p>
</details>
</div>
</article>
</div>
<div class="dl-foot reveal">
<a class="btn btn-ghost" href="https://github.com/pvrzz/Portage/releases" target="_blank" rel="noopener">All releases</a>
<a class="btn btn-ghost" href="https://github.com/pvrzz/Portage" target="_blank" rel="noopener">
<svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.52 11.52 0 0 1 12 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222 0 1.606-.014 2.898-.014 3.293 0 .322.216.694.825.576C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>
Star on GitHub
</a>
</div>
</main>
<footer class="foot">
<div class="foot-inner">
<a class="brand" href="index.html">
<span class="mk"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M8 18V6"/><path d="m4 10 4-4 4 4"/><path d="M16 6v12"/><path d="m12 14 4 4 4-4"/></svg></span>
Portage
</a>
<div class="spacer"></div>
<div class="links2">
<a href="download.html">Download</a>
<a href="https://github.com/pvrzz/Portage/" target="_blank" rel="noopener">GitHub</a>
<a href="https://github.com/pvrzz/Portage/releases" target="_blank" rel="noopener">Releases</a>
<a href="privacy.html">Privacy</a>
</div>
<span class="made">made by <a href="https://pvrz.lol/" target="_blank" rel="noopener">pvrz</a> <span class="heart"><svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.29 1.51 4.04 3 5.5l7 7Z"/></svg></span></span>
</div>
</footer>
</body>
</html>