Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
feat(website): add /download, and put the product in the h1
Etienne Lescot14e524d643d7
diff --git a/website/docs/installation.md b/website/docs/installation.mdindex 4160de650..d00941abb 100644--- a/website/docs/installation.md+++ b/website/docs/installation.md@@ -15,7 +15,7 @@ keywords:# Installation-Download the latest installer for your platform from [GitHub Releases](https://github.com/getopenscreen/openscreen/releases).+Download the latest installer for your platform from the [download page](/download), or straight from [GitHub Releases](https://github.com/getopenscreen/openscreen/releases).## macOS@@ -45,12 +45,12 @@ Three packages are published per release — pick the one matching your distro.**Debian / Ubuntu / Pop!_OS**```bash-sudo apt install ./Openscreen-Linux-latest.deb+sudo apt install ./Openscreen-Linux-*.deb```**Arch / Manjaro**```bash-sudo pacman -U Openscreen-Linux-latest.pacman+sudo pacman -U Openscreen-Linux-*.pacman```**Any distro (AppImage)**diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.tsindex d4eafff18..5224d90f4 100644--- a/website/docusaurus.config.ts+++ b/website/docusaurus.config.ts@@ -222,12 +222,15 @@ export default async function createConfig(): Promise<Config> {`GitHub${starBadge}</a>`,},{- type: "html",+ // Points at our own page now, not straight out to Releases, which+ // means it can be a real router link: SPA navigation plus route+ // prefetch, neither of which a raw <a> in an html item gets. A+ // link item only takes a string label, so the download glyph moves+ // to a CSS mask on .navbar-download-cta.+ to: "/download",+ label: "Download",+ className: "navbar-download-cta",position: "right",- value:- `<a class="navbar-download-cta" href="${REPO_URL}/releases" target="_blank" rel="noopener noreferrer">` +- '<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 15V3"/><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><path d="m7 10 5 5 5-5"/></svg>' +- "Download</a>",},],},diff --git a/website/src/css/custom.css b/website/src/css/custom.cssindex 0b96a6d4d..30da4a33e 100644--- a/website/src/css/custom.css+++ b/website/src/css/custom.css@@ -244,6 +244,12 @@ body {font-size: 11px;}+/* Lucide "download", inlined as a data URI so it costs no extra request and+ stays theme-independent (the mask below recolors it from currentColor). */+:root {+ --os-icon-download: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15V3'/%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");+}+.navbar-download-cta {display: inline-flex;align-items: center;@@ -256,6 +262,19 @@ body {font-weight: 600;}+/* The CTA is a router link, whose label is a plain string, so the download+ glyph is painted here instead of inlined as markup. A mask rather than a+ background image keeps it on currentColor like the other navbar icons. */+.navbar-download-cta::before {+ content: "";+ width: 14px;+ height: 14px;+ flex: none;+ background-color: currentColor;+ -webkit-mask: var(--os-icon-download) center / contain no-repeat;+ mask: var(--os-icon-download) center / contain no-repeat;+}+.navbar-download-cta:hover {background: var(--os-brand-lo);}diff --git a/website/src/pages/download.module.css b/website/src/pages/download.module.cssnew file mode 100644index 000000000..0924e518e--- /dev/null+++ b/website/src/pages/download.module.css@@ -0,0 +1,280 @@+/**+ * /download — same tokens and rhythm as the landing page hero and install grid+ * (src/pages/index.module.css), so the two pages read as one site rather than a+ * marketing page plus a bolted-on download page.+ */++.hero,+.platforms {+ background: var(--os-bg);+ color: var(--os-fg);+}++.hero {+ padding: 88px 28px 0;+ text-align: center;+ background: radial-gradient(ellipse 60% 40% at 50% 0%, var(--os-accent-wash), transparent 60%), var(--os-bg);+}++.heroInner {+ max-width: 720px;+ margin: 0 auto;+}++.badge {+ display: inline-flex;+ align-items: center;+ padding: 0.3rem 0.85rem;+ border-radius: 999px;+ background: var(--os-accent-soft);+ border: 1px solid var(--os-accent-border);+ color: var(--os-accent);+ font-size: 0.8rem;+ font-weight: 600;+ margin-bottom: 22px;+}++.title {+ margin: 20px 0 0 !important;+ font-size: clamp(38px, 5.2vw, 58px);+ font-weight: 700 !important;+ letter-spacing: -0.03em;+ line-height: 1.05;+ color: var(--os-fg-emphasis) !important;+}++.tagline {+ font-size: 19px;+ line-height: 1.55;+ color: var(--os-fg-2);+ margin: 20px auto 0;+ max-width: 560px;+}++.actions {+ display: flex;+ gap: 12px;+ justify-content: center;+ flex-wrap: wrap;+ margin: 30px 0 0;+}++.primaryCta,+.secondaryCta {+ display: inline-flex;+ align-items: center;+ gap: 0.5rem;+ padding: 0.65rem 1.35rem;+ border-radius: 9px;+ font-weight: 600;+ font-size: 0.95rem;+ text-decoration: none;+ transition: transform 0.15s ease, box-shadow 0.15s ease;+}++.primaryCta {+ background: var(--os-accent);+ color: #fff;+ box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);+}++.primaryCta:hover {+ transform: translateY(-2px);+ color: #fff;+ text-decoration: none;+}++.secondaryCta {+ background: transparent;+ color: var(--os-fg-2);+ border: 1px solid var(--os-border);+}++.secondaryCta:hover {+ transform: translateY(-2px);+ border-color: var(--os-fg-2);+ color: var(--os-fg-2);+ text-decoration: none;+}++.note {+ margin: 22px auto 0;+ max-width: 460px;+ font-size: 12.5px;+ color: var(--os-meta);+ line-height: 1.5;+}++.note strong {+ color: var(--os-muted);+}++/* ---- platform cards ---- */++.platforms {+ padding: 56px 28px 100px;+ display: flex;+ justify-content: center;+}++.platformsInner {+ width: 100%;+ max-width: 1040px;+}++.grid {+ display: grid;+ grid-template-columns: repeat(3, 1fr);+ gap: 0.875rem;+}++@media (max-width: 860px) {+ .grid {+ grid-template-columns: 1fr;+ }+}++/* Flex column so .cardBody absorbs the slack and the CTA sits flush at the+ bottom of all three cards, whose blurbs differ in length. */+.card {+ display: flex;+ flex-direction: column;+ border-radius: 14px;+ border: 1px solid var(--os-border);+ background: var(--os-surface-1);+ box-shadow: var(--os-elev-card);+ overflow: hidden;+}++.cardHeader {+ display: flex;+ align-items: center;+ gap: 8px;+ padding: 10px 16px;+ border-bottom: 1px solid var(--os-border-soft);+ font-size: 12px;+ font-weight: 500;+ color: var(--os-fg-2);+}++.artifactChip {+ margin-left: auto;+ padding: 1px 7px;+ border-radius: 999px;+ border: 1px solid var(--os-border-soft);+ font-family: var(--ifm-font-family-monospace);+ font-size: 10.5px;+ color: var(--os-meta);+}++.cardBody {+ flex: 1;+ padding: 16px;+}++.cardBlurb {+ margin: 0;+ font-size: 13px;+ line-height: 1.6;+ color: var(--os-muted);+}++.noteList {+ margin: 12px 0 0;+ padding-left: 16px;+ font-size: 12.5px;+ line-height: 1.75;+ color: var(--os-meta);+}++.noteList li::marker {+ color: var(--os-accent);+}++.cardCta {+ display: flex;+ align-items: center;+ justify-content: center;+ gap: 7px;+ margin: 0 16px 16px;+ padding: 9px 14px;+ border-radius: 9px;+ background: var(--os-accent);+ color: #fff;+ font-size: 13px;+ font-weight: 600;+ text-decoration: none;+}++.cardCta:hover {+ background: var(--os-brand-lo);+ color: #fff;+ text-decoration: none;+}++/* ---- side panels ---- */++.panels {+ margin-top: 0.875rem;+ display: grid;+ grid-template-columns: repeat(2, 1fr);+ gap: 0.875rem;+}++@media (max-width: 860px) {+ .panels {+ grid-template-columns: 1fr;+ }+}++.panel {+ border-radius: 14px;+ border: 1px solid var(--os-border);+ background: var(--os-surface-1);+ overflow: hidden;+}++.panelHeader {+ display: flex;+ align-items: center;+ gap: 8px;+ padding: 10px 16px;+ border-bottom: 1px solid var(--os-border-soft);+ font-size: 12px;+ font-weight: 500;+ color: var(--os-fg-2);+}++.code {+ margin: 0;+ padding: 1rem;+ font-size: 12.5px;+ line-height: 1.7;+ color: var(--os-fg-2);+ background: transparent;+ overflow-x: auto;+}++.accentText {+ color: var(--os-accent);+}++.meta {+ color: var(--os-meta);+}++.panelFoot {+ margin: 0;+ padding: 0 16px 14px;+ font-size: 12px;+ line-height: 1.55;+ color: var(--os-meta);+}++.footNote {+ margin: 26px 0 0;+ text-align: center;+ font-size: 12.5px;+ line-height: 1.6;+ color: var(--os-meta);+}diff --git a/website/src/pages/download.tsx b/website/src/pages/download.tsxnew file mode 100644index 000000000..a6ec04a5d--- /dev/null+++ b/website/src/pages/download.tsx@@ -0,0 +1,160 @@+import Link from "@docusaurus/Link";+import Heading from "@theme/Heading";+import Layout from "@theme/Layout";+import { Apple, AppWindow, Download, Package, ShieldCheck, TerminalSquare } from "lucide-react";++import styles from "./download.module.css";++const REPO_URL = "https://github.com/getopenscreen/openscreen";++// Every published asset carries the version in its filename+// (Openscreen-Mac-arm64-1.7.0.dmg), so there is no stable per-asset URL to deep+// link to. A build-time lookup of the current release would go stale silently:+// the docs workflow only fires on website/** changes, so a new app release+// would not rebuild this page and it would keep advertising the previous+// version. /releases/latest is resolved by GitHub on every click instead, which+// is always correct at the cost of one extra hop.+const LATEST = `${REPO_URL}/releases/latest`;++const PLATFORMS = [+ {+ id: "macos",+ name: "macOS",+ icon: Apple,+ artifact: ".dmg",+ blurb:+ "Separate builds for Apple Silicon and Intel. Native ScreenCaptureKit capture, real cursor and click effects, native webcam.",+ notes: [+ "Apple Silicon: Openscreen-Mac-arm64",+ "Intel: Openscreen-Mac-x64",+ "Grant Screen Recording and Accessibility in System Settings on first launch",+ ],+ },+ {+ id: "windows",+ name: "Windows",+ icon: AppWindow,+ artifact: ".exe",+ blurb:+ "One installer, nothing to configure. Windows Graphics Capture, system audio out of the box, native webcam.",+ notes: [+ "Run the installer and launch — no terminal step",+ "System audio captured without extra drivers",+ ],+ },+ {+ id: "linux",+ name: "Linux",+ icon: TerminalSquare,+ artifact: ".deb · .pacman · AppImage",+ blurb:+ "Four ways to install, including a Nix flake. Browser-pipeline capture; PipeWire is needed for system audio.",+ notes: [+ "Debian, Ubuntu, Pop!_OS: .deb",+ "Arch, Manjaro: .pacman",+ "Any distro: AppImage",+ "NixOS: flake",+ ],+ },+] as const;++export default function DownloadPage() {+ return (+ <Layout+ title="Download for Windows, macOS & Linux"+ description="Download OpenScreen free for Windows, macOS, and Linux — .dmg, .exe, .deb, .pacman, AppImage, and a Nix flake. Open source, no account, no watermark."+ >+ <header className={styles.hero}>+ <div className={styles.heroInner}>+ <span className={styles.badge}>MIT licensed · free forever</span>+ <Heading as="h1" className={styles.title}>+ Download OpenScreen+ </Heading>+ <p className={styles.tagline}>+ A free, open-source screen recorder and video editor for Windows, macOS, and Linux. No+ account, no watermark, no subscription.+ </p>+ <div className={styles.actions}>+ <a className={styles.primaryCta} href={LATEST}>+ <Download size={16} />+ Get the latest release+ </a>+ <Link className={styles.secondaryCta} to="/docs/installation">+ Installation guide+ </Link>+ </div>+ <p className={styles.note}>+ OpenScreen is <strong>not production-grade</strong>. Expect rough edges while we build+ in the open.+ </p>+ </div>+ </header>++ <section className={styles.platforms}>+ <div className={styles.platformsInner}>+ <div className={styles.grid}>+ {PLATFORMS.map(({ id, name, icon: Icon, artifact, blurb, notes }) => (+ <article key={id} className={styles.card}>+ <div className={styles.cardHeader}>+ <Icon size={15} />+ <span>{name}</span>+ <span className={styles.artifactChip}>{artifact}</span>+ </div>+ <div className={styles.cardBody}>+ <p className={styles.cardBlurb}>{blurb}</p>+ <ul className={styles.noteList}>+ {notes.map((n) => (+ <li key={n}>{n}</li>+ ))}+ </ul>+ </div>+ <a className={styles.cardCta} href={LATEST}>+ <Download size={14} />+ Download for {name}+ </a>+ </article>+ ))}+ </div>++ <div className={styles.panels}>+ <div className={styles.panel}>+ <div className={styles.panelHeader}>+ <ShieldCheck size={14} />+ <span>macOS: if Gatekeeper blocks the app</span>+ </div>+ <pre className={styles.code}>+ <span className={styles.accentText}>xattr</span> -rd com.apple.quarantine+ /Applications/Openscreen.app+ </pre>+ <p className={styles.panelFoot}>+ Give your terminal Full Disk Access in System Settings first, then run it.+ </p>+ </div>++ <div className={styles.panel}>+ <div className={styles.panelHeader}>+ <Package size={14} />+ <span>Linux: install without downloading</span>+ </div>+ <pre className={styles.code}>+ <span className={styles.meta}># run it straight from the flake</span>+ {"\n"}+ <span className={styles.accentText}>nix</span> run github:getopenscreen/openscreen+ </pre>+ <p className={styles.panelFoot}>+ Package manager commands for .deb, .pacman, and AppImage are in the{" "}+ <Link to="/docs/installation">installation guide</Link>.+ </p>+ </div>+ </div>++ <p className={styles.footNote}>+ Every artifact for every release — including checksums and release notes — is on the{" "}+ <a href={`${REPO_URL}/releases`}>Releases page</a>. Source is on{" "}+ <a href={REPO_URL}>GitHub</a> under the MIT license.+ </p>+ </div>+ </section>+ </Layout>+ );+}diff --git a/website/src/pages/index.module.css b/website/src/pages/index.module.cssindex 5768930a1..ecfb340c9 100644--- a/website/src/pages/index.module.css+++ b/website/src/pages/index.module.css@@ -41,11 +41,26 @@color: var(--os-fg-emphasis);}+/* Second line of the h1. Block-level at the tagline's own size so the heading+ reads as wordmark-over-descriptor and not as one oversized sentence. */+.titleTagline {+ display: block;+ margin: 20px auto 0;+ max-width: 560px;+ font-size: 19px;+ font-weight: 400;+ letter-spacing: normal;+ line-height: 1.55;+ color: var(--os-fg-2);+}++/* Zero top margin: this paragraph now continues the line the h1's descriptor+ started, so it has to sit at line-box distance, not block distance. */.tagline {font-size: 19px;line-height: 1.55;color: var(--os-fg-2);- margin: 20px auto 0;+ margin: 0 auto;max-width: 560px;}diff --git a/website/src/pages/index.tsx b/website/src/pages/index.tsxindex 156e8831e..150f7c81d 100644--- a/website/src/pages/index.tsx+++ b/website/src/pages/index.tsx@@ -39,7 +39,10 @@ const SOFTWARE_APPLICATION_LD = {description:"Free, open-source screen recorder and video editor. Native capture on macOS and Windows, multi-track timeline editing, on-device Whisper captions, and MP4/GIF export — no watermarks, no subscription, no account.",url: "https://getopenscreen.com",- downloadUrl: "https://github.com/getopenscreen/openscreen/releases",+ // Our own page rather than the Releases list: it is the URL we want ranking+ // for "openscreen download", and it routes to GitHub from there anyway.+ downloadUrl: "https://getopenscreen.com/download/",+ installUrl: "https://github.com/getopenscreen/openscreen/releases",softwareHelp: "https://getopenscreen.com/docs/intro/",license: "https://github.com/getopenscreen/openscreen/blob/main/LICENSE",isAccessibleForFree: true,@@ -70,22 +73,22 @@ export default function Home() {<header className={styles.hero}><div className={styles.heroInner}><span className={styles.badge}>Pre-release · work in progress</span>+ {/* The descriptor sits inside the h1 rather than in the paragraph+ below it: the brand name alone gave the page's only h1 no+ subject. Rendered as a block at the old tagline's size, so the+ visual hierarchy is unchanged — big wordmark, descriptor under it. */}<Heading as="h1" className={styles.title}>OpenScreen+ <span className={styles.titleTagline}>+ A free, open-source screen recorder and video editor+ </span></Heading>- <p className={styles.tagline}>- A free, open-source screen recorder and editor.- <br />- Native capture, local AI, no paywall.- </p>+ <p className={styles.tagline}>Native capture, local AI, no paywall.</p><div className={styles.actions}>- <a- className={styles.primaryCta}- href="https://github.com/getopenscreen/openscreen/releases"- >+ <Link className={styles.primaryCta} to="/download"><Download size={16} />Download- </a>+ </Link><Link className={styles.secondaryCta} to="/docs/intro">Read the docs</Link>@@ -352,8 +355,7 @@ export default function Home() {<pre className={styles.terminalBody}><span className={styles.meta}># download the .deb from Releases, then</span>{"\n"}- <span className={styles.accentText}>sudo</span> apt install- ./Openscreen-Linux-latest.deb+ <span className={styles.accentText}>sudo</span> apt install ./Openscreen-Linux-*.deb</pre><p className={styles.paneFoot}>Browser-pipeline capture; needs PipeWire for system audio.