Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

chore(repo): remove github pages static site and website assets

IGECTf3a655f20471
diff --git a/.agents/skills/ui-lint/SKILL.md b/.agents/skills/ui-lint/SKILL.md
index 2b0365d1..66392435 100644
--- a/.agents/skills/ui-lint/SKILL.md
+++ b/.agents/skills/ui-lint/SKILL.md
@@ -3,17 +3,16 @@ name: ui-lint
description: >-
Run targeted rendered UI verification with lintapple (`pnpm lint:ui <target>`).
Use whenever modifying Svelte routes (`src/routes/`), UI components
- (`src/components/`), CSS stylesheets (`src/app.css`, `src/lib/style/`), the
- landing page (`index.html`), or documentation pages (`docs/`).
+ (`src/components/`), or CSS stylesheets (`src/app.css`, `src/lib/style/`).
---
# Targeted UI Lint (`lintapple`)
-Verify rendered layout, typography scale, concentric border radii, contrast, and accessibility on the exact surface you modified before completing any UI or documentation task.
+Verify rendered layout, typography scale, concentric border radii, contrast, and accessibility on the exact surface you modified before completing any UI task.
## Workflow
-1. Identify the target route or page matching the files you modified using the table below.
+1. Identify the target route matching the files you modified using the table below.
2. Run `pnpm lint:ui <target>` (add `--json` to inspect full DOM selectors and suggested fixes).
3. Fix every new finding reported against your changes and re-run `pnpm lint:ui <target>` until it exits `0`.
@@ -28,8 +27,6 @@ Verify rendered layout, typography scale, concentric border radii, contrast, and
| `src/lib/style/notes.css` | `pnpm lint:ui /study` | `ui-policy.app.json` + baseline |
| `src/routes/+layout.svelte`, `src/components/shell/**`, `src/lib/style/buttons.css`, `src/lib/style/primitives.css` | `pnpm lint:ui --shell` | `ui-policy.app.json` + baseline |
| `src/app.css` | `pnpm lint:ui /settings --all-themes` | `ui-policy.app.json` across all 14 themes |
-| `index.html` | `pnpm lint:ui index.html` | `ui-policy.docs.json` (0 findings required) |
-| `docs/<section>/index.html` | `pnpm lint:ui docs/<section>/index.html` | `ui-policy.docs.json` (0 findings required) |
## Policies & Baseline Rules
@@ -38,6 +35,3 @@ Verify rendered layout, typography scale, concentric border radii, contrast, and
- Compares per-theme rule counts against [`scripts/ui-lint-baseline.json`](../../../scripts/ui-lint-baseline.json). The check exits `0` when no rule count increases on the target route.
- When adding a new token size to `src/app.css`, update `ui-policy.app.json` in the same commit.
- When cleaning up pre-existing UI findings on a route, ratchet its baseline down with `pnpm lint:ui:update /<feature>`.
-- **Landing Page & Docs ([`ui-policy.docs.json`](../../../ui-policy.docs.json))**:
- - Enforces desktop and mobile viewports across `dark` and `light` themes, including `bannedCopy` rules.
- - Requires strict zero findings (`0` tolerance).
diff --git a/.nojekyll b/.nojekyll
deleted file mode 100644
index e6085f80..00000000
--- a/.nojekyll
+++ /dev/null
@@ -1 +0,0 @@
-# Disable Jekyll processing for GitHub Pages
diff --git a/AGENTS.md b/AGENTS.md
index 47130a0b..21f6b8c8 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -9,17 +9,14 @@ Welcome to LibreGet. This file serves as the definitive reference and operating
- **Desktop Framework**: Tauri v2 (`src-tauri/`) with Rust 1.97.0.
- **Frontend**: SvelteKit / Svelte 5 (`src/`) powered by Vite.
- **Embedded Plugins**: Statically linked core plugins (`courses`, `telegram`, `convert`) in `src-tauri/plugins/`.
-- **Public Website & Docs**: GitHub Pages static suite served from repo root:
- - Root landing page: `index.html`.
- - Documentation suite: `docs/` (`docs/index.html`, `docs/changelog/`, `docs/installation/`, `docs/courses/`, `docs/nami/`, `docs/mcp/`, `docs/troubleshooting/`).
- - Companion Browser Extension: `browser-extension/chrome/`.
+- **Companion Browser Extension**: `browser-extension/chrome/`.
---
## 2. Release Protocol & Mandatory Post-Release SOP
> [!IMPORTANT]
-> **NEVER skip writing the release notes, updating the landing page, or updating the documentation when cutting or preparing a release.**
+> **NEVER skip writing the release notes when cutting or preparing a release.**
> The in-app changelog modal (`src/lib/stores/changelog-store.svelte.ts`) fetches the GitHub release body directly from `https://api.github.com/repos/OpenSelena/libreget/releases/tags/v<VERSION>`. Leaving release notes blank breaks the in-app user experience.
### Standard Operating Procedure for Every Release:
@@ -31,26 +28,14 @@ Welcome to LibreGet. This file serves as the definitive reference and operating
- `src-tauri/Cargo.toml` & `src-tauri/Cargo.lock`
- `src-tauri/tauri.conf.json`
- `src/lib/stores/changelog-store.svelte.ts`
- - `index.html` (download links, version meta tags, CTA text)
- - `docs/*/index.html` (sidebar version tags)
- `SECURITY.md` & `.github/SECURITY.md` (supported versions table)
-2. **Documentation Updates**:
- - **`docs/changelog/index.html`**:
- - Prepend the new release block `<article class="release-box" id="vX-Y-Z">` above the previous release.
- - Demote the previous release tag pill to `<span class="sidebar-tag">`.
- - Update the Table of Contents `<ul class="toc-list" id="tocList">` to list the new version as `vX.Y.Z (Latest Stable)`.
- - Update the search modal description.
- - **`docs/index.html`**:
- - Update the Section 10 Release card to feature the new version.
- - Update the Quickstart release callout and User-Agent examples.
-
-3. **Git Commit & Tag**:
+2. **Git Commit & Tag**:
- Format: `chore(release): bump version to vX.Y.Z, ...`
- Create annotated/signed tag: `git tag vX.Y.Z`
- Push: `git push origin main --tags`
-4. **GitHub Release Notes (MANDATORY)**:
+3. **GitHub Release Notes (MANDATORY)**:
- As soon as the GitHub release is published by the workflow (or manually):
- Compile comprehensive release notes detailing:
- `## What's New` (categorized by feature area)
@@ -64,10 +49,9 @@ Welcome to LibreGet. This file serves as the definitive reference and operating
gh release view vX.Y.Z
```
-5. **Asset Name & Casing Verification**:
+4. **Asset Name & Casing Verification**:
- Check the exact asset filenames uploaded by Tauri (`gh release view vX.Y.Z --json assets`).
- Notice casing: e.g. `LibreGet_0.11.0_x64-setup.exe` (capitalized `LibreGet`) vs `libreget_0.11.0_x64-portable.exe` (lowercase `libreget`).
- - Ensure `index.html` download buttons use the exact asset filenames.
---
@@ -82,8 +66,7 @@ Welcome to LibreGet. This file serves as the definitive reference and operating
Before pushing to `dev`:
- `pnpm fmt:rs` : Auto-formats Rust workspace (`cargo fmt`) — enforced automatically via `.githooks/pre-commit` and `.githooks/pre-push`.
- `pnpm test` : Runs full Vitest suite (must pass 100%).
-- `node scripts/e2e_verify.mjs` : Validates documentation suite routes, links, and accessibility.
-- `pnpm lint:ui <target>` : Required whenever modifying Svelte routes, UI components, stylesheets, `index.html`, or `docs/` — see [.agents/skills/ui-lint/SKILL.md](.agents/skills/ui-lint/SKILL.md).
+- `pnpm lint:ui <target>` : Required whenever modifying Svelte routes, UI components, or stylesheets — see [.agents/skills/ui-lint/SKILL.md](.agents/skills/ui-lint/SKILL.md).
---
diff --git a/CNAME b/CNAME
deleted file mode 100644
index 60336890..00000000
--- a/CNAME
+++ /dev/null
@@ -1 +0,0 @@
-libreget.asf.sale
diff --git a/assets/announcement-poster.png b/assets/announcement-poster.png
deleted file mode 100644
index fa1fdef1..00000000
Binary files a/assets/announcement-poster.png and /dev/null differ
diff --git a/assets/libreget-banner-dark.png b/assets/libreget-banner-dark.png
deleted file mode 100644
index ab625685..00000000
Binary files a/assets/libreget-banner-dark.png and /dev/null differ
diff --git a/assets/libreget-banner-light.png b/assets/libreget-banner-light.png
deleted file mode 100644
index 4d71d0e6..00000000
Binary files a/assets/libreget-banner-light.png and /dev/null differ
diff --git a/assets/screenshot-courses.png b/assets/screenshot-courses.png
deleted file mode 100644
index 66db42ce..00000000
Binary files a/assets/screenshot-courses.png and /dev/null differ
diff --git a/assets/screenshot-flow.png b/assets/screenshot-flow.png
deleted file mode 100644
index a7f1a0ef..00000000
Binary files a/assets/screenshot-flow.png and /dev/null differ
diff --git a/assets/screenshot-music.png b/assets/screenshot-music.png
deleted file mode 100644
index 53bb939e..00000000
Binary files a/assets/screenshot-music.png and /dev/null differ
diff --git a/assets/screenshot-omnibox.png b/assets/screenshot-omnibox.png
deleted file mode 100644
index a2e49b6d..00000000
Binary files a/assets/screenshot-omnibox.png and /dev/null differ
diff --git a/assets/screenshot-reader.png b/assets/screenshot-reader.png
deleted file mode 100644
index 8f5003ae..00000000
Binary files a/assets/screenshot-reader.png and /dev/null differ
diff --git a/assets/screenshot.png b/assets/screenshot.png
deleted file mode 100644
index 492f8c23..00000000
Binary files a/assets/screenshot.png and /dev/null differ
diff --git a/docs/changelog/index.html b/docs/changelog/index.html
deleted file mode 100644
index 5b4d69f0..00000000
--- a/docs/changelog/index.html
+++ /dev/null
@@ -1,3007 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
- <title>Release Notes &amp; Changelog · LibreGet Documentation</title>
- <meta name="description" content="Official changelog, release notes, architectural updates, and bug fixes across all versions of LibreGet." />
- <link rel="canonical" href="https://libreget.asf.sale/docs/changelog/" />
-
- <!-- Open Graph -->
- <meta property="og:type" content="article" />
- <meta property="og:site_name" content="LibreGet Documentation" />
- <meta property="og:title" content="Release Notes &amp; Changelog · LibreGet Documentation" />
- <meta property="og:description" content="Official changelog, release notes, architectural updates, and bug fixes across all versions of LibreGet." />
- <meta property="og:url" content="https://libreget.asf.sale/docs/changelog/" />
- <meta property="og:image" content="https://libreget.asf.sale/assets/readme/home.png" />
- <meta property="og:image:width" content="1200" />
- <meta property="og:image:height" content="630" />
- <meta name="twitter:card" content="summary_large_image" />
-
- <link rel="icon" type="image/x-icon" href="../../favicon.ico" />
- <link rel="icon" type="image/png" sizes="256x256" href="../../static/favicon.png" />
- <link rel="apple-touch-icon" sizes="180x180" href="../../static/favicon.png" />
-
- <!-- Early Theme Init Script -->
- <script>
- (function() {
- try {
- var saved = localStorage.getItem('libreget_docs_theme') || localStorage.getItem('theme');
- var prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
- if (saved === 'dark' || (!saved && prefersDark)) {
- document.documentElement.classList.add('dark');
- document.documentElement.setAttribute('data-theme', 'dark');
- } else {
- document.documentElement.classList.remove('dark');
- document.documentElement.setAttribute('data-theme', 'light');
- }
- } catch (e) {}
- })();
- </script>
-
- <!-- Fonts: Geist + Geist Mono, the vercel.com/docs typefaces -->
- <link rel="preconnect" href="https://fonts.googleapis.com" />
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
- <link href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet" />
-
- <style>
- /* ============================================================
- LibreGet Documentation — UI skin
- Design system: vercel.com/docs (Geist type, Vercel palette)
- ============================================================ */
-
- *, *::before, *::after {
- box-sizing: border-box;
- margin: 0;
- padding: 0;
- }
-
- /* ---------- Design tokens ---------- */
-
- :root {
- color-scheme: light;
-
- --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
- --font-display: var(--font-sans);
- --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
-
- /* Vercel light theme */
- --bg: #ffffff;
- --bg-surface: #ffffff;
- --bg-subtle: #fafafa;
- --bg-muted: #f4f4f5;
- --bg-hover: #f4f4f5;
- --bg-card: #ffffff;
- --bg-code: #111111;
- --code-header: #171717;
- --code-border: #333333;
-
- --border: #eaeaea;
- --border-subtle: #f4f4f5;
- --border-hover: #999999;
- --border-focus: #171717;
-
- --text: #171717;
- --text-muted: #666666;
- --text-subtle: #888888;
- --text-inverse: #ffffff;
-
- --primary: #171717;
- --primary-hover: #333333;
- --primary-light: #f4f4f5;
- --primary-border: #171717;
-
- --link: #0070f3;
- --link-hover: #3291ff;
- --success: #50e3c2;
-
- --callout-bg: #fafafa;
- --callout-border: #eaeaea;
- --callout-text: #171717;
-
- --header-h: 64px;
- --tabs-h: 44px;
- --header-total-h: 108px;
- --sidebar-w: 272px;
- --toc-w: 240px;
- --max-w: 1440px;
-
- --radius-sm: 8px;
- --radius-md: 10px;
- --radius-lg: 12px;
- }
-
- html.dark {
- color-scheme: dark;
-
- /* Vercel dark theme */
- --bg: #000000;
- --bg-surface: #0a0a0a;
- --bg-subtle: #111111;
- --bg-muted: #18181b;
- --bg-hover: #18181b;
- --bg-card: #0a0a0a;
- --bg-code: #111111;
- --code-header: #171717;
- --code-border: #262626;
-
- --border: #1f1f1f;
- --border-subtle: #141414;
- --border-hover: #444444;
- --border-focus: #ededed;
-
- --text: #ededed;
- --text-muted: #a1a1aa;
- --text-subtle: #71717a;
- --text-inverse: #000000;
-
- --primary: #ededed;
- --primary-hover: #ffffff;
- --primary-light: #18181b;
- --primary-border: #ededed;
-
- --link: #3291ff;
- --link-hover: #66aaff;
-
- --callout-bg: #0a0a0a;
- --callout-border: #1f1f1f;
- --callout-text: #ededed;
- }
-
- /* ---------- Base ---------- */
-
- html {
- scroll-behavior: smooth;
- }
-
- body {
- background-color: var(--bg);
- color: var(--text);
- font-family: var(--font-sans);
- font-size: 16px;
- line-height: 1.6;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: antialiased;
- text-rendering: optimizeLegibility;
- overflow-x: hidden;
- transition: background-color 0.15s ease, color 0.15s ease;
- }
-
- ::selection {
- background: #0070f3;
- color: #ffffff;
- }
-
- a {
- color: inherit;
- text-decoration: none;
- }
-
- button {
- font-family: inherit;
- cursor: pointer;
- }
-
- img {
- max-width: 100%;
- }
-
- :focus-visible {
- outline: 2px solid var(--link);
- outline-offset: 2px;
- }
-
- /* ---------- Icons ---------- */
-
- .icon {
- display: inline-block;
- width: 16px;
- height: 16px;
- flex-shrink: 0;
- vertical-align: middle;
- }
-
- .icon-lg { width: 18px; height: 18px; }
- .icon-sm { width: 14px; height: 14px; }
- .icon-xs { width: 12px; height: 12px; }
-
- /* ---------- Top navbar ---------- */
-
- .nav-header {
- position: sticky;
- top: 0;
- z-index: 50;
- background: var(--bg);
- border-bottom: 1px solid var(--border);
- }
-
- .nav-header-inner {
- display: flex;
- align-items: center;
- gap: 14px;
- height: var(--header-h);
- max-width: var(--max-w);
- margin: 0 auto;
- padding: 0 24px;
- }
-
- .brand-group {
- display: flex;
- align-items: center;
- gap: 10px;
- flex-shrink: 0;
- }
-
- .brand-logo-link {
- display: flex;
- align-items: center;
- gap: 8px;
- font-size: 14.5px;
- font-weight: 600;
- letter-spacing: -0.01em;
- color: var(--text);
- }
-
- .brand-logo-link img {
- display: block;
- height: 22px;
- width: auto;
- }
-
- .brand-badge {
- font-size: 13px;
- font-weight: 400;
- letter-spacing: 0.02em;
- color: var(--text-muted);
- }
-
- /* Search trigger (the "Search Docs" pill) */
- .search-trigger {
- display: flex;
- align-items: center;
- gap: 8px;
- height: 34px;
- min-width: 160px;
- max-width: 300px;
- flex: 0 1 auto;
- padding: 0 8px 0 12px;
- border: 1px solid var(--border);
- border-radius: var(--radius-sm);
- background: var(--bg);
- color: var(--text-subtle);
- cursor: pointer;
- transition: border-color 0.15s ease;
- }
-
- .search-trigger:hover {
- border-color: var(--border-hover);
- }
-
- .search-trigger > span {
- flex: 1;
- font-size: 13px;
- }
-
- .search-kbd {
- flex-shrink: 0;
- border: 1px solid var(--border);
- background: var(--bg-subtle);
- border-radius: 5px;
- padding: 1px 6px;
- font-family: var(--font-mono);
- font-size: 11px;
- color: var(--text-subtle);
- line-height: 1.5;
- }
-
- .nav-links {
- display: flex;
- align-items: center;
- gap: 2px;
- margin-left: auto;
- }
-
- .nav-link-item {
- padding: 6px 10px;
- border-radius: 6px;
- font-size: 13.5px;
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .nav-link-item:hover {
- color: var(--text);
- }
-
- .nav-link-item.active {
- color: var(--text);
- font-weight: 500;
- }
-
- .nav-actions {
- display: flex;
- align-items: center;
- gap: 8px;
- flex-shrink: 0;
- }
-
- .theme-toggle-btn {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 32px;
- height: 32px;
- border: none;
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--text-muted);
- transition: background 0.15s ease, color 0.15s ease;
- }
-
- .theme-toggle-btn:hover {
- background: var(--bg-hover);
- color: var(--text);
- }
-
- .btn-top-download {
- display: inline-flex;
- align-items: center;
- gap: 6px;
- height: 32px;
- padding: 0 14px;
- border: none;
- border-radius: 999px;
- background: var(--primary);
- color: var(--text-inverse);
- font-size: 13px;
- font-weight: 500;
- transition: background 0.15s ease;
- }
-
- .btn-top-download:hover {
- background: var(--primary-hover);
- }
-
- /* ---------- Section subtabs ---------- */
-
- .nav-subtabs {
- background: var(--bg);
- border-bottom: 1px solid var(--border);
- }
-
- .nav-subtabs-inner {
- display: flex;
- align-items: center;
- gap: 4px;
- height: var(--tabs-h);
- max-width: var(--max-w);
- margin: 0 auto;
- padding: 0 24px;
- overflow-x: auto;
- scrollbar-width: none;
- }
-
- .nav-subtabs-inner::-webkit-scrollbar {
- display: none;
- }
-
- .nav-subtabs-inner .subtab-item {
- display: inline-flex;
- align-items: center;
- gap: 7px;
- height: var(--tabs-h);
- padding: 0 12px;
- border-radius: 0;
- font-size: 13.5px;
- color: var(--text-muted);
- white-space: nowrap;
- transition: color 0.15s ease;
- }
-
- .nav-subtabs-inner .subtab-item:hover {
- color: var(--text);
- }
-
- .nav-subtabs-inner .subtab-item.active {
- color: var(--text);
- font-weight: 500;
- box-shadow: inset 0 -2px 0 0 var(--text);
- }
-
- .nav-subtabs-inner .subtab-item .icon {
- display: none;
- }
-
- /* Generic subtab link used inside page content (e.g. "GitHub Tag") */
- .subtab-item {
- display: inline-flex;
- align-items: center;
- gap: 7px;
- padding: 6px 12px;
- border-radius: var(--radius-sm);
- font-size: 13px;
- font-weight: 500;
- color: var(--text-muted);
- transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
- }
-
- .subtab-item:hover {
- color: var(--text);
- }
-
- /* ---------- Shell layout ---------- */
-
- .docs-layout {
- display: flex;
- align-items: flex-start;
- max-width: var(--max-w);
- margin: 0 auto;
- padding: 0 24px;
- }
-
- .docs-sidebar {
- width: var(--sidebar-w);
- flex-shrink: 0;
- position: sticky;
- top: var(--header-total-h);
- height: calc(100vh - var(--header-total-h));
- overflow-y: auto;
- overscroll-behavior: contain;
- padding: 28px 16px 48px 8px;
- }
-
- .docs-main {
- flex: 1 1 auto;
- min-width: 0;
- width: 100%;
- max-width: 736px;
- margin: 0 auto;
- padding: 40px 40px 96px;
- }
-
- .docs-toc {
- width: var(--toc-w);
- flex-shrink: 0;
- position: sticky;
- top: var(--header-total-h);
- height: calc(100vh - var(--header-total-h));
- overflow-y: auto;
- padding: 40px 24px 48px 0;
- }
-
- /* ---------- Sidebar navigation ---------- */
-
- .sidebar-group {
- margin-bottom: 22px;
- }
-
- .sidebar-group-header {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 10px;
- margin-bottom: 6px;
- font-size: 13px;
- font-weight: 500;
- color: var(--text-subtle);
- }
-
- .sidebar-group-header .icon {
- display: none;
- }
-
- .sidebar-nav-list {
- list-style: none;
- display: flex;
- flex-direction: column;
- gap: 1px;
- }
-
- .sidebar-link {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 8px;
- padding: 6px 10px;
- border-radius: 6px;
- font-size: 13.5px;
- color: var(--text-muted);
- transition: background 0.15s ease, color 0.15s ease;
- }
-
- .sidebar-link:hover {
- color: var(--text);
- background: var(--bg-hover);
- }
-
- .sidebar-link.active {
- color: var(--text);
- background: var(--bg-hover);
- font-weight: 500;
- }
-
- .sidebar-tag {
- flex-shrink: 0;
- font-size: 11px;
- font-weight: 500;
- color: var(--text-subtle);
- background: var(--bg-subtle);
- border: 1px solid var(--border);
- border-radius: 999px;
- padding: 1px 7px;
- white-space: nowrap;
- }
-
- /* ---------- Mobile sidebar drawer ---------- */
-
- .mobile-sidebar-toggle {
- display: none;
- align-items: center;
- justify-content: center;
- width: 32px;
- height: 32px;
- border: none;
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--text-muted);
- }
-
- .mobile-sidebar-toggle:hover {
- background: var(--bg-hover);
- color: var(--text);
- }
-
- .mobile-sidebar-backdrop {
- display: none;
- position: fixed;
- inset: 0;
- top: var(--header-total-h);
- z-index: 39;
- background: rgba(0, 0, 0, 0.5);
- }
-
- .mobile-sidebar-backdrop.open {
- display: block;
- }
-
- /* ---------- Breadcrumbs ---------- */
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 8px;
- margin-bottom: 20px;
- font-size: 13px;
- color: var(--text-muted);
- }
-
- .docs-main .breadcrumbs a {
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .docs-main .breadcrumbs a:hover {
- color: var(--text);
- text-decoration: none;
- }
-
- .breadcrumb-sep {
- color: var(--border-hover);
- }
-
- .breadcrumb-current {
- color: var(--text);
- font-weight: 500;
- }
-
- /* ---------- Article typography ---------- */
-
- .doc-h1 {
- font-size: 36px;
- line-height: 1.15;
- font-weight: 600;
- letter-spacing: -0.022em;
- color: var(--text);
- margin-bottom: 14px;
- }
-
- .doc-lead {
- font-size: 17px;
- line-height: 1.6;
- color: var(--text-muted);
- margin-bottom: 28px;
- }
-
- .doc-p {
- font-size: 15.5px;
- line-height: 1.7;
- color: var(--text);
- margin-bottom: 20px;
- }
-
- .doc-h2 {
- font-size: 24px;
- font-weight: 600;
- letter-spacing: -0.014em;
- color: var(--text);
- margin: 44px 0 12px;
- }
-
- .doc-h3 {
- font-size: 18px;
- font-weight: 600;
- color: var(--text);
- margin: 28px 0 8px;
- }
-
- .doc-h1, .doc-h2, .doc-h3 {
- scroll-margin-top: calc(var(--header-total-h) + 24px);
- }
-
- strong {
- font-weight: 600;
- }
-
- .docs-main a {
- color: var(--link);
- text-decoration: none;
- }
-
- .docs-main a:hover {
- text-decoration: underline;
- }
-
- /* Content links that are UI buttons, not prose links */
- .docs-main a.subtab-item,
- .docs-main a.page-nav-card {
- color: var(--text-muted);
- text-decoration: none;
- }
-
- .docs-main a.subtab-item:hover {
- color: var(--text);
- text-decoration: none;
- }
-
- .docs-main a.page-nav-card:hover {
- color: var(--text-muted);
- border-color: var(--border-hover);
- text-decoration: none;
- }
-
- /* Inline code */
- .docs-main code {
- font-family: var(--font-mono);
- font-size: 0.855em;
- background: var(--bg-muted);
- color: var(--text);
- padding: 0.15em 0.4em;
- border-radius: 6px;
- }
-
- /* ---------- Figures ---------- */
-
- .doc-media-card {
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- overflow: hidden;
- margin: 24px 0;
- }
-
- .doc-media-card img {
- display: block;
- width: 100%;
- height: auto;
- background: var(--bg-subtle);
- }
-
- .doc-media-caption {
- padding: 10px 16px;
- border-top: 1px solid var(--border);
- background: var(--bg-subtle);
- font-size: 13px;
- line-height: 1.5;
- color: var(--text-muted);
- }
-
- /* ---------- Callouts ---------- */
-
- .callout {
- display: flex;
- align-items: flex-start;
- gap: 12px;
- margin: 24px 0;
- padding: 16px 20px;
- border: 1px solid var(--callout-border);
- border-radius: var(--radius-lg);
- background: var(--callout-bg);
- color: var(--callout-text);
- font-size: 14.5px;
- line-height: 1.6;
- }
-
- .callout .icon-lg {
- color: var(--text-muted);
- margin-top: 2px;
- }
-
- /* ---------- Cards grid ---------- */
-
- .approach-grid {
- display: grid;
- grid-template-columns: repeat(3, 1fr);
- gap: 12px;
- margin: 24px 0;
- }
-
- .approach-card {
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- padding: 18px 20px;
- transition: border-color 0.15s ease;
- }
-
- .approach-card:hover {
- border-color: var(--border-hover);
- }
-
- .approach-badge {
- display: inline-block;
- margin-bottom: 10px;
- padding: 2px 8px;
- border: 1px solid var(--border);
- border-radius: 999px;
- font-size: 11px;
- font-weight: 500;
- color: var(--text-subtle);
- }
-
- .approach-title {
- font-size: 15.5px;
- font-weight: 600;
- color: var(--text);
- margin-bottom: 6px;
- }
-
- .approach-desc {
- font-size: 13.5px;
- line-height: 1.6;
- color: var(--text-muted);
- }
-
- /* ---------- Tables ---------- */
-
- .doc-table-wrap {
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- overflow-x: auto;
- margin-bottom: 24px;
- background: var(--bg-card);
- }
-
- .doc-table {
- width: 100%;
- border-collapse: collapse;
- font-size: 14px;
- }
-
- .doc-table th {
- text-align: left;
- padding: 10px 16px;
- border-bottom: 1px solid var(--border);
- background: var(--bg-subtle);
- font-size: 13px;
- font-weight: 500;
- color: var(--text-muted);
- white-space: nowrap;
- }
-
- .doc-table td {
- padding: 12px 16px;
- border-bottom: 1px solid var(--border-subtle);
- color: var(--text);
- vertical-align: top;
- line-height: 1.55;
- }
-
- .doc-table tbody tr:last-child td {
- border-bottom: none;
- }
-
- /* ---------- Code blocks ---------- */
-
- .code-container {
- margin-bottom: 24px;
- border: 1px solid var(--code-border);
- border-radius: var(--radius-lg);
- overflow: hidden;
- background: var(--bg-code);
- }
-
- .code-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 12px;
- height: 44px;
- padding: 0 8px 0 16px;
- background: var(--code-header);
- border-bottom: 1px solid var(--code-border);
- }
-
- .code-header > span {
- font-family: var(--font-mono);
- font-size: 12.5px;
- color: #a1a1aa;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
-
- .btn-copy {
- display: inline-flex;
- align-items: center;
- gap: 6px;
- flex-shrink: 0;
- border: none;
- border-radius: 6px;
- padding: 5px 8px;
- background: transparent;
- color: #999999;
- font-size: 12px;
- transition: background 0.15s ease, color 0.15s ease;
- }
-
- .btn-copy:hover {
- background: rgba(255, 255, 255, 0.08);
- color: #ffffff;
- }
-
- .btn-copy.copied {
- color: #50e3c2;
- }
-
- .code-body pre {
- margin: 0;
- padding: 16px;
- overflow-x: auto;
- }
-
- .code-body code {
- font-family: var(--font-mono);
- font-size: 13px;
- line-height: 1.65;
- color: #ededed;
- background: transparent;
- padding: 0;
- border-radius: 0;
- white-space: pre;
- }
-
- .tok-c {
- color: #737373;
- }
-
- /* ---------- Prev / next pagination ---------- */
-
- .page-nav-grid {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 12px;
- margin-top: 48px;
- padding-top: 32px;
- border-top: 1px solid var(--border);
- }
-
- .page-nav-card {
- display: flex;
- flex-direction: column;
- gap: 2px;
- padding: 14px 16px;
- border: 1px solid var(--border);
- border-radius: var(--radius-md);
- transition: border-color 0.15s ease;
- }
-
- .page-nav-card:hover {
- border-color: var(--border-hover);
- }
-
- .page-nav-sub {
- font-size: 12px;
- color: var(--text-subtle);
- }
-
- .page-nav-title {
- display: flex;
- align-items: center;
- gap: 6px;
- font-size: 14px;
- font-weight: 600;
- color: var(--text);
- }
-
- /* ---------- Right TOC ---------- */
-
- .toc-title {
- display: flex;
- align-items: center;
- gap: 8px;
- margin-bottom: 10px;
- font-size: 13px;
- font-weight: 600;
- color: var(--text);
- }
-
- .toc-title .icon {
- display: none;
- }
-
- .toc-list {
- list-style: none;
- position: relative;
- margin-left: 2px;
- border-left: 1px solid var(--border);
- }
-
- .toc-link {
- display: block;
- position: relative;
- padding: 5px 0 5px 16px;
- font-size: 13px;
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .toc-link:hover {
- color: var(--text);
- }
-
- .toc-link.active {
- color: var(--text);
- font-weight: 500;
- }
-
- .toc-link.active::before {
- content: "";
- position: absolute;
- left: -1px;
- top: 6px;
- bottom: 6px;
- width: 2px;
- border-radius: 2px;
- background: var(--text);
- }
-
- .toc-community-box {
- margin-top: 20px;
- padding-top: 16px;
- border-top: 1px solid var(--border);
- display: flex;
- flex-direction: column;
- gap: 2px;
- }
-
- .toc-community-link {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 6px 0;
- font-size: 13px;
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .toc-community-link:hover {
- color: var(--text);
- }
-
- /* ---------- Search modal ---------- */
-
- .search-modal-backdrop {
- position: fixed;
- inset: 0;
- z-index: 100;
- display: flex;
- justify-content: center;
- align-items: flex-start;
- padding: 15vh 16px 16px;
- background: rgba(0, 0, 0, 0.55);
- opacity: 0;
- pointer-events: none;
- transition: opacity 0.15s ease;
- }
-
- .search-modal-backdrop.open {
- opacity: 1;
- pointer-events: auto;
- }
-
- .search-modal {
- width: 100%;
- max-width: 560px;
- background: var(--bg);
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- overflow: hidden;
- box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
- animation: search-modal-in 0.15s ease;
- }
-
- @keyframes search-modal-in {
- from {
- opacity: 0;
- transform: translateY(-6px) scale(0.98);
- }
- to {
- opacity: 1;
- transform: none;
- }
- }
-
- .search-input-wrap {
- display: flex;
- align-items: center;
- gap: 10px;
- height: 52px;
- padding: 0 16px;
- border-bottom: 1px solid var(--border);
- color: var(--text-subtle);
- }
-
- .search-modal-input {
- flex: 1;
- border: none;
- outline: none;
- background: transparent;
- font-family: var(--font-sans);
- font-size: 14.5px;
- color: var(--text);
- }
-
- .search-modal-input::placeholder {
- color: var(--text-subtle);
- }
-
- .search-results-list {
- list-style: none;
- max-height: 340px;
- overflow-y: auto;
- padding: 8px;
- }
-
- .search-result-item {
- display: flex;
- flex-direction: column;
- gap: 2px;
- padding: 10px 12px;
- border-radius: var(--radius-sm);
- cursor: pointer;
- }
-
- .search-result-item:hover {
- background: var(--bg-hover);
- }
-
- .search-result-title {
- font-size: 14px;
- font-weight: 500;
- color: var(--text);
- }
-
- .search-result-desc {
- font-size: 13px;
- color: var(--text-muted);
- }
-
- /* ---------- Changelog releases ---------- */
-
- .release-box {
- scroll-margin-top: calc(var(--header-total-h) + 24px);
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- background: var(--bg-card);
- padding: 24px;
- margin-bottom: 20px;
- }
-
- .release-header {
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- gap: 16px;
- padding-bottom: 16px;
- margin-bottom: 16px;
- border-bottom: 1px solid var(--border);
- }
-
- .release-tag-pill {
- display: inline-block;
- padding: 3px 10px;
- border-radius: 6px;
- background: var(--primary);
- color: var(--text-inverse);
- font-size: 12px;
- font-weight: 600;
- }
-
- .release-date {
- font-size: 13px;
- color: var(--text-subtle);
- }
-
- .release-title {
- font-size: 18px;
- font-weight: 600;
- letter-spacing: -0.01em;
- color: var(--text);
- margin-top: 6px;
- }
-
- .release-section {
- margin-bottom: 16px;
- }
-
- .release-section-title {
- display: flex;
- align-items: center;
- gap: 8px;
- font-size: 14px;
- font-weight: 600;
- color: var(--text);
- margin-bottom: 8px;
- }
-
- .release-section-title .icon {
- color: var(--text-subtle);
- }
-
- .release-list {
- list-style: none;
- display: flex;
- flex-direction: column;
- gap: 6px;
- }
-
- .release-list li {
- position: relative;
- padding-left: 18px;
- font-size: 14px;
- line-height: 1.6;
- color: var(--text-muted);
- }
-
- .release-list li::before {
- content: "";
- position: absolute;
- left: 2px;
- top: 0.62em;
- width: 5px;
- height: 5px;
- border-radius: 999px;
- background: var(--border-hover);
- }
-
- .release-list li strong {
- color: var(--text);
- }
-
- /* ---------- Responsive ---------- */
-
- @media (max-width: 1100px) {
- .docs-toc {
- display: none;
- }
- }
-
- @media (max-width: 768px) {
- .nav-links { display: none; }
- .brand-badge { display: none; }
- .mobile-sidebar-toggle { display: flex; }
- .search-trigger {
- flex: 1;
- min-width: 0;
- max-width: none;
- }
- .docs-layout {
- padding: 0;
- }
- .docs-sidebar {
- position: fixed;
- top: var(--header-total-h);
- left: 0;
- bottom: 0;
- width: 280px;
- height: auto;
- background: var(--bg);
- border-right: 1px solid var(--border);
- transform: translateX(-100%);
- transition: transform 0.2s ease;
- z-index: 40;
- padding: 20px 16px 32px 24px;
- }
- .docs-sidebar.open {
- transform: translateX(0);
- }
- .docs-main {
- max-width: none;
- padding: 28px 20px 72px;
- }
- .doc-h1 {
- font-size: 30px;
- }
- .approach-grid,
- .page-nav-grid {
- grid-template-columns: 1fr;
- }
- .release-header {
- flex-direction: column;
- }
- }
-
- @media (max-width: 640px) {
- .btn-top-download {
- display: none;
- }
- .search-kbd {
- display: none;
- }
- }
- </style>
-
-</head>
-<body>
-
- <!-- ==================== STICKY DOUBLE-ROW HEADER ==================== -->
- <header class="nav-header">
- <div class="nav-header-inner">
- <div class="brand-group">
- <button class="mobile-sidebar-toggle" id="mobileSidebarToggle" onclick="toggleMobileSidebar()" aria-label="Toggle navigation menu" title="Toggle menu">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <line x1="3" y1="12" x2="21" y2="12" />
- <line x1="3" y1="6" x2="21" y2="6" />
- <line x1="3" y1="18" x2="21" y2="18" />
- </svg>
- </button>
- <a href="../../" class="brand-logo-link" aria-label="LibreGet Home">
- <img src="../../static/favicon.png" alt="LibreGet Logo" />
- <span>LibreGet</span>
- </a>
- <span class="brand-badge">DOCS</span>
- </div>
-
- <div class="search-trigger" onclick="openSearchModal()">
- <span style="display: flex; align-items: center; gap: 8px;">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m21 21-4.34-4.34" />
- <circle cx="11" cy="11" r="8" /></svg>
- <span>Search docs...</span>
- </span>
- <kbd class="search-kbd">Ctrl K</kbd>
- </div>
-
- <nav class="nav-links">
- <a class="nav-link-item" href="../">Overview</a>
- <a class="nav-link-item" href="../installation/">Installation</a>
- <a class="nav-link-item" href="../courses/">Courses</a>
- <a class="nav-link-item" href="../nami/">Nami</a>
- <a class="nav-link-item" href="../mcp/">MCP & AI</a>
- <a class="nav-link-item" href="../troubleshooting/">Fixes</a>
- <a class="nav-link-item active" href="../changelog/">Changelog</a>
- </nav>
-
- <div class="nav-actions">
- <button class="theme-toggle-btn" onclick="toggleTheme()" aria-label="Toggle light and dark mode" title="Toggle theme">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="themeIconSun" style="display: none;"><circle cx="12" cy="12" r="4" />
- <path d="M12 2v2" />
- <path d="M12 20v2" />
- <path d="m4.93 4.93 1.41 1.41" />
- <path d="m17.66 17.66 1.41 1.41" />
- <path d="M2 12h2" />
- <path d="M20 12h2" />
- <path d="m6.34 17.66-1.41 1.41" />
- <path d="m19.07 4.93-1.41 1.41" /></svg>
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="themeIconMoon"><path d="M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401" /></svg>
- </button>
-
- <a class="btn-top-download" href="https://github.com/OpenSelena/libreget/releases/latest">
- <span>Get App</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14" />
- <path d="m12 5 7 7-7 7" /></svg>
- </a>
- </div>
- </div>
-
- <div class="nav-subtabs">
- <div class="nav-subtabs-inner" id="topSubtabs">
- <a href="../" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5" />
- <path d="M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09" />
- <path d="M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z" />
- <path d="M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05" /></svg>
- <span>Quickstart</span>
- </a>
- <a href="../installation/" class="subtab-item">
- <svg class="icon" 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>
- <span>Installation</span>
- </a>
- <a href="../mcp/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 20v2" />
- <path d="M12 2v2" />
- <path d="M17 20v2" />
- <path d="M17 2v2" />
- <path d="M2 12h2" />
- <path d="M2 17h2" />
- <path d="M2 7h2" />
- <path d="M20 12h2" />
- <path d="M20 17h2" />
- <path d="M20 7h2" />
- <path d="M7 20v2" />
- <path d="M7 2v2" />
- <rect x="4" y="4" width="16" height="16" rx="2" />
- <rect x="8" y="8" width="8" height="8" rx="1" /></svg>
- <span>MCP Server</span>
- </a>
- <a href="../courses/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z" />
- <path d="M22 10v6" />
- <path d="M6 12.5V16a6 3 0 0 0 12 0v-3.5" /></svg>
- <span>36 Course Platforms</span>
- </a>
- <a href="../nami/" class="subtab-item">
- <svg class="icon icon-fill" viewBox="0 0 24 24" fill="currentColor"><title>Instagram</title><path d="M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077"/></svg>
- <span>Nami</span>
- </a>
- <a href="../changelog/" class="subtab-item active">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 8v4l3 3" /><circle cx="12" cy="12" r="9" /></svg>
- <span>Changelog</span>
- </a>
- <a href="../troubleshooting/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z" /></svg>
- <span>Troubleshooting</span>
- </a>
- </div>
- </div>
- </header>
- <div class="mobile-sidebar-backdrop" id="mobileSidebarBackdrop" onclick="closeMobileSidebar()"></div>
-
- <!-- ==================== THREE-COLUMN LAYOUT ==================== -->
- <div class="docs-layout">
- <aside class="docs-sidebar">
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" 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" />
- <path d="m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z" /></svg>
- <span>Overview</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../" class="sidebar-link">
- <span>Quickstart Guide</span>
- <span class="sidebar-tag">Start</span>
- </a>
- </li>
- <li>
- <a href="../installation/" class="sidebar-link">
- <span>Installation Packages</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z" />
- <path d="M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12" />
- <path d="M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17" /></svg>
- <span>Core Engines</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../nami/" class="sidebar-link">
- <span>Nami Engine</span>
- <span class="sidebar-tag">Social</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5v16" />
- <path d="M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z" /></svg>
- <span>Courses &amp; Study</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../courses/" class="sidebar-link">
- <span>36 Course Platforms</span>
- <span class="sidebar-tag">v0.16.10</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 8v4l3 3" /><circle cx="12" cy="12" r="9" /></svg>
- <span>Changelog &amp; Releases</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../changelog/" class="sidebar-link active">
- <span>Dedicated Changelog</span>
- <span class="sidebar-tag">Latest</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z" />
- <path d="M20 2v4" />
- <path d="M22 4h-4" />
- <circle cx="4" cy="20" r="2" /></svg>
- <span>AI &amp; Agent Bridge</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../mcp/" class="sidebar-link">
- <span>MCP Server (127.0.0.1)</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z" /></svg>
- <span>System &amp; Fixes</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../troubleshooting/" class="sidebar-link">
- <span>Troubleshooting Hub</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" />
- <polyline points="15 3 21 3 21 9" />
- <line x1="10" y1="14" x2="21" y2="3" /></svg>
- <span>Community &amp; Source</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="https://github.com/OpenSelena/libreget" target="_blank" rel="noopener" class="sidebar-link">
- <span>GitHub Repository</span>
- <svg class="icon icon-xs" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="margin-left: auto; opacity: 0.5;"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" /><polyline points="15 3 21 3 21 9" /><line x1="10" y1="14" x2="21" y2="3" /></svg>
- </a>
- </li>
- <li>
- <a href="https://t.me/OpenSelena" target="_blank" rel="noopener" class="sidebar-link">
- <span>Telegram Community</span>
- <svg class="icon icon-xs" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="margin-left: auto; opacity: 0.5;"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" /><polyline points="15 3 21 3 21 9" /><line x1="10" y1="14" x2="21" y2="3" /></svg>
- </a>
- </li>
- </ul>
- </div>
- </aside>
-
- <main class="docs-main">
- <div class="breadcrumbs">
- <a href="../../">Home</a>
- <span class="breadcrumb-sep">/</span>
- <a href="../">Documentation</a>
- <span class="breadcrumb-sep">/</span>
- <span class="breadcrumb-current">Changelog &amp; Releases</span>
- </div>
-
-
- <h1 class="doc-h1" id="changelog">Release Notes &amp; Changelog</h1>
- <p class="doc-lead">
- Release notes, feature changes, and system patches for LibreGet. All desktop releases are signed, reproducible, and published with SHA-256 binary validation.
- </p>
-
- <!-- v0.16.10 Release -->
- <article class="release-box" id="v0-16-10">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="release-tag-pill">v0.16.10 Latest Stable</span>
- <span class="release-date">Released November 2026</span>
- </div>
- <h2 class="release-title">macOS POSIX Uninstallation &amp; Cross-Platform Process Lifecycle Sweep</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.16.10" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- What's New
- </h3>
- <ul class="release-list">
- <li><strong>POSIX Recursive macOS Uninstaller</strong>: Replaced legacy AppleScript Finder deletion with direct POSIX <code>remove_dir_all</code> and immutable flag unlocking (<code>chflags -R nouchg</code>), bypassing macOS TCC Automation prompts and resolving silent error <code>-1743</code>.</li>
- <li><strong>Cross-Platform Process Lifecycle Sweep</strong>: Added synchronous termination (<code>pkill -x OmniGet</code> on macOS, <code>taskkill /F /IM OmniGet.exe</code> on Windows) prior to data migration and bundle removal, unlocking SQLite WAL databases and freeing GUI resources.</li>
- <li><strong>User Applications Directory Detection</strong>: Added automatic detection and removal for user-installed bundles in <code>~/Applications/OmniGet.app</code> alongside root-level <code>/Applications/OmniGet.app</code>.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Fixes &amp; Tooling
- </h3>
- <ul class="release-list">
- <li><strong>Path Normalization with dirs Crate</strong>: Replaced raw environment variable string concatenations with robust <code>dirs::home_dir()</code> path resolution.</li>
- <li><strong>Atomic WAL Data Migration</strong>: Ensuring old processes exit before database copy operations prevents corrupt or partial WAL journal replication.</li>
- </ul>
- </div>
- </article>
-
- <!-- v0.16.9 Release -->
- <article class="release-box" id="v0-16-9">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="sidebar-tag">v0.16.9</span>
- <span class="release-date">Released November 2026</span>
- </div>
- <h2 class="release-title">Windows Legacy Uninstaller Path Correction &amp; Secondary Safety Sweep</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.16.9" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- What's New
- </h3>
- <ul class="release-list">
- <li><strong>Correct Windows Uninstaller Target Path</strong>: Fixed the NSIS pre-install hook to target <code>$LOCALAPPDATA\OmniGet\uninstall.exe</code> (Tauri's actual default install directory) and registry <code>UninstallString</code>, successfully triggering silent uninstallation.</li>
- <li><strong>Forced Artifact Wipe</strong>: Added explicit post-uninstall cleanup for leftover <code>%LOCALAPPDATA%\OmniGet</code> files, Desktop shortcuts, and Start Menu entries across both current user and machine profiles.</li>
- <li><strong>Desktop Runtime Safety Net</strong>: Integrated a Windows secondary cleanup pass into the Rust application bootstrap to silently purge legacy OmniGet directories and shortcuts if the installer hook was bypassed.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Fixes &amp; Tooling
- </h3>
- <ul class="release-list">
- <li><strong>Registry Uninstallation Sweep</strong>: Automatically removes obsolete <code>OmniGet</code> and <code>com.openselena.omniget</code> entries from the Windows Add/Remove Programs registry hives.</li>
- <li><strong>NSIS LogicLib Modernization</strong>: Migrated jump-based NSIS control flow to structured <code>LogicLib.nsh</code> blocks for rock-solid conditional verification.</li>
- </ul>
- </div>
- </article>
-
- <!-- v0.16.8 Release -->
- <article class="release-box" id="v0-16-8">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="sidebar-tag">v0.16.8</span>
- <span class="release-date">Released November 2026</span>
- </div>
- <h2 class="release-title">Multi-Platform Legacy App Migration &amp; Packaging Contracts</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.16.8" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- What's New
- </h3>
- <ul class="release-list">
- <li><strong>Universal Data Migration Engine</strong>: Zero-loss migration on first boot adopting SQLite database, WAL files, settings, active queues, and browser cookies from <code>com.openselena.omniget</code> to <code>com.openselena.libreget</code>.</li>
- <li><strong>Automated Legacy Uninstaller (Windows)</strong>: Built-in NSIS installer hook detects running OmniGet instances, safely terminates them, and triggers the silent uninstaller before deploying LibreGet.</li>
- <li><strong>Finder Trash Delegation (macOS)</strong>: Native AppleScript Finder integration automatically moves legacy <code>/Applications/OmniGet.app</code> to the Trash without requiring root privileges.</li>
- <li><strong>Native Package Supersession (Linux RPM &amp; DEB)</strong>: Full packaging contracts with RPM <code>Provides</code> &amp; <code>Obsoletes</code> and Debian <code>Provides</code>, <code>Replaces</code> &amp; <code>Conflicts</code> for clean package manager replacement via <code>dnf</code> and <code>apt</code>.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Fixes &amp; Tooling
- </h3>
- <ul class="release-list">
- <li><strong>Desktop Integration Cleanup</strong>: Linux post-migration cleanup unlinks orphaned <code>omniget.desktop</code> launchers and desktop shortcuts.</li>
- <li><strong>Installer Path Normalization</strong>: Windows NSIS uninstaller invocation uses unquoted <code>_?=</code> target path parameter to prevent child process detachment.</li>
- </ul>
- </div>
- </article>
-
- <!-- v0.16.7 Release -->
- <article class="release-box" id="v0-16-7">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="sidebar-tag">v0.16.7</span>
- <span class="release-date">Released November 2026</span>
- </div>
- <h2 class="release-title">Libre Ecosystem Rebrand, Automated Formatting Hooks &amp; Custom Subdomain</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.16.7" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- What's New
- </h3>
- <ul class="release-list">
- <li><strong>Complete Libre Rebrand</strong>: Unified naming across LibreGet, LibreGram, LibreGuard, and LibreBox with zero legacy namespace references across the entire codebase.</li>
- <li><strong>Automated Rust Quality Hooks</strong>: Integrated Git pre-commit and pre-push hooks ensuring Rust formatting invariants hold locally and in CI.</li>
- <li><strong>Official Subdomain Migration</strong>: Deployed official documentation and landing page suite to <code>libreget.asf.sale</code> with enforced TLS.</li>
- <li><strong>Hosted Weblate Integration</strong>: Connected the translation pipeline to <code>hosted.weblate.org/projects/libreget/frontend/</code> under GPL-3.0 Libre hosting.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Fixes &amp; Tooling
- </h3>
- <ul class="release-list">
- <li><strong>Storage &amp; Database Purge</strong>: Removed legacy fallback storage keys and migration shims in database, lifecycle, and frontend stores.</li>
- <li><strong>Project Privacy Flag</strong>: Configured <code>"private": true</code> in root <code>package.json</code> for clear desktop-only package boundary.</li>
- <li><strong>Documentation Suite Parity</strong>: Updated canonical URLs, sitemaps, and LLM text specs across all 7 documentation sections.</li>
- </ul>
- </div>
- </article>
-
- <!-- v0.16.6 Release -->
- <article class="release-box" id="v0-16-6">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="sidebar-tag">v0.16.6</span>
- <span class="release-date">Released November 2026</span>
- </div>
- <h2 class="release-title">Home Stage &amp; LibreBox V1, 4K &amp; 2K Quality Engine &amp; Global Download Dock</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.16.6" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- What's New
- </h3>
- <ul class="release-list">
- <li><strong>4K (2160p) &amp; 2K (1440p) Quality Engine</strong>: Added dedicated 4K and 2K resolution presets in the Home LibreBox popover (<code>Quality and more</code>) and Settings (<code>Quality &amp; format</code>), with upper-bound fallback selection (<code>height &lt;= H</code>) across Rust extractors (<code>vimeo.rs</code>, <code>twitch.rs</code>, <code>ytdlp.rs</code>).</li>
- <li><strong>V1 Home Stage &amp; LibreBox Geometry</strong>: Restored the Home input wrapper to a <code>16px</code> card radius with an integrated <code>8px</code> concentric <code>Paste</code> button pill, added circular <code>+</code> action popover (batch mode, local <code>.torrent</code>, file transfer, advanced), unified stage transitions, and 3-line media preview card with duration badges.</li>
- <li><strong>Global Download Dock (<code>GlobalDownloadBar.svelte</code>)</strong>: Introduced a persistent floating bottom dock across all application routes featuring real-time byte counters, ETA, dynamic 60-point SVG throughput sparkline, and consolidated status/speed filter controls in <code>/downloads</code>.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Fixes
- </h3>
- <ul class="release-list">
- <li><strong>Audio-Mode Queue Routing</strong>: Fixed job ingestion in <code>queue.rs</code> so that selecting <code>video_quality = "audio"</code> explicitly promotes the job to <code>download_mode = Some("audio")</code>, skipping video extraction and downloading native audio streams directly.</li>
- <li><strong>Svelte 5 Toolbar State Leak</strong>: Replaced <code>$state</code> with <code>$state.raw</code> and a monotonic <code>activeToken</code> in <code>toolbar-store.svelte.ts</code>, ensuring section-specific action buttons and tabs are cleanly destroyed upon navigating away.</li>
- <li><strong>Home Search Retention</strong>: Preserved top-right <code>.mac-search-field</code> (<code>Search Ctrl+K</code>) on Home while scoping section titles (e.g. <code>"Nami"</code>) on secondary routes.</li>
- <li><strong>Process &amp; Preview Stability</strong>: Configured <code>process_group(0)</code> with direct PID tree kill fallbacks for background extractors, restored Instagram photo thumbnails, and resolved infinite preview skeleton shimmer on Twitter/X.</li>
- <li><strong>Clippy Baseline Compliance</strong>: Replaced vector allocations with fixed stack arrays in platform test suites to pass GitHub Actions automated build gates across Linux, macOS, and Windows without baseline drift.</li>
- </ul>
- </div>
- </article>
-
- <!-- v0.16.5 Release -->
- <article class="release-box" id="v0-16-5">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="sidebar-tag">v0.16.5</span>
- <span class="release-date">Released November 2026</span>
- </div>
- <h2 class="release-title">Home Geometry &amp; Asset Alignment: Centered Titlebar, Concentric Pill LibreBox &amp; Lossless Mascot Frames</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.16.5" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Fixes
- </h3>
- <ul class="release-list">
- <li><strong>Shell &amp; Titlebar Alignment</strong>: Matched <code>.mac-titlebar</code> right inset and banner margins to <code>--pane-inset</code> so titlebar controls align vertically with the content pane center, and normalized the backend window title casing to <code>LibreGet</code>.</li>
- <li><strong>Lossless Mascot Framing</strong>: Normalized all 7 mascot PNGs onto a square <code>1320x1320</code> canvas with stripped edge halos, centered body anatomy, a shared baseline, square CSS sizing (<code>aspect-ratio: 1; object-fit: contain</code>), and an image load-race guard in <code>Mascot.svelte</code>.</li>
- <li><strong>Concentric Home Aura</strong>: Anchored the warm radial glow inside <code>.home-stage-hero</code> instead of the full scroll stage so it stays centered behind the mascot across all viewport heights.</li>
- <li><strong>LibreBox Pill &amp; Action Menu</strong>: Switched the Home LibreBox wrapper to full pill rounding (<code>9999px</code>), equalized the left <code>+</code>, clear, and paste endcap heights to <code>32px</code>, aligned the <code>+</code> popover flush with the left inset (<code>8px</code> gap), and added localized <code>librebox.more_actions</code> ARIA labels across all 12 locales.</li>
- </ul>
- </div>
- </article>
-
- <!-- v0.16.4 Release -->
- <article class="release-box" id="v0-16-4">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="sidebar-tag">v0.16.4</span>
- <span class="release-date">Released November 2026</span>
- </div>
- <h2 class="release-title">Home Stage Parity: 4K &amp; 2K Quality Selection, Video Mode &amp; Immediate Media Preview</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.16.4" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- What's New
- </h3>
- <ul class="release-list">
- <li><strong>4K (2160p) &amp; 2K (1440p) Quality Support</strong>: Added <code>4K (2160p)</code> and <code>2K (1440p)</code> resolution selection to both Home (inside <code>Quality and more</code>) and <code>Settings &gt; Downloads &gt; Quality &amp; format</code>. Selecting a higher quality on a lower-resolution video automatically falls back to the maximum available quality without failing.</li>
- <li><strong>Intuitive Mode Selector</strong>: Renamed the confusing <code>Auto</code> mode button to <code>Video</code> with a dedicated video icon, alongside <code>Audio Only (MP3)</code> and <code>No Sound</code>. Renamed <code>Options</code> to <code>Quality and more</code>.</li>
- <li><strong>Unified Centered Home Stage</strong>: Kept the single centered stage with the warm radial aura and 52px white pill input across idle, link checking, and detected states without jumping to a flat top bar.</li>
- <li><strong>Immediate Media Preview</strong>: Triggered metadata prefetching immediately upon pasting a link, briefly softening the mascot during checking and opening the inspector card already populated with the 3-line preview (Title, Author, Duration).</li>
- <li><strong>Post-Download Feedback</strong>: Centered an inline <code>Added to Downloads · Open Downloads</code> confirmation below the LibreBox with mascot celebration upon starting a download.</li>
- <li><strong>Global Download Dock Polish</strong>: Added ETA estimates (<code>About X left</code>), subtle rounded sparkline container, and updated button label to <code>View downloads</code>.</li>
- </ul>
- </div>
- </article>
-
- <!-- v0.16.3 Release -->
- <article class="release-box" id="v0-16-3">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="sidebar-tag">v0.16.3</span>
- <span class="release-date">Released November 2026</span>
- </div>
- <h2 class="release-title">V1 Shell Polish: Clean Home Stage, Sharp Mascot Inspection &amp; Route-Scoped Toolbar Cleanup</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.16.3" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Interface &amp; Shell Fixes
- </h3>
- <ul class="release-list">
- <li><strong>Route-Scoped Toolbar Cleanup</strong>: Switched <code>toolbar-store.svelte.ts</code> to <code>$state.raw</code> with a monotonic registration token so <code>Downloads | History | Tools</code> and <code>Installed | Browse</code> toolbar segments and action buttons clear immediately when leaving <code>/downloads</code> or <code>/marketplace</code>.</li>
- <li><strong>Minimal Home Stage</strong>: Removed the secondary hero subtitle copy on the idle Home stage while keeping the primary <code>Grab a link, get the file.</code> headline, LibreBox, and top-right <code>Search Ctrl+K</code> bar.</li>
- <li><strong>Sharp Mascot During Link Inspection</strong>: Removed the CSS filter blur on the Penguin mascot and speech bubble when pasting or inspecting media links on the Home screen.</li>
- </ul>
- </div>
- </article>
-
- <!-- v0.16.2 Release -->
- <article class="release-box" id="v0-16-2">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="sidebar-tag">v0.16.2</span>
- <span class="release-date">Released November 2026</span>
- </div>
- <h2 class="release-title">V1 UI Upgrade: LibreBox Action Popover, Clickable Paste Pill, Thumbnail Duration Badge &amp; Global Download Dock</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.16.2" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Interface &amp; Experience Upgrades
- </h3>
- <ul class="release-list">
- <li><strong>LibreBox Action Popover &amp; Paste Pill</strong>: Replaced the secondary link row with a circular <code>+</code> dropdown menu for batch URLs, <code>.torrent</code> files, P2P file sharing, and advanced options, alongside an interactive <code>Paste</code> button wired to the system clipboard.</li>
- <li><strong>Thumbnail Duration Overlay</strong>: Moved video duration to a bottom-right badge directly over the preview thumbnail and added subtle background mascot blur while inspecting links.</li>
- <li><strong>Global Floating Download Dock</strong>: Added a persistent bottom status bar outside the Downloads view displaying aggregate progress, byte counters, transfer speed, and a live 60-point SVG network throughput sparkline.</li>
- <li><strong>Downloads Toolbar Alignment</strong>: Aligned the segmented status filter pills and the download speed limit selector on a single horizontal header bar.</li>
- </ul>
- </div>
- </article>
-
- <!-- v0.16.1 Release -->
- <article class="release-box" id="v0-16-1">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="sidebar-tag">v0.16.1</span>
- <span class="release-date">Released November 2026</span>
- </div>
- <h2 class="release-title">Platform Media Stability Patch: Queue Kind Refinement, Thumbnail Resolution, Unix Process Group Termination &amp; CPU Throttling</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.16.1" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>
- Bug Fixes &amp; Stability Patches
- </h3>
- <ul class="release-list">
- <li><strong>Photo Post Media Kind Refinement</strong>: Corrected download queue kind categorization so photo and carousel items from Instagram and Twitter correctly display photo icons and card badges rather than defaulting to video.</li>
- <li><strong>Instagram Photo Post Thumbnails</strong>: Populated thumbnail URLs and extracted creator usernames for single-image and carousel posts in the native Instagram extractor.</li>
- <li><strong>Twitter / X Preview Shimmer Guard</strong>: Propagated high-resolution image URLs to thumbnail metadata and added a fallback container in the librebox preview to prevent infinite skeleton shimmer when thumbnails are unavailable.</li>
- <li><strong>Unix Process Group Termination</strong>: Assigned dedicated POSIX process groups (<code>process_group(0)</code>) to child engine processes in Nami and added direct PID termination fallback, ensuring the Stop button reliably kills background tasks.</li>
- <li><strong>CPU Usage Throttling</strong>: Capped yt-dlp concurrent fragment downloads to 4, constrained ffmpeg postprocessor threads to 2, and added debouncing to librebox metadata prefetching.</li>
- <li><strong>Threads Share URL Resolution</strong>: Followed HTTP 301/302 redirects on <code>threads.net/share/</code> and <code>threads.com/share/</code> tokens to canonical post URLs before ID extraction.</li>
- </ul>
- </div>
- </article>
-
- <!-- v0.16.0 Release -->
- <article class="release-box" id="v0-16-0">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="sidebar-tag">v0.16.0</span>
- <span class="release-date">Released November 2026</span>
- </div>
- <h2 class="release-title">Nami Core Overhaul: SQLite Media Ledger, History Grid, Incremental Creator Sync &amp; Zero-Extension Cookie Bridge</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.16.0" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Nami 2.0 Core Upgrades
- </h3>
- <ul class="release-list">
- <li><strong>SQLite Media Ledger</strong>: Replaced ephemeral in-memory state with an ACID-compliant WAL-mode SQLite database (<code>nami.db</code>) with automatic schema migration, tracking downloaded media IDs, profile URLs, file paths, byte sizes, and timestamps.</li>
- <li><strong>Interactive Download History Grid</strong>: Added dedicated 4th tab navigation ("History") featuring a responsive media card grid, real-time search, platform filtering, direct folder reveal, and 2-phase on-disk synchronization.</li>
- <li><strong>Incremental Creator Pull Engine</strong>: Upgraded <code>pull.rs</code> with an early-exit sliding window (<code>--abort &lt;N&gt;</code>) and humanized request jitter (1.2–2.8s), terminating historical crawls immediately once consecutive known posts are encountered.</li>
- <li><strong>Zero-Extension Browser Cookie Bridge</strong>: Added automatic cross-platform cookie extraction directly from system browsers (Firefox, Chrome, Edge, Brave, Chromium) supporting Chromium DPAPI/Secret Service/Keychain and Gecko SQLite decryption without requiring browser extensions.</li>
- <li><strong>TikTok Audio Safeguard</strong>: Injected <code>-o format=best</code> in gallery-dl dispatch arguments to ensure synchronized audio on all downloaded TikTok videos.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>
- Platform Extractors &amp; Downloader Fixes
- </h3>
- <ul class="release-list">
- <li><strong>TikTok &amp; Instagram Rich Metadata</strong>: Routed TikTok and Instagram post downloads through <code>yt-dlp</code> with platform referer headers, preserving original 1080p video streams, real post titles/captions, and high-resolution cover thumbnails.</li>
- <li><strong>YouTube Rate-Limit Evasion</strong>: Configured Chrome client impersonation and exponential backoff retry (<code>429:exp=5:30</code>) with automatic <code>bestvideo+bestaudio</code> stream muxing.</li>
- </ul>
- </div>
- </article>
-
- <!-- v0.15.1 Release -->
- <article class="release-box" id="v0-15-1">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="sidebar-tag">v0.15.1</span>
- <span class="release-date">Released November 2026</span>
- </div>
- <h2 class="release-title">Telegram 67-Command Backend, Localhost Media Streaming &amp; Course/Torrent Fixes</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.15.1" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Telegram Plugin
- </h3>
- <ul class="release-list">
- <li><strong>Full 67-Command Backend Parity</strong>: Implemented all 67 commands declared in <code>telegram-bridge.ts</code>, eliminating <code>ERR_PLUGIN_OUTDATED</code> errors across global search, channel management, and account settings.</li>
- <li><strong>Global Media Search</strong>: Added concurrent MTProto <code>messages.SearchGlobal</code> queries across Document, Video, Photo, Audio, and General filters with automatic in-memory <code>access_hash</code> caching.</li>
- <li><strong>Localhost Media Streaming</strong>: Added a tokenized <code>127.0.0.1</code> HTTP server supporting <code>206 Partial Content</code> (<code>Range: bytes=</code>) over 4 KB-aligned MTProto <code>upload.GetFile</code> chunks for instant in-app playback.</li>
- <li><strong>Channel Cloning &amp; Uploads</strong>: Added background batch forwarding (<code>telegram_clone_start</code>) with live progress events, direct user MTProto uploads, and Bot API uploads.</li>
- <li><strong>Chat, Message &amp; Account Management</strong>: Added message deletion, forwarding, caption editing, album expansion, participant listing, channel creation/renaming/deletion, pin/mute/archive/block/report controls, multi-account switching, session backups, and persistent bandwidth/performance state.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>
- Fixes
- </h3>
- <ul class="release-list">
- <li><strong>Kiwify Course Extraction</strong>: Preserved alphanumeric UUID course IDs in URL parsing and added support for nested module and video payload structures in the Kiwify member area API.</li>
- <li><strong>Hotmart Lesson Attachments (#157)</strong>: Restored attachment downloads by fetching complementary lesson files from the Hotmart <code>complementary-content</code> API endpoint.</li>
- <li><strong>Local <code>.torrent</code> File Paths (#158)</strong>: Resolved bare <code>.torrent</code> filenames and local paths against the configured output directory, working directory, and system Downloads folder before passing metainfo bytes to <code>librqbit</code>.</li>
- <li><strong>Built-in Plugin Loader</strong>: Synced statically compiled plugin versions in <code>installed.json</code> on startup and blocked remote registry overwrites on built-in plugins (<code>courses</code>, <code>telegram</code>, <code>convert</code>).</li>
- </ul>
- </div>
- </article>
-
- <!-- v0.15.0 Release -->
- <article class="release-box" id="v0-15-0">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="release-tag-pill">v0.15.0</span>
- <span class="release-date">Released November 2026</span>
- </div>
- <h2 class="release-title">Brand Redesign, Local-First Architecture &amp; CLI Dataset Archiving</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.15.0" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Branding &amp; Mascot
- </h3>
- <ul class="release-list">
- <li><strong>Trademark &amp; Mascot Resolution</strong>: Retired legacy mascot artwork to ensure clean trademark and copyright separation from the upstream author's proprietary assets.</li>
- <li><strong>New Mascot</strong>: Designed an original high-definition Penguin mascot from scratch across all 7 desktop states (Idle, Downloading, Queue, Stalled, Error, Complete, Amazed) and navigation tiles.</li>
- <li><strong>Independent Governance</strong>: Updated documentation and READMEs to reflect independent maintenance under GPL-3.0 with no upstream affiliation.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/></svg>
- Simplified Design &amp; Zero Telemetry
- </h3>
- <ul class="release-list">
- <li><strong>Legacy Chat Removal</strong>: Completely removed the legacy real-time chat system, MLS encryption, and audio crates (56,391 lines of code deleted across 92 Tauri IPC commands and 29 UI components).</li>
- <li><strong>Decoupled Relay Servers</strong>: Purged hardcoded third-party routing servers to enforce our local-first, zero-tracking policy. Users can configure custom self-hosted relays for P2P transfers.</li>
- <li><strong>League Companion Removal</strong>: Purged experimental League of Legends background daemon and companion views (21,739 lines deleted) to focus purely on high-performance downloading.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M4 17l6-6-6-6M12 19h8"/></svg>
- CLI Video Dataset Tools
- </h3>
- <ul class="release-list">
- <li><strong>Dataset Search</strong>: Added <code>libreget-cli search</code> to query YouTube across multi-lingual terms, duration limits, and keyword exclusions.</li>
- <li><strong>Resumable Archiving</strong>: Added <code>libreget-cli archive</code> with rate-limit backoff, automatic DASH video-only selection, and resumable session queues.</li>
- <li><strong>Container Flag Fix</strong>: Fixed <code>--format</code> handling so <code>mp4</code>, <code>mkv</code>, and <code>webm</code> specify the container format without overriding stream quality selections.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>
- Fixes &amp; Platform Improvements
- </h3>
- <ul class="release-list">
- <li><strong>Linux AppImage Isolation (#147)</strong>: Stripped AppImage <code>$APPDIR</code> from child process <code>LD_LIBRARY_PATH</code> to prevent host glibc symbol collisions.</li>
- <li><strong>CLI JSON Output (#154)</strong>: Serialized <code>libreget-cli --json</code> progress events as cleanly delimited, valid JSON lines.</li>
- <li><strong>Smart URL Parsing (#155)</strong>: Enhanced URL parser to extract valid links embedded in raw text shares.</li>
- <li><strong>Download Recency Sorting (#96)</strong>: Finished and failed download queues now sort newest-first.</li>
- <li><strong>Local Stream CSP (#119)</strong>: Adjusted Content Security Policy to allow localhost video stream playback and previews.</li>
- <li><strong>GStreamer Bundling (#97)</strong>: Bundled GStreamer libraries in Linux AppImages for reliable media previews.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>
- Translation &amp; Documentation
- </h3>
- <ul class="release-list">
- <li><strong>Simplified Chinese (#152)</strong>: Merged 2,621 community-translated strings, achieving 100% key parity (4,597 keys) with English.</li>
- <li><strong>Japanese Documentation (#141)</strong>: Added complete Japanese README (<code>README.ja.md</code>).</li>
- </ul>
- </div>
- </article>
-
- <!-- v0.14.3 Release -->
- <article class="release-box" id="v0-14-3">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="release-tag-pill">v0.14.3</span>
- <span class="release-date">Released November 2026</span>
- </div>
- <h2 class="release-title">CLI Output Formatting, AppImage Library Isolation &amp; Localization Expansion</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.14.3" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M4 17l6-6-6-6M12 19h8"/></svg>
- CLI &amp; Core Engine Fixes
- </h3>
- <ul class="release-list">
- <li>Fixed CLI progress event serialization so <code>libreget-cli --json</code> emits cleanly delimited, standard JSON objects (#154).</li>
- <li>Sanitized child process execution under Linux AppImages by purging bundled <code>$APPDIR</code> entries from <code>LD_LIBRARY_PATH</code> (#147).</li>
- <li>Enhanced URL parser across both the LibreBox and CLI to reliably extract links embedded inside raw shared text strings (#155).</li>
- <li>Updated finished and failed download queues to sort by recency (newest-first) instead of initial entry order (#96).</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>
- Localization &amp; Documentation
- </h3>
- <ul class="release-list">
- <li>Achieved full key parity for Simplified Chinese (<code>zh-CN</code>) across all user interface and error dialog strings (#152).</li>
- <li>Added complete Japanese README documentation (<code>README.ja.md</code>) for native onboarding (#141).</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Visual Branding &amp; Attribution
- </h3>
- <ul class="release-list">
- <li>Updated documentation and repository hero screenshots reflecting the refined light-theme penguin interface.</li>
- <li>Synchronized prominent independent fork disclaimer across all README translations and public documentation pages.</li>
- </ul>
- </div>
- </article>
-
- <!-- v0.14.2 Release -->
- <article class="release-box" id="v0-14-2">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="release-tag-pill">v0.14.2</span>
- <span class="release-date">Released November 2026</span>
- </div>
- <h2 class="release-title">Penguin Artwork Refresh, Video Dataset CLI &amp; Architecture Cleanups</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.14.2" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Visual Refresh &amp; Art Assets
- </h3>
- <ul class="release-list">
- <li>Refreshed README hero banner with fixed high-definition Yoinks penguin render.</li>
- <li>Completed app icon and asset migration across desktop and browser companion packages.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M4 17l6-6-6-6M12 19h8"/></svg>
- CLI Video Dataset &amp; Archive Commands
- </h3>
- <ul class="release-list">
- <li>Added <code>libreget-cli search</code> to query YouTube across multi-lingual search terms with duration and keyword filtering.</li>
- <li>Added <code>libreget-cli archive</code> to stream, download, and archive datasets with rate-limit backoff and automatic session resume.</li>
- <li>Fixed CLI <code>--format</code> container parsing so container specifications (mp4, mkv, webm) preserve stream selectors.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"/></svg>
- Architecture &amp; Debranding Cleanups
- </h3>
- <ul class="release-list">
- <li>Removed deprecated migration shims and legacy bundle identifier mappings.</li>
- <li>Ensured clean build configs across Linux, Windows, and macOS targets.</li>
- </ul>
- </div>
- </article>
-
- <!-- v0.14.1 Release -->
- <article class="release-box" id="v0-14-1">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="release-tag-pill">v0.14.1 Test Release</span>
- <span class="release-date">Released November 2026</span>
- </div>
- <h2 class="release-title">Yoinks Penguin Visual Asset Integration &amp; Brand Refresh</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.14.1" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Yoinks Penguin Visual Assets
- </h3>
- <ul class="release-list">
- <li>Replaced legacy MosCat mascot states with high-DPI Yoinks penguin character states (idle, downloading, queue, stalled, error, complete, amazed).</li>
- <li>Deployed 384x384 SVG navigation and settings illustration tiles across the desktop interface.</li>
- <li>Updated multi-platform application icons across Linux, Windows, macOS, iOS, and Android.</li>
- <li>Refreshed Chrome and Firefox browser extension icon suites.</li>
- <li>Updated brand Loop ring and favicon assets.</li>
- </ul>
- </div>
- </article>
-
- <!-- v0.14.0 Release -->
- <article class="release-box" id="v0-14-0">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="sidebar-tag">v0.14.0</span>
- <span class="release-date">Released October 2026</span>
- </div>
- <h2 class="release-title">Offline Study Module, BitTorrent Telemetry &amp; Course Platform Upgrades</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.14.0" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"/><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"/></svg>
- Offline Study Module (libreget-plugin-study)
- </h3>
- <ul class="release-list">
- <li>Introduced the native offline study plugin backed by local SQLite storage for structured learning.</li>
- <li>Automatic course filesystem scanning and metadata indexing across downloaded curricula.</li>
- <li>Per-lesson completion progress tracking with durable local database state.</li>
- <li>Feature-flag controlled frontend views for course navigation and curriculum inspection.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>
- BitTorrent 99% Completion Stall Fix &amp; Telemetry
- </h3>
- <ul class="release-list">
- <li>Fixed BitTorrent downloads hanging indefinitely at 99% during final piece verification and hash checking.</li>
- <li>Enforced deterministic endgame completion transition to 100% once all verified blocks finish writing.</li>
- <li>Added dynamic download speed reporting (bps / MB/s) to the torrent progress bar.</li>
- <li>Added real-time remaining bytes and pending data counters to the torrent telemetry UI.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polygon points="12 2 2 7 12 12 22 7 12 2"/><polyline points="2 17 12 22 22 17"/><polyline points="2 12 12 17 22 12"/></svg>
- Course Platform Extractor Upgrades (Skool &amp; Udemy)
- </h3>
- <ul class="release-list">
- <li>Fixed Skool course lesson extraction failing due to Next.js build ID mismatches and route token changes (#94).</li>
- <li>Handled empty courses and zero-item module structures gracefully in the Udemy platform extractor (#72).</li>
- <li>Hardened yt-dlp parameter construction against CLI argument injection vulnerabilities.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>
- System Tray &amp; Open Nami Localization
- </h3>
- <ul class="release-list">
- <li>Added full localization for Open Nami across all supported locale dictionaries (#71).</li>
- <li>Added system tray context menu translation support and fixed tray tooltip string formatting (#70).</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>
- Dependency Updates &amp; Toolchain
- </h3>
- <ul class="release-list">
- <li>Upgraded TypeScript to 5.9.3, hls.js to 1.7.3, and Tauri plugins to latest stable releases.</li>
- <li>Resolved all unit and end-to-end documentation test suites with 100% pass rate.</li>
- </ul>
- </div>
- </article>
-
- <!-- v0.13.0 Release -->
- <article class="release-box" id="v0-13-0">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="sidebar-tag">v0.13.0</span>
- <span class="release-date">Released October 2026</span>
- </div>
- <h2 class="release-title">YouTube Stream Muxing, FFmpeg Auto-Download &amp; MosCat Navigation</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.13.0" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polygon points="23 7 16 12 23 17 23 7"/><rect x="1" y="5" width="15" height="14" rx="2" ry="2"/></svg>
- YouTube Stream Muxing &amp; FFmpeg Auto-Download (Fixes #54)
- </h3>
- <ul class="release-list">
- <li>Fixed video-only downloads on 1080p, 1440p, and 4K YouTube videos where separate adaptive streams were not muxed together.</li>
- <li>LibreGet now verifies FFmpeg presence before downloading. If missing, FFmpeg is automatically downloaded and unpacked to cache before starting yt-dlp.</li>
- <li>Added <code>--merge-output-format mp4</code> to combine separate audio and video streams into standard MP4 files.</li>
- <li>Added fallback search paths for macOS and Linux desktop launchers (<code>/opt/homebrew/bin</code>, <code>/usr/local/bin</code>, <code>/usr/bin</code>, <code>/bin</code>).</li>
- <li>Signed extracted cache binaries on macOS using ad-hoc code signatures (<code>codesign -s - -f</code>) to prevent Apple Mobile File Integrity (AMFI) <code>SIGKILL</code> kills.</li>
- <li>Fixed relative path resolution in <code>find_ffmpeg_location()</code> when returning bare filenames.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"/></svg>
- Settings UI Polish &amp; MosCat Navigation Icons
- </h3>
- <ul class="release-list">
- <li>Added dedicated descriptive headers for each Settings view tab (General, Downloader, Network, Appearance, and Advanced).</li>
- <li>Replaced generic sidebar icons with customized MosCat SVG navigation assets for Home, Downloads, Marketplace, Tools, Nami, and Convert.</li>
- <li>Added localized Settings header translation strings across all 12 supported locales.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg>
- Facebook Extractor Backslash Decoding Fix
- </h3>
- <ul class="release-list">
- <li>Replaced fragile <code>JSON.parse</code> decoding in <code>decodeEscapedUrl()</code> with direct regex unescaping, preventing crashes on backslashes and properly resolving Unicode escaped sequences.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>
- Security Audits &amp; Dependency Updates
- </h3>
- <ul class="release-list">
- <li>Bumped Svelte to 5.57.2 and Vite to 6.4.4.</li>
- <li>Enforced <code>devalue &gt;= 5.9.4</code> and <code>markdown-it &gt;= 15.0.3</code> via package overrides.</li>
- <li>Updated <code>@types/node</code> to 26.6.5 and <code>@fontsource/dm-sans</code> to 5.3.0.</li>
- <li>Achieved 0 open Dependabot alerts and 0 CodeQL security alerts across the codebase.</li>
- </ul>
- </div>
- </article>
-
- <!-- v0.12.2 Release -->
- <article class="release-box" id="v0-12-2">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="sidebar-tag">v0.12.2</span>
- <span class="release-date">Released October 2026</span>
- </div>
- <h2 class="release-title">Telegram Core Sync, Cross-DC Bot Avatars &amp; Full 12-Locale Parity</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.12.2" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>
- Telegram Plugin Command Handlers &amp; Error Prevention
- </h3>
- <ul class="release-list">
- <li>Registered all missing plugin command handlers for <code>telegram_list_participants</code>, account switcher operations, and channel cloner sessions, completely eliminating <code>ERR_PLUGIN_OUTDATED</code> warning alerts.</li>
- <li>Added safe fallback error handling in the Channel Drawer members tab, Account Panel, and Clone Wizard to handle restricted channels smoothly.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>
- Live Channel Dialog Synchronization &amp; Reactive UI Refresh
- </h3>
- <ul class="release-list">
- <li>Connected <code>telegram_sync_now</code> to fetch live dialogs and return real synchronized channel counts rather than a zero stub.</li>
- <li>Dispatched an automatic <code>telegram:chats:refresh</code> event on sync completion so the chat list updates immediately without requiring a page reload.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/><circle cx="8.5" cy="7" r="4"/><line x1="20" y1="8" x2="20" y2="14"/><line x1="23" y1="11" x2="17" y2="11"/></svg>
- Cross-DC Bot Profile Photos &amp; Channel Drawer Avatar
- </h3>
- <ul class="release-list">
- <li>Resolved Telegram MTProto cross-DC migration (error 303 <code>FILE_MIGRATE</code>) by streaming avatar downloads via native client iteration with automated multi-DC routing.</li>
- <li>Added fallback to <code>users.GetFullUser</code> for bot profiles to reliably acquire photo IDs.</li>
- <li>Rendered circular chat photos in the Channel Drawer header with graceful initial letter fallbacks.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>
- 100% Complete 12-Locale Localization &amp; Invariant Guard
- </h3>
- <ul class="release-list">
- <li>Localized the channel management button across all 12 supported locales, replacing hardcoded Portuguese with reactive translation keys.</li>
- <li>Enforced 100% dictionary key parity (7,444 keys) and strict automated invariant tests banning untranslated strings.</li>
- </ul>
- </div>
- </article>
-
- <!-- v0.12.1 Release -->
- <article class="release-box" id="v0-12-1">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="sidebar-tag">v0.12.1</span>
- <span class="release-date">Released October 2026</span>
- </div>
- <h2 class="release-title">Global Update Notification Banner &amp; Dependencies Table Alignment</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.12.1" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" /><polyline points="15 3 21 3 21 9" /><line x1="10" y1="14" x2="21" y2="3" /></svg>
- Global App Update Notification System
- </h3>
- <ul class="release-list">
- <li>Added a persistent yet dismissible top update banner across all views, ensuring newly available releases are immediately noticeable without opening Settings.</li>
- <li>Added a live accent-colored <code>UPDATE</code> indicator badge on the Settings sidebar navigation item.</li>
- <li>Centralized update state and action orchestration across the entire desktop application shell.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>
- Dependencies Management UI &amp; Version Sanitization
- </h3>
- <ul class="release-list">
- <li>Resolved PDFium version marker parsing defect in the core engine, extracting clean build numbers (e.g. <code>v8076</code>) from upstream key-value lines.</li>
- <li>Eliminated action button line wrapping on dependency rows with fixed table layouts and compact dropdown selections.</li>
- <li>Ensured consistent vertical and horizontal alignment across PDFium, yt-dlp, and FFmpeg rows.</li>
- </ul>
- </div>
- </article>
-
- <!-- v0.12.0 Release -->
- <article class="release-box" id="v0-12-0">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="sidebar-tag">v0.12.0</span>
- <span class="release-date">Released October 2026</span>
- </div>
- <h2 class="release-title">Telegram API Credentials, Official Community Migration &amp; CSP Star Badge Fix</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.12.0" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" /><polyline points="15 3 21 3 21 9" /><line x1="10" y1="14" x2="21" y2="3" /></svg>
- Telegram Client API Credentials &amp; Handshake
- </h3>
- <ul class="release-list">
- <li>Updated embedded Telegram downloader plugin to official Open Selena application credentials.</li>
- <li>Replaced legacy credentials across MTProto sender pool connection, QR login authorization, and SMS code verification flows.</li>
- <li>Enhanced authentication reliability for multi-datacenter media fetching and channel archive synchronization.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M23 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/></svg>
- Official Community Migration &amp; UI Polish
- </h3>
- <ul class="release-list">
- <li>Migrated community links on About Overview from Discord to official Telegram community channel (<code>https://t.me/OpenSelena</code>).</li>
- <li>Added dedicated Telegram paper-plane vector glyph with theme-consistent fill and stroke.</li>
- <li>Wired external link activations through Tauri shell plugin handler for desktop system browser execution.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>
- Content Security Policy &amp; Star Badge Restoration
- </h3>
- <ul class="release-list">
- <li>Extended webview Content Security Policy with <code>frame-src 'self' https://ghbtns.com;</code> to unblock GitHub star badge widgets.</li>
- <li>Eliminated placeholder gray box on About Project view while preserving strict script and asset security directives.</li>
- </ul>
- </div>
- </article>
-
- <!-- v0.11.0 Release -->
- <article class="release-box" id="v0-11-0">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="sidebar-tag">v0.11.0</span>
- <span class="release-date">Released October 2026</span>
- </div>
- <h2 class="release-title">36 Course Platforms Wired, Security Hardening &amp; Metadata Polish</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.11.0" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="2" y="7" width="20" height="14" rx="2" ry="2"/><path d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"/></svg>
- 36 Course Platforms Wired &amp; Platform Dispatcher
- </h3>
- <ul class="release-list">
- <li>Connected all 36 learning platforms to the primary <code>download_course_platform</code> dispatcher for course extraction.</li>
- <li>Added native authentication and Udemy course listing handlers inside the embedded <code>CoursesPlugin</code>.</li>
- <li>Injected Tauri <code>AppHandle</code> into the embedded plugin for background downloads, queue sync, and notifications.</li>
- <li>Resolved zero-course listing fallback and improved session handling for Udemy and Hotmart.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>
- Security Hardening &amp; Protocol Isolation
- </h3>
- <ul class="release-list">
- <li>Enforced strict non-null Content Security Policy (CSP) across all Tauri webview windows.</li>
- <li>Restricted custom asset protocol (<code>asset://</code>) access strictly to app data, user download, and system temp directories.</li>
- <li>Scoped <code>shell:allow-open</code> permissions to safe web and email protocols (<code>https:</code>, <code>http:</code>, <code>mailto:</code>).</li>
- <li>Enforced strict <code>0600</code> POSIX file permissions on cached authentication tokens and credentials on disk.</li>
- <li>Sanitized cookie and authorization headers against CRLF and control character injection attacks.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>
- UI Polish &amp; Metadata Standardization
- </h3>
- <ul class="release-list">
- <li>Standardized Windows executable and installer metadata: product name is <strong>LibreGet</strong> and publisher is <strong>OpenSelena</strong>.</li>
- <li>Dynamic version resolution in the About dialog directly from the Tauri runtime.</li>
- <li>Cleaned footer credits and standardized tab titles and terminology across all 12 localized languages.</li>
- <li>Prevented heap out-of-memory errors during frontend bundling by allocating 4GB memory to the build process.</li>
- </ul>
- </div>
- </article>
-
- <!-- v0.10.5 Release -->
- <article class="release-box" id="v0-10-5">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="sidebar-tag" style="background: var(--bg-muted); color: var(--text); font-weight: 700; padding: 3px 8px; border-radius: 6px;">v0.10.5</span>
- <span class="release-date">Released October 2026</span>
- </div>
- <h2 class="release-title">Telegram LibreGram Directory Isolation &amp; Statically Embedded Plugins</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.10.5" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M22 2L11 13"/><polygon points="22 2 15 22 11 13 2 9 22 2"/></svg>
- Telegram &amp; LibreGram Directory Isolation
- </h3>
- <ul class="release-list">
- <li>Media files from Telegram channels now automatically organize into dedicated <code>LibreGram/{channel_name}/</code> subfolders.</li>
- <li>Added OS-safe folder name sanitization for Windows, macOS, and Linux to prevent illegal filesystem characters.</li>
- <li>Automatic folder reuse on subsequent downloads prevents redundant duplicate directory trees.</li>
- <li>Fixed <code>DC_ID_INVALID</code> handshake error when pulling large files from Telegram home servers.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="2" y="7" width="20" height="14" rx="2" ry="2"/><path d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"/></svg>
- Statically Embedded Core Plugins
- </h3>
- <ul class="release-list">
- <li>The <code>convert</code>, <code>courses</code>, and <code>telegram</code> plugins are now statically compiled into the primary desktop binary.</li>
- <li>Eliminated dynamic library loading errors and duplicate symbol collisions across operating system architectures.</li>
- <li>Repointed plugin registry and repository endpoints to official OpenSelena URLs.</li>
- <li>Fixed Kajabi login token signature handling and Windows WebView2 COM <code>PWSTR</code> type compatibility.</li>
- </ul>
- </div>
-
- <div class="release-section">
- <h3 class="release-section-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>
- Linux Bridge &amp; Full Localization
- </h3>
- <ul class="release-list">
- <li>Resolved WebKitGTK local media streaming and session token pre-authentication on Linux desktops.</li>
- <li>Configured system GStreamer plugin search paths inside AppImage builds to support hardware video decoding.</li>
- <li>Completed full Russian (Русский) UI translation across all application dialogs and views.</li>
- </ul>
- </div>
- </article>
-
- <!-- v0.10.4 Release -->
- <article class="release-box" id="v0-10-4">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="sidebar-tag" style="background: var(--bg-muted); color: var(--text); font-weight: 700; padding: 3px 8px; border-radius: 6px;">v0.10.4</span>
- <span class="release-date">Released October 2026</span>
- </div>
- <h2 class="release-title">Plugin Command Signatures &amp; Telegram Sync Handlers</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.10.4" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
- <ul class="release-list">
- <li>Registered missing login command signatures across course provider authentication routines.</li>
- <li>Registered background performance monitoring and real-time sync event handlers in Telegram downloader plugin.</li>
- </ul>
- </article>
-
- <!-- v0.10.3 Release -->
- <article class="release-box" id="v0-10-3">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="sidebar-tag" style="background: var(--bg-muted); color: var(--text); font-weight: 700; padding: 3px 8px; border-radius: 6px;">v0.10.3</span>
- <span class="release-date">Released September 2026</span>
- </div>
- <h2 class="release-title">Telegram Datacenter Handshake Fix</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.10.3" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
- <ul class="release-list">
- <li>Fixed persistent download interruptions and handshake resets (<code>DC_ID_INVALID</code>) when pulling large media files from Telegram home servers.</li>
- </ul>
- </article>
-
- <!-- v0.10.2 Release -->
- <article class="release-box" id="v0-10-2">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="sidebar-tag" style="background: var(--bg-muted); color: var(--text); font-weight: 700; padding: 3px 8px; border-radius: 6px;">v0.10.2</span>
- <span class="release-date">Released September 2026</span>
- </div>
- <h2 class="release-title">Windows Core &amp; WebView2 COM Type Alignment</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.10.2" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
- <ul class="release-list">
- <li>Aligned <code>windows-core</code> dependencies to 0.61 across Rust crates, resolving <code>webview2-com</code> <code>PWSTR</code> type conflicts on Windows 10/11 runners.</li>
- <li>Locked Tauri minor crate versions in <code>Cargo.lock</code> to ensure reproducible offline builds.</li>
- </ul>
- </article>
-
- <!-- v0.10.1 Release -->
- <article class="release-box" id="v0-10-1">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="sidebar-tag" style="background: var(--bg-muted); color: var(--text); font-weight: 700; padding: 3px 8px; border-radius: 6px;">v0.10.1</span>
- <span class="release-date">Released September 2026</span>
- </div>
- <h2 class="release-title">OpenSelena Marketplace &amp; Registry Migration</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.10.1" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
- <ul class="release-list">
- <li>Migrated plugin marketplace discovery endpoints to the official OpenSelena ecosystem.</li>
- <li>Updated community support channels to the verified Telegram public group.</li>
- </ul>
- </article>
-
- <!-- v0.10.0 Release -->
- <article class="release-box" id="v0-10-0">
- <div class="release-header">
- <div>
- <div style="display: flex; align-items: center; gap: 8px;">
- <span class="sidebar-tag" style="background: var(--bg-muted); color: var(--text); font-weight: 700; padding: 3px 8px; border-radius: 6px;">v0.10.0</span>
- <span class="release-date">Released September 2026</span>
- </div>
- <h2 class="release-title">LibreGet v0.10 Milestone Release</h2>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.10.0" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>GitHub Tag</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
- <ul class="release-list">
- <li><strong>Integrated 36 Course Platforms:</strong> Study dashboard for Hotmart, Udemy, Kajabi, Rocketseat, and Kiwify.</li>
- <li><strong>Local MCP Server:</strong> Server on <code>127.0.0.1</code> exposing 37 tools over <code>POST /mcp</code>, with a per-install bearer token.</li>
- <li><strong>Zero-Install Portable USB Mode:</strong> Sandbox isolation when placing a <code>portable.txt</code> flag file beside the binary.</li>
- <li><strong>158 Tools in 25 Categories:</strong> Video converters, format transcoders, audio extractors, and thumbnail generators.</li>
- </ul>
- </article>
-
-
- <div class="page-nav-grid">
- <a href="../troubleshooting/" class="page-nav-card">
- <span class="page-nav-sub">Previous Guide</span>
- <span class="page-nav-title">
- <span>&larr; System Troubleshooting &amp; Fixes</span>
- </span>
- </a>
- <a href="../" class="page-nav-card" style="text-align: right;">
- <span class="page-nav-sub">Next Guide</span>
- <span class="page-nav-title" style="justify-content: flex-end; gap: 8px;">
- <span>Quickstart Guide &rarr;</span>
- </span>
- </a>
- </div>
-
- </main>
-
- <aside class="docs-toc">
- <div class="toc-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 5h.01" />
- <path d="M3 12h.01" />
- <path d="M3 19h.01" />
- <path d="M8 5h13" />
- <path d="M8 12h13" />
- <path d="M8 19h13" /></svg>
- <span>On this page</span>
- </div>
- <ul class="toc-list" id="tocList">
- <li><a href="#v0-16-10" class="toc-link">v0.16.10 (Latest Stable)</a></li>
- <li><a href="#v0-16-9" class="toc-link">v0.16.9</a></li>
- <li><a href="#v0-16-8" class="toc-link">v0.16.8</a></li>
- <li><a href="#v0-16-7" class="toc-link">v0.16.7</a></li>
- <li><a href="#v0-16-6" class="toc-link">v0.16.6</a></li>
- <li><a href="#v0-16-5" class="toc-link">v0.16.5</a></li>
- <li><a href="#v0-16-4" class="toc-link">v0.16.4</a></li>
- <li><a href="#v0-16-3" class="toc-link">v0.16.3</a></li>
- <li><a href="#v0-16-2" class="toc-link">v0.16.2</a></li>
- <li><a href="#v0-16-1" class="toc-link">v0.16.1</a></li>
- <li><a href="#v0-16-0" class="toc-link">v0.16.0</a></li>
- <li><a href="#v0-15-1" class="toc-link">v0.15.1</a></li>
- <li><a href="#v0-15-0" class="toc-link">v0.15.0</a></li>
- <li><a href="#v0-14-3" class="toc-link">v0.14.3</a></li>
- <li><a href="#v0-14-2" class="toc-link">v0.14.2</a></li>
- <li><a href="#v0-14-1" class="toc-link">v0.14.1</a></li>
- <li><a href="#v0-14-0" class="toc-link">v0.14.0</a></li>
- <li><a href="#v0-13-0" class="toc-link">v0.13.0</a></li>
- <li><a href="#v0-12-2" class="toc-link">v0.12.2</a></li>
- <li><a href="#v0-12-1" class="toc-link">v0.12.1</a></li>
- <li><a href="#v0-12-0" class="toc-link">v0.12.0</a></li>
- <li><a href="#v0-11-0" class="toc-link">v0.11.0</a></li>
- <li><a href="#v0-10-5" class="toc-link">v0.10.5</a></li>
- <li><a href="#v0-10-4" class="toc-link">v0.10.4</a></li>
- <li><a href="#v0-10-3" class="toc-link">v0.10.3</a></li>
- <li><a href="#v0-10-2" class="toc-link">v0.10.2</a></li>
- <li><a href="#v0-10-1" class="toc-link">v0.10.1</a></li>
- <li><a href="#v0-10-0" class="toc-link">v0.10.0 Milestone</a></li>
- </ul>
-
- <div class="toc-community-box">
- <a href="https://github.com/OpenSelena/libreget" class="toc-community-link" target="_blank" rel="noopener">
- <svg class="icon icon-fill icon-sm" viewBox="0 0 24 24" fill="currentColor"><title>GitHub</title><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-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>
- <span>Edit page on GitHub</span>
- </a>
- <a href="https://t.me/OpenSelena" class="toc-community-link" target="_blank" rel="noopener">
- <svg class="icon icon-fill icon-sm" viewBox="0 0 24 24" fill="currentColor"><title>Telegram</title><path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"/></svg>
- <span>Ask in Telegram</span>
- </a>
- </div>
- </aside>
- </div>
-
- <!-- SEARCH MODAL -->
- <div class="search-modal-backdrop" id="searchBackdrop" onclick="closeSearchModal(event)">
- <div class="search-modal" onclick="event.stopPropagation()">
- <div class="search-input-wrap">
- <svg class="icon icon-lg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m21 21-4.34-4.34" />
- <circle cx="11" cy="11" r="8" /></svg>
- <input type="text" class="search-modal-input" id="searchInput" placeholder="Search documentation..." autocomplete="off" />
- </div>
- <ul class="search-results-list" id="searchResults">
- <li class="search-result-item" onclick="location.href='../'">
- <span class="search-result-title">Quickstart Guide</span>
- <span class="search-result-desc">Three modes: Visual desktop app, local MCP, and portable mode</span>
- </li>
- <li class="search-result-item" onclick="location.href='../installation/'">
- <span class="search-result-title">Installation &amp; OS Binaries</span>
- <span class="search-result-desc">Windows, macOS Apple Silicon, and Linux packages</span>
- </li>
- <li class="search-result-item" onclick="location.href='../mcp/'">
- <span class="search-result-title">Model Context Protocol (MCP) Server</span>
- <span class="search-result-desc">Local AI agent tools for Claude Code, Cursor, and VS Code</span>
- </li>
- <li class="search-result-item" onclick="location.href='../courses/'">
- <span class="search-result-title">36 Online Course Platforms</span>
- <span class="search-result-desc">Hotmart, Udemy, Rocketseat, Kajabi, and Kiwify integration</span>
- </li>
- <li class="search-result-item" onclick="location.href='../nami/'">
- <span class="search-result-title">Nami Social Archiver</span>
- <span class="search-result-desc">Bulk Instagram, TikTok, and X profile downloader</span>
- </li>
- <li class="search-result-item" onclick="location.href='../troubleshooting/'">
- <span class="search-result-title">System Troubleshooting</span>
- <span class="search-result-desc">macOS Gatekeeper, Linux WebKitGTK, and diagnostic logs</span>
- </li>
- <li class="search-result-item" onclick="location.href='../#privacy'">
- <span class="search-result-title">Privacy Policy &amp; No Tracking</span>
- <span class="search-result-desc">Local SQLite storage, loopback security, and DRM non-circumvention</span>
- </li>
- <li class="search-result-item" onclick="location.href='../changelog/'">
- <span class="search-result-title">Release Notes &amp; Changelog</span>
- <span class="search-result-desc">Version v0.16.6 updates, V1 home librebox, 4K &amp; 2K quality engine, and global download dock</span>
- </li>
- </ul>
- </div>
- </div>
-
- <script>
- function updateThemeIcons(theme) {
- const sun = document.getElementById('themeIconSun');
- const moon = document.getElementById('themeIconMoon');
- if (!sun || !moon) return;
- if (theme === 'dark') {
- sun.style.display = 'inline-block';
- moon.style.display = 'none';
- } else {
- sun.style.display = 'none';
- moon.style.display = 'inline-block';
- }
- }
-
- function toggleTheme() {
- const isDark = document.documentElement.classList.contains('dark') ||
- document.documentElement.getAttribute('data-theme') === 'dark';
- const target = isDark ? 'light' : 'dark';
- if (target === 'dark') {
- document.documentElement.classList.add('dark');
- document.documentElement.setAttribute('data-theme', 'dark');
- } else {
- document.documentElement.classList.remove('dark');
- document.documentElement.setAttribute('data-theme', 'light');
- }
- localStorage.setItem('libreget_docs_theme', target);
- localStorage.setItem('theme', target);
- updateThemeIcons(target);
- }
-
- function toggleMobileSidebar() {
- const sidebar = document.querySelector('.docs-sidebar');
- const backdrop = document.getElementById('mobileSidebarBackdrop');
- if (sidebar) sidebar.classList.toggle('open');
- if (backdrop) backdrop.classList.toggle('open');
- }
-
- function closeMobileSidebar() {
- const sidebar = document.querySelector('.docs-sidebar');
- const backdrop = document.getElementById('mobileSidebarBackdrop');
- if (sidebar) sidebar.classList.remove('open');
- if (backdrop) backdrop.classList.remove('open');
- }
-
- document.addEventListener('DOMContentLoaded', () => {
- const isDark = document.documentElement.classList.contains('dark') ||
- document.documentElement.getAttribute('data-theme') === 'dark';
- updateThemeIcons(isDark ? 'dark' : 'light');
-
- if (location.protocol === 'file:') {
- document.querySelectorAll('a[href]').forEach(a => {
- let h = a.getAttribute('href');
- if (h && h.endsWith('/') && !h.startsWith('http') && !h.startsWith('#')) {
- a.setAttribute('href', h + 'index.html');
- }
- });
- document.querySelectorAll('.search-result-item[onclick]').forEach(item => {
- let oc = item.getAttribute('onclick');
- if (oc && oc.includes("location.href='")) {
- item.setAttribute('onclick', oc.replace("/'", "/index.html'"));
- }
- });
- }
-
- document.querySelectorAll('.sidebar-link').forEach(link => {
- link.addEventListener('click', closeMobileSidebar);
- });
- });
-
- function switchCodeTab(btn, tabId) {
- const container = btn.closest('.code-container');
- if (!container) return;
- container.querySelectorAll('.code-tab-btn').forEach(b => b.classList.remove('active'));
- btn.classList.add('active');
- container.querySelectorAll('.code-body pre').forEach(pre => {
- pre.style.display = (pre.id === tabId) ? 'block' : 'none';
- });
- }
-
- function copyCodeSnippet(btn) {
- const container = btn.closest('.code-container');
- if (!container) return;
- const pres = Array.from(container.querySelectorAll('.code-body pre'));
- const activePre = pres.find(p => window.getComputedStyle(p).display !== 'none') || pres[0];
- if (!activePre) return;
-
- const code = activePre.querySelector('code');
- const text = (code ? code.innerText : activePre.innerText).trim();
- const span = btn.querySelector('span');
- const origText = span ? span.textContent : 'Copy';
- const origSvg = btn.querySelector('svg') ? btn.querySelector('svg').outerHTML : '';
- const checkSvg = '<svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>';
-
- const showSuccess = () => {
- if (span) span.textContent = 'Copied!';
- btn.classList.add('copied');
- const curSvg = btn.querySelector('svg');
- if (curSvg) curSvg.outerHTML = checkSvg;
- setTimeout(() => {
- if (span) span.textContent = origText;
- btn.classList.remove('copied');
- const nowSvg = btn.querySelector('svg');
- if (nowSvg && origSvg) nowSvg.outerHTML = origSvg;
- }, 2000);
- };
-
- const execCopy = () => {
- try {
- const ta = document.createElement('textarea');
- ta.value = text;
- ta.style.top = '0';
- ta.style.left = '0';
- ta.style.position = 'fixed';
- ta.style.width = '2em';
- ta.style.height = '2em';
- ta.style.padding = '0';
- ta.style.border = 'none';
- ta.style.outline = 'none';
- ta.style.boxShadow = 'none';
- ta.style.background = 'transparent';
- ta.setAttribute('readonly', '');
- document.body.appendChild(ta);
- ta.focus();
- ta.select();
- ta.setSelectionRange(0, ta.value.length);
- const ok = document.execCommand('copy');
- document.body.removeChild(ta);
- return ok;
- } catch (e) {
- return false;
- }
- };
-
- if (location.protocol === 'file:') {
- execCopy();
- showSuccess();
- } else if (navigator.clipboard && window.isSecureContext) {
- navigator.clipboard.writeText(text)
- .then(showSuccess)
- .catch(() => {
- execCopy();
- showSuccess();
- });
- } else {
- execCopy();
- showSuccess();
- }
- }
-
- function openSearchModal() {
- const modal = document.getElementById('searchBackdrop');
- if (modal) {
- modal.classList.add('open');
- setTimeout(() => {
- const inp = document.getElementById('searchInput');
- if (inp) inp.focus();
- }, 50);
- }
- }
-
- function closeSearchModal(e) {
- const modal = document.getElementById('searchBackdrop');
- if (modal) modal.classList.remove('open');
- }
-
- document.addEventListener('keydown', (e) => {
- if ((e.ctrlKey || e.metaKey) && e.key.toLowerCase() === 'k') {
- e.preventDefault();
- openSearchModal();
- }
- if (e.key === 'Escape') {
- closeSearchModal();
- }
- });
-
- const sInput = document.getElementById('searchInput');
- if (sInput) {
- sInput.addEventListener('input', (e) => {
- const q = e.target.value.toLowerCase();
- document.querySelectorAll('#searchResults .search-result-item').forEach(item => {
- const t = item.textContent.toLowerCase();
- item.style.display = t.includes(q) ? 'flex' : 'none';
- });
- });
- }
-
-
- // TOC scrollspy: highlight the section currently in view (vercel.com/docs behavior).
- (function () {
- const links = document.querySelectorAll('.toc-list .toc-link');
- if (!links.length) return;
- const targets = [];
- links.forEach(l => {
- const href = l.getAttribute('href') || '';
- if (!href.startsWith('#')) return;
- const el = document.getElementById(href.slice(1));
- if (el) targets.push([el, l]);
- });
- if (!targets.length) return;
- const setActive = link => links.forEach(x => x.classList.toggle('active', x === link));
- const obs = new IntersectionObserver(entries => {
- const visible = entries.filter(e => e.isIntersecting);
- if (!visible.length) return;
- const hit = targets.find(([el]) => el === visible[visible.length - 1].target);
- if (hit) setActive(hit[1]);
- }, { rootMargin: '-108px 0px -70% 0px' });
- targets.forEach(([el]) => obs.observe(el));
- })();
- </script>
-</body>
-</html>
diff --git a/docs/courses/index.html b/docs/courses/index.html
deleted file mode 100644
index 0de4280a..00000000
--- a/docs/courses/index.html
+++ /dev/null
@@ -1,1934 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
- <title>36 Online Course Platforms Engine · LibreGet Documentation</title>
- <meta name="description" content="How to download courses, video lessons, and PDF attachments from 36 e-learning platforms." />
- <link rel="canonical" href="https://libreget.asf.sale/docs/courses/" />
-
- <!-- Open Graph -->
- <meta property="og:type" content="article" />
- <meta property="og:site_name" content="LibreGet Documentation" />
- <meta property="og:title" content="36 Online Course Platforms Engine" />
- <meta property="og:description" content="How to download courses, video lessons, and PDF attachments from 36 e-learning platforms." />
- <meta property="og:url" content="https://libreget.asf.sale/docs/courses/" />
- <meta property="og:image" content="https://libreget.asf.sale/assets/readme/home.png" />
- <meta property="og:image:width" content="1200" />
- <meta property="og:image:height" content="630" />
- <meta name="twitter:card" content="summary_large_image" />
-
- <link rel="icon" type="image/x-icon" href="../../favicon.ico" />
- <link rel="icon" type="image/png" sizes="256x256" href="../../static/favicon.png" />
- <link rel="apple-touch-icon" sizes="180x180" href="../../static/favicon.png" />
-
- <!-- Early Theme Init Script to eliminate Flash of Wrong Theme -->
- <script>
- (function() {
- try {
- var saved = localStorage.getItem('libreget_docs_theme') || localStorage.getItem('theme');
- var prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
- if (saved === 'dark' || (!saved && prefersDark)) {
- document.documentElement.classList.add('dark');
- document.documentElement.setAttribute('data-theme', 'dark');
- } else {
- document.documentElement.classList.remove('dark');
- document.documentElement.setAttribute('data-theme', 'light');
- }
- } catch (e) {}
- })();
- </script>
-
- <!-- Fonts: Geist + Geist Mono, the vercel.com/docs typefaces -->
- <link rel="preconnect" href="https://fonts.googleapis.com" />
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
- <link href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet" />
-
- <style>
- /* ============================================================
- LibreGet Documentation — UI skin
- Design system: vercel.com/docs (Geist type, Vercel palette)
- ============================================================ */
-
- *, *::before, *::after {
- box-sizing: border-box;
- margin: 0;
- padding: 0;
- }
-
- /* ---------- Design tokens ---------- */
-
- :root {
- color-scheme: light;
-
- --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
- --font-display: var(--font-sans);
- --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
-
- /* Vercel light theme */
- --bg: #ffffff;
- --bg-surface: #ffffff;
- --bg-subtle: #fafafa;
- --bg-muted: #f4f4f5;
- --bg-hover: #f4f4f5;
- --bg-card: #ffffff;
- --bg-code: #111111;
- --code-header: #171717;
- --code-border: #333333;
-
- --border: #eaeaea;
- --border-subtle: #f4f4f5;
- --border-hover: #999999;
- --border-focus: #171717;
-
- --text: #171717;
- --text-muted: #666666;
- --text-subtle: #888888;
- --text-inverse: #ffffff;
-
- --primary: #171717;
- --primary-hover: #333333;
- --primary-light: #f4f4f5;
- --primary-border: #171717;
-
- --link: #0070f3;
- --link-hover: #3291ff;
- --success: #50e3c2;
-
- --callout-bg: #fafafa;
- --callout-border: #eaeaea;
- --callout-text: #171717;
-
- --header-h: 64px;
- --tabs-h: 44px;
- --header-total-h: 108px;
- --sidebar-w: 272px;
- --toc-w: 240px;
- --max-w: 1440px;
-
- --radius-sm: 8px;
- --radius-md: 10px;
- --radius-lg: 12px;
- }
-
- html.dark {
- color-scheme: dark;
-
- /* Vercel dark theme */
- --bg: #000000;
- --bg-surface: #0a0a0a;
- --bg-subtle: #111111;
- --bg-muted: #18181b;
- --bg-hover: #18181b;
- --bg-card: #0a0a0a;
- --bg-code: #111111;
- --code-header: #171717;
- --code-border: #262626;
-
- --border: #1f1f1f;
- --border-subtle: #141414;
- --border-hover: #444444;
- --border-focus: #ededed;
-
- --text: #ededed;
- --text-muted: #a1a1aa;
- --text-subtle: #71717a;
- --text-inverse: #000000;
-
- --primary: #ededed;
- --primary-hover: #ffffff;
- --primary-light: #18181b;
- --primary-border: #ededed;
-
- --link: #3291ff;
- --link-hover: #66aaff;
-
- --callout-bg: #0a0a0a;
- --callout-border: #1f1f1f;
- --callout-text: #ededed;
- }
-
- /* ---------- Base ---------- */
-
- html {
- scroll-behavior: smooth;
- }
-
- body {
- background-color: var(--bg);
- color: var(--text);
- font-family: var(--font-sans);
- font-size: 16px;
- line-height: 1.6;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: antialiased;
- text-rendering: optimizeLegibility;
- overflow-x: hidden;
- transition: background-color 0.15s ease, color 0.15s ease;
- }
-
- ::selection {
- background: #0070f3;
- color: #ffffff;
- }
-
- a {
- color: inherit;
- text-decoration: none;
- }
-
- button {
- font-family: inherit;
- cursor: pointer;
- }
-
- img {
- max-width: 100%;
- }
-
- :focus-visible {
- outline: 2px solid var(--link);
- outline-offset: 2px;
- }
-
- /* ---------- Icons ---------- */
-
- .icon {
- display: inline-block;
- width: 16px;
- height: 16px;
- flex-shrink: 0;
- vertical-align: middle;
- }
-
- .icon-lg { width: 18px; height: 18px; }
- .icon-sm { width: 14px; height: 14px; }
- .icon-xs { width: 12px; height: 12px; }
-
- /* ---------- Top navbar ---------- */
-
- .nav-header {
- position: sticky;
- top: 0;
- z-index: 50;
- background: var(--bg);
- border-bottom: 1px solid var(--border);
- }
-
- .nav-header-inner {
- display: flex;
- align-items: center;
- gap: 14px;
- height: var(--header-h);
- max-width: var(--max-w);
- margin: 0 auto;
- padding: 0 24px;
- }
-
- .brand-group {
- display: flex;
- align-items: center;
- gap: 10px;
- flex-shrink: 0;
- }
-
- .brand-logo-link {
- display: flex;
- align-items: center;
- gap: 8px;
- font-size: 14.5px;
- font-weight: 600;
- letter-spacing: -0.01em;
- color: var(--text);
- }
-
- .brand-logo-link img {
- display: block;
- height: 22px;
- width: auto;
- }
-
- .brand-badge {
- font-size: 13px;
- font-weight: 400;
- letter-spacing: 0.02em;
- color: var(--text-muted);
- }
-
- /* Search trigger (the "Search Docs" pill) */
- .search-trigger {
- display: flex;
- align-items: center;
- gap: 8px;
- height: 34px;
- min-width: 160px;
- max-width: 300px;
- flex: 0 1 auto;
- padding: 0 8px 0 12px;
- border: 1px solid var(--border);
- border-radius: var(--radius-sm);
- background: var(--bg);
- color: var(--text-subtle);
- cursor: pointer;
- transition: border-color 0.15s ease;
- }
-
- .search-trigger:hover {
- border-color: var(--border-hover);
- }
-
- .search-trigger > span {
- flex: 1;
- font-size: 13px;
- }
-
- .search-kbd {
- flex-shrink: 0;
- border: 1px solid var(--border);
- background: var(--bg-subtle);
- border-radius: 5px;
- padding: 1px 6px;
- font-family: var(--font-mono);
- font-size: 11px;
- color: var(--text-subtle);
- line-height: 1.5;
- }
-
- .nav-links {
- display: flex;
- align-items: center;
- gap: 2px;
- margin-left: auto;
- }
-
- .nav-link-item {
- padding: 6px 10px;
- border-radius: 6px;
- font-size: 13.5px;
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .nav-link-item:hover {
- color: var(--text);
- }
-
- .nav-link-item.active {
- color: var(--text);
- font-weight: 500;
- }
-
- .nav-actions {
- display: flex;
- align-items: center;
- gap: 8px;
- flex-shrink: 0;
- }
-
- .theme-toggle-btn {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 32px;
- height: 32px;
- border: none;
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--text-muted);
- transition: background 0.15s ease, color 0.15s ease;
- }
-
- .theme-toggle-btn:hover {
- background: var(--bg-hover);
- color: var(--text);
- }
-
- .btn-top-download {
- display: inline-flex;
- align-items: center;
- gap: 6px;
- height: 32px;
- padding: 0 14px;
- border: none;
- border-radius: 999px;
- background: var(--primary);
- color: var(--text-inverse);
- font-size: 13px;
- font-weight: 500;
- transition: background 0.15s ease;
- }
-
- .btn-top-download:hover {
- background: var(--primary-hover);
- }
-
- /* ---------- Section subtabs ---------- */
-
- .nav-subtabs {
- background: var(--bg);
- border-bottom: 1px solid var(--border);
- }
-
- .nav-subtabs-inner {
- display: flex;
- align-items: center;
- gap: 4px;
- height: var(--tabs-h);
- max-width: var(--max-w);
- margin: 0 auto;
- padding: 0 24px;
- overflow-x: auto;
- scrollbar-width: none;
- }
-
- .nav-subtabs-inner::-webkit-scrollbar {
- display: none;
- }
-
- .nav-subtabs-inner .subtab-item {
- display: inline-flex;
- align-items: center;
- gap: 7px;
- height: var(--tabs-h);
- padding: 0 12px;
- border-radius: 0;
- font-size: 13.5px;
- color: var(--text-muted);
- white-space: nowrap;
- transition: color 0.15s ease;
- }
-
- .nav-subtabs-inner .subtab-item:hover {
- color: var(--text);
- }
-
- .nav-subtabs-inner .subtab-item.active {
- color: var(--text);
- font-weight: 500;
- box-shadow: inset 0 -2px 0 0 var(--text);
- }
-
- .nav-subtabs-inner .subtab-item .icon {
- display: none;
- }
-
- /* Generic subtab link used inside page content (e.g. "GitHub Tag") */
- .subtab-item {
- display: inline-flex;
- align-items: center;
- gap: 7px;
- padding: 6px 12px;
- border-radius: var(--radius-sm);
- font-size: 13px;
- font-weight: 500;
- color: var(--text-muted);
- transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
- }
-
- .subtab-item:hover {
- color: var(--text);
- }
-
- /* ---------- Shell layout ---------- */
-
- .docs-layout {
- display: flex;
- align-items: flex-start;
- max-width: var(--max-w);
- margin: 0 auto;
- padding: 0 24px;
- }
-
- .docs-sidebar {
- width: var(--sidebar-w);
- flex-shrink: 0;
- position: sticky;
- top: var(--header-total-h);
- height: calc(100vh - var(--header-total-h));
- overflow-y: auto;
- overscroll-behavior: contain;
- padding: 28px 16px 48px 8px;
- }
-
- .docs-main {
- flex: 1 1 auto;
- min-width: 0;
- width: 100%;
- max-width: 736px;
- margin: 0 auto;
- padding: 40px 40px 96px;
- }
-
- .docs-toc {
- width: var(--toc-w);
- flex-shrink: 0;
- position: sticky;
- top: var(--header-total-h);
- height: calc(100vh - var(--header-total-h));
- overflow-y: auto;
- padding: 40px 24px 48px 0;
- }
-
- /* ---------- Sidebar navigation ---------- */
-
- .sidebar-group {
- margin-bottom: 22px;
- }
-
- .sidebar-group-header {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 10px;
- margin-bottom: 6px;
- font-size: 13px;
- font-weight: 500;
- color: var(--text-subtle);
- }
-
- .sidebar-group-header .icon {
- display: none;
- }
-
- .sidebar-nav-list {
- list-style: none;
- display: flex;
- flex-direction: column;
- gap: 1px;
- }
-
- .sidebar-link {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 8px;
- padding: 6px 10px;
- border-radius: 6px;
- font-size: 13.5px;
- color: var(--text-muted);
- transition: background 0.15s ease, color 0.15s ease;
- }
-
- .sidebar-link:hover {
- color: var(--text);
- background: var(--bg-hover);
- }
-
- .sidebar-link.active {
- color: var(--text);
- background: var(--bg-hover);
- font-weight: 500;
- }
-
- .sidebar-tag {
- flex-shrink: 0;
- font-size: 11px;
- font-weight: 500;
- color: var(--text-subtle);
- background: var(--bg-subtle);
- border: 1px solid var(--border);
- border-radius: 999px;
- padding: 1px 7px;
- white-space: nowrap;
- }
-
- /* ---------- Mobile sidebar drawer ---------- */
-
- .mobile-sidebar-toggle {
- display: none;
- align-items: center;
- justify-content: center;
- width: 32px;
- height: 32px;
- border: none;
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--text-muted);
- }
-
- .mobile-sidebar-toggle:hover {
- background: var(--bg-hover);
- color: var(--text);
- }
-
- .mobile-sidebar-backdrop {
- display: none;
- position: fixed;
- inset: 0;
- top: var(--header-total-h);
- z-index: 39;
- background: rgba(0, 0, 0, 0.5);
- }
-
- .mobile-sidebar-backdrop.open {
- display: block;
- }
-
- /* ---------- Breadcrumbs ---------- */
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 8px;
- margin-bottom: 20px;
- font-size: 13px;
- color: var(--text-muted);
- }
-
- .docs-main .breadcrumbs a {
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .docs-main .breadcrumbs a:hover {
- color: var(--text);
- text-decoration: none;
- }
-
- .breadcrumb-sep {
- color: var(--border-hover);
- }
-
- .breadcrumb-current {
- color: var(--text);
- font-weight: 500;
- }
-
- /* ---------- Article typography ---------- */
-
- .doc-h1 {
- font-size: 36px;
- line-height: 1.15;
- font-weight: 600;
- letter-spacing: -0.022em;
- color: var(--text);
- margin-bottom: 14px;
- }
-
- .doc-lead {
- font-size: 17px;
- line-height: 1.6;
- color: var(--text-muted);
- margin-bottom: 28px;
- }
-
- .doc-p {
- font-size: 15.5px;
- line-height: 1.7;
- color: var(--text);
- margin-bottom: 20px;
- }
-
- .doc-h2 {
- font-size: 24px;
- font-weight: 600;
- letter-spacing: -0.014em;
- color: var(--text);
- margin: 44px 0 12px;
- }
-
- .doc-h3 {
- font-size: 18px;
- font-weight: 600;
- color: var(--text);
- margin: 28px 0 8px;
- }
-
- .doc-h1, .doc-h2, .doc-h3 {
- scroll-margin-top: calc(var(--header-total-h) + 24px);
- }
-
- strong {
- font-weight: 600;
- }
-
- .docs-main a {
- color: var(--link);
- text-decoration: none;
- }
-
- .docs-main a:hover {
- text-decoration: underline;
- }
-
- /* Content links that are UI buttons, not prose links */
- .docs-main a.subtab-item,
- .docs-main a.page-nav-card {
- color: var(--text-muted);
- text-decoration: none;
- }
-
- .docs-main a.subtab-item:hover {
- color: var(--text);
- text-decoration: none;
- }
-
- .docs-main a.page-nav-card:hover {
- color: var(--text-muted);
- border-color: var(--border-hover);
- text-decoration: none;
- }
-
- /* Inline code */
- .docs-main code {
- font-family: var(--font-mono);
- font-size: 0.855em;
- background: var(--bg-muted);
- color: var(--text);
- padding: 0.15em 0.4em;
- border-radius: 6px;
- }
-
- /* ---------- Figures ---------- */
-
- .doc-media-card {
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- overflow: hidden;
- margin: 24px 0;
- }
-
- .doc-media-card img {
- display: block;
- width: 100%;
- height: auto;
- background: var(--bg-subtle);
- }
-
- .doc-media-caption {
- padding: 10px 16px;
- border-top: 1px solid var(--border);
- background: var(--bg-subtle);
- font-size: 13px;
- line-height: 1.5;
- color: var(--text-muted);
- }
-
- /* ---------- Callouts ---------- */
-
- .callout {
- display: flex;
- align-items: flex-start;
- gap: 12px;
- margin: 24px 0;
- padding: 16px 20px;
- border: 1px solid var(--callout-border);
- border-radius: var(--radius-lg);
- background: var(--callout-bg);
- color: var(--callout-text);
- font-size: 14.5px;
- line-height: 1.6;
- }
-
- .callout .icon-lg {
- color: var(--text-muted);
- margin-top: 2px;
- }
-
- /* ---------- Cards grid ---------- */
-
- .approach-grid {
- display: grid;
- grid-template-columns: repeat(3, 1fr);
- gap: 12px;
- margin: 24px 0;
- }
-
- .approach-card {
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- padding: 18px 20px;
- transition: border-color 0.15s ease;
- }
-
- .approach-card:hover {
- border-color: var(--border-hover);
- }
-
- .approach-badge {
- display: inline-block;
- margin-bottom: 10px;
- padding: 2px 8px;
- border: 1px solid var(--border);
- border-radius: 999px;
- font-size: 11px;
- font-weight: 500;
- color: var(--text-subtle);
- }
-
- .approach-title {
- font-size: 15.5px;
- font-weight: 600;
- color: var(--text);
- margin-bottom: 6px;
- }
-
- .approach-desc {
- font-size: 13.5px;
- line-height: 1.6;
- color: var(--text-muted);
- }
-
- /* ---------- Tables ---------- */
-
- .doc-table-wrap {
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- overflow-x: auto;
- margin-bottom: 24px;
- background: var(--bg-card);
- }
-
- .doc-table {
- width: 100%;
- border-collapse: collapse;
- font-size: 14px;
- }
-
- .doc-table th {
- text-align: left;
- padding: 10px 16px;
- border-bottom: 1px solid var(--border);
- background: var(--bg-subtle);
- font-size: 13px;
- font-weight: 500;
- color: var(--text-muted);
- white-space: nowrap;
- }
-
- .doc-table td {
- padding: 12px 16px;
- border-bottom: 1px solid var(--border-subtle);
- color: var(--text);
- vertical-align: top;
- line-height: 1.55;
- }
-
- .doc-table tbody tr:last-child td {
- border-bottom: none;
- }
-
- /* ---------- Code blocks ---------- */
-
- .code-container {
- margin-bottom: 24px;
- border: 1px solid var(--code-border);
- border-radius: var(--radius-lg);
- overflow: hidden;
- background: var(--bg-code);
- }
-
- .code-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 12px;
- height: 44px;
- padding: 0 8px 0 16px;
- background: var(--code-header);
- border-bottom: 1px solid var(--code-border);
- }
-
- .code-header > span {
- font-family: var(--font-mono);
- font-size: 12.5px;
- color: #a1a1aa;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
-
- .btn-copy {
- display: inline-flex;
- align-items: center;
- gap: 6px;
- flex-shrink: 0;
- border: none;
- border-radius: 6px;
- padding: 5px 8px;
- background: transparent;
- color: #999999;
- font-size: 12px;
- transition: background 0.15s ease, color 0.15s ease;
- }
-
- .btn-copy:hover {
- background: rgba(255, 255, 255, 0.08);
- color: #ffffff;
- }
-
- .btn-copy.copied {
- color: #50e3c2;
- }
-
- .code-body pre {
- margin: 0;
- padding: 16px;
- overflow-x: auto;
- }
-
- .code-body code {
- font-family: var(--font-mono);
- font-size: 13px;
- line-height: 1.65;
- color: #ededed;
- background: transparent;
- padding: 0;
- border-radius: 0;
- white-space: pre;
- }
-
- .tok-c {
- color: #737373;
- }
-
- /* ---------- Prev / next pagination ---------- */
-
- .page-nav-grid {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 12px;
- margin-top: 48px;
- padding-top: 32px;
- border-top: 1px solid var(--border);
- }
-
- .page-nav-card {
- display: flex;
- flex-direction: column;
- gap: 2px;
- padding: 14px 16px;
- border: 1px solid var(--border);
- border-radius: var(--radius-md);
- transition: border-color 0.15s ease;
- }
-
- .page-nav-card:hover {
- border-color: var(--border-hover);
- }
-
- .page-nav-sub {
- font-size: 12px;
- color: var(--text-subtle);
- }
-
- .page-nav-title {
- display: flex;
- align-items: center;
- gap: 6px;
- font-size: 14px;
- font-weight: 600;
- color: var(--text);
- }
-
- /* ---------- Right TOC ---------- */
-
- .toc-title {
- display: flex;
- align-items: center;
- gap: 8px;
- margin-bottom: 10px;
- font-size: 13px;
- font-weight: 600;
- color: var(--text);
- }
-
- .toc-title .icon {
- display: none;
- }
-
- .toc-list {
- list-style: none;
- position: relative;
- margin-left: 2px;
- border-left: 1px solid var(--border);
- }
-
- .toc-link {
- display: block;
- position: relative;
- padding: 5px 0 5px 16px;
- font-size: 13px;
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .toc-link:hover {
- color: var(--text);
- }
-
- .toc-link.active {
- color: var(--text);
- font-weight: 500;
- }
-
- .toc-link.active::before {
- content: "";
- position: absolute;
- left: -1px;
- top: 6px;
- bottom: 6px;
- width: 2px;
- border-radius: 2px;
- background: var(--text);
- }
-
- .toc-community-box {
- margin-top: 20px;
- padding-top: 16px;
- border-top: 1px solid var(--border);
- display: flex;
- flex-direction: column;
- gap: 2px;
- }
-
- .toc-community-link {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 6px 0;
- font-size: 13px;
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .toc-community-link:hover {
- color: var(--text);
- }
-
- /* ---------- Search modal ---------- */
-
- .search-modal-backdrop {
- position: fixed;
- inset: 0;
- z-index: 100;
- display: flex;
- justify-content: center;
- align-items: flex-start;
- padding: 15vh 16px 16px;
- background: rgba(0, 0, 0, 0.55);
- opacity: 0;
- pointer-events: none;
- transition: opacity 0.15s ease;
- }
-
- .search-modal-backdrop.open {
- opacity: 1;
- pointer-events: auto;
- }
-
- .search-modal {
- width: 100%;
- max-width: 560px;
- background: var(--bg);
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- overflow: hidden;
- box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
- animation: search-modal-in 0.15s ease;
- }
-
- @keyframes search-modal-in {
- from {
- opacity: 0;
- transform: translateY(-6px) scale(0.98);
- }
- to {
- opacity: 1;
- transform: none;
- }
- }
-
- .search-input-wrap {
- display: flex;
- align-items: center;
- gap: 10px;
- height: 52px;
- padding: 0 16px;
- border-bottom: 1px solid var(--border);
- color: var(--text-subtle);
- }
-
- .search-modal-input {
- flex: 1;
- border: none;
- outline: none;
- background: transparent;
- font-family: var(--font-sans);
- font-size: 14.5px;
- color: var(--text);
- }
-
- .search-modal-input::placeholder {
- color: var(--text-subtle);
- }
-
- .search-results-list {
- list-style: none;
- max-height: 340px;
- overflow-y: auto;
- padding: 8px;
- }
-
- .search-result-item {
- display: flex;
- flex-direction: column;
- gap: 2px;
- padding: 10px 12px;
- border-radius: var(--radius-sm);
- cursor: pointer;
- }
-
- .search-result-item:hover {
- background: var(--bg-hover);
- }
-
- .search-result-title {
- font-size: 14px;
- font-weight: 500;
- color: var(--text);
- }
-
- .search-result-desc {
- font-size: 13px;
- color: var(--text-muted);
- }
-
- /* ---------- Changelog releases ---------- */
-
- .release-box {
- scroll-margin-top: calc(var(--header-total-h) + 24px);
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- background: var(--bg-card);
- padding: 24px;
- margin-bottom: 20px;
- }
-
- .release-header {
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- gap: 16px;
- padding-bottom: 16px;
- margin-bottom: 16px;
- border-bottom: 1px solid var(--border);
- }
-
- .release-tag-pill {
- display: inline-block;
- padding: 3px 10px;
- border-radius: 6px;
- background: var(--primary);
- color: var(--text-inverse);
- font-size: 12px;
- font-weight: 600;
- }
-
- .release-date {
- font-size: 13px;
- color: var(--text-subtle);
- }
-
- .release-title {
- font-size: 18px;
- font-weight: 600;
- letter-spacing: -0.01em;
- color: var(--text);
- margin-top: 6px;
- }
-
- .release-section {
- margin-bottom: 16px;
- }
-
- .release-section-title {
- display: flex;
- align-items: center;
- gap: 8px;
- font-size: 14px;
- font-weight: 600;
- color: var(--text);
- margin-bottom: 8px;
- }
-
- .release-section-title .icon {
- color: var(--text-subtle);
- }
-
- .release-list {
- list-style: none;
- display: flex;
- flex-direction: column;
- gap: 6px;
- }
-
- .release-list li {
- position: relative;
- padding-left: 18px;
- font-size: 14px;
- line-height: 1.6;
- color: var(--text-muted);
- }
-
- .release-list li::before {
- content: "";
- position: absolute;
- left: 2px;
- top: 0.62em;
- width: 5px;
- height: 5px;
- border-radius: 999px;
- background: var(--border-hover);
- }
-
- .release-list li strong {
- color: var(--text);
- }
-
- /* ---------- Responsive ---------- */
-
- @media (max-width: 1100px) {
- .docs-toc {
- display: none;
- }
- }
-
- @media (max-width: 768px) {
- .nav-links { display: none; }
- .brand-badge { display: none; }
- .mobile-sidebar-toggle { display: flex; }
- .search-trigger {
- flex: 1;
- min-width: 0;
- max-width: none;
- }
- .docs-layout {
- padding: 0;
- }
- .docs-sidebar {
- position: fixed;
- top: var(--header-total-h);
- left: 0;
- bottom: 0;
- width: 280px;
- height: auto;
- background: var(--bg);
- border-right: 1px solid var(--border);
- transform: translateX(-100%);
- transition: transform 0.2s ease;
- z-index: 40;
- padding: 20px 16px 32px 24px;
- }
- .docs-sidebar.open {
- transform: translateX(0);
- }
- .docs-main {
- max-width: none;
- padding: 28px 20px 72px;
- }
- .doc-h1 {
- font-size: 30px;
- }
- .approach-grid,
- .page-nav-grid {
- grid-template-columns: 1fr;
- }
- .release-header {
- flex-direction: column;
- }
- }
-
- @media (max-width: 640px) {
- .btn-top-download {
- display: none;
- }
- .search-kbd {
- display: none;
- }
- }
- </style>
-
-</head>
-<body>
-
- <!-- ==================== STICKY DOUBLE-ROW HEADER ==================== -->
- <header class="nav-header">
- <div class="nav-header-inner">
- <div class="brand-group">
- <button class="mobile-sidebar-toggle" id="mobileSidebarToggle" onclick="toggleMobileSidebar()" aria-label="Toggle navigation menu" title="Toggle menu">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <line x1="3" y1="12" x2="21" y2="12" />
- <line x1="3" y1="6" x2="21" y2="6" />
- <line x1="3" y1="18" x2="21" y2="18" />
- </svg>
- </button>
- <a href="../../" class="brand-logo-link" aria-label="LibreGet Home">
- <img src="../../static/favicon.png" alt="LibreGet Logo" />
- <span>LibreGet</span>
- </a>
- <span class="brand-badge">DOCS</span>
- </div>
-
- <div class="search-trigger" onclick="openSearchModal()">
- <span style="display: flex; align-items: center; gap: 8px;">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m21 21-4.34-4.34" />
- <circle cx="11" cy="11" r="8" /></svg>
- <span>Search docs...</span>
- </span>
- <kbd class="search-kbd">Ctrl K</kbd>
- </div>
-
- <nav class="nav-links">
- <a class="nav-link-item" href="../">Overview</a>
- <a class="nav-link-item" href="../installation/">Installation</a>
- <a class="nav-link-item active" href="../courses/">Courses</a>
- <a class="nav-link-item" href="../nami/">Nami</a>
- <a class="nav-link-item" href="../mcp/">MCP & AI</a>
- <a class="nav-link-item" href="../troubleshooting/">Fixes</a>
- <a class="nav-link-item" href="../changelog/">Changelog</a>
- </nav>
-
- <div class="nav-actions">
- <button class="theme-toggle-btn" onclick="toggleTheme()" aria-label="Toggle light and dark mode" title="Toggle theme">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="themeIconSun" style="display: none;"><circle cx="12" cy="12" r="4" />
- <path d="M12 2v2" />
- <path d="M12 20v2" />
- <path d="m4.93 4.93 1.41 1.41" />
- <path d="m17.66 17.66 1.41 1.41" />
- <path d="M2 12h2" />
- <path d="M20 12h2" />
- <path d="m6.34 17.66-1.41 1.41" />
- <path d="m19.07 4.93-1.41 1.41" /></svg>
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="themeIconMoon"><path d="M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401" /></svg>
- </button>
-
- <a class="btn-top-download" href="https://github.com/OpenSelena/libreget/releases/latest">
- <span>Get App</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14" />
- <path d="m12 5 7 7-7 7" /></svg>
- </a>
- </div>
- </div>
-
- <div class="nav-subtabs">
- <div class="nav-subtabs-inner" id="topSubtabs">
- <a href="../" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5" />
- <path d="M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09" />
- <path d="M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z" />
- <path d="M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05" /></svg>
- <span>Quickstart</span>
- </a>
- <a href="../installation/" class="subtab-item">
- <svg class="icon" 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>
- <span>Installation</span>
- </a>
- <a href="../mcp/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 20v2" />
- <path d="M12 2v2" />
- <path d="M17 20v2" />
- <path d="M17 2v2" />
- <path d="M2 12h2" />
- <path d="M2 17h2" />
- <path d="M2 7h2" />
- <path d="M20 12h2" />
- <path d="M20 17h2" />
- <path d="M20 7h2" />
- <path d="M7 20v2" />
- <path d="M7 2v2" />
- <rect x="4" y="4" width="16" height="16" rx="2" />
- <rect x="8" y="8" width="8" height="8" rx="1" /></svg>
- <span>MCP Server</span>
- </a>
- <a href="../courses/" class="subtab-item active">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z" />
- <path d="M22 10v6" />
- <path d="M6 12.5V16a6 3 0 0 0 12 0v-3.5" /></svg>
- <span>36 Course Platforms</span>
- </a>
- <a href="../nami/" class="subtab-item">
- <svg class="icon icon-fill" viewBox="0 0 24 24" fill="currentColor"><title>Instagram</title><path d="M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077"/></svg>
- <span>Nami</span>
- </a>
- <a href="../changelog/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 8v4l3 3" /><circle cx="12" cy="12" r="9" /></svg>
- <span>Changelog</span>
- </a>
- <a href="../troubleshooting/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z" /></svg>
- <span>Troubleshooting</span>
- </a>
- </div>
- </div>
- </header>
- <div class="mobile-sidebar-backdrop" id="mobileSidebarBackdrop" onclick="closeMobileSidebar()"></div>
-
- <!-- ==================== THREE-COLUMN LAYOUT ==================== -->
- <div class="docs-layout">
- <aside class="docs-sidebar">
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" 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" />
- <path d="m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z" /></svg>
- <span>Overview</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../" class="sidebar-link">
- <span>Quickstart Guide</span>
- <span class="sidebar-tag">Start</span>
- </a>
- </li>
- <li>
- <a href="../installation/" class="sidebar-link">
- <span>Installation Packages</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z" />
- <path d="M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12" />
- <path d="M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17" /></svg>
- <span>Core Engines</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../nami/" class="sidebar-link">
- <span>Nami Engine</span>
- <span class="sidebar-tag">Social</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5v16" />
- <path d="M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z" /></svg>
- <span>Courses &amp; Study</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../courses/" class="sidebar-link active">
- <span>36 Course Platforms</span>
- <span class="sidebar-tag">v0.16.10</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 8v4l3 3" /><circle cx="12" cy="12" r="9" /></svg>
- <span>Changelog &amp; Releases</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../changelog/" class="sidebar-link">
- <span>Dedicated Changelog</span>
- <span class="sidebar-tag">Latest</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z" />
- <path d="M20 2v4" />
- <path d="M22 4h-4" />
- <circle cx="4" cy="20" r="2" /></svg>
- <span>AI &amp; Agent Bridge</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../mcp/" class="sidebar-link">
- <span>MCP Server (127.0.0.1)</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z" /></svg>
- <span>System &amp; Fixes</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../troubleshooting/" class="sidebar-link">
- <span>Troubleshooting Hub</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" />
- <polyline points="15 3 21 3 21 9" />
- <line x1="10" y1="14" x2="21" y2="3" /></svg>
- <span>Community &amp; Source</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="https://github.com/OpenSelena/libreget" target="_blank" rel="noopener" class="sidebar-link">
- <span>GitHub Repository</span>
- <svg class="icon icon-xs" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="margin-left: auto; opacity: 0.5;"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" /><polyline points="15 3 21 3 21 9" /><line x1="10" y1="14" x2="21" y2="3" /></svg>
- </a>
- </li>
- <li>
- <a href="https://t.me/OpenSelena" target="_blank" rel="noopener" class="sidebar-link">
- <span>Telegram Community</span>
- <svg class="icon icon-xs" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="margin-left: auto; opacity: 0.5;"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" /><polyline points="15 3 21 3 21 9" /><line x1="10" y1="14" x2="21" y2="3" /></svg>
- </a>
- </li>
- </ul>
- </div>
- </aside>
-
- <main class="docs-main">
- <div class="breadcrumbs">
- <a href="../">Documentation</a>
- <span class="breadcrumb-sep">/</span>
- <a href="./">Courses</a>
- <span class="breadcrumb-sep">/</span>
- <span class="breadcrumb-current">36 Online Learning Platforms</span>
- </div>
-
- <h1 class="doc-h1">36 Online Course Platforms Engine</h1>
- <p class="doc-lead">Download purchased courses, modules, video lessons, and PDF attachments into local folders, then index them in the Study library.</p>
-
-
- <div class="doc-media-card">
- <img src="../../assets/screenshot-courses.png" alt="LibreGet Courses Module" />
- <div class="doc-media-caption">LibreGet Courses Engine: Full curriculum hierarchy, module and lecture tree, and companion worksheet downloads.</div>
- </div>
-
- <p class="doc-p">
- LibreGet includes a <strong>Courses Engine</strong> that downloads courses you have bought from 36 learning platforms. It keeps the course structure and lecture order, and downloads companion PDF and ZIP worksheets.
- </p>
-
- <!-- SECTION 1 -->
- <h2 class="doc-h2" id="engine">1. Embedded Courses Engine Architecture</h2>
- <p class="doc-p">
- Since version 0.10.5, the Courses engine is compiled into the desktop binary instead of running as an external script:
- </p>
-
- <ul style="margin-left: 20px; color: var(--text-muted); display: grid; gap: 10px; margin-bottom: 24px; font-size: 14.5px; line-height: 1.6;">
- <li><strong>Zero ABI Incompatibilities:</strong> No external python runtime or dynamic shared libraries required. The engine compiles directly into the Rust Tauri core.</li>
- <li><strong>Curriculum Hierarchy Parser:</strong> Accurately reads modules, sections, lessons, video durations, and supplementary resources.</li>
- <li><strong>Continuous Numbering:</strong> Automatically prepends numbered prefixes (e.g. <code>01 - Introduction/01 - Welcome.mp4</code>) so offline players order files sequentially.</li>
- <li><strong>Study Synchronization:</strong> Completed course downloads are automatically cataloged into LibreGet's built-in Study library for offline tracking.</li>
- </ul>
-
- <!-- SECTION 2 -->
- <h2 class="doc-h2" id="platforms-directory">2. Supported 36 Course Platforms Directory</h2>
- <p class="doc-p">
- LibreGet's native Rust course engine embeds extractors and curriculum parsers for 36 learning platforms:
- </p>
-
- <div class="doc-table-wrap">
- <table class="doc-table">
- <thead>
- <tr>
- <th>Platform Category</th>
- <th>Supported Providers</th>
- <th>Authentication Method</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><strong>Global & International</strong></td>
- <td>Udemy, Skool, Gumroad, MasterClass, Pluralsight, Teachable, Thinkific, The Great Courses (Wondrium)</td>
- <td>Companion Extension or Saved Session Cookies</td>
- </tr>
- <tr>
- <td><strong>Tech & Data Science</strong></td>
- <td>Rocketseat, Data Science Academy</td>
- <td>Session Token Sync / In-App Login</td>
- </tr>
- <tr>
- <td><strong>Creator & Membership Hubs</strong></td>
- <td>Hotmart (Hub & Club), Kiwify, MemberKit, Eduzz Nutror, Cademi, Cakto, Cakto Members, Kirvano, The Members, Greenn Club, Entrega Digital, Área de Membros, Astron Members, Alpaclass, Voomp Play, Curseduca</td>
- <td>Companion Extension One-Click Session Forward</td>
- </tr>
- <tr>
- <td><strong>Concursos & Exam Prep</strong></td>
- <td>Estratégia Concursos, Estratégia LDI, Estratégia Militares, Gran Cursos Online</td>
- <td>Session Cookie or Webview Login</td>
- </tr>
- <tr>
- <td><strong>Medical & Language Academies</strong></td>
- <td>Medcel, Medcof, Medway, Afya Internato, Fluency Academy</td>
- <td>Extension Cookie Sync / Webview Auth</td>
- </tr>
- </tbody>
- </table>
- </div>
-
- <!-- SECTION 3 -->
- <h2 class="doc-h2" id="auth-methods">3. Three Authentication Workflows</h2>
- <p class="doc-p">
- To download courses you own, LibreGet requires your active session token. Pick the method that matches your setup:
- </p>
-
- <div class="approach-grid">
- <div class="approach-card">
- <span class="approach-badge">Recommended</span>
- <h3 class="approach-title">Method 1: Browser Extension</h3>
- <p class="approach-desc">Install the LibreGet extension for Chrome, Edge, Brave, or Firefox. Click the extension icon on the course page to sync cookies over <code>127.0.0.1:47720</code>.</p>
- </div>
-
- <div class="approach-card">
- <span class="approach-badge">Standalone</span>
- <h3 class="approach-title">Method 2: In-App Webview</h3>
- <p class="approach-desc">Click <strong>Sign In</strong> inside LibreGet. An isolated browser window opens. Log in once and LibreGet captures the session cookies locally.</p>
- </div>
-
- <div class="approach-card">
- <span class="approach-badge">Manual Export</span>
- <h3 class="approach-title">Method 3: cookies.txt Import</h3>
- <p class="approach-desc">Export your session using standard Netscape format and import via <strong>Settings &rarr; Cookies &rarr; Import cookies.txt</strong>.</p>
- </div>
- </div>
-
- <div class="doc-media-card">
- <img src="../../assets/readme/extension.png" alt="Companion Browser Extension Pairing" />
- <div class="doc-media-caption">Browser extension pairing: Forward authenticated session cookies directly from your browser to LibreGet without exposing passwords.</div>
- </div>
-
- <!-- SECTION 4 -->
- <h2 class="doc-h2" id="curriculum-features">4. Curriculum Selection, Numbering & Attachments</h2>
- <p class="doc-p">
- Protected courses cannot be downloaded by pasting a raw URL into the main download input (which returns an authentication reminder). Instead, open the <strong>Courses</strong> workspace with your active account, select your enrolled course, and LibreGet parses the curriculum outline:
- </p>
-
- <ul style="margin-left: 20px; color: var(--text-muted); display: grid; gap: 8px; margin-bottom: 24px; font-size: 14.5px;">
- <li><strong>Selective Module Downloading:</strong> Choose to download specific sections, modules, or the entire course curriculum.</li>
- <li><strong>Supplementary Attachments:</strong> PDF slides, source code ZIP files, and exercises are automatically downloaded and organized alongside their corresponding video lectures.</li>
- <li><strong>Subtitle Track Inclusion:</strong> Subtitle languages (English, Spanish, Portuguese, French, etc.) are downloaded as sidecar SRT/VTT files or embedded directly into the MP4 container.</li>
- </ul>
-
-
- <!-- SECTION 5 -->
- <h2 class="doc-h2" id="drm-policy">5. DRM Compliance & Ethical Fair Use Boundary</h2>
- <div class="callout">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z" />
- <path d="M12 8v4" />
- <path d="M12 16h.01" /></svg>
- <div>
- <strong>DRM Compliance Policy:</strong>
- LibreGet <strong>does not break or circumvent DRM</strong> (Widevine L1/L3, FairPlay, Microsoft PlayReady). Lectures protected with encryption keys are skipped, and the skip is recorded in your download log.
- </div>
- </div>
-
- <p class="doc-p">
- LibreGet downloads courses you have purchased, for your own offline use. The files stay on your disk if your internet drops.
- </p>
-
-
- <div class="page-nav-grid">
- <a href="../mcp/" class="page-nav-card">
- <span class="page-nav-sub">Previous Guide</span>
- <span class="page-nav-title">
- <span>&larr; MCP Server Guide</span>
- </span>
- </a>
- <a href="../nami/" class="page-nav-card" style="text-align: right;">
- <span class="page-nav-sub">Next Guide</span>
- <span class="page-nav-title" style="justify-content: flex-end; gap: 8px;">
- <span>Nami Social Archiver &rarr;</span>
- </span>
- </a>
- </div>
-
- </main>
-
- <aside class="docs-toc">
- <div class="toc-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 5h.01" />
- <path d="M3 12h.01" />
- <path d="M3 19h.01" />
- <path d="M8 5h13" />
- <path d="M8 12h13" />
- <path d="M8 19h13" /></svg>
- <span>On this page</span>
- </div>
- <ul class="toc-list" id="tocList">
- <li><a href="#engine" class="toc-link">1. Embedded Courses Engine Architecture</a></li>
- <li><a href="#platforms-directory" class="toc-link">2. Supported 36 Course Platforms Directory</a></li>
- <li><a href="#auth-methods" class="toc-link">3. Three Authentication Workflows</a></li>
- <li><a href="#curriculum-features" class="toc-link">4. Curriculum Selection & Attachments</a></li>
- <li><a href="#drm-policy" class="toc-link">5. DRM Compliance & Ethical Boundary</a></li>
- </ul>
-
- <div class="toc-community-box">
- <a href="https://github.com/OpenSelena/libreget" class="toc-community-link" target="_blank" rel="noopener">
- <svg class="icon icon-fill icon-sm" viewBox="0 0 24 24" fill="currentColor"><title>GitHub</title><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-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>
- <span>Edit page on GitHub</span>
- </a>
- <a href="https://t.me/OpenSelena" class="toc-community-link" target="_blank" rel="noopener">
- <svg class="icon icon-fill icon-sm" viewBox="0 0 24 24" fill="currentColor"><title>Telegram</title><path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"/></svg>
- <span>Ask in Telegram</span>
- </a>
- </div>
- </aside>
- </div>
-
- <!-- SEARCH MODAL -->
- <div class="search-modal-backdrop" id="searchBackdrop" onclick="closeSearchModal(event)">
- <div class="search-modal" onclick="event.stopPropagation()">
- <div class="search-input-wrap">
- <svg class="icon icon-lg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m21 21-4.34-4.34" />
- <circle cx="11" cy="11" r="8" /></svg>
- <input type="text" class="search-modal-input" id="searchInput" placeholder="Search documentation..." autocomplete="off" />
- </div>
- <ul class="search-results-list" id="searchResults">
- <li class="search-result-item" onclick="location.href='../'">
- <span class="search-result-title">Quickstart Guide</span>
- <span class="search-result-desc">Three modes: Visual desktop app, local MCP, and portable mode</span>
- </li>
- <li class="search-result-item" onclick="location.href='../installation/'">
- <span class="search-result-title">Installation & OS Binaries</span>
- <span class="search-result-desc">Windows, macOS Apple Silicon, and Linux packages</span>
- </li>
- <li class="search-result-item" onclick="location.href='../mcp/'">
- <span class="search-result-title">Model Context Protocol (MCP) Server</span>
- <span class="search-result-desc">Local AI agent tools for Claude Code, Cursor, and VS Code</span>
- </li>
- <li class="search-result-item" onclick="location.href='../courses/'">
- <span class="search-result-title">36 Online Course Platforms</span>
- <span class="search-result-desc">Hotmart, Udemy, Rocketseat, Kajabi, and Kiwify support</span>
- </li>
- <li class="search-result-item" onclick="location.href='../nami/'">
- <span class="search-result-title">Nami Social Archiver</span>
- <span class="search-result-desc">Bulk Instagram, TikTok, and X profile downloader</span>
- </li>
- <li class="search-result-item" onclick="location.href='../troubleshooting/'">
- <span class="search-result-title">System Troubleshooting</span>
- <span class="search-result-desc">macOS Gatekeeper, Linux WebKitGTK, and diagnostic logs</span>
- </li>
- <li class="search-result-item" onclick="location.href='../#privacy'">
- <span class="search-result-title">Privacy Policy &amp; No Tracking</span>
- <span class="search-result-desc">Local SQLite storage, loopback security, and DRM non-circumvention</span>
- </li>
- <li class="search-result-item" onclick="location.href='../changelog/'">
- <span class="search-result-title">Release Notes &amp; Changelog</span>
- <span class="search-result-desc">Version v0.12.0 updates, Telegram API credentials, CSP star fix</span>
- </li>
- </ul>
- </div>
- </div>
-
- <script>
- function updateThemeIcons(theme) {
- const sun = document.getElementById('themeIconSun');
- const moon = document.getElementById('themeIconMoon');
- if (!sun || !moon) return;
- if (theme === 'dark') {
- sun.style.display = 'inline-block';
- moon.style.display = 'none';
- } else {
- sun.style.display = 'none';
- moon.style.display = 'inline-block';
- }
- }
-
- function toggleTheme() {
- const isDark = document.documentElement.classList.contains('dark') ||
- document.documentElement.getAttribute('data-theme') === 'dark';
- const target = isDark ? 'light' : 'dark';
- if (target === 'dark') {
- document.documentElement.classList.add('dark');
- document.documentElement.setAttribute('data-theme', 'dark');
- } else {
- document.documentElement.classList.remove('dark');
- document.documentElement.setAttribute('data-theme', 'light');
- }
- localStorage.setItem('libreget_docs_theme', target);
- localStorage.setItem('theme', target);
- updateThemeIcons(target);
- }
-
- function toggleMobileSidebar() {
- const sidebar = document.querySelector('.docs-sidebar');
- const backdrop = document.getElementById('mobileSidebarBackdrop');
- if (sidebar) sidebar.classList.toggle('open');
- if (backdrop) backdrop.classList.toggle('open');
- }
-
- function closeMobileSidebar() {
- const sidebar = document.querySelector('.docs-sidebar');
- const backdrop = document.getElementById('mobileSidebarBackdrop');
- if (sidebar) sidebar.classList.remove('open');
- if (backdrop) backdrop.classList.remove('open');
- }
-
- document.addEventListener('DOMContentLoaded', () => {
- const isDark = document.documentElement.classList.contains('dark') ||
- document.documentElement.getAttribute('data-theme') === 'dark';
- updateThemeIcons(isDark ? 'dark' : 'light');
-
- if (location.protocol === 'file:') {
- document.querySelectorAll('a[href]').forEach(a => {
- let h = a.getAttribute('href');
- if (h && h.endsWith('/') && !h.startsWith('http') && !h.startsWith('#')) {
- a.setAttribute('href', h + 'index.html');
- }
- });
- document.querySelectorAll('.search-result-item[onclick]').forEach(item => {
- let oc = item.getAttribute('onclick');
- if (oc && oc.includes("location.href='")) {
- item.setAttribute('onclick', oc.replace("/'", "/index.html'"));
- }
- });
- }
-
- document.querySelectorAll('.sidebar-link').forEach(link => {
- link.addEventListener('click', closeMobileSidebar);
- });
- });
-
- function switchCodeTab(btn, tabId) {
- const container = btn.closest('.code-container');
- if (!container) return;
- container.querySelectorAll('.code-tab-btn').forEach(b => b.classList.remove('active'));
- btn.classList.add('active');
- container.querySelectorAll('.code-body pre').forEach(pre => {
- pre.style.display = (pre.id === tabId) ? 'block' : 'none';
- });
- }
-
- function copyCodeSnippet(btn) {
- const container = btn.closest('.code-container');
- if (!container) return;
- const pres = Array.from(container.querySelectorAll('.code-body pre'));
- const activePre = pres.find(p => window.getComputedStyle(p).display !== 'none') || pres[0];
- if (!activePre) return;
-
- const code = activePre.querySelector('code');
- const text = (code ? code.innerText : activePre.innerText).trim();
- const span = btn.querySelector('span');
- const origText = span ? span.textContent : 'Copy';
- const origSvg = btn.querySelector('svg') ? btn.querySelector('svg').outerHTML : '';
- const checkSvg = '<svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>';
-
- const showSuccess = () => {
- if (span) span.textContent = 'Copied!';
- btn.classList.add('copied');
- const curSvg = btn.querySelector('svg');
- if (curSvg) curSvg.outerHTML = checkSvg;
- setTimeout(() => {
- if (span) span.textContent = origText;
- btn.classList.remove('copied');
- const nowSvg = btn.querySelector('svg');
- if (nowSvg && origSvg) nowSvg.outerHTML = origSvg;
- }, 2000);
- };
-
- const execCopy = () => {
- try {
- const ta = document.createElement('textarea');
- ta.value = text;
- ta.style.top = '0';
- ta.style.left = '0';
- ta.style.position = 'fixed';
- ta.style.width = '2em';
- ta.style.height = '2em';
- ta.style.padding = '0';
- ta.style.border = 'none';
- ta.style.outline = 'none';
- ta.style.boxShadow = 'none';
- ta.style.background = 'transparent';
- ta.setAttribute('readonly', '');
- document.body.appendChild(ta);
- ta.focus();
- ta.select();
- ta.setSelectionRange(0, ta.value.length);
- const ok = document.execCommand('copy');
- document.body.removeChild(ta);
- return ok;
- } catch (e) {
- return false;
- }
- };
-
- if (location.protocol === 'file:') {
- execCopy();
- showSuccess();
- } else if (navigator.clipboard && window.isSecureContext) {
- navigator.clipboard.writeText(text)
- .then(showSuccess)
- .catch(() => {
- execCopy();
- showSuccess();
- });
- } else {
- execCopy();
- showSuccess();
- }
- }
-
- function openSearchModal() {
- const modal = document.getElementById('searchBackdrop');
- if (modal) {
- modal.classList.add('open');
- setTimeout(() => {
- const inp = document.getElementById('searchInput');
- if (inp) inp.focus();
- }, 50);
- }
- }
-
- function closeSearchModal(e) {
- const modal = document.getElementById('searchBackdrop');
- if (modal) modal.classList.remove('open');
- }
-
- document.addEventListener('keydown', (e) => {
- if ((e.ctrlKey || e.metaKey) && e.key.toLowerCase() === 'k') {
- e.preventDefault();
- openSearchModal();
- }
- if (e.key === 'Escape') {
- closeSearchModal();
- }
- });
-
- const sInput = document.getElementById('searchInput');
- if (sInput) {
- sInput.addEventListener('input', (e) => {
- const q = e.target.value.toLowerCase();
- document.querySelectorAll('#searchResults .search-result-item').forEach(item => {
- const t = item.textContent.toLowerCase();
- item.style.display = t.includes(q) ? 'flex' : 'none';
- });
- });
- }
-
-
- // TOC scrollspy: highlight the section currently in view (vercel.com/docs behavior).
- (function () {
- const links = document.querySelectorAll('.toc-list .toc-link');
- if (!links.length) return;
- const targets = [];
- links.forEach(l => {
- const href = l.getAttribute('href') || '';
- if (!href.startsWith('#')) return;
- const el = document.getElementById(href.slice(1));
- if (el) targets.push([el, l]);
- });
- if (!targets.length) return;
- const setActive = link => links.forEach(x => x.classList.toggle('active', x === link));
- const obs = new IntersectionObserver(entries => {
- const visible = entries.filter(e => e.isIntersecting);
- if (!visible.length) return;
- const hit = targets.find(([el]) => el === visible[visible.length - 1].target);
- if (hit) setActive(hit[1]);
- }, { rootMargin: '-108px 0px -70% 0px' });
- targets.forEach(([el]) => obs.observe(el));
- })();
- </script>
-</body>
-</html>
diff --git a/docs/index.html b/docs/index.html
deleted file mode 100644
index b6445f75..00000000
--- a/docs/index.html
+++ /dev/null
@@ -1,3166 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
- <title>LibreGet Quickstart Guide · LibreGet Documentation</title>
- <meta name="description" content="Free open-source desktop app to download courses, video, audio, images and torrents, then transcribe, read and study them. Windows, macOS and Linux." />
- <link rel="canonical" href="https://libreget.asf.sale/docs/" />
-
- <!-- Open Graph -->
- <meta property="og:type" content="article" />
- <meta property="og:site_name" content="LibreGet Documentation" />
- <meta property="og:title" content="LibreGet Quickstart Guide" />
- <meta property="og:description" content="Free open-source desktop app to download courses, video, audio, images and torrents, then transcribe, read and study them. Windows, macOS and Linux." />
- <meta property="og:url" content="https://libreget.asf.sale/docs/" />
- <meta property="og:image" content="https://libreget.asf.sale/assets/readme/home.png" />
- <meta property="og:image:width" content="1200" />
- <meta property="og:image:height" content="630" />
- <meta name="twitter:card" content="summary_large_image" />
-
- <link rel="icon" type="image/x-icon" href="../favicon.ico" />
- <link rel="icon" type="image/png" sizes="256x256" href="../static/favicon.png" />
- <link rel="apple-touch-icon" sizes="180x180" href="../static/favicon.png" />
-
- <!-- Early Theme Init Script to eliminate Flash of Wrong Theme -->
- <script>
- (function() {
- try {
- var saved = localStorage.getItem('libreget_docs_theme') || localStorage.getItem('theme');
- var prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
- if (saved === 'dark' || (!saved && prefersDark)) {
- document.documentElement.classList.add('dark');
- document.documentElement.setAttribute('data-theme', 'dark');
- } else {
- document.documentElement.classList.remove('dark');
- document.documentElement.setAttribute('data-theme', 'light');
- }
- } catch (e) {}
- })();
- </script>
-
- <!-- Fonts: Geist + Geist Mono, the vercel.com/docs typefaces -->
- <link rel="preconnect" href="https://fonts.googleapis.com" />
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
- <link href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet" />
-
- <style>
- /* ============================================================
- LibreGet Documentation — UI skin
- Design system: vercel.com/docs (Geist type, Vercel palette)
- ============================================================ */
-
- *, *::before, *::after {
- box-sizing: border-box;
- margin: 0;
- padding: 0;
- }
-
- /* ---------- Design tokens ---------- */
-
- :root {
- color-scheme: light;
-
- --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
- --font-display: var(--font-sans);
- --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
-
- /* Vercel light theme */
- --bg: #ffffff;
- --bg-surface: #ffffff;
- --bg-subtle: #fafafa;
- --bg-muted: #f4f4f5;
- --bg-hover: #f4f4f5;
- --bg-card: #ffffff;
- --bg-code: #111111;
- --code-header: #171717;
- --code-border: #333333;
-
- --border: #eaeaea;
- --border-subtle: #f4f4f5;
- --border-hover: #999999;
- --border-focus: #171717;
-
- --text: #171717;
- --text-muted: #666666;
- --text-subtle: #888888;
- --text-inverse: #ffffff;
-
- --primary: #171717;
- --primary-hover: #333333;
- --primary-light: #f4f4f5;
- --primary-border: #171717;
-
- --link: #0070f3;
- --link-hover: #3291ff;
- --success: #50e3c2;
-
- --callout-bg: #fafafa;
- --callout-border: #eaeaea;
- --callout-text: #171717;
-
- --header-h: 64px;
- --tabs-h: 44px;
- --header-total-h: 108px;
- --sidebar-w: 272px;
- --toc-w: 240px;
- --max-w: 1440px;
-
- --radius-sm: 8px;
- --radius-md: 10px;
- --radius-lg: 12px;
- }
-
- html.dark {
- color-scheme: dark;
-
- /* Vercel dark theme */
- --bg: #000000;
- --bg-surface: #0a0a0a;
- --bg-subtle: #111111;
- --bg-muted: #18181b;
- --bg-hover: #18181b;
- --bg-card: #0a0a0a;
- --bg-code: #111111;
- --code-header: #171717;
- --code-border: #262626;
-
- --border: #1f1f1f;
- --border-subtle: #141414;
- --border-hover: #444444;
- --border-focus: #ededed;
-
- --text: #ededed;
- --text-muted: #a1a1aa;
- --text-subtle: #71717a;
- --text-inverse: #000000;
-
- --primary: #ededed;
- --primary-hover: #ffffff;
- --primary-light: #18181b;
- --primary-border: #ededed;
-
- --link: #3291ff;
- --link-hover: #66aaff;
-
- --callout-bg: #0a0a0a;
- --callout-border: #1f1f1f;
- --callout-text: #ededed;
- }
-
- /* ---------- Base ---------- */
-
- html {
- scroll-behavior: smooth;
- }
-
- body {
- background-color: var(--bg);
- color: var(--text);
- font-family: var(--font-sans);
- font-size: 16px;
- line-height: 1.6;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: antialiased;
- text-rendering: optimizeLegibility;
- overflow-x: hidden;
- transition: background-color 0.15s ease, color 0.15s ease;
- }
-
- ::selection {
- background: #0070f3;
- color: #ffffff;
- }
-
- a {
- color: inherit;
- text-decoration: none;
- }
-
- button {
- font-family: inherit;
- cursor: pointer;
- }
-
- img {
- max-width: 100%;
- }
-
- :focus-visible {
- outline: 2px solid var(--link);
- outline-offset: 2px;
- }
-
- /* ---------- Icons ---------- */
-
- .icon {
- display: inline-block;
- width: 16px;
- height: 16px;
- flex-shrink: 0;
- vertical-align: middle;
- }
-
- .icon-lg { width: 18px; height: 18px; }
- .icon-sm { width: 14px; height: 14px; }
- .icon-xs { width: 12px; height: 12px; }
-
- /* ---------- Top navbar ---------- */
-
- .nav-header {
- position: sticky;
- top: 0;
- z-index: 50;
- background: var(--bg);
- border-bottom: 1px solid var(--border);
- }
-
- .nav-header-inner {
- display: flex;
- align-items: center;
- gap: 14px;
- height: var(--header-h);
- max-width: var(--max-w);
- margin: 0 auto;
- padding: 0 24px;
- }
-
- .brand-group {
- display: flex;
- align-items: center;
- gap: 10px;
- flex-shrink: 0;
- }
-
- .brand-logo-link {
- display: flex;
- align-items: center;
- gap: 8px;
- font-size: 14.5px;
- font-weight: 600;
- letter-spacing: -0.01em;
- color: var(--text);
- }
-
- .brand-logo-link img {
- display: block;
- height: 22px;
- width: auto;
- }
-
- .brand-badge {
- font-size: 13px;
- font-weight: 400;
- letter-spacing: 0.02em;
- color: var(--text-muted);
- }
-
- /* Search trigger (the "Search Docs" pill) */
- .search-trigger {
- display: flex;
- align-items: center;
- gap: 8px;
- height: 34px;
- min-width: 160px;
- max-width: 300px;
- flex: 0 1 auto;
- padding: 0 8px 0 12px;
- border: 1px solid var(--border);
- border-radius: var(--radius-sm);
- background: var(--bg);
- color: var(--text-subtle);
- cursor: pointer;
- transition: border-color 0.15s ease;
- }
-
- .search-trigger:hover {
- border-color: var(--border-hover);
- }
-
- .search-trigger > span {
- flex: 1;
- font-size: 13px;
- }
-
- .search-kbd {
- flex-shrink: 0;
- border: 1px solid var(--border);
- background: var(--bg-subtle);
- border-radius: 5px;
- padding: 1px 6px;
- font-family: var(--font-mono);
- font-size: 11px;
- color: var(--text-subtle);
- line-height: 1.5;
- }
-
- .nav-links {
- display: flex;
- align-items: center;
- gap: 2px;
- margin-left: auto;
- }
-
- .nav-link-item {
- padding: 6px 10px;
- border-radius: 6px;
- font-size: 13.5px;
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .nav-link-item:hover {
- color: var(--text);
- }
-
- .nav-link-item.active {
- color: var(--text);
- font-weight: 500;
- }
-
- .nav-actions {
- display: flex;
- align-items: center;
- gap: 8px;
- flex-shrink: 0;
- }
-
- .theme-toggle-btn {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 32px;
- height: 32px;
- border: none;
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--text-muted);
- transition: background 0.15s ease, color 0.15s ease;
- }
-
- .theme-toggle-btn:hover {
- background: var(--bg-hover);
- color: var(--text);
- }
-
- .btn-top-download {
- display: inline-flex;
- align-items: center;
- gap: 6px;
- height: 32px;
- padding: 0 14px;
- border: none;
- border-radius: 999px;
- background: var(--primary);
- color: var(--text-inverse);
- font-size: 13px;
- font-weight: 500;
- transition: background 0.15s ease;
- }
-
- .btn-top-download:hover {
- background: var(--primary-hover);
- }
-
- /* ---------- Section subtabs ---------- */
-
- .nav-subtabs {
- background: var(--bg);
- border-bottom: 1px solid var(--border);
- }
-
- .nav-subtabs-inner {
- display: flex;
- align-items: center;
- gap: 4px;
- height: var(--tabs-h);
- max-width: var(--max-w);
- margin: 0 auto;
- padding: 0 24px;
- overflow-x: auto;
- scrollbar-width: none;
- }
-
- .nav-subtabs-inner::-webkit-scrollbar {
- display: none;
- }
-
- .nav-subtabs-inner .subtab-item {
- display: inline-flex;
- align-items: center;
- gap: 7px;
- height: var(--tabs-h);
- padding: 0 12px;
- border-radius: 0;
- font-size: 13.5px;
- color: var(--text-muted);
- white-space: nowrap;
- transition: color 0.15s ease;
- }
-
- .nav-subtabs-inner .subtab-item:hover {
- color: var(--text);
- }
-
- .nav-subtabs-inner .subtab-item.active {
- color: var(--text);
- font-weight: 500;
- box-shadow: inset 0 -2px 0 0 var(--text);
- }
-
- .nav-subtabs-inner .subtab-item .icon {
- display: none;
- }
-
- /* Generic subtab link used inside page content (e.g. "GitHub Tag") */
- .subtab-item {
- display: inline-flex;
- align-items: center;
- gap: 7px;
- padding: 6px 12px;
- border-radius: var(--radius-sm);
- font-size: 13px;
- font-weight: 500;
- color: var(--text-muted);
- transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
- }
-
- .subtab-item:hover {
- color: var(--text);
- }
-
- /* ---------- Shell layout ---------- */
-
- .docs-layout {
- display: flex;
- align-items: flex-start;
- max-width: var(--max-w);
- margin: 0 auto;
- padding: 0 24px;
- }
-
- .docs-sidebar {
- width: var(--sidebar-w);
- flex-shrink: 0;
- position: sticky;
- top: var(--header-total-h);
- height: calc(100vh - var(--header-total-h));
- overflow-y: auto;
- overscroll-behavior: contain;
- padding: 28px 16px 48px 8px;
- }
-
- .docs-main {
- flex: 1 1 auto;
- min-width: 0;
- width: 100%;
- max-width: 736px;
- margin: 0 auto;
- padding: 40px 40px 96px;
- }
-
- .docs-toc {
- width: var(--toc-w);
- flex-shrink: 0;
- position: sticky;
- top: var(--header-total-h);
- height: calc(100vh - var(--header-total-h));
- overflow-y: auto;
- padding: 40px 24px 48px 0;
- }
-
- /* ---------- Sidebar navigation ---------- */
-
- .sidebar-group {
- margin-bottom: 22px;
- }
-
- .sidebar-group-header {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 10px;
- margin-bottom: 6px;
- font-size: 13px;
- font-weight: 500;
- color: var(--text-subtle);
- }
-
- .sidebar-group-header .icon {
- display: none;
- }
-
- .sidebar-nav-list {
- list-style: none;
- display: flex;
- flex-direction: column;
- gap: 1px;
- }
-
- .sidebar-link {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 8px;
- padding: 6px 10px;
- border-radius: 6px;
- font-size: 13.5px;
- color: var(--text-muted);
- transition: background 0.15s ease, color 0.15s ease;
- }
-
- .sidebar-link:hover {
- color: var(--text);
- background: var(--bg-hover);
- }
-
- .sidebar-link.active {
- color: var(--text);
- background: var(--bg-hover);
- font-weight: 500;
- }
-
- .sidebar-tag {
- flex-shrink: 0;
- font-size: 11px;
- font-weight: 500;
- color: var(--text-subtle);
- background: var(--bg-subtle);
- border: 1px solid var(--border);
- border-radius: 999px;
- padding: 1px 7px;
- white-space: nowrap;
- }
-
- /* ---------- Mobile sidebar drawer ---------- */
-
- .mobile-sidebar-toggle {
- display: none;
- align-items: center;
- justify-content: center;
- width: 32px;
- height: 32px;
- border: none;
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--text-muted);
- }
-
- .mobile-sidebar-toggle:hover {
- background: var(--bg-hover);
- color: var(--text);
- }
-
- .mobile-sidebar-backdrop {
- display: none;
- position: fixed;
- inset: 0;
- top: var(--header-total-h);
- z-index: 39;
- background: rgba(0, 0, 0, 0.5);
- }
-
- .mobile-sidebar-backdrop.open {
- display: block;
- }
-
- /* ---------- Breadcrumbs ---------- */
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 8px;
- margin-bottom: 20px;
- font-size: 13px;
- color: var(--text-muted);
- }
-
- .docs-main .breadcrumbs a {
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .docs-main .breadcrumbs a:hover {
- color: var(--text);
- text-decoration: none;
- }
-
- .breadcrumb-sep {
- color: var(--border-hover);
- }
-
- .breadcrumb-current {
- color: var(--text);
- font-weight: 500;
- }
-
- /* ---------- Article typography ---------- */
-
- .doc-h1 {
- font-size: 36px;
- line-height: 1.15;
- font-weight: 600;
- letter-spacing: -0.022em;
- color: var(--text);
- margin-bottom: 14px;
- }
-
- .doc-lead {
- font-size: 17px;
- line-height: 1.6;
- color: var(--text-muted);
- margin-bottom: 28px;
- }
-
- .doc-p {
- font-size: 15.5px;
- line-height: 1.7;
- color: var(--text);
- margin-bottom: 20px;
- }
-
- .doc-h2 {
- font-size: 24px;
- font-weight: 600;
- letter-spacing: -0.014em;
- color: var(--text);
- margin: 44px 0 12px;
- }
-
- .doc-h3 {
- font-size: 18px;
- font-weight: 600;
- color: var(--text);
- margin: 28px 0 8px;
- }
-
- .doc-h1, .doc-h2, .doc-h3 {
- scroll-margin-top: calc(var(--header-total-h) + 24px);
- }
-
- strong {
- font-weight: 600;
- }
-
- .docs-main a {
- color: var(--link);
- text-decoration: none;
- }
-
- .docs-main a:hover {
- text-decoration: underline;
- }
-
- /* Content links that are UI buttons, not prose links */
- .docs-main a.subtab-item,
- .docs-main a.page-nav-card {
- color: var(--text-muted);
- text-decoration: none;
- }
-
- .docs-main a.subtab-item:hover {
- color: var(--text);
- text-decoration: none;
- }
-
- .docs-main a.page-nav-card:hover {
- color: var(--text-muted);
- border-color: var(--border-hover);
- text-decoration: none;
- }
-
- /* Inline code */
- .docs-main code {
- font-family: var(--font-mono);
- font-size: 0.855em;
- background: var(--bg-muted);
- color: var(--text);
- padding: 0.15em 0.4em;
- border-radius: 6px;
- }
-
- /* ---------- Figures ---------- */
-
- .doc-media-card {
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- overflow: hidden;
- margin: 24px 0;
- }
-
- .doc-media-card img {
- display: block;
- width: 100%;
- height: auto;
- background: var(--bg-subtle);
- }
-
- .doc-media-caption {
- padding: 10px 16px;
- border-top: 1px solid var(--border);
- background: var(--bg-subtle);
- font-size: 13px;
- line-height: 1.5;
- color: var(--text-muted);
- }
-
- /* ---------- Callouts ---------- */
-
- .callout {
- display: flex;
- align-items: flex-start;
- gap: 12px;
- margin: 24px 0;
- padding: 16px 20px;
- border: 1px solid var(--callout-border);
- border-radius: var(--radius-lg);
- background: var(--callout-bg);
- color: var(--callout-text);
- font-size: 14.5px;
- line-height: 1.6;
- }
-
- .callout .icon-lg {
- color: var(--text-muted);
- margin-top: 2px;
- }
-
- /* ---------- Cards grid ---------- */
-
- .approach-grid {
- display: grid;
- grid-template-columns: repeat(3, 1fr);
- gap: 12px;
- margin: 24px 0;
- }
-
- .approach-card {
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- padding: 18px 20px;
- transition: border-color 0.15s ease;
- }
-
- .approach-card:hover {
- border-color: var(--border-hover);
- }
-
- .approach-badge {
- display: inline-block;
- margin-bottom: 10px;
- padding: 2px 8px;
- border: 1px solid var(--border);
- border-radius: 999px;
- font-size: 11px;
- font-weight: 500;
- color: var(--text-subtle);
- }
-
- .approach-title {
- font-size: 15.5px;
- font-weight: 600;
- color: var(--text);
- margin-bottom: 6px;
- }
-
- .approach-desc {
- font-size: 13.5px;
- line-height: 1.6;
- color: var(--text-muted);
- }
-
- /* ---------- Tables ---------- */
-
- .doc-table-wrap {
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- overflow-x: auto;
- margin-bottom: 24px;
- background: var(--bg-card);
- }
-
- .doc-table {
- width: 100%;
- border-collapse: collapse;
- font-size: 14px;
- }
-
- .doc-table th {
- text-align: left;
- padding: 10px 16px;
- border-bottom: 1px solid var(--border);
- background: var(--bg-subtle);
- font-size: 13px;
- font-weight: 500;
- color: var(--text-muted);
- white-space: nowrap;
- }
-
- .doc-table td {
- padding: 12px 16px;
- border-bottom: 1px solid var(--border-subtle);
- color: var(--text);
- vertical-align: top;
- line-height: 1.55;
- }
-
- .doc-table tbody tr:last-child td {
- border-bottom: none;
- }
-
- /* ---------- Code blocks ---------- */
-
- .code-container {
- margin-bottom: 24px;
- border: 1px solid var(--code-border);
- border-radius: var(--radius-lg);
- overflow: hidden;
- background: var(--bg-code);
- }
-
- .code-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 12px;
- height: 44px;
- padding: 0 8px 0 16px;
- background: var(--code-header);
- border-bottom: 1px solid var(--code-border);
- }
-
- .code-header > span {
- font-family: var(--font-mono);
- font-size: 12.5px;
- color: #a1a1aa;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
-
- .btn-copy {
- display: inline-flex;
- align-items: center;
- gap: 6px;
- flex-shrink: 0;
- border: none;
- border-radius: 6px;
- padding: 5px 8px;
- background: transparent;
- color: #999999;
- font-size: 12px;
- transition: background 0.15s ease, color 0.15s ease;
- }
-
- .btn-copy:hover {
- background: rgba(255, 255, 255, 0.08);
- color: #ffffff;
- }
-
- .btn-copy.copied {
- color: #50e3c2;
- }
-
- .code-body pre {
- margin: 0;
- padding: 16px;
- overflow-x: auto;
- }
-
- .code-body code {
- font-family: var(--font-mono);
- font-size: 13px;
- line-height: 1.65;
- color: #ededed;
- background: transparent;
- padding: 0;
- border-radius: 0;
- white-space: pre;
- }
-
- .tok-c {
- color: #737373;
- }
-
- /* ---------- Prev / next pagination ---------- */
-
- .page-nav-grid {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 12px;
- margin-top: 48px;
- padding-top: 32px;
- border-top: 1px solid var(--border);
- }
-
- .page-nav-card {
- display: flex;
- flex-direction: column;
- gap: 2px;
- padding: 14px 16px;
- border: 1px solid var(--border);
- border-radius: var(--radius-md);
- transition: border-color 0.15s ease;
- }
-
- .page-nav-card:hover {
- border-color: var(--border-hover);
- }
-
- .page-nav-sub {
- font-size: 12px;
- color: var(--text-subtle);
- }
-
- .page-nav-title {
- display: flex;
- align-items: center;
- gap: 6px;
- font-size: 14px;
- font-weight: 600;
- color: var(--text);
- }
-
- /* ---------- Right TOC ---------- */
-
- .toc-title {
- display: flex;
- align-items: center;
- gap: 8px;
- margin-bottom: 10px;
- font-size: 13px;
- font-weight: 600;
- color: var(--text);
- }
-
- .toc-title .icon {
- display: none;
- }
-
- .toc-list {
- list-style: none;
- position: relative;
- margin-left: 2px;
- border-left: 1px solid var(--border);
- }
-
- .toc-link {
- display: block;
- position: relative;
- padding: 5px 0 5px 16px;
- font-size: 13px;
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .toc-link:hover {
- color: var(--text);
- }
-
- .toc-link.active {
- color: var(--text);
- font-weight: 500;
- }
-
- .toc-link.active::before {
- content: "";
- position: absolute;
- left: -1px;
- top: 6px;
- bottom: 6px;
- width: 2px;
- border-radius: 2px;
- background: var(--text);
- }
-
- .toc-community-box {
- margin-top: 20px;
- padding-top: 16px;
- border-top: 1px solid var(--border);
- display: flex;
- flex-direction: column;
- gap: 2px;
- }
-
- .toc-community-link {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 6px 0;
- font-size: 13px;
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .toc-community-link:hover {
- color: var(--text);
- }
-
- /* ---------- Search modal ---------- */
-
- .search-modal-backdrop {
- position: fixed;
- inset: 0;
- z-index: 100;
- display: flex;
- justify-content: center;
- align-items: flex-start;
- padding: 15vh 16px 16px;
- background: rgba(0, 0, 0, 0.55);
- opacity: 0;
- pointer-events: none;
- transition: opacity 0.15s ease;
- }
-
- .search-modal-backdrop.open {
- opacity: 1;
- pointer-events: auto;
- }
-
- .search-modal {
- width: 100%;
- max-width: 560px;
- background: var(--bg);
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- overflow: hidden;
- box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
- animation: search-modal-in 0.15s ease;
- }
-
- @keyframes search-modal-in {
- from {
- opacity: 0;
- transform: translateY(-6px) scale(0.98);
- }
- to {
- opacity: 1;
- transform: none;
- }
- }
-
- .search-input-wrap {
- display: flex;
- align-items: center;
- gap: 10px;
- height: 52px;
- padding: 0 16px;
- border-bottom: 1px solid var(--border);
- color: var(--text-subtle);
- }
-
- .search-modal-input {
- flex: 1;
- border: none;
- outline: none;
- background: transparent;
- font-family: var(--font-sans);
- font-size: 14.5px;
- color: var(--text);
- }
-
- .search-modal-input::placeholder {
- color: var(--text-subtle);
- }
-
- .search-results-list {
- list-style: none;
- max-height: 340px;
- overflow-y: auto;
- padding: 8px;
- }
-
- .search-result-item {
- display: flex;
- flex-direction: column;
- gap: 2px;
- padding: 10px 12px;
- border-radius: var(--radius-sm);
- cursor: pointer;
- }
-
- .search-result-item:hover {
- background: var(--bg-hover);
- }
-
- .search-result-title {
- font-size: 14px;
- font-weight: 500;
- color: var(--text);
- }
-
- .search-result-desc {
- font-size: 13px;
- color: var(--text-muted);
- }
-
- /* ---------- Changelog releases ---------- */
-
- .release-box {
- scroll-margin-top: calc(var(--header-total-h) + 24px);
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- background: var(--bg-card);
- padding: 24px;
- margin-bottom: 20px;
- }
-
- .release-header {
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- gap: 16px;
- padding-bottom: 16px;
- margin-bottom: 16px;
- border-bottom: 1px solid var(--border);
- }
-
- .release-tag-pill {
- display: inline-block;
- padding: 3px 10px;
- border-radius: 6px;
- background: var(--primary);
- color: var(--text-inverse);
- font-size: 12px;
- font-weight: 600;
- }
-
- .release-date {
- font-size: 13px;
- color: var(--text-subtle);
- }
-
- .release-title {
- font-size: 18px;
- font-weight: 600;
- letter-spacing: -0.01em;
- color: var(--text);
- margin-top: 6px;
- }
-
- .release-section {
- margin-bottom: 16px;
- }
-
- .release-section-title {
- display: flex;
- align-items: center;
- gap: 8px;
- font-size: 14px;
- font-weight: 600;
- color: var(--text);
- margin-bottom: 8px;
- }
-
- .release-section-title .icon {
- color: var(--text-subtle);
- }
-
- .release-list {
- list-style: none;
- display: flex;
- flex-direction: column;
- gap: 6px;
- }
-
- .release-list li {
- position: relative;
- padding-left: 18px;
- font-size: 14px;
- line-height: 1.6;
- color: var(--text-muted);
- }
-
- .release-list li::before {
- content: "";
- position: absolute;
- left: 2px;
- top: 0.62em;
- width: 5px;
- height: 5px;
- border-radius: 999px;
- background: var(--border-hover);
- }
-
- .release-list li strong {
- color: var(--text);
- }
-
- /* ---------- Responsive ---------- */
-
- @media (max-width: 1100px) {
- .docs-toc {
- display: none;
- }
- }
-
- @media (max-width: 768px) {
- .nav-links { display: none; }
- .brand-badge { display: none; }
- .mobile-sidebar-toggle { display: flex; }
- .search-trigger {
- flex: 1;
- min-width: 0;
- max-width: none;
- }
- .docs-layout {
- padding: 0;
- }
- .docs-sidebar {
- position: fixed;
- top: var(--header-total-h);
- left: 0;
- bottom: 0;
- width: 280px;
- height: auto;
- background: var(--bg);
- border-right: 1px solid var(--border);
- transform: translateX(-100%);
- transition: transform 0.2s ease;
- z-index: 40;
- padding: 20px 16px 32px 24px;
- }
- .docs-sidebar.open {
- transform: translateX(0);
- }
- .docs-main {
- max-width: none;
- padding: 28px 20px 72px;
- }
- .doc-h1 {
- font-size: 30px;
- }
- .approach-grid,
- .page-nav-grid {
- grid-template-columns: 1fr;
- }
- .release-header {
- flex-direction: column;
- }
- }
-
- @media (max-width: 640px) {
- .btn-top-download {
- display: none;
- }
- .search-kbd {
- display: none;
- }
- }
- </style>
-
-</head>
-<body>
-
- <!-- ==================== STICKY DOUBLE-ROW HEADER ==================== -->
- <header class="nav-header">
- <div class="nav-header-inner">
- <div class="brand-group">
- <button class="mobile-sidebar-toggle" id="mobileSidebarToggle" onclick="toggleMobileSidebar()" aria-label="Toggle navigation menu" title="Toggle menu">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <line x1="3" y1="12" x2="21" y2="12" />
- <line x1="3" y1="6" x2="21" y2="6" />
- <line x1="3" y1="18" x2="21" y2="18" />
- </svg>
- </button>
- <a href="../" class="brand-logo-link" aria-label="LibreGet Home">
- <img src="../static/favicon.png" alt="LibreGet Logo" />
- <span>LibreGet</span>
- </a>
- <span class="brand-badge">DOCS</span>
- </div>
-
- <div class="search-trigger" onclick="openSearchModal()">
- <span style="display: flex; align-items: center; gap: 8px;">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m21 21-4.34-4.34" />
- <circle cx="11" cy="11" r="8" /></svg>
- <span>Search docs...</span>
- </span>
- <kbd class="search-kbd">Ctrl K</kbd>
- </div>
-
- <nav class="nav-links">
- <a class="nav-link-item active" href="./">Overview</a>
- <a class="nav-link-item" href="./installation/">Installation</a>
- <a class="nav-link-item" href="./courses/">Courses</a>
- <a class="nav-link-item" href="./nami/">Nami</a>
- <a class="nav-link-item" href="./mcp/">MCP & AI</a>
- <a class="nav-link-item" href="./troubleshooting/">Fixes</a>
- <a class="nav-link-item" href="./changelog/">Changelog</a>
- </nav>
-
- <div class="nav-actions">
- <button class="theme-toggle-btn" onclick="toggleTheme()" aria-label="Toggle light and dark mode" title="Toggle theme">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="themeIconSun" style="display: none;"><circle cx="12" cy="12" r="4" />
- <path d="M12 2v2" />
- <path d="M12 20v2" />
- <path d="m4.93 4.93 1.41 1.41" />
- <path d="m17.66 17.66 1.41 1.41" />
- <path d="M2 12h2" />
- <path d="M20 12h2" />
- <path d="m6.34 17.66-1.41 1.41" />
- <path d="m19.07 4.93-1.41 1.41" /></svg>
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="themeIconMoon"><path d="M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401" /></svg>
- </button>
-
- <a class="btn-top-download" href="https://github.com/OpenSelena/libreget/releases/latest">
- <span>Get App</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14" />
- <path d="m12 5 7 7-7 7" /></svg>
- </a>
- </div>
- </div>
-
- <div class="nav-subtabs">
- <div class="nav-subtabs-inner" id="topSubtabs">
- <a href="./" class="subtab-item active">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5" />
- <path d="M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09" />
- <path d="M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z" />
- <path d="M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05" /></svg>
- <span>Quickstart</span>
- </a>
- <a href="./installation/" class="subtab-item">
- <svg class="icon" 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>
- <span>Installation</span>
- </a>
- <a href="./mcp/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 20v2" />
- <path d="M12 2v2" />
- <path d="M17 20v2" />
- <path d="M17 2v2" />
- <path d="M2 12h2" />
- <path d="M2 17h2" />
- <path d="M2 7h2" />
- <path d="M20 12h2" />
- <path d="M20 17h2" />
- <path d="M20 7h2" />
- <path d="M7 20v2" />
- <path d="M7 2v2" />
- <rect x="4" y="4" width="16" height="16" rx="2" />
- <rect x="8" y="8" width="8" height="8" rx="1" /></svg>
- <span>MCP Server</span>
- </a>
- <a href="./courses/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z" />
- <path d="M22 10v6" />
- <path d="M6 12.5V16a6 3 0 0 0 12 0v-3.5" /></svg>
- <span>36 Course Platforms</span>
- </a>
- <a href="./nami/" class="subtab-item">
- <svg class="icon icon-fill" viewBox="0 0 24 24" fill="currentColor"><title>Instagram</title><path d="M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077"/></svg>
- <span>Nami</span>
- </a>
- <a href="./changelog/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 8v4l3 3" /><circle cx="12" cy="12" r="9" /></svg>
- <span>Changelog</span>
- </a>
- <a href="./troubleshooting/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z" /></svg>
- <span>Troubleshooting</span>
- </a>
- </div>
- </div>
- </header>
- <div class="mobile-sidebar-backdrop" id="mobileSidebarBackdrop" onclick="closeMobileSidebar()"></div>
-
- <!-- ==================== THREE-COLUMN LAYOUT ==================== -->
- <div class="docs-layout">
- <aside class="docs-sidebar">
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" 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" />
- <path d="m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z" /></svg>
- <span>Overview</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="./" class="sidebar-link active">
- <span>Quickstart Guide</span>
- <span class="sidebar-tag">Start</span>
- </a>
- </li>
- <li>
- <a href="./installation/" class="sidebar-link">
- <span>Installation Packages</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z" />
- <path d="M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12" />
- <path d="M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17" /></svg>
- <span>Core Engines</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="./nami/" class="sidebar-link">
- <span>Nami Engine</span>
- <span class="sidebar-tag">Social</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5v16" />
- <path d="M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z" /></svg>
- <span>Courses &amp; Study</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="./courses/" class="sidebar-link">
- <span>36 Course Platforms</span>
- <span class="sidebar-tag">v0.16.10</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 8v4l3 3" /><circle cx="12" cy="12" r="9" /></svg>
- <span>Changelog &amp; Releases</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="./changelog/" class="sidebar-link">
- <span>Dedicated Changelog</span>
- <span class="sidebar-tag">Latest</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z" />
- <path d="M20 2v4" />
- <path d="M22 4h-4" />
- <circle cx="4" cy="20" r="2" /></svg>
- <span>AI &amp; Agent Bridge</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="./mcp/" class="sidebar-link">
- <span>MCP Server (127.0.0.1)</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z" /></svg>
- <span>System &amp; Fixes</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="./troubleshooting/" class="sidebar-link">
- <span>Troubleshooting Hub</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" />
- <polyline points="15 3 21 3 21 9" />
- <line x1="10" y1="14" x2="21" y2="3" /></svg>
- <span>Community &amp; Source</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="https://github.com/OpenSelena/libreget" target="_blank" rel="noopener" class="sidebar-link">
- <span>GitHub Repository</span>
- <svg class="icon icon-xs" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="margin-left: auto; opacity: 0.5;"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" /><polyline points="15 3 21 3 21 9" /><line x1="10" y1="14" x2="21" y2="3" /></svg>
- </a>
- </li>
- <li>
- <a href="https://t.me/OpenSelena" target="_blank" rel="noopener" class="sidebar-link">
- <span>Telegram Community</span>
- <svg class="icon icon-xs" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="margin-left: auto; opacity: 0.5;"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" /><polyline points="15 3 21 3 21 9" /><line x1="10" y1="14" x2="21" y2="3" /></svg>
- </a>
- </li>
- </ul>
- </div>
- </aside>
-
- <main class="docs-main">
- <div class="breadcrumbs">
- <a href="./">Documentation</a>
- <span class="breadcrumb-sep">/</span>
- <span class="breadcrumb-current">Quickstart Guide</span>
- </div>
-
- <h1 class="doc-h1">LibreGet Quickstart Guide</h1>
- <p class="doc-lead">Download online courses, video, audio, image galleries and torrents from 1,800+ sites, then read, transcribe and study what you saved. Windows, macOS and Linux.</p>
-
-
- <div class="doc-media-card">
- <img src="../assets/readme/home.png" alt="LibreGet Desktop Home Interface" />
- <div class="doc-media-caption">LibreGet Desktop: Paste a link, magnet, or course URL to inspect qualities, audio streams, and start downloading.</div>
- </div>
-
- <p class="doc-p">
- <strong>LibreGet</strong> is a free, open-source desktop app (GPL-3.0) for Windows, macOS and Linux. It downloads from 1,800+ sites, with native extractors for paid courses and social platforms, an offline study library, and a local Model Context Protocol (MCP) server that AI agents can drive.
- </p>
-
- <div class="approach-grid">
- <div class="approach-card">
- <span class="approach-badge">Visual Desktop GUI</span>
- <h3 class="approach-title">Desktop app</h3>
- <p class="approach-desc">One download box, speed and ETA while it runs, an offline video/audio player, and 158 built-in tools.</p>
- </div>
-
- <div class="approach-card">
- <span class="approach-badge">Local MCP Bridge</span>
- <h3 class="approach-title">Local MCP server</h3>
- <p class="approach-desc">Exposes 37 local tools over <code>127.0.0.1:47720</code> to Claude Code, Cursor, and VS Code for automated downloading and transcription.</p>
- </div>
-
- <div class="approach-card">
- <span class="approach-badge">Zero-Install USB</span>
- <h3 class="approach-title">Standalone Portable Mode</h3>
- <p class="approach-desc">Create <code>portable.txt</code> next to the Windows executable to isolate all SQLite databases, cookies, and tools onto a USB stick.</p>
- </div>
- </div>
-
- <div class="callout">
- <svg class="icon icon-lg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="margin-top: 2px;"><circle cx="12" cy="12" r="10" />
- <path d="M12 16v-4" />
- <path d="M12 8h.01" /></svg>
- <div>
- <strong>Version 0.14.0 Release Update:</strong>
- Introduced Offline Study module with SQLite tracking, eliminated BitTorrent 99% stall with real-time speed metrics, upgraded Skool &amp; Udemy extractors, and localized Open Nami.
- </div>
- </div>
-
- <!-- SECTION 1 -->
- <h2 class="doc-h2" id="first-download">1. Quickstart & First Download Walkthrough</h2>
- <p class="doc-p">
- LibreGet sets itself up on first launch:
- </p>
-
- <ol style="margin-left: 20px; color: var(--text-muted); display: grid; gap: 12px; margin-bottom: 24px; font-size: 14.5px; line-height: 1.6;">
- <li>
- <strong>Automatic Engine Verification:</strong> On initial launch, LibreGet asks for your preferred language and theme, then verifies or fetches <code>yt-dlp</code> and <code>FFmpeg</code> against strict cryptographic SHA-256 checksums before anything executes. If Python 3.10+ is detected on your system, yt-dlp runs as a zipapp, starting in under one second.
- </li>
- <li>
- <strong>Paste Any Link:</strong> Copy any media URL to your clipboard (a YouTube video, Instagram reel, TikTok post, X thread, Pinterest board, Bilibili series, magnet link, or .torrent file). Paste it into the main input box. (For enrolled e-learning courses, navigate to the dedicated <strong>Courses</strong> workspace with your active login session).
- </li>
- <li>
- <strong>Inspect Streams & Choose Quality:</strong> LibreGet probes the destination server and renders available streams: choose from <strong>4K HDR</strong>, <strong>1080p60</strong>, <strong>AV1/VP9/H.264</strong>, or extract pure audio directly as <strong>MP3</strong>, <strong>M4A</strong>, <strong>Opus</strong>, or lossless <strong>FLAC</strong>.
- </li>
- <li>
- <strong>Download and watch:</strong> the Downloads panel shows live speed, phase and ETA. Interrupted downloads resume where they stopped, and rate-limited sites are retried with backoff.
- </li>
- </ol>
-
- <div class="doc-media-card">
- <img src="../assets/readme/downloads.png" alt="LibreGet Downloads Manager" />
- <div class="doc-media-caption">LibreGet Downloads Manager: live speed, phase and ETA, plus the exact yt-dlp command each download ran.</div>
- </div>
-
- <!-- SECTION 2 -->
- <h2 class="doc-h2" id="global-hotkeys">2. Global Hotkeys & Background Capture</h2>
- <p class="doc-p">
- You don't need to keep the LibreGet window in the foreground. Once enabled in <strong>Settings &rarr; Downloads &rarr; Clipboard & hotkeys</strong>, system-wide keyboard shortcuts trigger instant background downloads:
- </p>
-
- <div class="doc-table-wrap">
- <table class="doc-table">
- <thead>
- <tr>
- <th>Shortcut (Windows / Linux)</th>
- <th>Shortcut (macOS)</th>
- <th>Action Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><code>Ctrl + Shift + D</code></td>
- <td><code>Cmd + Shift + D</code></td>
- <td>Reads the active clipboard URL and queues the highest available video quality silently in the background.</td>
- </tr>
- <tr>
- <td><code>Ctrl + Shift + M</code></td>
- <td><code>Cmd + Shift + M</code></td>
- <td>Extracts audio-only (converts YouTube or social links directly to MP3) without opening the main window.</td>
- </tr>
- <tr>
- <td><code>Ctrl + K</code></td>
- <td><code>Cmd + K</code></td>
- <td>Opens the command palette to jump to any tool, setting, or the download queue.</td>
- </tr>
- </tbody>
- </table>
- </div>
-
- <div class="doc-media-card">
- <img src="../assets/readme/global-hotkey.png" alt="LibreGet Global Hotkeys" />
- <div class="doc-media-caption">Global hotkey setup: Configure custom key bindings for instant background clipboard capture and audio conversion.</div>
- </div>
-
- <!-- SECTION 3 -->
- <h2 class="doc-h2" id="comparison">3. Technical Comparison Matrix</h2>
- <p class="doc-p">
- How LibreGet compares against raw command-line tools, single-site web downloaders, and paid commercial course downloaders:
- </p>
-
- <div class="doc-table-wrap">
- <table class="doc-table">
- <thead>
- <tr>
- <th>Feature Axis</th>
- <th>LibreGet</th>
- <th>yt-dlp CLI Alone</th>
- <th>Single-Site Web Tools</th>
- <th>Paid Course Tools</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><strong>Supported Sites</strong></td>
- <td><strong>1,800+ sites</strong> + 36 Courses, Instagram, X, Pinterest, Bilibili, Torrents</td>
- <td>1,800+ sites</td>
- <td>1 site only</td>
- <td>1 or 2 platforms</td>
- </tr>
- <tr>
- <td><strong>Setup Experience</strong></td>
- <td><strong>One executable</strong>, auto-manages yt-dlp, FFmpeg & whisper.cpp</td>
- <td>Manual Python, PATH, FFmpeg flags</td>
- <td>None (browser)</td>
- <td>Installer + license key</td>
- </tr>
- <tr>
- <td><strong>Authenticated Content</strong></td>
- <td><strong>Companion Extension</strong> forwards session cookies in 1 click</td>
- <td>Manual <code>--cookies</code> text export</td>
- <td>Rarely supported</td>
- <td>In-app browser login</td>
- </tr>
- <tr>
- <td><strong>Queue & Resilience</strong></td>
- <td><strong>Resume, retry with backoff</strong>, up to 16 parallel fragments</td>
- <td>1 command at a time</td>
- <td>No queue</td>
- <td>Varies</td>
- </tr>
- <tr>
- <td><strong>Post-Download Hub</strong></td>
- <td><strong>Study workspace</strong>, player, reader, Anki cards, 158 tools</td>
- <td>Raw files on disk</td>
- <td>Files, often re-encoded</td>
- <td>Raw folder</td>
- </tr>
- <tr>
- <td><strong>Pricing & License</strong></td>
- <td><strong>100% Free & Open Source (GPL-3.0)</strong></td>
- <td>Free (Unlicense)</td>
- <td>Ad-supported / rate limited</td>
- <td>$40 - $120 / year subscription</td>
- </tr>
- </tbody>
- </table>
- </div>
-
- <!-- SECTION 4 -->
- <h2 class="doc-h2" id="media-spectrum">4. Supported Media Engines & 1,800+ Sites</h2>
- <p class="doc-p">
- LibreGet uses native extractors for the platforms that need a login, and yt-dlp for everything else:
- </p>
-
- <ul style="margin-left: 20px; color: var(--text-muted); display: grid; gap: 10px; margin-bottom: 24px; font-size: 14.5px; line-height: 1.6;">
- <li><strong>Online courses (36 platforms):</strong> Hotmart, Udemy, Kiwify, Skool, Gumroad, Rocketseat, Teachable, Kajabi, Thinkific, Pluralsight, The Great Courses (Wondrium), MasterClass, MemberKit, Cakto, Curseduca, Data Science Academy, Estratégia Concursos, Gran Cursos Online, Fluency Academy, Eduzz Nutror, and more. Keeps the course structure and downloads attachments.</li>
- <li><strong>Video & Audio Streaming:</strong> YouTube (videos, playlists, channels, SponsorBlock skip, Return YouTube Dislike, live streams from start, Force H.264 switch), TikTok, Instagram, X, Reddit, Twitch (VODs, clips, live), Vimeo, Bluesky, Threads, Douyin.</li>
- <li><strong>Bilibili (Authenticated Hi-Fi):</strong> 4K, HDR, Dolby Vision, Dolby Atmos, and Hi-Res lossless audio via your VIP session. Exports danmaku comments as XML/ASS and generates Kodi/Jellyfin NFO metadata.</li>
- <li><strong>Image Galleries (250+ Sites):</strong> Full artist profile and gallery downloads via gallery-dl integration (Pixiv, DeviantArt, ArtStation, Flickr, Tumblr, Kemono, Imgur).</li>
- <li><strong>Torrents & P2P Transfer:</strong> Built-in BitTorrent client powered by librqbit handles <code>.torrent</code> files and magnet links. Direct peer-to-peer computer transfer with short word codes.</li>
- <li><strong>Telegram Channel Archiver:</strong> The embedded LibreGram plugin downloads photos, videos, audio, and documents from any group you belong to into structured folders (<code>LibreGram/&lt;channel&gt;/</code>).</li>
- </ul>
-
- <div class="doc-media-card">
- <img src="../assets/readme/workflow.png" alt="LibreGet Architectural Workflow" />
- <div class="doc-media-caption">How LibreGet works: each link goes to a native extractor or yt-dlp, streams are downloaded and merged locally, and the result is filed in your library.</div>
- </div>
-
- <!-- SECTION 5 -->
- <h2 class="doc-h2" id="study-ecosystem">5. Study & Offline Workspace</h2>
- <p class="doc-p">
- Downloading is only the start. The built-in <strong>Study module</strong> finishes what you download:
- </p>
-
- <div class="approach-grid">
- <div class="approach-card">
- <span class="approach-badge">Video Player</span>
- <h3 class="approach-title">Timestamped Notes</h3>
- <p class="approach-desc">Resumes playback to the second. Press <strong>N</strong> while watching to capture an annotated note that jumps back to that timestamp when clicked.</p>
- </div>
-
- <div class="approach-card">
- <span class="approach-badge">Multi-Format Reader</span>
- <h3 class="approach-title">E-Book & PDF Studio</h3>
- <p class="approach-desc">Read PDF, EPUB, DJVU, MOBI, AZW3, FB2, and CBZ with paper-like themes, text highlights, bookmarks, and font controls.</p>
- </div>
-
- <div class="approach-card">
- <span class="approach-badge">Spaced Repetition</span>
- <h3 class="approach-title">Anki Flashcard Engine</h3>
- <p class="approach-desc">Turn any video note or book highlight into a flashcard. Supports importing <code>.apkg</code> and CSV decks with full review logs.</p>
- </div>
- </div>
-
-
- <!-- SECTION 6 -->
- <h2 class="doc-h2" id="tools-hub">6. The 158 Offline Tools Hub</h2>
- <p class="doc-p">
- LibreGet bundles 158 tools across 25 categories. Each tool is one Rust command, JSON in and JSON out:
- </p>
-
- <div class="doc-media-card">
- <img src="../assets/readme/tools.png" alt="158 Offline Tools Hub" />
- <div class="doc-media-caption">The 158 Tools Hub: Fast multilingual search, platform filtering, and native offline execution.</div>
- </div>
-
- <ul style="margin-left: 20px; color: var(--text-muted); display: grid; gap: 8px; margin-bottom: 24px; font-size: 14.5px;">
- <li><strong>Speech & Subtitles:</strong> Offline whisper.cpp transcription, Microsoft Edge neural TTS, subtitle translation, and bilingual subtitle merging.</li>
- <li><strong>Video Editing:</strong> Lossless video trimming, two-pass target size compression (e.g. 10MB Discord limits), video-to-GIF, silence cutting, video stabilization.</li>
- <li><strong>PDF & Documents:</strong> Merge, split, compress, repair corrupted PDFs, Bates-numbering, redaction verification, and PDF-to-Markdown conversion for LLMs.</li>
- <li><strong>Images:</strong> Vulkan GPU upscaling (Real-ESRGAN), batch resizing, duplicate photo detection, screenshot stitching, and spritesheet slicing.</li>
- <li><strong>System & Privacy:</strong> Cache cleaner, disk treemap analyzer, hosts file ad-blocking, Windows privacy hardening, and duplicate file hash finder.</li>
- <li><strong>CTF & Cryptography:</strong> Hash & HMAC identification, file entropy analysis, Caesar/Vigenère/XOR cracking, and base64/hex multi-decoders.</li>
- </ul>
-
- <p class="doc-p">
- Press <code>Ctrl + K</code> (or <code>Cmd + K</code> on macOS) anywhere in the app to open the command palette, search, and run any tool.
- </p>
-
- <!-- SECTION 7 -->
- <h2 class="doc-h2" id="privacy"><span id="architecture"></span>7. Privacy Policy &amp; No Tracking</h2>
- <p class="doc-p">
- LibreGet is an offline-first desktop app. It runs locally on your workstation with no user accounts, no cloud backend, and no central servers collecting your activity.
- </p>
-
- <div class="doc-media-card" style="max-width: 580px; margin: 24px auto;">
- <img src="../assets/readme/illustration-privacy.png" alt="LibreGet Offline Privacy Boundary" />
- <div class="doc-media-caption">Local machine boundary: Downloads, database records, and session tokens remain on your computer.</div>
- </div>
-
- <h3 style="font-size: 16px; font-weight: 600; margin: 28px 0 12px; color: var(--text);">No Telemetry &amp; Analytics</h3>
- <p class="doc-p">
- The app has no analytics, crash reporters, or usage trackers. When you paste a link, search for streams, or run a download, nothing is reported back:
- </p>
- <ul style="margin-left: 20px; color: var(--text-muted); display: grid; gap: 8px; margin-bottom: 20px; font-size: 14.5px; line-height: 1.6;">
- <li>No telemetry or heartbeat requests.</li>
- <li>No URL logging: links, video titles, and download paths stay on your machine.</li>
- <li>No analytics SDKs: built without Google Analytics, Sentry, Firebase, Mixpanel, Datadog, or PostHog.</li>
- <li>No ads, sponsored links, or hidden cryptominers.</li>
- </ul>
-
- <h3 style="font-size: 16px; font-weight: 600; margin: 28px 0 12px; color: var(--text);">Local Storage &amp; User Data Ownership</h3>
- <p class="doc-p">
- All settings and download records are saved directly to your operating system's standard application directory:
- </p>
-
- <div class="callout">
- <svg class="icon icon-lg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="margin-top: 2px;"><ellipse cx="12" cy="5" rx="9" ry="3"/><path d="M21 12c0 1.66-4 3-9 3s-9-1.34-9-3"/><path d="M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5"/></svg>
- <div>
- <strong>Local Application Data Paths:</strong>
- <ul style="list-style: none; display: grid; gap: 6px; margin-top: 6px; font-family: var(--font-mono); font-size: 13px;">
- <li><strong>Windows:</strong> <code>%APPDATA%\com.openselena.libreget\</code> (or a <code>data</code> folder next to the executable if <code>portable.txt</code> exists)</li>
- <li><strong>macOS:</strong> <code>~/Library/Application Support/com.openselena.libreget/</code></li>
- <li><strong>Linux:</strong> <code>~/.local/share/com.openselena.libreget/</code> (or <code>$XDG_DATA_HOME/com.openselena.libreget/</code>)</li>
- </ul>
- </div>
- </div>
-
- <p class="doc-p">
- Within these paths, LibreGet maintains:
- </p>
- <ul style="margin-left: 20px; color: var(--text-muted); display: grid; gap: 8px; margin-bottom: 20px; font-size: 14.5px; line-height: 1.6;">
- <li><code>libreget.db</code>: SQLite database storing download history, file paths, media titles, custom tags, and notes.</li>
- <li><code>settings.json</code>: Configuration preferences (download directories, concurrent stream limits, speed limits, theme).</li>
- <li><code>cache/</code>: Temporary thumbnail previews and active download fragments.</li>
- </ul>
- <p class="doc-p">
- <strong>Data Deletion:</strong> You can clear your download history in the app, or by deleting the <code>libreget.db</code> file from disk while LibreGet is closed.
- </p>
-
- <h3 style="font-size: 16px; font-weight: 600; margin: 28px 0 12px; color: var(--text);">Direct Downloads (No Proxy Relays)</h3>
- <p class="doc-p">
- When downloading or inspecting media, connections go directly between your computer and the media host's CDN (such as YouTube, Vimeo, Instagram, TikTok, or course servers). OpenSelena runs no proxy servers, relays, or stream reflectors. The destination servers receive your IP address and standard HTTP request headers, similar to opening the page in a browser.
- </p>
-
- <h3 style="font-size: 16px; font-weight: 600; margin: 28px 0 12px; color: var(--text);">Browser Extension &amp; Session Cookies</h3>
- <p class="doc-p">
- The companion extension communicates with LibreGet Desktop strictly over local loopback (<code>http://127.0.0.1:47720</code> to <code>47729</code>). It never connects to the internet. Handshakes require a local session token from the running desktop app. Forwarded session cookies are encrypted locally on disk and used only by native extractors. They are never sent to external servers.
- </p>
-
- <h3 style="font-size: 16px; font-weight: 600; margin: 28px 0 12px; color: var(--text);">Local MCP Server Security</h3>
- <p class="doc-p">
- The built-in MCP server binds strictly to <code>127.0.0.1</code>. It rejects connections from outside your machine. Local AI tools (Claude Desktop, Cursor, local LLMs) interact with tools directly on your computer without sending prompts or transcripts to OpenSelena.
- </p>
-
- <h3 style="font-size: 16px; font-weight: 600; margin: 28px 0 12px; color: var(--text);">DRM Policy</h3>
- <p class="doc-p">
- LibreGet does not crack, decrypt, or bypass DRM protections like Widevine, FairPlay, or PlayReady. When an encrypted stream is detected, LibreGet stops extraction and skips the stream.
- </p>
-
- <h3 style="font-size: 16px; font-weight: 600; margin: 28px 0 12px; color: var(--text);">Outbound Network Request Matrix</h3>
- <p class="doc-p">
- The following table details every outbound network request that LibreGet can initiate:
- </p>
-
- <div class="doc-table-wrap">
- <table class="doc-table">
- <thead>
- <tr>
- <th>Destination</th>
- <th>Purpose</th>
- <th>Data Transmitted</th>
- <th>Trigger Condition</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><strong>Origin Media CDNs</strong><br /><small>(YouTube, Vimeo, etc.)</small></td>
- <td>Retrieve media streams, format manifests, and fragments.</td>
- <td>Target URL, HTTP Range headers, local session cookies (if authenticated).</td>
- <td>Only upon user-initiated download or inspection action.</td>
- </tr>
- <tr>
- <td><strong>GitHub API</strong><br /><code>api.github.com/repos/OpenSelena/...</code></td>
- <td>Check for newer releases and security patches.</td>
- <td>Standard HTTP User-Agent and client architecture (e.g. <code>LibreGet/0.14.0 x86_64</code>).</td>
- <td>On startup (can be disabled in Settings).</td>
- </tr>
- <tr>
- <td><strong>OpenStreetMap Nominatim</strong><br /><small>(Optional diagnostic)</small></td>
- <td>Resolve server location in the Network Tools tab.</td>
- <td>Selected target host/IP query string.</td>
- <td>Only if user manually runs the GeoIP Lookup tool.</td>
- </tr>
- <tr>
- <td><strong>OpenSelena Servers</strong></td>
- <td><strong>None.</strong> We operate zero telemetry, tracking, or proxy servers.</td>
- <td><strong>None.</strong></td>
- <td><strong>Never.</strong></td>
- </tr>
- </tbody>
- </table>
- </div>
-
- <h3 style="font-size: 16px; font-weight: 600; margin: 28px 0 12px; color: var(--text);">Open Source Verification</h3>
- <p class="doc-p">
- LibreGet is licensed under GPL-3.0. The full source code is public on <a href="https://github.com/OpenSelena/libreget" target="_blank" rel="noopener">GitHub</a>. You can inspect all network and database code directly, or verify that the app sends no telemetry by monitoring network traffic with Wireshark, Fiddler, or mitmproxy.
- </p>
- <div style="background: rgba(255, 125, 56, 0.08); border-left: 3px solid #FF7D38; padding: 12px 16px; border-radius: 4px; margin: 16px 0; font-size: 13.5px; line-height: 1.6; color: var(--text);">
- <strong>Disclaimer:</strong> Maintained by <a href="https://github.com/igect" target="_blank" rel="noopener">Igect</a> under GPL-3.0 · Based on original architecture by <a href="https://github.com/tonhowtf" target="_blank" rel="noopener">tonhowtf</a>.
- </div>
-
- <h3 id="code-signing-policy" style="font-size: 16px; font-weight: 600; margin: 28px 0 12px; color: var(--text);">Code signing policy</h3>
- <p class="doc-p">
- Free code signing provided by <a href="https://about.signpath.io" target="_blank" rel="noopener">SignPath.io</a>, certificate by <a href="https://signpath.org" target="_blank" rel="noopener">SignPath Foundation</a>. Code changes and signed releases are reviewed and approved by the OpenSelena maintainers.
- </p>
-
- <!-- SECTION 8 -->
- <h2 class="doc-h2" id="cli-reference">8. libreget-cli Command Reference</h2>
- <p class="doc-p">
- Every release includes the headless <code>libreget-cli</code> binary for terminal workflows, automated scripts, and CI runners:
- </p>
-
- <div class="code-container">
- <div class="code-header">
- <span style="font-size: 13px; font-weight: 600; color: #a1a1aa;">Terminal</span>
- <button class="btn-copy" onclick="copyCodeSnippet(this)"><svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
- <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span>Copy</span></button>
- </div>
- <div class="code-body">
-<pre><code><span class="tok-c"># Download video or audio:
-</span>libreget-cli download "https://www.youtube.com/watch?v=..." --audio-only
-
-<span class="tok-c"># Preview what a URL offers without downloading:
-</span>libreget-cli info "https://www.youtube.com/watch?v=..."
-
-<span class="tok-c"># Download a list of URLs from a file:
-</span>libreget-cli batch ./urls.txt --max-concurrent 3 --output ~/Downloads
-
-<span class="tok-c"># Import a cookies.txt file (Netscape format):
-</span>libreget-cli import-cookies ./cookies.txt --name firefox</code></pre>
- </div>
- </div>
-
- <!-- SECTION 9 -->
- <h2 class="doc-h2" id="whisper-models">9. Whisper Model Management & Speech Studio</h2>
- <p class="doc-p">
- LibreGet's Speech & Subtitles engine bundles <code>whisper.cpp</code> for local GPU/CPU speech-to-text. Models are stored in <code>%APPDATA%\LibreGet\models\</code> on Windows and <code>~/.config/LibreGet/models/</code> on macOS/Linux:
- </p>
-
- <div class="doc-table-wrap">
- <table class="doc-table">
- <thead>
- <tr>
- <th>Model Variant</th>
- <th>Disk Size</th>
- <th>RAM / VRAM Required</th>
- <th>Recommended Usage</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><code>tiny</code> / <code>tiny.en</code></td>
- <td>75 MB</td>
- <td>~390 MB</td>
- <td>Fastest draft transcription on low-spec laptops and battery power.</td>
- </tr>
- <tr>
- <td><code>base</code> / <code>base.en</code> (Default)</td>
- <td>142 MB</td>
- <td>~500 MB</td>
- <td>Balanced accuracy and speed for YouTube videos, podcasts, and clear speech.</td>
- </tr>
- <tr>
- <td><code>small</code></td>
- <td>466 MB</td>
- <td>~1.0 GB</td>
- <td>High accuracy across accented English and general multilingual speech.</td>
- </tr>
- <tr>
- <td><code>medium</code></td>
- <td>1.5 GB</td>
- <td>~2.6 GB</td>
- <td>Professional transcription for technical lectures and noisy environments.</td>
- </tr>
- <tr>
- <td><code>large-v3</code></td>
- <td>3.1 GB</td>
- <td>~4.7 GB</td>
- <td>Maximum multilingual precision, music lyrics, and low-fidelity audio recordings.</td>
- </tr>
- </tbody>
- </table>
- </div>
-
- <!-- SECTION 10: CHANGELOG & RELEASES -->
- <h2 class="doc-h2" id="changelog">10. Official Release Notes &amp; Changelog</h2>
- <p class="doc-p">
- Track every update and bugfix shipped in LibreGet. LibreGet follows Semantic Versioning and publishes signed artifacts with SHA-256 checksums for every desktop release.
- </p>
-
- <!-- v0.16.10 Release -->
- <div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
- <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
- <div>
- <div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag" style="background: var(--primary); color: var(--text-inverse); font-weight: 600; padding: 3px 8px; border-radius: 6px;">v0.16.10 Latest Release</span>
- <span style="font-size: 13px; color: var(--text-subtle);">Released November 2026</span>
- </div>
- <h3 style="font-size: 18px; font-weight: 700; color: var(--text); margin-top: 6px;">macOS POSIX Uninstallation &amp; Cross-Platform Process Lifecycle Sweep</h3>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.16.10" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>View Release on GitHub</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div style="display: grid; gap: 18px;">
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- What's New
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li><strong>POSIX Recursive macOS Uninstaller</strong>: Replaced legacy AppleScript Finder deletion with direct POSIX <code>remove_dir_all</code> and immutable flag unlocking (<code>chflags -R nouchg</code>), bypassing macOS TCC Automation prompts and resolving silent error <code>-1743</code>.</li>
- <li><strong>Cross-Platform Process Lifecycle Sweep</strong>: Added synchronous termination (<code>pkill -x OmniGet</code> on macOS, <code>taskkill /F /IM OmniGet.exe</code> on Windows) prior to data migration and bundle removal, unlocking SQLite WAL databases and freeing GUI resources.</li>
- <li><strong>User Applications Directory Detection</strong>: Added automatic detection and removal for user-installed bundles in <code>~/Applications/OmniGet.app</code> alongside root-level <code>/Applications/OmniGet.app</code>.</li>
- </ul>
- </div>
-
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Fixes &amp; Tooling
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li><strong>Path Normalization with dirs Crate</strong>: Replaced raw environment variable string concatenations with robust <code>dirs::home_dir()</code> path resolution.</li>
- <li><strong>Atomic WAL Data Migration</strong>: Ensuring old processes exit before database copy operations prevents corrupt or partial WAL journal replication.</li>
- </ul>
- </div>
- </div>
- </div>
-
- <!-- v0.16.9 Release -->
- <div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
- <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
- <div>
- <div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag">v0.16.9</span>
- <span style="font-size: 13px; color: var(--text-subtle);">Released November 2026</span>
- </div>
- <h3 style="font-size: 18px; font-weight: 700; color: var(--text); margin-top: 6px;">Windows Legacy Uninstaller Path Correction &amp; Secondary Safety Sweep</h3>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.16.9" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>View Release on GitHub</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div style="display: grid; gap: 18px;">
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- What's New
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li><strong>Correct Windows Uninstaller Target Path</strong>: Fixed the NSIS pre-install hook to target <code>$LOCALAPPDATA\OmniGet\uninstall.exe</code> (Tauri's actual default install directory) and registry <code>UninstallString</code>, successfully triggering silent uninstallation.</li>
- <li><strong>Forced Artifact Wipe</strong>: Added explicit post-uninstall cleanup for leftover <code>%LOCALAPPDATA%\OmniGet</code> files, Desktop shortcuts, and Start Menu entries across both current user and machine profiles.</li>
- <li><strong>Desktop Runtime Safety Net</strong>: Integrated a Windows secondary cleanup pass into the Rust application bootstrap to silently purge legacy OmniGet directories and shortcuts if the installer hook was bypassed.</li>
- </ul>
- </div>
-
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Fixes &amp; Tooling
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li><strong>Registry Uninstallation Sweep</strong>: Automatically removes obsolete <code>OmniGet</code> and <code>com.openselena.omniget</code> entries from the Windows Add/Remove Programs registry hives.</li>
- <li><strong>NSIS LogicLib Modernization</strong>: Migrated jump-based NSIS control flow to structured <code>LogicLib.nsh</code> blocks for rock-solid conditional verification.</li>
- </ul>
- </div>
- </div>
- </div>
-
- <!-- v0.16.8 Release -->
- <div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
- <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
- <div>
- <div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag">v0.16.8</span>
- <span style="font-size: 13px; color: var(--text-subtle);">Released November 2026</span>
- </div>
- <h3 style="font-size: 18px; font-weight: 700; color: var(--text); margin-top: 6px;">Multi-Platform Legacy App Migration &amp; Packaging Contracts</h3>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.16.8" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>View Release on GitHub</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div style="display: grid; gap: 18px;">
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- What's New
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li><strong>Universal Data Migration Engine</strong>: Zero-loss migration on first boot adopting SQLite database, WAL files, settings, active queues, and browser cookies from <code>com.openselena.omniget</code> to <code>com.openselena.libreget</code>.</li>
- <li><strong>Automated Legacy Uninstaller (Windows)</strong>: Built-in NSIS installer hook detects running OmniGet instances, safely terminates them, and triggers the silent uninstaller before deploying LibreGet.</li>
- <li><strong>Finder Trash Delegation (macOS)</strong>: Native AppleScript Finder integration automatically moves legacy <code>/Applications/OmniGet.app</code> to the Trash without requiring root privileges.</li>
- <li><strong>Native Package Supersession (Linux RPM &amp; DEB)</strong>: Full packaging contracts with RPM <code>Provides</code> &amp; <code>Obsoletes</code> and Debian <code>Provides</code>, <code>Replaces</code> &amp; <code>Conflicts</code> for clean package manager replacement via <code>dnf</code> and <code>apt</code>.</li>
- </ul>
- </div>
-
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Fixes &amp; Tooling
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li><strong>Desktop Integration Cleanup</strong>: Linux post-migration cleanup unlinks orphaned <code>omniget.desktop</code> launchers and desktop shortcuts.</li>
- <li><strong>Installer Path Normalization</strong>: Windows NSIS uninstaller invocation uses unquoted <code>_?=</code> target path parameter to prevent child process detachment.</li>
- </ul>
- </div>
- </div>
- </div>
-
- <!-- v0.16.7 Release -->
- <div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
- <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
- <div>
- <div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag">v0.16.7</span>
- <span style="font-size: 13px; color: var(--text-subtle);">Released November 2026</span>
- </div>
- <h3 style="font-size: 18px; font-weight: 700; color: var(--text); margin-top: 6px;">Libre Ecosystem Rebrand, Automated Formatting Hooks &amp; Custom Subdomain</h3>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.16.7" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>View Release on GitHub</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div style="display: grid; gap: 18px;">
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- What's New
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li><strong>Complete Libre Rebrand</strong>: Unified naming across LibreGet, LibreGram, LibreGuard, and LibreBox with zero legacy namespace references across the entire codebase.</li>
- <li><strong>Automated Rust Quality Hooks</strong>: Integrated Git pre-commit and pre-push hooks ensuring Rust formatting invariants hold locally and in CI.</li>
- <li><strong>Official Subdomain Migration</strong>: Deployed official documentation and landing page suite to <code>libreget.asf.sale</code> with enforced TLS.</li>
- <li><strong>Hosted Weblate Integration</strong>: Connected the translation pipeline to <code>hosted.weblate.org/projects/libreget/frontend/</code> under GPL-3.0 Libre hosting.</li>
- </ul>
- </div>
-
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Fixes &amp; Tooling
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li><strong>Storage &amp; Database Purge</strong>: Removed legacy fallback storage keys and migration shims in database, lifecycle, and frontend stores.</li>
- <li><strong>Project Privacy Flag</strong>: Configured <code>"private": true</code> in root <code>package.json</code> for clear desktop-only package boundary.</li>
- <li><strong>Documentation Suite Parity</strong>: Updated canonical URLs, sitemaps, and LLM text specs across all 7 documentation sections.</li>
- </ul>
- </div>
- </div>
- </div>
-
- <!-- v0.16.6 Release -->
- <div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
- <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
- <div>
- <div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag">v0.16.6</span>
- <span style="font-size: 13px; color: var(--text-subtle);">Released November 2026</span>
- </div>
- <h3 style="font-size: 18px; font-weight: 700; color: var(--text); margin-top: 6px;">Home Stage &amp; LibreBox V1, 4K &amp; 2K Quality Engine &amp; Global Download Dock</h3>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.16.6" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>View Release on GitHub</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div style="display: grid; gap: 18px;">
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- What's New
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li><strong>4K (2160p) &amp; 2K (1440p) Quality Engine</strong>: Added dedicated 4K and 2K resolution presets in the Home LibreBox popover (<code>Quality and more</code>) and Settings (<code>Quality &amp; format</code>), with upper-bound fallback selection (<code>height &lt;= H</code>) across Rust extractors (<code>vimeo.rs</code>, <code>twitch.rs</code>, <code>ytdlp.rs</code>).</li>
- <li><strong>V1 Home Stage &amp; LibreBox Geometry</strong>: Restored the Home input wrapper to a <code>16px</code> card radius with an integrated <code>8px</code> concentric <code>Paste</code> button pill, added circular <code>+</code> action popover (batch mode, local <code>.torrent</code>, file transfer, advanced), unified stage transitions, and 3-line media preview card with duration badges.</li>
- <li><strong>Global Download Dock (<code>GlobalDownloadBar.svelte</code>)</strong>: Introduced a persistent floating bottom dock across all application routes featuring real-time byte counters, ETA, dynamic 60-point SVG throughput sparkline, and consolidated status/speed filter controls in <code>/downloads</code>.</li>
- </ul>
- </div>
-
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Fixes
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li><strong>Audio-Mode Queue Routing</strong>: Fixed job ingestion in <code>queue.rs</code> so that selecting <code>video_quality = "audio"</code> explicitly promotes the job to <code>download_mode = Some("audio")</code>, skipping video extraction and downloading native audio streams directly.</li>
- <li><strong>Svelte 5 Toolbar State Leak</strong>: Replaced <code>$state</code> with <code>$state.raw</code> and a monotonic <code>activeToken</code> in <code>toolbar-store.svelte.ts</code>, ensuring section-specific action buttons and tabs are cleanly destroyed upon navigating away.</li>
- <li><strong>Home Search Retention</strong>: Preserved top-right <code>.mac-search-field</code> (<code>Search Ctrl+K</code>) on Home while scoping section titles (e.g. <code>"Nami"</code>) on secondary routes.</li>
- <li><strong>Process &amp; Preview Stability</strong>: Configured <code>process_group(0)</code> with direct PID tree kill fallbacks for background extractors, restored Instagram photo thumbnails, and resolved infinite preview skeleton shimmer on Twitter/X.</li>
- <li><strong>Clippy Baseline Compliance</strong>: Replaced vector allocations with fixed stack arrays in platform test suites to pass GitHub Actions automated build gates across Linux, macOS, and Windows without baseline drift.</li>
- </ul>
- </div>
- </div>
- </div>
-
- <!-- v0.16.5 Release -->
- <div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
- <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
- <div>
- <div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag">v0.16.5</span>
- <span style="font-size: 13px; color: var(--text-subtle);">Released November 2026</span>
- </div>
- <h3 style="font-size: 18px; font-weight: 700; color: var(--text); margin-top: 6px;">Home Geometry &amp; Asset Alignment: Centered Titlebar, Concentric Pill LibreBox &amp; Lossless Mascot Frames</h3>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.16.5" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>View Release on GitHub</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div style="display: grid; gap: 18px;">
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Fixes
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li><strong>Shell &amp; Titlebar Alignment</strong>: Aligned <code>.mac-titlebar</code> right inset and banner margins with <code>--pane-inset</code> so titlebar controls share the pane centerline, and capitalized the backend window title to <code>LibreGet</code>.</li>
- <li><strong>Lossless Mascot Framing</strong>: Centered all 7 mascot PNGs on a square <code>1320x1320</code> canvas without edge halos or baseline drift, enforced square rendering, and fixed the image load race in <code>Mascot.svelte</code>.</li>
- <li><strong>Concentric Home Aura</strong>: Moved the warm radial glow into <code>.home-stage-hero</code> so it tracks the mascot center across all window heights.</li>
- <li><strong>LibreBox Pill &amp; Action Menu</strong>: Updated the LibreBox wrapper to full pill radius (<code>9999px</code>), uniform <code>32px</code> endcap controls, a flush <code>8px</code> menu gap, and localized <code>librebox.more_actions</code> labels.</li>
- </ul>
- </div>
- </div>
- </div>
-
- <!-- v0.16.4 Release -->
- <div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
- <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
- <div>
- <div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag">v0.16.4</span>
- <span style="font-size: 13px; color: var(--text-subtle);">Released November 2026</span>
- </div>
- <h3 style="font-size: 18px; font-weight: 700; color: var(--text); margin-top: 6px;">Home Stage Parity: 4K &amp; 2K Quality Selection, Video Mode &amp; Immediate Media Preview</h3>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.16.4" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>View Release on GitHub</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div style="display: grid; gap: 18px;">
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- What's New
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li><strong>4K (2160p) &amp; 2K (1440p) Quality Support</strong>: Added 4K and 2K resolution selection in both Home (under <code>Quality and more</code>) and <code>Settings &gt; Downloads &gt; Quality &amp; format</code> with automatic upper-bound fallback.</li>
- <li><strong>Video Mode &amp; Options Rename</strong>: Renamed <code>Auto</code> mode button to <code>Video</code> with a video icon, and renamed <code>Options</code> to <code>Quality and more</code>.</li>
- <li><strong>Unified Centered Stage Flow</strong>: Preserved the centered stage layout and 52px LibreBox without jumping to a flat top bar on paste.</li>
- <li><strong>Immediate Media Preview</strong>: Prefetch starts immediately upon paste, briefly softening the mascot and revealing a 3-line preview (Title, Author, Duration) when the inspector card opens.</li>
- <li><strong>Post-Download Feedback</strong>: Centered <code>Added to Downloads · Open Downloads</code> inline confirmation with mascot celebration.</li>
- <li><strong>Global Download Dock Polish</strong>: Added ETA estimates and a subtle container for the live throughput sparkline.</li>
- </ul>
- </div>
- </div>
- </div>
-
- <!-- v0.16.3 Release -->
- <div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
- <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
- <div>
- <div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag">v0.16.3</span>
- <span style="font-size: 13px; color: var(--text-subtle);">Released November 2026</span>
- </div>
- <h3 style="font-size: 18px; font-weight: 700; color: var(--text); margin-top: 6px;">V1 Shell Polish: Clean Home Stage, Sharp Mascot Inspection &amp; Route-Scoped Toolbar Cleanup</h3>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.16.3" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>View Release on GitHub</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div style="display: grid; gap: 18px;">
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Interface &amp; Shell Fixes
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Fixed cross-route toolbar state persistence so <code>Downloads | History | Tools</code> and <code>Installed | Browse</code> segments and actions clear immediately when navigating away from <code>/downloads</code> or <code>/marketplace</code>.</li>
- <li>Removed the secondary Home stage subtitle copy while keeping the primary headline, LibreBox, and top-right <code>Search Ctrl+K</code> bar.</li>
- <li>Removed the CSS filter blur on the Penguin mascot and speech bubble during active link inspection on the Home screen.</li>
- </ul>
- </div>
- </div>
- </div>
-
- <!-- v0.16.2 Release -->
- <div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
- <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
- <div>
- <div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag" style="background: var(--bg-muted); color: var(--text); font-weight: 600; padding: 3px 8px; border-radius: 6px;">v0.16.2</span>
- <span style="font-size: 13px; color: var(--text-subtle);">Released November 2026</span>
- </div>
- <h3 style="font-size: 18px; font-weight: 700; color: var(--text); margin-top: 6px;">V1 UI Upgrade: LibreBox Action Popover, Clickable Paste Pill, Thumbnail Duration Badge &amp; Global Download Dock</h3>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.16.2" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>View Release on GitHub</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div style="display: grid; gap: 18px;">
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Interface &amp; Experience Upgrades
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Added a circular <code>+</code> popover menu inside the LibreBox for batch URLs, <code>.torrent</code> files, P2P file sharing, and advanced options, plus a clickable <code>Paste</code> pill.</li>
- <li>Moved preview duration into a bottom-right thumbnail badge and added subtle mascot blur during link inspection.</li>
- <li>Added a persistent global bottom download dock with live progress, transfer speed, and a 60-point SVG network throughput sparkline.</li>
- <li>Aligned segmented status filter pills and the download speed limit selector on a single horizontal header bar.</li>
- </ul>
- </div>
- </div>
- </div>
-
- <!-- v0.16.1 Release -->
- <div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
- <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
- <div>
- <div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag" style="background: var(--bg-muted); color: var(--text); font-weight: 600; padding: 3px 8px; border-radius: 6px;">v0.16.1</span>
- <span style="font-size: 13px; color: var(--text-subtle);">Released November 2026</span>
- </div>
- <h3 style="font-size: 18px; font-weight: 700; color: var(--text); margin-top: 6px;">Platform Media Stability Patch: Queue Kind Refinement, Thumbnail Resolution, Unix Process Group Termination &amp; CPU Throttling</h3>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.16.1" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>View Release on GitHub</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div style="display: grid; gap: 18px;">
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Bug Fixes &amp; Stability Patches
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Resolved queue item kind categorization so downloaded photos and carousels display photo indicators and badges instead of videos.</li>
- <li>Restored missing photo thumbnails and creator username extraction for Instagram single and carousel posts.</li>
- <li>Propagated Twitter photo URLs to thumbnails and guarded librebox preview against infinite shimmer skeletons.</li>
- <li>Added Unix process group allocation (<code>process_group(0)</code>) and direct PID kill to ensure Nami downloads stop reliably.</li>
- <li>Throttled yt-dlp concurrent fragments to 4, limited ffmpeg threads to 2, and debounced librebox metadata prefetching.</li>
- <li>Added canonical redirect resolution for Threads <code>/share/</code> links.</li>
- </ul>
- </div>
- </div>
- </div>
- </ul>
- </div>
- </div>
- </div>
-
- <!-- v0.15.1 Release -->
- <div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
- <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
- <div>
- <div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag">v0.15.1</span>
- <span style="font-size: 13px; color: var(--text-subtle);">Released November 2026</span>
- </div>
- <h3 style="font-size: 18px; font-weight: 700; color: var(--text); margin-top: 6px;">Telegram 67-Command Backend, Localhost Media Streaming &amp; Course/Torrent Fixes</h3>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.15.1" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>View Release on GitHub</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div style="display: grid; gap: 18px;">
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Telegram Backend &amp; Platform Fixes
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Implemented all 67 Telegram plugin IPC commands, global MTProto media search with <code>access_hash</code> caching, channel cloning, and localhost HTTP range streaming.</li>
- <li>Fixed Kiwify alphanumeric UUID course ID parsing and nested module/video payload extraction.</li>
- <li>Restored Hotmart lesson attachment downloads via the <code>complementary-content</code> API (#157).</li>
- <li>Added local <code>.torrent</code> file path resolution across output, working, and Downloads folders (#158).</li>
- </ul>
- </div>
- </div>
- </div>
-
- <!-- v0.15.0 Release -->
- <div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
- <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
- <div>
- <div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag">v0.15.0</span>
- <span style="font-size: 13px; color: var(--text-subtle);">Released November 2026</span>
- </div>
- <h3 style="font-size: 18px; font-weight: 700; color: var(--text); margin-top: 6px;">Brand Redesign, Local-First Architecture &amp; CLI Dataset Archiving</h3>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.15.0" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>View Release on GitHub</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div style="display: grid; gap: 18px;">
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Branding &amp; Architecture Overhaul
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Original Penguin mascot designed from scratch across all 7 desktop states; purged legacy upstream mascot art.</li>
- <li>Completely removed legacy real-time chat, MLS encryption, and hardcoded P2P relay servers (56,391 lines deleted).</li>
- <li>Purged experimental League of Legends companion (21,739 lines deleted) to enforce local-first, zero-telemetry architecture.</li>
- <li>Added <code>libreget-cli search</code> and <code>libreget-cli archive</code> for YouTube dataset archiving with rate-limit backoff.</li>
- </ul>
- </div>
- </div>
- </div>
-
- <!-- v0.14.3 Release -->
- <div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
- <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
- <div>
- <div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag">v0.14.3</span>
- <span style="font-size: 13px; color: var(--text-subtle);">Released November 2026</span>
- </div>
- <h3 style="font-size: 18px; font-weight: 700; color: var(--text); margin-top: 6px;">CLI Output Formatting, AppImage Library Isolation &amp; Localization Expansion</h3>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.14.3" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>View Release on GitHub</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div style="display: grid; gap: 18px;">
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M4 17l6-6-6-6M12 19h8"/></svg>
- CLI &amp; Core Engine Fixes
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Serialized <code>libreget-cli --json</code> output as standard, clean JSON objects (#154).</li>
- <li>Purged bundled <code>$APPDIR</code> from <code>LD_LIBRARY_PATH</code> under Linux AppImages (#147).</li>
- <li>Enhanced URL parser to extract links from shared text blocks across LibreBox and CLI (#155).</li>
- <li>Sorted finished and failed download queues by recency (#96).</li>
- </ul>
- </div>
- </div>
- </div>
-
- <!-- v0.14.2 Release -->
- <div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
- <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
- <div>
- <div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag">v0.14.2</span>
- <span style="font-size: 13px; color: var(--text-subtle);">Released November 2026</span>
- </div>
- <h3 style="font-size: 18px; font-weight: 700; color: var(--text); margin-top: 6px;">Penguin Artwork Refresh, Video Dataset CLI &amp; Architecture Cleanups</h3>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.14.2" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>View Release on GitHub</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div style="display: grid; gap: 18px;">
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Penguin Artwork Refresh &amp; Video Dataset CLI
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Updated README hero artwork with fixed high-definition penguin character render.</li>
- <li>Added <code>libreget-cli search</code> and <code>libreget-cli archive</code> for downloading video datasets with bot backoff.</li>
- <li>Fixed CLI <code>--format</code> container output parsing and purged legacy migration code.</li>
- </ul>
- </div>
- </div>
- </div>
-
- <!-- v0.14.1 Release -->
- <div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
- <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
- <div>
- <div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag">v0.14.1</span>
- <span style="font-size: 13px; color: var(--text-subtle);">Released November 2026</span>
- </div>
- <h3 style="font-size: 18px; font-weight: 700; color: var(--text); margin-top: 6px;">Yoinks Penguin Visual Asset Integration &amp; Brand Refresh</h3>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.14.1" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>View Release on GitHub</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div style="display: grid; gap: 18px;">
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>
- Yoinks Penguin Visual Assets
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Replaced MosCat mascot states with high-DPI Yoinks penguin character states.</li>
- <li>Integrated 384x384 SVG navigation and settings illustration tiles.</li>
- <li>Refreshed Tauri desktop icons and Chrome/Firefox browser extension suites.</li>
- </ul>
- </div>
- </div>
- </div>
-
- <!-- v0.14.0 Release -->
- <div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
- <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
- <div>
- <div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag">v0.14.0</span>
- <span style="font-size: 13px; color: var(--text-subtle);">Released October 2026</span>
- </div>
- <h3 style="font-size: 18px; font-weight: 700; color: var(--text); margin-top: 6px;">Offline Study Module, BitTorrent Telemetry &amp; Course Platform Upgrades</h3>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.14.0" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>View Release on GitHub</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div style="display: grid; gap: 18px;">
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"/><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"/></svg>
- Offline Study Module (libreget-plugin-study)
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Native SQLite-backed progress tracking and course structure indexing.</li>
- <li>Filesystem scanning for downloaded video and document curriculum folders.</li>
- </ul>
- </div>
-
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>
- BitTorrent 99% Completion Stall Fix &amp; Telemetry
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Eliminated 99% stall bug during piece verification; deterministic completion to 100%.</li>
- <li>Added real-time speed (bps/MB/s) and remaining bytes counters to torrent downloads.</li>
- </ul>
- </div>
-
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polygon points="12 2 2 7 12 12 22 7 12 2"/><polyline points="2 17 12 22 22 17"/><polyline points="2 12 12 17 22 12"/></svg>
- Course Extractors &amp; Hardening
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Fixed Skool lesson resolution (#94) and handled empty Udemy courses (#72).</li>
- <li>Hardened yt-dlp parameter validation and updated core toolchains.</li>
- </ul>
- </div>
- </div>
- </div>
-
- <!-- v0.13.0 Release -->
- <div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
- <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
- <div>
- <div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag" style="background: var(--bg-muted); color: var(--text); font-weight: 600; padding: 3px 8px; border-radius: 6px;">v0.13.0</span>
- <span style="font-size: 13px; color: var(--text-subtle);">Released October 2026</span>
- </div>
- <h3 style="font-size: 18px; font-weight: 700; color: var(--text); margin-top: 6px;">YouTube Stream Muxing, FFmpeg Auto-Download &amp; MosCat Navigation</h3>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.13.0" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>View Release on GitHub</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div style="display: grid; gap: 18px;">
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polygon points="23 7 16 12 23 17 23 7"/><rect x="1" y="5" width="15" height="14" rx="2" ry="2"/></svg>
- YouTube Stream Muxing &amp; FFmpeg Auto-Download (Fixes #54)
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Muxes separate 1080p, 1440p, and 4K video and audio streams into unified MP4 files.</li>
- <li>Automatically verifies and downloads FFmpeg to cache if missing from host PATH.</li>
- <li>Adds desktop launcher search paths and macOS ad-hoc binary signing for cache binaries.</li>
- </ul>
- </div>
-
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"/></svg>
- Settings UI Polish &amp; MosCat Navigation
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Dedicated header descriptions for all Settings tabs with 12-locale translations.</li>
- <li>Custom MosCat navigation vector icons in the application shell.</li>
- </ul>
- </div>
-
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>
- Dependency &amp; Security Audits
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Bumped Svelte to 5.57.2 and Vite to 6.4.4. Fixed Facebook URL decoding.</li>
- <li>Overrode devalue and markdown-it versions: 0 open Dependabot or CodeQL alerts.</li>
- </ul>
- </div>
- </div>
- </div>
-
- <!-- v0.12.2 Release -->
- <div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
- <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
- <div>
- <div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag" style="background: var(--bg-muted); color: var(--text); font-weight: 600; padding: 3px 8px; border-radius: 6px;">v0.12.2</span>
- <span style="font-size: 13px; color: var(--text-subtle);">Released October 2026</span>
- </div>
- <h3 style="font-size: 18px; font-weight: 700; color: var(--text); margin-top: 6px;">Telegram Core Sync, Cross-DC Bot Avatars &amp; Full 12-Locale Parity</h3>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.12.2" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>View Release on GitHub</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div style="display: grid; gap: 18px;">
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>
- Telegram Plugin Command Handlers &amp; Outdated Alert Prevention
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Registered all missing plugin command handlers for participant listings, account management, and clone wizards, completely eliminating <code>ERR_PLUGIN_OUTDATED</code> alerts.</li>
- <li>Added safe fallback error handling in the Channel Drawer members tab, Account Panel, and Clone Wizard to handle restricted channels smoothly.</li>
- </ul>
- </div>
-
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>
- Live Dialog Synchronization &amp; Reactive UI Refresh
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Connected <code>telegram_sync_now</code> to fetch live dialogs and return real synchronized channel counts rather than a zero stub.</li>
- <li>Dispatched an automatic <code>telegram:chats:refresh</code> event on sync completion so the chat list updates immediately without requiring a page reload.</li>
- </ul>
- </div>
-
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/><circle cx="8.5" cy="7" r="4"/><line x1="20" y1="8" x2="20" y2="14"/><line x1="23" y1="11" x2="17" y2="11"/></svg>
- Cross-DC Bot Avatars &amp; Full 12-Locale Parity
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Resolved Telegram MTProto cross-DC migration (error 303 <code>FILE_MIGRATE</code>) by streaming avatar downloads via native client iteration with automated multi-DC routing.</li>
- <li>Rendered circular chat photos in the Channel Drawer header with graceful initial letter fallbacks.</li>
- <li>Localized the channel management button across all 12 supported locales, enforcing 100% dictionary key parity (7,444 keys).</li>
- </ul>
- </div>
- </div>
- </div>
-
- <!-- v0.12.1 Release -->
- <div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
- <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
- <div>
- <div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag" style="background: var(--bg-muted); color: var(--text); font-weight: 600; padding: 3px 8px; border-radius: 6px;">v0.12.1</span>
- <span style="font-size: 13px; color: var(--text-subtle);">Released October 2026</span>
- </div>
- <h3 style="font-size: 18px; font-weight: 700; color: var(--text); margin-top: 6px;">Global Update Notification Banner &amp; Dependencies Table Alignment</h3>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.12.1" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>View Release on GitHub</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div style="display: grid; gap: 18px;">
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" /><polyline points="15 3 21 3 21 9" /><line x1="10" y1="14" x2="21" y2="3" /></svg>
- Global App Update Notification System
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Added a persistent yet dismissible top update banner across all views, ensuring newly available releases are immediately noticeable without opening Settings.</li>
- <li>Added a live accent-colored <code>UPDATE</code> indicator badge on the Settings sidebar navigation item.</li>
- <li>Centralized update state and action orchestration across the entire desktop application shell.</li>
- </ul>
- </div>
-
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>
- Dependencies Management UI &amp; Version Sanitization
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Resolved PDFium version marker parsing defect in the core engine, extracting clean build numbers (e.g. <code>v8076</code>) from upstream key-value lines.</li>
- <li>Eliminated action button line wrapping on dependency rows with fixed table layouts and compact dropdown selections.</li>
- <li>Ensured consistent vertical and horizontal alignment across PDFium, yt-dlp, and FFmpeg rows.</li>
- </ul>
- </div>
- </div>
- </div>
-
- <!-- v0.11.0 Release -->
- <div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
- <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
- <div>
- <div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag" style="background: var(--bg-muted); color: var(--text); font-weight: 600; padding: 3px 8px; border-radius: 6px;">v0.11.0</span>
- <span style="font-size: 13px; color: var(--text-subtle);">Release &bull; October 2026</span>
- </div>
- <h3 style="font-size: 18px; font-weight: 700; color: var(--text); margin-top: 6px;">36 Course Platforms Wired &amp; Security Protocol Hardening</h3>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.11.0" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>View Release on GitHub</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div style="display: grid; gap: 18px;">
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="2" y="7" width="20" height="14" rx="2" ry="2"/><path d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"/></svg>
- 36 Course Platforms Wired &amp; Platform Dispatcher
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Connected all 36 supported platforms directly to the <code>download_course_platform</code> dispatcher.</li>
- <li>Added native authentication and Udemy course listing handlers inside the embedded <code>CoursesPlugin</code>.</li>
- <li>Injected Tauri <code>AppHandle</code> into the embedded plugin for background downloads, queue sync, and notifications.</li>
- <li>Resolved zero-course listing fallback and improved session handling for Udemy and Hotmart.</li>
- </ul>
- </div>
-
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>
- Security Hardening &amp; Protocol Isolation
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Enforced strict non-null Content Security Policy (CSP) across all Tauri webview windows.</li>
- <li>Restricted custom asset protocol (<code>asset://</code>) access strictly to app data, user download, and system temp directories.</li>
- <li>Scoped <code>shell:allow-open</code> permissions to safe web and email protocols (<code>https:</code>, <code>http:</code>, <code>mailto:</code>).</li>
- <li>Enforced strict <code>0600</code> POSIX file permissions on cached authentication tokens and credentials on disk.</li>
- <li>Sanitized cookie and authorization headers against CRLF and control character injection attacks.</li>
- </ul>
- </div>
-
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>
- UI Polish &amp; Metadata Standardization
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Standardized Windows executable and installer metadata: product name is <strong>LibreGet</strong> and publisher is <strong>OpenSelena</strong>.</li>
- <li>Dynamic version resolution in the About dialog directly from the Tauri runtime.</li>
- <li>Cleaned footer credits and standardized tab titles and terminology across all 12 localized languages.</li>
- <li>Prevented heap out-of-memory errors during frontend bundling by allocating 4GB memory to the build process.</li>
- </ul>
- </div>
- </div>
- </div>
-
- <!-- v0.10.5 Release -->
- <div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
- <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
- <div>
- <div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag" style="background: var(--bg-muted); color: var(--text); font-weight: 600; padding: 3px 8px; border-radius: 6px;">v0.10.5</span>
- <span style="font-size: 13px; color: var(--text-subtle);">Release &bull; October 2026</span>
- </div>
- <h3 style="font-size: 18px; font-weight: 700; color: var(--text); margin-top: 6px;">Telegram LibreGram Isolation &amp; Static Plugins</h3>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.10.5" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>View Release on GitHub</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
-
- <div style="display: grid; gap: 18px;">
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M22 2L11 13"/><polygon points="22 2 15 22 11 13 2 9 22 2"/></svg>
- Telegram &amp; LibreGram Directory Isolation
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Media items downloaded via Telegram now automatically save into dedicated <code>LibreGram/{channel_name}/</code> subfolders.</li>
- <li>Added OS-safe directory name sanitization for Windows, macOS, and Linux to prevent illegal filesystem characters.</li>
- <li>Automatic folder reuse on subsequent downloads prevents redundant duplicate directory trees.</li>
- <li>Fixed <code>DC_ID_INVALID</code> errors when downloading large media archives through home datacenters.</li>
- </ul>
- </div>
-
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="2" y="7" width="20" height="14" rx="2" ry="2"/><path d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"/></svg>
- Statically Embedded Core Plugins
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>The <code>convert</code>, <code>courses</code>, and <code>telegram</code> plugins are now statically compiled into the primary desktop binary, preventing runtime library load failures.</li>
- <li>Eliminated dynamic library loading errors and duplicate symbol collisions across operating system architectures.</li>
- <li>Updated plugin registry and repository endpoints to official OpenSelena URLs.</li>
- <li>Fixed Kajabi login token signature handling and Windows WebView2 COM <code>PWSTR</code> type compatibility.</li>
- </ul>
- </div>
-
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 8px;">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>
- Linux Bridge &amp; Full Localization
- </h4>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Resolved WebKitGTK local media streaming and session token pre-authentication on Linux desktops.</li>
- <li>Configured system GStreamer plugin search paths inside AppImage builds to support hardware-accelerated video decoding.</li>
- <li>Completed full Russian (Русский) UI translation across all application dialogs and views.</li>
- </ul>
- </div>
- </div>
- </div>
-
- <!-- v0.10.4 & Earlier -->
- <div id="changelog-v0-10-4" style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
- <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
- <div>
- <div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag" style="background: var(--bg-muted); color: var(--text); font-weight: 600; padding: 3px 8px; border-radius: 6px;">v0.10.4</span>
- <span style="font-size: 13px; color: var(--text-subtle);">Release &bull; October 2026</span>
- </div>
- <h3 style="font-size: 17px; font-weight: 700; color: var(--text); margin-top: 6px;">Plugin Command Signatures &amp; Telegram Sync</h3>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.10.4" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>View Release on GitHub</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Registered missing login command signatures across course provider authentication routines.</li>
- <li>Registered background performance monitoring and real-time sync event handlers in Telegram downloader plugin.</li>
- </ul>
- </div>
-
- <!-- v0.10.3 -->
- <div style="background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 24px;">
- <div style="display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 14px;">
- <div>
- <div style="display: flex; align-items: center; gap: 10px;">
- <span class="sidebar-tag" style="background: var(--bg-muted); color: var(--text); font-weight: 600; padding: 3px 8px; border-radius: 6px;">v0.10.3</span>
- <span style="font-size: 13px; color: var(--text-subtle);">Release &bull; September 2026</span>
- </div>
- <h3 style="font-size: 17px; font-weight: 700; color: var(--text); margin-top: 6px;">Telegram Datacenter Handshake Fix</h3>
- </div>
- <a href="https://github.com/OpenSelena/libreget/releases/tag/v0.10.3" target="_blank" rel="noopener" class="subtab-item" style="border: 1px solid var(--border); text-decoration: none;">
- <span>View Release on GitHub</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
- </a>
- </div>
- <ul style="margin-left: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.6; display: grid; gap: 4px;">
- <li>Fixed persistent download interruptions and handshake resets (<code>DC_ID_INVALID</code>) when pulling large media files from Telegram home servers.</li>
- </ul>
- </div>
-
- <!-- Link to Full Dedicated Changelog -->
- <div style="background: var(--bg-subtle); border: 1px solid var(--border); border-radius: 12px; padding: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 32px;">
- <div>
- <h4 style="font-size: 15px; font-weight: 600; color: var(--text);">Archived Releases & Historical Commits</h4>
- <p style="font-size: 13.5px; color: var(--text-muted); margin-top: 2px;">Review release notes for v0.10.2, v0.10.1, v0.10.0 and earlier milestones in the dedicated changelog.</p>
- </div>
- <a href="./changelog/" class="subtab-item" style="background: var(--primary); color: var(--text-inverse); text-decoration: none; font-weight: 600;">
- <span>Explore Dedicated Changelog &rarr;</span>
- </a>
- </div>
-
- <div class="page-nav-grid">
- <div></div>
- <a href="./installation/" class="page-nav-card" style="text-align: right;">
- <span class="page-nav-sub">Next Guide</span>
- <span class="page-nav-title" style="justify-content: flex-end; gap: 8px;">
- <span>Installation Guide &rarr;</span>
- </span>
- </a>
- </div>
-
- </main>
-
- <aside class="docs-toc">
- <div class="toc-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 5h.01" />
- <path d="M3 12h.01" />
- <path d="M3 19h.01" />
- <path d="M8 5h13" />
- <path d="M8 12h13" />
- <path d="M8 19h13" /></svg>
- <span>On this page</span>
- </div>
- <ul class="toc-list" id="tocList">
- <li><a href="#first-download" class="toc-link">1. Quickstart & First Download</a></li>
- <li><a href="#global-hotkeys" class="toc-link">2. Global Hotkeys & Background Capture</a></li>
- <li><a href="#comparison" class="toc-link">3. Technical Comparison Matrix</a></li>
- <li><a href="#media-spectrum" class="toc-link">4. 1,800+ Media Sites & Formats</a></li>
- <li><a href="#study-ecosystem" class="toc-link">5. Study & Offline Workspace</a></li>
- <li><a href="#tools-hub" class="toc-link">6. The 158 Offline Tools Hub</a></li>
- <li><a href="#privacy" class="toc-link">7. Privacy Policy &amp; No Tracking</a></li>
- <li><a href="#cli-reference" class="toc-link">8. libreget-cli Reference</a></li>
- <li><a href="#whisper-models" class="toc-link">9. Whisper Model Management</a></li>
- <li><a href="#changelog" class="toc-link">10. Release Notes &amp; Changelog</a></li>
- </ul>
-
- <div class="toc-community-box">
- <a href="https://github.com/OpenSelena/libreget" class="toc-community-link" target="_blank" rel="noopener">
- <svg class="icon icon-fill icon-sm" viewBox="0 0 24 24" fill="currentColor"><title>GitHub</title><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-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>
- <span>Edit page on GitHub</span>
- </a>
- <a href="https://t.me/OpenSelena" class="toc-community-link" target="_blank" rel="noopener">
- <svg class="icon icon-fill icon-sm" viewBox="0 0 24 24" fill="currentColor"><title>Telegram</title><path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"/></svg>
- <span>Ask in Telegram</span>
- </a>
- </div>
- </aside>
- </div>
-
- <!-- SEARCH MODAL -->
- <div class="search-modal-backdrop" id="searchBackdrop" onclick="closeSearchModal(event)">
- <div class="search-modal" onclick="event.stopPropagation()">
- <div class="search-input-wrap">
- <svg class="icon icon-lg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m21 21-4.34-4.34" />
- <circle cx="11" cy="11" r="8" /></svg>
- <input type="text" class="search-modal-input" id="searchInput" placeholder="Search documentation..." autocomplete="off" />
- </div>
- <ul class="search-results-list" id="searchResults">
- <li class="search-result-item" onclick="location.href='./'">
- <span class="search-result-title">Quickstart Guide</span>
- <span class="search-result-desc">Three modes: Visual desktop app, local MCP, and portable mode</span>
- </li>
- <li class="search-result-item" onclick="location.href='./installation/'">
- <span class="search-result-title">Installation & OS Binaries</span>
- <span class="search-result-desc">Windows, macOS Apple Silicon, and Linux packages</span>
- </li>
- <li class="search-result-item" onclick="location.href='./mcp/'">
- <span class="search-result-title">Model Context Protocol (MCP) Server</span>
- <span class="search-result-desc">Local AI agent tools for Claude Code, Cursor, and VS Code</span>
- </li>
- <li class="search-result-item" onclick="location.href='./courses/'">
- <span class="search-result-title">36 Online Course Platforms</span>
- <span class="search-result-desc">Hotmart, Udemy, Rocketseat, Kajabi, and Kiwify integration</span>
- </li>
- <li class="search-result-item" onclick="location.href='./nami/'">
- <span class="search-result-title">Nami Social Archiver</span>
- <span class="search-result-desc">Bulk Instagram, TikTok, and X profile downloader</span>
- </li>
- <li class="search-result-item" onclick="location.href='./troubleshooting/'">
- <span class="search-result-title">System Troubleshooting</span>
- <span class="search-result-desc">macOS Gatekeeper, Linux WebKitGTK, and diagnostic logs</span>
- </li>
- <li class="search-result-item" onclick="location.href='./#privacy'">
- <span class="search-result-title">Privacy Policy &amp; No Tracking</span>
- <span class="search-result-desc">Local SQLite storage, loopback security, and DRM non-circumvention</span>
- </li>
- <li class="search-result-item" onclick="location.href='./changelog/'">
- <span class="search-result-title">Release Notes &amp; Changelog</span>
- <span class="search-result-desc">Version v0.14.0 updates, Offline Study module, BitTorrent speed &amp; remaining telemetry, Skool &amp; Udemy fixes</span>
- </li>
- </ul>
- </div>
- </div>
-
- <script>
- function updateThemeIcons(theme) {
- const sun = document.getElementById('themeIconSun');
- const moon = document.getElementById('themeIconMoon');
- if (!sun || !moon) return;
- if (theme === 'dark') {
- sun.style.display = 'inline-block';
- moon.style.display = 'none';
- } else {
- sun.style.display = 'none';
- moon.style.display = 'inline-block';
- }
- }
-
- function toggleTheme() {
- const isDark = document.documentElement.classList.contains('dark') ||
- document.documentElement.getAttribute('data-theme') === 'dark';
- const target = isDark ? 'light' : 'dark';
- if (target === 'dark') {
- document.documentElement.classList.add('dark');
- document.documentElement.setAttribute('data-theme', 'dark');
- } else {
- document.documentElement.classList.remove('dark');
- document.documentElement.setAttribute('data-theme', 'light');
- }
- localStorage.setItem('libreget_docs_theme', target);
- localStorage.setItem('theme', target);
- updateThemeIcons(target);
- }
-
- function toggleMobileSidebar() {
- const sidebar = document.querySelector('.docs-sidebar');
- const backdrop = document.getElementById('mobileSidebarBackdrop');
- if (sidebar) sidebar.classList.toggle('open');
- if (backdrop) backdrop.classList.toggle('open');
- }
-
- function closeMobileSidebar() {
- const sidebar = document.querySelector('.docs-sidebar');
- const backdrop = document.getElementById('mobileSidebarBackdrop');
- if (sidebar) sidebar.classList.remove('open');
- if (backdrop) backdrop.classList.remove('open');
- }
-
- document.addEventListener('DOMContentLoaded', () => {
- const isDark = document.documentElement.classList.contains('dark') ||
- document.documentElement.getAttribute('data-theme') === 'dark';
- updateThemeIcons(isDark ? 'dark' : 'light');
-
- if (location.protocol === 'file:') {
- document.querySelectorAll('a[href]').forEach(a => {
- let h = a.getAttribute('href');
- if (h && h.endsWith('/') && !h.startsWith('http') && !h.startsWith('#')) {
- a.setAttribute('href', h + 'index.html');
- }
- });
- document.querySelectorAll('.search-result-item[onclick]').forEach(item => {
- let oc = item.getAttribute('onclick');
- if (oc && oc.includes("location.href='")) {
- item.setAttribute('onclick', oc.replace("/'", "/index.html'"));
- }
- });
- }
-
- document.querySelectorAll('.sidebar-link').forEach(link => {
- link.addEventListener('click', closeMobileSidebar);
- });
- });
-
- function switchCodeTab(btn, tabId) {
- const container = btn.closest('.code-container');
- if (!container) return;
- container.querySelectorAll('.code-tab-btn').forEach(b => b.classList.remove('active'));
- btn.classList.add('active');
- container.querySelectorAll('.code-body pre').forEach(pre => {
- pre.style.display = (pre.id === tabId) ? 'block' : 'none';
- });
- }
-
- function copyCodeSnippet(btn) {
- const container = btn.closest('.code-container');
- if (!container) return;
- const pres = Array.from(container.querySelectorAll('.code-body pre'));
- const activePre = pres.find(p => window.getComputedStyle(p).display !== 'none') || pres[0];
- if (!activePre) return;
-
- const code = activePre.querySelector('code');
- const text = (code ? code.innerText : activePre.innerText).trim();
- const span = btn.querySelector('span');
- const origText = span ? span.textContent : 'Copy';
- const origSvg = btn.querySelector('svg') ? btn.querySelector('svg').outerHTML : '';
- const checkSvg = '<svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>';
-
- const showSuccess = () => {
- if (span) span.textContent = 'Copied!';
- btn.classList.add('copied');
- const curSvg = btn.querySelector('svg');
- if (curSvg) curSvg.outerHTML = checkSvg;
- setTimeout(() => {
- if (span) span.textContent = origText;
- btn.classList.remove('copied');
- const nowSvg = btn.querySelector('svg');
- if (nowSvg && origSvg) nowSvg.outerHTML = origSvg;
- }, 2000);
- };
-
- const execCopy = () => {
- try {
- const ta = document.createElement('textarea');
- ta.value = text;
- ta.style.top = '0';
- ta.style.left = '0';
- ta.style.position = 'fixed';
- ta.style.width = '2em';
- ta.style.height = '2em';
- ta.style.padding = '0';
- ta.style.border = 'none';
- ta.style.outline = 'none';
- ta.style.boxShadow = 'none';
- ta.style.background = 'transparent';
- ta.setAttribute('readonly', '');
- document.body.appendChild(ta);
- ta.focus();
- ta.select();
- ta.setSelectionRange(0, ta.value.length);
- const ok = document.execCommand('copy');
- document.body.removeChild(ta);
- return ok;
- } catch (e) {
- return false;
- }
- };
-
- if (location.protocol === 'file:') {
- execCopy();
- showSuccess();
- } else if (navigator.clipboard && window.isSecureContext) {
- navigator.clipboard.writeText(text)
- .then(showSuccess)
- .catch(() => {
- execCopy();
- showSuccess();
- });
- } else {
- execCopy();
- showSuccess();
- }
- }
-
- function openSearchModal() {
- const modal = document.getElementById('searchBackdrop');
- if (modal) {
- modal.classList.add('open');
- setTimeout(() => {
- const inp = document.getElementById('searchInput');
- if (inp) inp.focus();
- }, 50);
- }
- }
-
- function closeSearchModal(e) {
- const modal = document.getElementById('searchBackdrop');
- if (modal) modal.classList.remove('open');
- }
-
- document.addEventListener('keydown', (e) => {
- if ((e.ctrlKey || e.metaKey) && e.key.toLowerCase() === 'k') {
- e.preventDefault();
- openSearchModal();
- }
- if (e.key === 'Escape') {
- closeSearchModal();
- }
- });
-
- const sInput = document.getElementById('searchInput');
- if (sInput) {
- sInput.addEventListener('input', (e) => {
- const q = e.target.value.toLowerCase();
- document.querySelectorAll('#searchResults .search-result-item').forEach(item => {
- const t = item.textContent.toLowerCase();
- item.style.display = t.includes(q) ? 'flex' : 'none';
- });
- });
- }
-
-
- // TOC scrollspy: highlight the section currently in view (vercel.com/docs behavior).
- (function () {
- const links = document.querySelectorAll('.toc-list .toc-link');
- if (!links.length) return;
- const targets = [];
- links.forEach(l => {
- const href = l.getAttribute('href') || '';
- if (!href.startsWith('#')) return;
- const el = document.getElementById(href.slice(1));
- if (el) targets.push([el, l]);
- });
- if (!targets.length) return;
- const setActive = link => links.forEach(x => x.classList.toggle('active', x === link));
- const obs = new IntersectionObserver(entries => {
- const visible = entries.filter(e => e.isIntersecting);
- if (!visible.length) return;
- const hit = targets.find(([el]) => el === visible[visible.length - 1].target);
- if (hit) setActive(hit[1]);
- }, { rootMargin: '-108px 0px -70% 0px' });
- targets.forEach(([el]) => obs.observe(el));
- })();
- </script>
-</body>
-</html>
diff --git a/docs/installation/index.html b/docs/installation/index.html
deleted file mode 100644
index ee798f7b..00000000
--- a/docs/installation/index.html
+++ /dev/null
@@ -1,2110 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
- <title>Installation & Binary Packages · LibreGet Documentation</title>
- <meta name="description" content="Precompiled release binaries, winget/brew setup, macOS Gatekeeper codesign fixes, and Linux GStreamer packages for LibreGet." />
- <link rel="canonical" href="https://libreget.asf.sale/docs/installation/" />
-
- <!-- Open Graph -->
- <meta property="og:type" content="article" />
- <meta property="og:site_name" content="LibreGet Documentation" />
- <meta property="og:title" content="Installation & Binary Packages" />
- <meta property="og:description" content="Precompiled release binaries, winget/brew setup, macOS Gatekeeper codesign fixes, and Linux GStreamer packages for LibreGet." />
- <meta property="og:url" content="https://libreget.asf.sale/docs/installation/" />
- <meta property="og:image" content="https://libreget.asf.sale/assets/readme/home.png" />
- <meta property="og:image:width" content="1200" />
- <meta property="og:image:height" content="630" />
- <meta name="twitter:card" content="summary_large_image" />
-
- <link rel="icon" type="image/x-icon" href="../../favicon.ico" />
- <link rel="icon" type="image/png" sizes="256x256" href="../../static/favicon.png" />
- <link rel="apple-touch-icon" sizes="180x180" href="../../static/favicon.png" />
-
- <!-- Early Theme Init Script to eliminate Flash of Wrong Theme -->
- <script>
- (function() {
- try {
- var saved = localStorage.getItem('libreget_docs_theme') || localStorage.getItem('theme');
- var prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
- if (saved === 'dark' || (!saved && prefersDark)) {
- document.documentElement.classList.add('dark');
- document.documentElement.setAttribute('data-theme', 'dark');
- } else {
- document.documentElement.classList.remove('dark');
- document.documentElement.setAttribute('data-theme', 'light');
- }
- } catch (e) {}
- })();
- </script>
-
- <!-- Fonts: Geist + Geist Mono, the vercel.com/docs typefaces -->
- <link rel="preconnect" href="https://fonts.googleapis.com" />
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
- <link href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet" />
-
- <style>
- /* ============================================================
- LibreGet Documentation — UI skin
- Design system: vercel.com/docs (Geist type, Vercel palette)
- ============================================================ */
-
- *, *::before, *::after {
- box-sizing: border-box;
- margin: 0;
- padding: 0;
- }
-
- /* ---------- Design tokens ---------- */
-
- :root {
- color-scheme: light;
-
- --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
- --font-display: var(--font-sans);
- --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
-
- /* Vercel light theme */
- --bg: #ffffff;
- --bg-surface: #ffffff;
- --bg-subtle: #fafafa;
- --bg-muted: #f4f4f5;
- --bg-hover: #f4f4f5;
- --bg-card: #ffffff;
- --bg-code: #111111;
- --code-header: #171717;
- --code-border: #333333;
-
- --border: #eaeaea;
- --border-subtle: #f4f4f5;
- --border-hover: #999999;
- --border-focus: #171717;
-
- --text: #171717;
- --text-muted: #666666;
- --text-subtle: #888888;
- --text-inverse: #ffffff;
-
- --primary: #171717;
- --primary-hover: #333333;
- --primary-light: #f4f4f5;
- --primary-border: #171717;
-
- --link: #0070f3;
- --link-hover: #3291ff;
- --success: #50e3c2;
-
- --callout-bg: #fafafa;
- --callout-border: #eaeaea;
- --callout-text: #171717;
-
- --header-h: 64px;
- --tabs-h: 44px;
- --header-total-h: 108px;
- --sidebar-w: 272px;
- --toc-w: 240px;
- --max-w: 1440px;
-
- --radius-sm: 8px;
- --radius-md: 10px;
- --radius-lg: 12px;
- }
-
- html.dark {
- color-scheme: dark;
-
- /* Vercel dark theme */
- --bg: #000000;
- --bg-surface: #0a0a0a;
- --bg-subtle: #111111;
- --bg-muted: #18181b;
- --bg-hover: #18181b;
- --bg-card: #0a0a0a;
- --bg-code: #111111;
- --code-header: #171717;
- --code-border: #262626;
-
- --border: #1f1f1f;
- --border-subtle: #141414;
- --border-hover: #444444;
- --border-focus: #ededed;
-
- --text: #ededed;
- --text-muted: #a1a1aa;
- --text-subtle: #71717a;
- --text-inverse: #000000;
-
- --primary: #ededed;
- --primary-hover: #ffffff;
- --primary-light: #18181b;
- --primary-border: #ededed;
-
- --link: #3291ff;
- --link-hover: #66aaff;
-
- --callout-bg: #0a0a0a;
- --callout-border: #1f1f1f;
- --callout-text: #ededed;
- }
-
- /* ---------- Base ---------- */
-
- html {
- scroll-behavior: smooth;
- }
-
- body {
- background-color: var(--bg);
- color: var(--text);
- font-family: var(--font-sans);
- font-size: 16px;
- line-height: 1.6;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: antialiased;
- text-rendering: optimizeLegibility;
- overflow-x: hidden;
- transition: background-color 0.15s ease, color 0.15s ease;
- }
-
- ::selection {
- background: #0070f3;
- color: #ffffff;
- }
-
- a {
- color: inherit;
- text-decoration: none;
- }
-
- button {
- font-family: inherit;
- cursor: pointer;
- }
-
- img {
- max-width: 100%;
- }
-
- :focus-visible {
- outline: 2px solid var(--link);
- outline-offset: 2px;
- }
-
- /* ---------- Icons ---------- */
-
- .icon {
- display: inline-block;
- width: 16px;
- height: 16px;
- flex-shrink: 0;
- vertical-align: middle;
- }
-
- .icon-lg { width: 18px; height: 18px; }
- .icon-sm { width: 14px; height: 14px; }
- .icon-xs { width: 12px; height: 12px; }
-
- /* ---------- Top navbar ---------- */
-
- .nav-header {
- position: sticky;
- top: 0;
- z-index: 50;
- background: var(--bg);
- border-bottom: 1px solid var(--border);
- }
-
- .nav-header-inner {
- display: flex;
- align-items: center;
- gap: 14px;
- height: var(--header-h);
- max-width: var(--max-w);
- margin: 0 auto;
- padding: 0 24px;
- }
-
- .brand-group {
- display: flex;
- align-items: center;
- gap: 10px;
- flex-shrink: 0;
- }
-
- .brand-logo-link {
- display: flex;
- align-items: center;
- gap: 8px;
- font-size: 14.5px;
- font-weight: 600;
- letter-spacing: -0.01em;
- color: var(--text);
- }
-
- .brand-logo-link img {
- display: block;
- height: 22px;
- width: auto;
- }
-
- .brand-badge {
- font-size: 13px;
- font-weight: 400;
- letter-spacing: 0.02em;
- color: var(--text-muted);
- }
-
- /* Search trigger (the "Search Docs" pill) */
- .search-trigger {
- display: flex;
- align-items: center;
- gap: 8px;
- height: 34px;
- min-width: 160px;
- max-width: 300px;
- flex: 0 1 auto;
- padding: 0 8px 0 12px;
- border: 1px solid var(--border);
- border-radius: var(--radius-sm);
- background: var(--bg);
- color: var(--text-subtle);
- cursor: pointer;
- transition: border-color 0.15s ease;
- }
-
- .search-trigger:hover {
- border-color: var(--border-hover);
- }
-
- .search-trigger > span {
- flex: 1;
- font-size: 13px;
- }
-
- .search-kbd {
- flex-shrink: 0;
- border: 1px solid var(--border);
- background: var(--bg-subtle);
- border-radius: 5px;
- padding: 1px 6px;
- font-family: var(--font-mono);
- font-size: 11px;
- color: var(--text-subtle);
- line-height: 1.5;
- }
-
- .nav-links {
- display: flex;
- align-items: center;
- gap: 2px;
- margin-left: auto;
- }
-
- .nav-link-item {
- padding: 6px 10px;
- border-radius: 6px;
- font-size: 13.5px;
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .nav-link-item:hover {
- color: var(--text);
- }
-
- .nav-link-item.active {
- color: var(--text);
- font-weight: 500;
- }
-
- .nav-actions {
- display: flex;
- align-items: center;
- gap: 8px;
- flex-shrink: 0;
- }
-
- .theme-toggle-btn {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 32px;
- height: 32px;
- border: none;
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--text-muted);
- transition: background 0.15s ease, color 0.15s ease;
- }
-
- .theme-toggle-btn:hover {
- background: var(--bg-hover);
- color: var(--text);
- }
-
- .btn-top-download {
- display: inline-flex;
- align-items: center;
- gap: 6px;
- height: 32px;
- padding: 0 14px;
- border: none;
- border-radius: 999px;
- background: var(--primary);
- color: var(--text-inverse);
- font-size: 13px;
- font-weight: 500;
- transition: background 0.15s ease;
- }
-
- .btn-top-download:hover {
- background: var(--primary-hover);
- }
-
- /* ---------- Section subtabs ---------- */
-
- .nav-subtabs {
- background: var(--bg);
- border-bottom: 1px solid var(--border);
- }
-
- .nav-subtabs-inner {
- display: flex;
- align-items: center;
- gap: 4px;
- height: var(--tabs-h);
- max-width: var(--max-w);
- margin: 0 auto;
- padding: 0 24px;
- overflow-x: auto;
- scrollbar-width: none;
- }
-
- .nav-subtabs-inner::-webkit-scrollbar {
- display: none;
- }
-
- .nav-subtabs-inner .subtab-item {
- display: inline-flex;
- align-items: center;
- gap: 7px;
- height: var(--tabs-h);
- padding: 0 12px;
- border-radius: 0;
- font-size: 13.5px;
- color: var(--text-muted);
- white-space: nowrap;
- transition: color 0.15s ease;
- }
-
- .nav-subtabs-inner .subtab-item:hover {
- color: var(--text);
- }
-
- .nav-subtabs-inner .subtab-item.active {
- color: var(--text);
- font-weight: 500;
- box-shadow: inset 0 -2px 0 0 var(--text);
- }
-
- .nav-subtabs-inner .subtab-item .icon {
- display: none;
- }
-
- /* Generic subtab link used inside page content (e.g. "GitHub Tag") */
- .subtab-item {
- display: inline-flex;
- align-items: center;
- gap: 7px;
- padding: 6px 12px;
- border-radius: var(--radius-sm);
- font-size: 13px;
- font-weight: 500;
- color: var(--text-muted);
- transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
- }
-
- .subtab-item:hover {
- color: var(--text);
- }
-
- /* ---------- Shell layout ---------- */
-
- .docs-layout {
- display: flex;
- align-items: flex-start;
- max-width: var(--max-w);
- margin: 0 auto;
- padding: 0 24px;
- }
-
- .docs-sidebar {
- width: var(--sidebar-w);
- flex-shrink: 0;
- position: sticky;
- top: var(--header-total-h);
- height: calc(100vh - var(--header-total-h));
- overflow-y: auto;
- overscroll-behavior: contain;
- padding: 28px 16px 48px 8px;
- }
-
- .docs-main {
- flex: 1 1 auto;
- min-width: 0;
- width: 100%;
- max-width: 736px;
- margin: 0 auto;
- padding: 40px 40px 96px;
- }
-
- .docs-toc {
- width: var(--toc-w);
- flex-shrink: 0;
- position: sticky;
- top: var(--header-total-h);
- height: calc(100vh - var(--header-total-h));
- overflow-y: auto;
- padding: 40px 24px 48px 0;
- }
-
- /* ---------- Sidebar navigation ---------- */
-
- .sidebar-group {
- margin-bottom: 22px;
- }
-
- .sidebar-group-header {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 10px;
- margin-bottom: 6px;
- font-size: 13px;
- font-weight: 500;
- color: var(--text-subtle);
- }
-
- .sidebar-group-header .icon {
- display: none;
- }
-
- .sidebar-nav-list {
- list-style: none;
- display: flex;
- flex-direction: column;
- gap: 1px;
- }
-
- .sidebar-link {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 8px;
- padding: 6px 10px;
- border-radius: 6px;
- font-size: 13.5px;
- color: var(--text-muted);
- transition: background 0.15s ease, color 0.15s ease;
- }
-
- .sidebar-link:hover {
- color: var(--text);
- background: var(--bg-hover);
- }
-
- .sidebar-link.active {
- color: var(--text);
- background: var(--bg-hover);
- font-weight: 500;
- }
-
- .sidebar-tag {
- flex-shrink: 0;
- font-size: 11px;
- font-weight: 500;
- color: var(--text-subtle);
- background: var(--bg-subtle);
- border: 1px solid var(--border);
- border-radius: 999px;
- padding: 1px 7px;
- white-space: nowrap;
- }
-
- /* ---------- Mobile sidebar drawer ---------- */
-
- .mobile-sidebar-toggle {
- display: none;
- align-items: center;
- justify-content: center;
- width: 32px;
- height: 32px;
- border: none;
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--text-muted);
- }
-
- .mobile-sidebar-toggle:hover {
- background: var(--bg-hover);
- color: var(--text);
- }
-
- .mobile-sidebar-backdrop {
- display: none;
- position: fixed;
- inset: 0;
- top: var(--header-total-h);
- z-index: 39;
- background: rgba(0, 0, 0, 0.5);
- }
-
- .mobile-sidebar-backdrop.open {
- display: block;
- }
-
- /* ---------- Breadcrumbs ---------- */
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 8px;
- margin-bottom: 20px;
- font-size: 13px;
- color: var(--text-muted);
- }
-
- .docs-main .breadcrumbs a {
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .docs-main .breadcrumbs a:hover {
- color: var(--text);
- text-decoration: none;
- }
-
- .breadcrumb-sep {
- color: var(--border-hover);
- }
-
- .breadcrumb-current {
- color: var(--text);
- font-weight: 500;
- }
-
- /* ---------- Article typography ---------- */
-
- .doc-h1 {
- font-size: 36px;
- line-height: 1.15;
- font-weight: 600;
- letter-spacing: -0.022em;
- color: var(--text);
- margin-bottom: 14px;
- }
-
- .doc-lead {
- font-size: 17px;
- line-height: 1.6;
- color: var(--text-muted);
- margin-bottom: 28px;
- }
-
- .doc-p {
- font-size: 15.5px;
- line-height: 1.7;
- color: var(--text);
- margin-bottom: 20px;
- }
-
- .doc-h2 {
- font-size: 24px;
- font-weight: 600;
- letter-spacing: -0.014em;
- color: var(--text);
- margin: 44px 0 12px;
- }
-
- .doc-h3 {
- font-size: 18px;
- font-weight: 600;
- color: var(--text);
- margin: 28px 0 8px;
- }
-
- .doc-h1, .doc-h2, .doc-h3 {
- scroll-margin-top: calc(var(--header-total-h) + 24px);
- }
-
- strong {
- font-weight: 600;
- }
-
- .docs-main a {
- color: var(--link);
- text-decoration: none;
- }
-
- .docs-main a:hover {
- text-decoration: underline;
- }
-
- /* Content links that are UI buttons, not prose links */
- .docs-main a.subtab-item,
- .docs-main a.page-nav-card {
- color: var(--text-muted);
- text-decoration: none;
- }
-
- .docs-main a.subtab-item:hover {
- color: var(--text);
- text-decoration: none;
- }
-
- .docs-main a.page-nav-card:hover {
- color: var(--text-muted);
- border-color: var(--border-hover);
- text-decoration: none;
- }
-
- /* Inline code */
- .docs-main code {
- font-family: var(--font-mono);
- font-size: 0.855em;
- background: var(--bg-muted);
- color: var(--text);
- padding: 0.15em 0.4em;
- border-radius: 6px;
- }
-
- /* ---------- Figures ---------- */
-
- .doc-media-card {
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- overflow: hidden;
- margin: 24px 0;
- }
-
- .doc-media-card img {
- display: block;
- width: 100%;
- height: auto;
- background: var(--bg-subtle);
- }
-
- .doc-media-caption {
- padding: 10px 16px;
- border-top: 1px solid var(--border);
- background: var(--bg-subtle);
- font-size: 13px;
- line-height: 1.5;
- color: var(--text-muted);
- }
-
- /* ---------- Callouts ---------- */
-
- .callout {
- display: flex;
- align-items: flex-start;
- gap: 12px;
- margin: 24px 0;
- padding: 16px 20px;
- border: 1px solid var(--callout-border);
- border-radius: var(--radius-lg);
- background: var(--callout-bg);
- color: var(--callout-text);
- font-size: 14.5px;
- line-height: 1.6;
- }
-
- .callout .icon-lg {
- color: var(--text-muted);
- margin-top: 2px;
- }
-
- /* ---------- Cards grid ---------- */
-
- .approach-grid {
- display: grid;
- grid-template-columns: repeat(3, 1fr);
- gap: 12px;
- margin: 24px 0;
- }
-
- .approach-card {
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- padding: 18px 20px;
- transition: border-color 0.15s ease;
- }
-
- .approach-card:hover {
- border-color: var(--border-hover);
- }
-
- .approach-badge {
- display: inline-block;
- margin-bottom: 10px;
- padding: 2px 8px;
- border: 1px solid var(--border);
- border-radius: 999px;
- font-size: 11px;
- font-weight: 500;
- color: var(--text-subtle);
- }
-
- .approach-title {
- font-size: 15.5px;
- font-weight: 600;
- color: var(--text);
- margin-bottom: 6px;
- }
-
- .approach-desc {
- font-size: 13.5px;
- line-height: 1.6;
- color: var(--text-muted);
- }
-
- /* ---------- Tables ---------- */
-
- .doc-table-wrap {
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- overflow-x: auto;
- margin-bottom: 24px;
- background: var(--bg-card);
- }
-
- .doc-table {
- width: 100%;
- border-collapse: collapse;
- font-size: 14px;
- }
-
- .doc-table th {
- text-align: left;
- padding: 10px 16px;
- border-bottom: 1px solid var(--border);
- background: var(--bg-subtle);
- font-size: 13px;
- font-weight: 500;
- color: var(--text-muted);
- white-space: nowrap;
- }
-
- .doc-table td {
- padding: 12px 16px;
- border-bottom: 1px solid var(--border-subtle);
- color: var(--text);
- vertical-align: top;
- line-height: 1.55;
- }
-
- .doc-table tbody tr:last-child td {
- border-bottom: none;
- }
-
- /* ---------- Code blocks ---------- */
-
- .code-container {
- margin-bottom: 24px;
- border: 1px solid var(--code-border);
- border-radius: var(--radius-lg);
- overflow: hidden;
- background: var(--bg-code);
- }
-
- .code-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 12px;
- height: 44px;
- padding: 0 8px 0 16px;
- background: var(--code-header);
- border-bottom: 1px solid var(--code-border);
- }
-
- .code-header > span {
- font-family: var(--font-mono);
- font-size: 12.5px;
- color: #a1a1aa;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
-
- .btn-copy {
- display: inline-flex;
- align-items: center;
- gap: 6px;
- flex-shrink: 0;
- border: none;
- border-radius: 6px;
- padding: 5px 8px;
- background: transparent;
- color: #999999;
- font-size: 12px;
- transition: background 0.15s ease, color 0.15s ease;
- }
-
- .btn-copy:hover {
- background: rgba(255, 255, 255, 0.08);
- color: #ffffff;
- }
-
- .btn-copy.copied {
- color: #50e3c2;
- }
-
- .code-body pre {
- margin: 0;
- padding: 16px;
- overflow-x: auto;
- }
-
- .code-body code {
- font-family: var(--font-mono);
- font-size: 13px;
- line-height: 1.65;
- color: #ededed;
- background: transparent;
- padding: 0;
- border-radius: 0;
- white-space: pre;
- }
-
- .tok-c {
- color: #737373;
- }
-
- /* ---------- Prev / next pagination ---------- */
-
- .page-nav-grid {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 12px;
- margin-top: 48px;
- padding-top: 32px;
- border-top: 1px solid var(--border);
- }
-
- .page-nav-card {
- display: flex;
- flex-direction: column;
- gap: 2px;
- padding: 14px 16px;
- border: 1px solid var(--border);
- border-radius: var(--radius-md);
- transition: border-color 0.15s ease;
- }
-
- .page-nav-card:hover {
- border-color: var(--border-hover);
- }
-
- .page-nav-sub {
- font-size: 12px;
- color: var(--text-subtle);
- }
-
- .page-nav-title {
- display: flex;
- align-items: center;
- gap: 6px;
- font-size: 14px;
- font-weight: 600;
- color: var(--text);
- }
-
- /* ---------- Right TOC ---------- */
-
- .toc-title {
- display: flex;
- align-items: center;
- gap: 8px;
- margin-bottom: 10px;
- font-size: 13px;
- font-weight: 600;
- color: var(--text);
- }
-
- .toc-title .icon {
- display: none;
- }
-
- .toc-list {
- list-style: none;
- position: relative;
- margin-left: 2px;
- border-left: 1px solid var(--border);
- }
-
- .toc-link {
- display: block;
- position: relative;
- padding: 5px 0 5px 16px;
- font-size: 13px;
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .toc-link:hover {
- color: var(--text);
- }
-
- .toc-link.active {
- color: var(--text);
- font-weight: 500;
- }
-
- .toc-link.active::before {
- content: "";
- position: absolute;
- left: -1px;
- top: 6px;
- bottom: 6px;
- width: 2px;
- border-radius: 2px;
- background: var(--text);
- }
-
- .toc-community-box {
- margin-top: 20px;
- padding-top: 16px;
- border-top: 1px solid var(--border);
- display: flex;
- flex-direction: column;
- gap: 2px;
- }
-
- .toc-community-link {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 6px 0;
- font-size: 13px;
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .toc-community-link:hover {
- color: var(--text);
- }
-
- /* ---------- Search modal ---------- */
-
- .search-modal-backdrop {
- position: fixed;
- inset: 0;
- z-index: 100;
- display: flex;
- justify-content: center;
- align-items: flex-start;
- padding: 15vh 16px 16px;
- background: rgba(0, 0, 0, 0.55);
- opacity: 0;
- pointer-events: none;
- transition: opacity 0.15s ease;
- }
-
- .search-modal-backdrop.open {
- opacity: 1;
- pointer-events: auto;
- }
-
- .search-modal {
- width: 100%;
- max-width: 560px;
- background: var(--bg);
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- overflow: hidden;
- box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
- animation: search-modal-in 0.15s ease;
- }
-
- @keyframes search-modal-in {
- from {
- opacity: 0;
- transform: translateY(-6px) scale(0.98);
- }
- to {
- opacity: 1;
- transform: none;
- }
- }
-
- .search-input-wrap {
- display: flex;
- align-items: center;
- gap: 10px;
- height: 52px;
- padding: 0 16px;
- border-bottom: 1px solid var(--border);
- color: var(--text-subtle);
- }
-
- .search-modal-input {
- flex: 1;
- border: none;
- outline: none;
- background: transparent;
- font-family: var(--font-sans);
- font-size: 14.5px;
- color: var(--text);
- }
-
- .search-modal-input::placeholder {
- color: var(--text-subtle);
- }
-
- .search-results-list {
- list-style: none;
- max-height: 340px;
- overflow-y: auto;
- padding: 8px;
- }
-
- .search-result-item {
- display: flex;
- flex-direction: column;
- gap: 2px;
- padding: 10px 12px;
- border-radius: var(--radius-sm);
- cursor: pointer;
- }
-
- .search-result-item:hover {
- background: var(--bg-hover);
- }
-
- .search-result-title {
- font-size: 14px;
- font-weight: 500;
- color: var(--text);
- }
-
- .search-result-desc {
- font-size: 13px;
- color: var(--text-muted);
- }
-
- /* ---------- Changelog releases ---------- */
-
- .release-box {
- scroll-margin-top: calc(var(--header-total-h) + 24px);
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- background: var(--bg-card);
- padding: 24px;
- margin-bottom: 20px;
- }
-
- .release-header {
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- gap: 16px;
- padding-bottom: 16px;
- margin-bottom: 16px;
- border-bottom: 1px solid var(--border);
- }
-
- .release-tag-pill {
- display: inline-block;
- padding: 3px 10px;
- border-radius: 6px;
- background: var(--primary);
- color: var(--text-inverse);
- font-size: 12px;
- font-weight: 600;
- }
-
- .release-date {
- font-size: 13px;
- color: var(--text-subtle);
- }
-
- .release-title {
- font-size: 18px;
- font-weight: 600;
- letter-spacing: -0.01em;
- color: var(--text);
- margin-top: 6px;
- }
-
- .release-section {
- margin-bottom: 16px;
- }
-
- .release-section-title {
- display: flex;
- align-items: center;
- gap: 8px;
- font-size: 14px;
- font-weight: 600;
- color: var(--text);
- margin-bottom: 8px;
- }
-
- .release-section-title .icon {
- color: var(--text-subtle);
- }
-
- .release-list {
- list-style: none;
- display: flex;
- flex-direction: column;
- gap: 6px;
- }
-
- .release-list li {
- position: relative;
- padding-left: 18px;
- font-size: 14px;
- line-height: 1.6;
- color: var(--text-muted);
- }
-
- .release-list li::before {
- content: "";
- position: absolute;
- left: 2px;
- top: 0.62em;
- width: 5px;
- height: 5px;
- border-radius: 999px;
- background: var(--border-hover);
- }
-
- .release-list li strong {
- color: var(--text);
- }
-
- /* ---------- Responsive ---------- */
-
- @media (max-width: 1100px) {
- .docs-toc {
- display: none;
- }
- }
-
- @media (max-width: 768px) {
- .nav-links { display: none; }
- .brand-badge { display: none; }
- .mobile-sidebar-toggle { display: flex; }
- .search-trigger {
- flex: 1;
- min-width: 0;
- max-width: none;
- }
- .docs-layout {
- padding: 0;
- }
- .docs-sidebar {
- position: fixed;
- top: var(--header-total-h);
- left: 0;
- bottom: 0;
- width: 280px;
- height: auto;
- background: var(--bg);
- border-right: 1px solid var(--border);
- transform: translateX(-100%);
- transition: transform 0.2s ease;
- z-index: 40;
- padding: 20px 16px 32px 24px;
- }
- .docs-sidebar.open {
- transform: translateX(0);
- }
- .docs-main {
- max-width: none;
- padding: 28px 20px 72px;
- }
- .doc-h1 {
- font-size: 30px;
- }
- .approach-grid,
- .page-nav-grid {
- grid-template-columns: 1fr;
- }
- .release-header {
- flex-direction: column;
- }
- }
-
- @media (max-width: 640px) {
- .btn-top-download {
- display: none;
- }
- .search-kbd {
- display: none;
- }
- }
- </style>
-
-</head>
-<body>
-
- <!-- ==================== STICKY DOUBLE-ROW HEADER ==================== -->
- <header class="nav-header">
- <div class="nav-header-inner">
- <div class="brand-group">
- <button class="mobile-sidebar-toggle" id="mobileSidebarToggle" onclick="toggleMobileSidebar()" aria-label="Toggle navigation menu" title="Toggle menu">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <line x1="3" y1="12" x2="21" y2="12" />
- <line x1="3" y1="6" x2="21" y2="6" />
- <line x1="3" y1="18" x2="21" y2="18" />
- </svg>
- </button>
- <a href="../../" class="brand-logo-link" aria-label="LibreGet Home">
- <img src="../../static/favicon.png" alt="LibreGet Logo" />
- <span>LibreGet</span>
- </a>
- <span class="brand-badge">DOCS</span>
- </div>
-
- <div class="search-trigger" onclick="openSearchModal()">
- <span style="display: flex; align-items: center; gap: 8px;">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m21 21-4.34-4.34" />
- <circle cx="11" cy="11" r="8" /></svg>
- <span>Search docs...</span>
- </span>
- <kbd class="search-kbd">Ctrl K</kbd>
- </div>
-
- <nav class="nav-links">
- <a class="nav-link-item" href="../">Overview</a>
- <a class="nav-link-item active" href="../installation/">Installation</a>
- <a class="nav-link-item" href="../courses/">Courses</a>
- <a class="nav-link-item" href="../nami/">Nami</a>
- <a class="nav-link-item" href="../mcp/">MCP & AI</a>
- <a class="nav-link-item" href="../troubleshooting/">Fixes</a>
- <a class="nav-link-item" href="../changelog/">Changelog</a>
- </nav>
-
- <div class="nav-actions">
- <button class="theme-toggle-btn" onclick="toggleTheme()" aria-label="Toggle light and dark mode" title="Toggle theme">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="themeIconSun" style="display: none;"><circle cx="12" cy="12" r="4" />
- <path d="M12 2v2" />
- <path d="M12 20v2" />
- <path d="m4.93 4.93 1.41 1.41" />
- <path d="m17.66 17.66 1.41 1.41" />
- <path d="M2 12h2" />
- <path d="M20 12h2" />
- <path d="m6.34 17.66-1.41 1.41" />
- <path d="m19.07 4.93-1.41 1.41" /></svg>
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="themeIconMoon"><path d="M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401" /></svg>
- </button>
-
- <a class="btn-top-download" href="https://github.com/OpenSelena/libreget/releases/latest">
- <span>Get App</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14" />
- <path d="m12 5 7 7-7 7" /></svg>
- </a>
- </div>
- </div>
-
- <div class="nav-subtabs">
- <div class="nav-subtabs-inner" id="topSubtabs">
- <a href="../" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5" />
- <path d="M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09" />
- <path d="M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z" />
- <path d="M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05" /></svg>
- <span>Quickstart</span>
- </a>
- <a href="../installation/" class="subtab-item active">
- <svg class="icon" 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>
- <span>Installation</span>
- </a>
- <a href="../mcp/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 20v2" />
- <path d="M12 2v2" />
- <path d="M17 20v2" />
- <path d="M17 2v2" />
- <path d="M2 12h2" />
- <path d="M2 17h2" />
- <path d="M2 7h2" />
- <path d="M20 12h2" />
- <path d="M20 17h2" />
- <path d="M20 7h2" />
- <path d="M7 20v2" />
- <path d="M7 2v2" />
- <rect x="4" y="4" width="16" height="16" rx="2" />
- <rect x="8" y="8" width="8" height="8" rx="1" /></svg>
- <span>MCP Server</span>
- </a>
- <a href="../courses/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z" />
- <path d="M22 10v6" />
- <path d="M6 12.5V16a6 3 0 0 0 12 0v-3.5" /></svg>
- <span>36 Course Platforms</span>
- </a>
- <a href="../nami/" class="subtab-item">
- <svg class="icon icon-fill" viewBox="0 0 24 24" fill="currentColor"><title>Instagram</title><path d="M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077"/></svg>
- <span>Nami</span>
- </a>
- <a href="../changelog/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 8v4l3 3" /><circle cx="12" cy="12" r="9" /></svg>
- <span>Changelog</span>
- </a>
- <a href="../troubleshooting/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z" /></svg>
- <span>Troubleshooting</span>
- </a>
- </div>
- </div>
- </header>
- <div class="mobile-sidebar-backdrop" id="mobileSidebarBackdrop" onclick="closeMobileSidebar()"></div>
-
- <!-- ==================== THREE-COLUMN LAYOUT ==================== -->
- <div class="docs-layout">
- <aside class="docs-sidebar">
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" 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" />
- <path d="m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z" /></svg>
- <span>Overview</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../" class="sidebar-link">
- <span>Quickstart Guide</span>
- <span class="sidebar-tag">Start</span>
- </a>
- </li>
- <li>
- <a href="../installation/" class="sidebar-link active">
- <span>Installation Packages</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z" />
- <path d="M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12" />
- <path d="M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17" /></svg>
- <span>Core Engines</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../nami/" class="sidebar-link">
- <span>Nami Engine</span>
- <span class="sidebar-tag">Social</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5v16" />
- <path d="M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z" /></svg>
- <span>Courses &amp; Study</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../courses/" class="sidebar-link">
- <span>36 Course Platforms</span>
- <span class="sidebar-tag">v0.16.10</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 8v4l3 3" /><circle cx="12" cy="12" r="9" /></svg>
- <span>Changelog &amp; Releases</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../changelog/" class="sidebar-link">
- <span>Dedicated Changelog</span>
- <span class="sidebar-tag">Latest</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z" />
- <path d="M20 2v4" />
- <path d="M22 4h-4" />
- <circle cx="4" cy="20" r="2" /></svg>
- <span>AI &amp; Agent Bridge</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../mcp/" class="sidebar-link">
- <span>MCP Server (127.0.0.1)</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z" /></svg>
- <span>System &amp; Fixes</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../troubleshooting/" class="sidebar-link">
- <span>Troubleshooting Hub</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" />
- <polyline points="15 3 21 3 21 9" />
- <line x1="10" y1="14" x2="21" y2="3" /></svg>
- <span>Community &amp; Source</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="https://github.com/OpenSelena/libreget" target="_blank" rel="noopener" class="sidebar-link">
- <span>GitHub Repository</span>
- <svg class="icon icon-xs" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="margin-left: auto; opacity: 0.5;"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" /><polyline points="15 3 21 3 21 9" /><line x1="10" y1="14" x2="21" y2="3" /></svg>
- </a>
- </li>
- <li>
- <a href="https://t.me/OpenSelena" target="_blank" rel="noopener" class="sidebar-link">
- <span>Telegram Community</span>
- <svg class="icon icon-xs" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="margin-left: auto; opacity: 0.5;"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" /><polyline points="15 3 21 3 21 9" /><line x1="10" y1="14" x2="21" y2="3" /></svg>
- </a>
- </li>
- </ul>
- </div>
- </aside>
-
- <main class="docs-main">
- <div class="breadcrumbs">
- <a href="../">Documentation</a>
- <span class="breadcrumb-sep">/</span>
- <a href="./">Installation</a>
- <span class="breadcrumb-sep">/</span>
- <span class="breadcrumb-current">Binary Packages</span>
- </div>
-
- <h1 class="doc-h1">Installation & Binary Packages</h1>
- <p class="doc-lead">Standalone desktop binaries for Windows 10/11, macOS (Apple Silicon and Intel), and Linux. Free and open source: no account, no ads, no tracking.</p>
-
-
- <div class="doc-media-card">
- <img src="../../assets/readme/downloads.png" alt="LibreGet Binary Packages" />
- <div class="doc-media-caption">LibreGet multi-platform release packages: standalone installers, portable USB archives, and native Linux packages.</div>
- </div>
-
- <p class="doc-p">
- LibreGet ships precompiled binaries for Windows, macOS, and Linux under the GPL-3.0 license. No account, no ads, no tracking. The app checks GitHub Releases for updates and installs them with one click.
- </p>
-
- <!-- SECTION 1 -->
- <h2 class="doc-h2" id="binaries">1. Precompiled Binary Releases Matrix</h2>
- <p class="doc-p">
- Every build is compiled directly on GitHub Actions. Download the package matching your operating system and hardware architecture:
- </p>
-
- <div class="doc-table-wrap">
- <table class="doc-table">
- <thead>
- <tr>
- <th>Operating System</th>
- <th>Target Architecture</th>
- <th>Package Artifact</th>
- <th>Package Type & Details</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><strong>Windows 10 / 11</strong></td>
- <td>x86_64 (64-bit)</td>
- <td><code>libreget_x.y.z_x64-setup.exe</code></td>
- <td>Standard NSIS desktop installer with start menu shortcuts and auto-updater.</td>
- </tr>
- <tr>
- <td><strong>Windows Portable</strong></td>
- <td>x86_64 (64-bit)</td>
- <td><code>libreget_x.y.z_x64-portable.exe</code></td>
- <td>Standalone binary that runs without installing. For USB drives, see portable mode below.</td>
- </tr>
- <tr>
- <td><strong>CLI Companion</strong></td>
- <td>x86_64 / aarch64</td>
- <td><code>libreget-cli</code> / <code>libreget-cli.exe</code></td>
- <td>Headless terminal binary. Subcommands: <code>download</code>, <code>info</code>, <code>batch</code>, <code>import-cookies</code>.</td>
- </tr>
- <tr>
- <td><strong>macOS Apple Silicon</strong></td>
- <td>aarch64 (M1 &ndash; M4)</td>
- <td><code>libreget_x.y.z_aarch64.dmg</code></td>
- <td>Native ARM64 build for Apple Silicon.</td>
- </tr>
- <tr>
- <td><strong>macOS Intel</strong></td>
- <td>x86_64 (Intel Macs)</td>
- <td><code>libreget_x.y.z_x64.dmg</code></td>
- <td>x86_64 build for Intel Macs (macOS 10.15+).</td>
- </tr>
- <tr>
- <td><strong>Linux (Universal)</strong></td>
- <td>x86_64 / aarch64</td>
- <td><code>libreget_x.y.z_amd64.AppImage</code></td>
- <td>Universal standalone package for all Linux distributions. Self-updates via <code>.zsync</code>.</td>
- </tr>
- <tr>
- <td><strong>Debian / Ubuntu</strong></td>
- <td>amd64 / arm64</td>
- <td><code>libreget_x.y.z_amd64.deb</code></td>
- <td>Native Debian package with desktop icon, MIME associations, and apt dependency resolution.</td>
- </tr>
- <tr>
- <td><strong>Fedora / openSUSE / RHEL</strong></td>
- <td>x86_64 / aarch64</td>
- <td><code>libreget_x.y.z_x86_64.rpm</code></td>
- <td>Standard Red Hat RPM package with native system integration.</td>
- </tr>
- </tbody>
- </table>
- </div>
-
- <!-- SECTION 2 -->
- <h2 class="doc-h2" id="windows">2. Windows Setup & Winget Package Manager</h2>
- <p class="doc-p">
- Download <code>libreget_x.y.z_x64-setup.exe</code> and double-click to install. Alternatively, install and update LibreGet directly using the official Windows Package Manager (winget):
- </p>
-
- <div class="code-container">
- <div class="code-header">
- <span style="font-size: 13px; font-weight: 600; color: #a1a1aa;">PowerShell / Command Prompt</span>
- <button class="btn-copy" onclick="copyCodeSnippet(this)"><svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
- <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span>Copy</span></button>
- </div>
- <div class="code-body">
-<pre><code><span class="tok-c"># Install LibreGet via winget:
-</span>
-winget install -e --id OpenSelena.LibreGet
-
-<span class="tok-c"># Update to latest version:
-</span>
-winget upgrade --id OpenSelena.LibreGet</code></pre>
- </div>
- </div>
-
- <div class="callout">
- <svg class="icon icon-lg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="margin-top: 2px;"><circle cx="12" cy="12" r="10" />
- <path d="M12 16v-4" />
- <path d="M12 8h.01" /></svg>
- <div>
- <strong>Windows SmartScreen Notice:</strong>
- Because LibreGet is free open-source software and does not purchase commercial code-signing certificates ($500+/year), Windows SmartScreen may show a prompt ("Windows protected your PC"). Click <strong>More info</strong> and select <strong>Run anyway</strong>. This prompt appears only once on first run.
- </div>
- </div>
-
- <h3 id="code-signing-policy" style="font-size: 16px; font-weight: 600; margin: 24px 0 10px; color: var(--text);">Code signing policy</h3>
- <p class="doc-p">
- Free code signing provided by <a href="https://about.signpath.io" target="_blank" rel="noopener">SignPath.io</a>, certificate by <a href="https://signpath.org" target="_blank" rel="noopener">SignPath Foundation</a>. Code changes and signed releases are reviewed and approved by the OpenSelena maintainers. See our <a href="../#privacy">Privacy Policy</a> for how LibreGet handles data.
- </p>
-
- <!-- SECTION 3 -->
- <h2 class="doc-h2" id="portable">3. Windows Portable USB Mode (Zero-Footprint)</h2>
- <p class="doc-p">
- You can run LibreGet entirely from a USB thumb drive without leaving residual data in Windows <code>%APPDATA%</code> or the Windows Registry:
- </p>
-
- <ol style="margin-left: 20px; color: var(--text-muted); display: grid; gap: 10px; margin-bottom: 20px; font-size: 14.5px;">
- <li>Download <code>libreget_x.y.z_x64-portable.exe</code> and place it in any folder or USB drive.</li>
- <li>In the same directory, create an empty text file named <code>portable.txt</code> (or <code>.portable</code>).</li>
- <li>Launch the executable. LibreGet automatically redirects all SQLite database records, cookies, caches, plugins, yt-dlp, and FFmpeg binaries into a local <code>data/</code> subfolder.</li>
- </ol>
-
- <div class="code-container">
- <div class="code-header">
- <span style="font-size: 13px; font-weight: 600; color: #a1a1aa;">Portable Folder Structure</span>
- <button class="btn-copy" onclick="copyCodeSnippet(this)"><svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
- <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span>Copy</span></button>
- </div>
- <div class="code-body">
-<pre><code>E:\LibreGet├── libreget_0.12.0_x64-portable.exe
-├── portable.txt <-- Triggers portable mode
-└── data\ <-- All runtime data resides here
- ├── libreget.db <-- SQLite downloads & study history
- ├── cookies.db <-- Session cookies vault
- ├── bin\ (yt-dlp, ffmpeg) <-- Self-managed media tools
- └── plugins\ <-- Embedded plugins data</code></pre>
- </div>
- </div>
-
- <!-- SECTION 4 -->
- <h2 class="doc-h2" id="macos">4. macOS Gatekeeper & Codesign Fix</h2>
- <p class="doc-p">
- Download the appropriate DMG for your architecture (Apple Silicon M1-M4 or Intel). Drag <code>libreget.app</code> into your <code>/Applications</code> folder.
- </p>
-
- <div class="callout">
- <svg class="icon icon-lg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="margin-top: 2px;"><path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" />
- <path d="M12 9v4" />
- <path d="M12 17h.01" /></svg>
- <div>
- <strong>Gatekeeper Quarantine Warning:</strong>
- Because LibreGet is not notarized with an Apple Developer ID, macOS Gatekeeper may display a dialog stating the app is "damaged and cannot be opened". This is standard macOS security behavior for unsigned open-source binaries.
- </div>
- </div>
-
- <p class="doc-p">
- To clear the quarantine flag and re-sign the app ad-hoc, open Terminal (Cmd + Space, type "Terminal") and run these two commands:
- </p>
-
- <div class="code-container">
- <div class="code-header">
- <span style="font-size: 13px; font-weight: 600; color: #a1a1aa;">Terminal</span>
- <button class="btn-copy" onclick="copyCodeSnippet(this)"><svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
- <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span>Copy</span></button>
- </div>
- <div class="code-body">
-<pre><code><span class="tok-c"># 1. Strip the macOS quarantine extended attribute:
-</span>
-xattr -cr /Applications/libreget.app
-
-<span class="tok-c"># 2. Re-sign the app ad-hoc:
-</span>
-codesign --force --deep --sign - /Applications/libreget.app</code></pre>
- </div>
- </div>
-
- <p class="doc-p">
- You can now open LibreGet normally from Launchpad or Spotlight. For Homebrew users, a Cask formula is also available:
- </p>
-
- <div class="code-container">
- <div class="code-header">
- <span style="font-size: 13px; font-weight: 600; color: #a1a1aa;">Homebrew</span>
- <button class="btn-copy" onclick="copyCodeSnippet(this)"><svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
- <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span>Copy</span></button>
- </div>
- <div class="code-body">
-<pre><code>brew install --cask OpenSelena/tap/libreget</code></pre>
- </div>
- </div>
-
- <!-- SECTION 5 -->
- <h2 class="doc-h2" id="linux">5. Linux Packages & GStreamer Runtime Fix</h2>
- <p class="doc-p">
- LibreGet renders its desktop interface using WebKitGTK. WebKitGTK plays all video and audio through GStreamer. If the required GStreamer audio sink plugins are missing, WebKitGTK aborts its web process upon player instantiation, resulting in an empty window.
- </p>
-
- <p class="doc-p">
- Install the necessary GStreamer plugins using your system's package manager:
- </p>
-
- <div class="code-container">
- <div class="code-header">
- <span style="font-size: 13px; font-weight: 600; color: #a1a1aa;">Linux Dependency Setup</span>
- <button class="btn-copy" onclick="copyCodeSnippet(this)"><svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
- <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span>Copy</span></button>
- </div>
- <div class="code-body">
-<pre><code><span class="tok-c"># Ubuntu / Debian / Linux Mint:
-</span>
-sudo apt install gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-libav
-
-<span class="tok-c"># Fedora / RHEL / CentOS:
-</span>
-sudo dnf install gstreamer1-plugins-good gstreamer1-plugins-bad-free gstreamer1-plugin-libav
-
-<span class="tok-c"># Arch Linux / Manjaro:
-</span>
-sudo pacman -S gst-plugins-good gst-plugins-bad gst-libav</code></pre>
- </div>
- </div>
-
- <p class="doc-p">
- <strong>Ubuntu 24.04 and Debian 12 FUSE Notice:</strong> If launching the <code>.AppImage</code> fails with a <code>libfuse.so.2</code> error, install the FUSE 2 compatibility library or run with extraction:
- </p>
-
- <div class="code-container">
- <div class="code-header">
- <span style="font-size: 13px; font-weight: 600; color: #a1a1aa;">Bash</span>
- <button class="btn-copy" onclick="copyCodeSnippet(this)"><svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
- <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span>Copy</span></button>
- </div>
- <div class="code-body">
-<pre><code><span class="tok-c"># Install libfuse2 on Ubuntu 24.04:
-</span>
-sudo apt install libfuse2
-
-<span class="tok-c"># Or launch without root permissions:
-</span>
-chmod +x LibreGet_0.12.0_amd64.AppImage
-./LibreGet_0.12.0_amd64.AppImage --appimage-extract-and-run</code></pre>
- </div>
- </div>
-
- <!-- SECTION 6 -->
- <h2 class="doc-h2" id="extension">6. Companion Browser Extension Setup</h2>
- <p class="doc-p">
- To download logged-in media (paid courses, Instagram stories, private playlists), install the companion extension. Because it is distributed as open-source code rather than on web stores, install it via developer mode:
- </p>
-
- <ol style="margin-left: 20px; color: var(--text-muted); display: grid; gap: 10px; margin-bottom: 20px; font-size: 14.5px;">
- <li>Download <code>libreget-chrome-extension-vX.Y.Z.zip</code> from <a href="https://github.com/OpenSelena/libreget/releases" target="_blank" rel="noopener">GitHub Releases</a> (or click <strong>Export extension</strong> in <strong>Settings &rarr; Plugins &rarr; Browser extension</strong>).</li>
- <li>Extract the ZIP archive into a permanent folder on your computer.</li>
- <li><strong>Chromium (Chrome, Edge, Brave):</strong> Navigate to <code>chrome://extensions</code> (or <code>edge://extensions</code>), enable <strong>Developer mode</strong> in the top right, click <strong>Load unpacked</strong>, and select the extracted folder.</li>
- <li><strong>Firefox:</strong> Navigate to <code>about:debugging#/runtime/this-firefox</code>, click <strong>Load Temporary Add-on</strong>, and select the extension's <code>manifest.json</code>.</li>
- <li>Launch LibreGet. The extension communicates via local loopback (port range <code>47720..47729</code>). Click the extension icon on any media tab to push authenticated cookies to LibreGet in one click.</li>
- </ol>
-
- <!-- SECTION 7 -->
- <h2 class="doc-h2" id="build-source">7. Building from Source</h2>
- <p class="doc-p">
- To compile LibreGet from source, you will need <a href="https://rustup.rs/" target="_blank" rel="noopener">Rust</a> (pinned via <code>rust-toolchain.toml</code>), <a href="https://nodejs.org/" target="_blank" rel="noopener">Node.js 18+</a>, and <a href="https://pnpm.io/" target="_blank" rel="noopener">pnpm</a>:
- </p>
-
- <div class="code-container">
- <div class="code-header">
- <span style="font-size: 13px; font-weight: 600; color: #a1a1aa;">Bash / Terminal</span>
- <button class="btn-copy" onclick="copyCodeSnippet(this)"><svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
- <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span>Copy</span></button>
- </div>
- <div class="code-body">
-<pre><code><span class="tok-c"># 1. Clone repository:
-</span>
-git clone https://github.com/OpenSelena/libreget.git
-cd libreget
-
-<span class="tok-c"># 2. Install frontend dependencies:
-</span>
-pnpm install
-
-<span class="tok-c"># 3. Launch development server:
-</span>
-pnpm tauri dev
-
-<span class="tok-c"># 4. Build local production binary:
-</span>
-pnpm tauri build --config '{"bundle":{"createUpdaterArtifacts":false}}'</code></pre>
- </div>
- </div>
-
- <div class="doc-media-card">
- <img src="../../assets/readme/settings.png" alt="LibreGet Preferences & Settings" />
- <div class="doc-media-caption">LibreGet configuration panel: Manage download directories, network concurrency, cookie stores, and AI providers.</div>
- </div>
-
-
- <div class="page-nav-grid">
- <a href="../" class="page-nav-card">
- <span class="page-nav-sub">Previous Guide</span>
- <span class="page-nav-title">
- <span>&larr; Quickstart Guide</span>
- </span>
- </a>
- <a href="../mcp/" class="page-nav-card" style="text-align: right;">
- <span class="page-nav-sub">Next Guide</span>
- <span class="page-nav-title" style="justify-content: flex-end; gap: 8px;">
- <span>MCP Server Guide &rarr;</span>
- </span>
- </a>
- </div>
-
- </main>
-
- <aside class="docs-toc">
- <div class="toc-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 5h.01" />
- <path d="M3 12h.01" />
- <path d="M3 19h.01" />
- <path d="M8 5h13" />
- <path d="M8 12h13" />
- <path d="M8 19h13" /></svg>
- <span>On this page</span>
- </div>
- <ul class="toc-list" id="tocList">
- <li><a href="#binaries" class="toc-link">1. Precompiled Binary Releases Matrix</a></li>
- <li><a href="#windows" class="toc-link">2. Windows Setup & Winget</a></li>
- <li><a href="#portable" class="toc-link">3. Windows Portable USB Mode</a></li>
- <li><a href="#macos" class="toc-link">4. macOS Gatekeeper & Codesign Fix</a></li>
- <li><a href="#linux" class="toc-link">5. Linux Packages & GStreamer Fix</a></li>
- <li><a href="#extension" class="toc-link">6. Companion Extension Setup</a></li>
- <li><a href="#build-source" class="toc-link">7. Building from Source</a></li>
- </ul>
-
- <div class="toc-community-box">
- <a href="https://github.com/OpenSelena/libreget" class="toc-community-link" target="_blank" rel="noopener">
- <svg class="icon icon-fill icon-sm" viewBox="0 0 24 24" fill="currentColor"><title>GitHub</title><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-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>
- <span>Edit page on GitHub</span>
- </a>
- <a href="https://t.me/OpenSelena" class="toc-community-link" target="_blank" rel="noopener">
- <svg class="icon icon-fill icon-sm" viewBox="0 0 24 24" fill="currentColor"><title>Telegram</title><path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"/></svg>
- <span>Ask in Telegram</span>
- </a>
- </div>
- </aside>
- </div>
-
- <!-- SEARCH MODAL -->
- <div class="search-modal-backdrop" id="searchBackdrop" onclick="closeSearchModal(event)">
- <div class="search-modal" onclick="event.stopPropagation()">
- <div class="search-input-wrap">
- <svg class="icon icon-lg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m21 21-4.34-4.34" />
- <circle cx="11" cy="11" r="8" /></svg>
- <input type="text" class="search-modal-input" id="searchInput" placeholder="Search documentation..." autocomplete="off" />
- </div>
- <ul class="search-results-list" id="searchResults">
- <li class="search-result-item" onclick="location.href='../'">
- <span class="search-result-title">Quickstart Guide</span>
- <span class="search-result-desc">Three modes: Visual desktop app, local MCP, and portable mode</span>
- </li>
- <li class="search-result-item" onclick="location.href='../installation/'">
- <span class="search-result-title">Installation & OS Binaries</span>
- <span class="search-result-desc">Windows, macOS Apple Silicon, and Linux packages</span>
- </li>
- <li class="search-result-item" onclick="location.href='../mcp/'">
- <span class="search-result-title">Model Context Protocol (MCP) Server</span>
- <span class="search-result-desc">Local AI agent tools for Claude Code, Cursor, and VS Code</span>
- </li>
- <li class="search-result-item" onclick="location.href='../courses/'">
- <span class="search-result-title">36 Online Course Platforms</span>
- <span class="search-result-desc">Hotmart, Udemy, Rocketseat, Kajabi, and Kiwify integration</span>
- </li>
- <li class="search-result-item" onclick="location.href='../nami/'">
- <span class="search-result-title">Nami Social Archiver</span>
- <span class="search-result-desc">Bulk Instagram, TikTok, and X profile downloader</span>
- </li>
- <li class="search-result-item" onclick="location.href='../troubleshooting/'">
- <span class="search-result-title">System Troubleshooting</span>
- <span class="search-result-desc">macOS Gatekeeper, Linux WebKitGTK, and diagnostic logs</span>
- </li>
- <li class="search-result-item" onclick="location.href='../#privacy'">
- <span class="search-result-title">Privacy Policy &amp; No Tracking</span>
- <span class="search-result-desc">Local SQLite storage, loopback security, and DRM non-circumvention</span>
- </li>
- <li class="search-result-item" onclick="location.href='../changelog/'">
- <span class="search-result-title">Release Notes &amp; Changelog</span>
- <span class="search-result-desc">Version v0.12.0 updates, Telegram API credentials, CSP star fix</span>
- </li>
- </ul>
- </div>
- </div>
-
- <script>
- function updateThemeIcons(theme) {
- const sun = document.getElementById('themeIconSun');
- const moon = document.getElementById('themeIconMoon');
- if (!sun || !moon) return;
- if (theme === 'dark') {
- sun.style.display = 'inline-block';
- moon.style.display = 'none';
- } else {
- sun.style.display = 'none';
- moon.style.display = 'inline-block';
- }
- }
-
- function toggleTheme() {
- const isDark = document.documentElement.classList.contains('dark') ||
- document.documentElement.getAttribute('data-theme') === 'dark';
- const target = isDark ? 'light' : 'dark';
- if (target === 'dark') {
- document.documentElement.classList.add('dark');
- document.documentElement.setAttribute('data-theme', 'dark');
- } else {
- document.documentElement.classList.remove('dark');
- document.documentElement.setAttribute('data-theme', 'light');
- }
- localStorage.setItem('libreget_docs_theme', target);
- localStorage.setItem('theme', target);
- updateThemeIcons(target);
- }
-
- function toggleMobileSidebar() {
- const sidebar = document.querySelector('.docs-sidebar');
- const backdrop = document.getElementById('mobileSidebarBackdrop');
- if (sidebar) sidebar.classList.toggle('open');
- if (backdrop) backdrop.classList.toggle('open');
- }
-
- function closeMobileSidebar() {
- const sidebar = document.querySelector('.docs-sidebar');
- const backdrop = document.getElementById('mobileSidebarBackdrop');
- if (sidebar) sidebar.classList.remove('open');
- if (backdrop) backdrop.classList.remove('open');
- }
-
- document.addEventListener('DOMContentLoaded', () => {
- const isDark = document.documentElement.classList.contains('dark') ||
- document.documentElement.getAttribute('data-theme') === 'dark';
- updateThemeIcons(isDark ? 'dark' : 'light');
-
- if (location.protocol === 'file:') {
- document.querySelectorAll('a[href]').forEach(a => {
- let h = a.getAttribute('href');
- if (h && h.endsWith('/') && !h.startsWith('http') && !h.startsWith('#')) {
- a.setAttribute('href', h + 'index.html');
- }
- });
- document.querySelectorAll('.search-result-item[onclick]').forEach(item => {
- let oc = item.getAttribute('onclick');
- if (oc && oc.includes("location.href='")) {
- item.setAttribute('onclick', oc.replace("/'", "/index.html'"));
- }
- });
- }
-
- document.querySelectorAll('.sidebar-link').forEach(link => {
- link.addEventListener('click', closeMobileSidebar);
- });
- });
-
- function switchCodeTab(btn, tabId) {
- const container = btn.closest('.code-container');
- if (!container) return;
- container.querySelectorAll('.code-tab-btn').forEach(b => b.classList.remove('active'));
- btn.classList.add('active');
- container.querySelectorAll('.code-body pre').forEach(pre => {
- pre.style.display = (pre.id === tabId) ? 'block' : 'none';
- });
- }
-
- function copyCodeSnippet(btn) {
- const container = btn.closest('.code-container');
- if (!container) return;
- const pres = Array.from(container.querySelectorAll('.code-body pre'));
- const activePre = pres.find(p => window.getComputedStyle(p).display !== 'none') || pres[0];
- if (!activePre) return;
-
- const code = activePre.querySelector('code');
- const text = (code ? code.innerText : activePre.innerText).trim();
- const span = btn.querySelector('span');
- const origText = span ? span.textContent : 'Copy';
- const origSvg = btn.querySelector('svg') ? btn.querySelector('svg').outerHTML : '';
- const checkSvg = '<svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>';
-
- const showSuccess = () => {
- if (span) span.textContent = 'Copied!';
- btn.classList.add('copied');
- const curSvg = btn.querySelector('svg');
- if (curSvg) curSvg.outerHTML = checkSvg;
- setTimeout(() => {
- if (span) span.textContent = origText;
- btn.classList.remove('copied');
- const nowSvg = btn.querySelector('svg');
- if (nowSvg && origSvg) nowSvg.outerHTML = origSvg;
- }, 2000);
- };
-
- const execCopy = () => {
- try {
- const ta = document.createElement('textarea');
- ta.value = text;
- ta.style.top = '0';
- ta.style.left = '0';
- ta.style.position = 'fixed';
- ta.style.width = '2em';
- ta.style.height = '2em';
- ta.style.padding = '0';
- ta.style.border = 'none';
- ta.style.outline = 'none';
- ta.style.boxShadow = 'none';
- ta.style.background = 'transparent';
- ta.setAttribute('readonly', '');
- document.body.appendChild(ta);
- ta.focus();
- ta.select();
- ta.setSelectionRange(0, ta.value.length);
- const ok = document.execCommand('copy');
- document.body.removeChild(ta);
- return ok;
- } catch (e) {
- return false;
- }
- };
-
- if (location.protocol === 'file:') {
- execCopy();
- showSuccess();
- } else if (navigator.clipboard && window.isSecureContext) {
- navigator.clipboard.writeText(text)
- .then(showSuccess)
- .catch(() => {
- execCopy();
- showSuccess();
- });
- } else {
- execCopy();
- showSuccess();
- }
- }
-
- function openSearchModal() {
- const modal = document.getElementById('searchBackdrop');
- if (modal) {
- modal.classList.add('open');
- setTimeout(() => {
- const inp = document.getElementById('searchInput');
- if (inp) inp.focus();
- }, 50);
- }
- }
-
- function closeSearchModal(e) {
- const modal = document.getElementById('searchBackdrop');
- if (modal) modal.classList.remove('open');
- }
-
- document.addEventListener('keydown', (e) => {
- if ((e.ctrlKey || e.metaKey) && e.key.toLowerCase() === 'k') {
- e.preventDefault();
- openSearchModal();
- }
- if (e.key === 'Escape') {
- closeSearchModal();
- }
- });
-
- const sInput = document.getElementById('searchInput');
- if (sInput) {
- sInput.addEventListener('input', (e) => {
- const q = e.target.value.toLowerCase();
- document.querySelectorAll('#searchResults .search-result-item').forEach(item => {
- const t = item.textContent.toLowerCase();
- item.style.display = t.includes(q) ? 'flex' : 'none';
- });
- });
- }
-
-
- // TOC scrollspy: highlight the section currently in view (vercel.com/docs behavior).
- (function () {
- const links = document.querySelectorAll('.toc-list .toc-link');
- if (!links.length) return;
- const targets = [];
- links.forEach(l => {
- const href = l.getAttribute('href') || '';
- if (!href.startsWith('#')) return;
- const el = document.getElementById(href.slice(1));
- if (el) targets.push([el, l]);
- });
- if (!targets.length) return;
- const setActive = link => links.forEach(x => x.classList.toggle('active', x === link));
- const obs = new IntersectionObserver(entries => {
- const visible = entries.filter(e => e.isIntersecting);
- if (!visible.length) return;
- const hit = targets.find(([el]) => el === visible[visible.length - 1].target);
- if (hit) setActive(hit[1]);
- }, { rootMargin: '-108px 0px -70% 0px' });
- targets.forEach(([el]) => obs.observe(el));
- })();
- </script>
-</body>
-</html>
diff --git a/docs/mcp/index.html b/docs/mcp/index.html
deleted file mode 100644
index b8354e9f..00000000
--- a/docs/mcp/index.html
+++ /dev/null
@@ -1,2187 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
- <title>Model Context Protocol (MCP) Server · LibreGet Documentation</title>
- <meta name="description" content="LibreGet's built-in MCP server exposes 37 tools over Streamable HTTP at POST /mcp on 127.0.0.1 for Claude Code, Claude Desktop, Cursor, VS Code, Goose, and Codex." />
- <link rel="canonical" href="https://libreget.asf.sale/docs/mcp/" />
-
- <!-- Open Graph -->
- <meta property="og:type" content="article" />
- <meta property="og:site_name" content="LibreGet Documentation" />
- <meta property="og:title" content="Model Context Protocol (MCP) Server" />
- <meta property="og:description" content="LibreGet's built-in MCP server exposes 37 tools over Streamable HTTP at POST /mcp on 127.0.0.1 for Claude Code, Claude Desktop, Cursor, VS Code, Goose, and Codex." />
- <meta property="og:url" content="https://libreget.asf.sale/docs/mcp/" />
- <meta property="og:image" content="https://libreget.asf.sale/assets/readme/home.png" />
- <meta property="og:image:width" content="1200" />
- <meta property="og:image:height" content="630" />
- <meta name="twitter:card" content="summary_large_image" />
-
- <link rel="icon" type="image/x-icon" href="../../favicon.ico" />
- <link rel="icon" type="image/png" sizes="256x256" href="../../static/favicon.png" />
- <link rel="apple-touch-icon" sizes="180x180" href="../../static/favicon.png" />
-
- <!-- Early Theme Init Script to eliminate Flash of Wrong Theme -->
- <script>
- (function() {
- try {
- var saved = localStorage.getItem('libreget_docs_theme') || localStorage.getItem('theme');
- var prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
- if (saved === 'dark' || (!saved && prefersDark)) {
- document.documentElement.classList.add('dark');
- document.documentElement.setAttribute('data-theme', 'dark');
- } else {
- document.documentElement.classList.remove('dark');
- document.documentElement.setAttribute('data-theme', 'light');
- }
- } catch (e) {}
- })();
- </script>
-
- <!-- Fonts: Geist + Geist Mono, the vercel.com/docs typefaces -->
- <link rel="preconnect" href="https://fonts.googleapis.com" />
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
- <link href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet" />
-
- <style>
- /* ============================================================
- LibreGet Documentation — UI skin
- Design system: vercel.com/docs (Geist type, Vercel palette)
- ============================================================ */
-
- *, *::before, *::after {
- box-sizing: border-box;
- margin: 0;
- padding: 0;
- }
-
- /* ---------- Design tokens ---------- */
-
- :root {
- color-scheme: light;
-
- --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
- --font-display: var(--font-sans);
- --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
-
- /* Vercel light theme */
- --bg: #ffffff;
- --bg-surface: #ffffff;
- --bg-subtle: #fafafa;
- --bg-muted: #f4f4f5;
- --bg-hover: #f4f4f5;
- --bg-card: #ffffff;
- --bg-code: #111111;
- --code-header: #171717;
- --code-border: #333333;
-
- --border: #eaeaea;
- --border-subtle: #f4f4f5;
- --border-hover: #999999;
- --border-focus: #171717;
-
- --text: #171717;
- --text-muted: #666666;
- --text-subtle: #888888;
- --text-inverse: #ffffff;
-
- --primary: #171717;
- --primary-hover: #333333;
- --primary-light: #f4f4f5;
- --primary-border: #171717;
-
- --link: #0070f3;
- --link-hover: #3291ff;
- --success: #50e3c2;
-
- --callout-bg: #fafafa;
- --callout-border: #eaeaea;
- --callout-text: #171717;
-
- --header-h: 64px;
- --tabs-h: 44px;
- --header-total-h: 108px;
- --sidebar-w: 272px;
- --toc-w: 240px;
- --max-w: 1440px;
-
- --radius-sm: 8px;
- --radius-md: 10px;
- --radius-lg: 12px;
- }
-
- html.dark {
- color-scheme: dark;
-
- /* Vercel dark theme */
- --bg: #000000;
- --bg-surface: #0a0a0a;
- --bg-subtle: #111111;
- --bg-muted: #18181b;
- --bg-hover: #18181b;
- --bg-card: #0a0a0a;
- --bg-code: #111111;
- --code-header: #171717;
- --code-border: #262626;
-
- --border: #1f1f1f;
- --border-subtle: #141414;
- --border-hover: #444444;
- --border-focus: #ededed;
-
- --text: #ededed;
- --text-muted: #a1a1aa;
- --text-subtle: #71717a;
- --text-inverse: #000000;
-
- --primary: #ededed;
- --primary-hover: #ffffff;
- --primary-light: #18181b;
- --primary-border: #ededed;
-
- --link: #3291ff;
- --link-hover: #66aaff;
-
- --callout-bg: #0a0a0a;
- --callout-border: #1f1f1f;
- --callout-text: #ededed;
- }
-
- /* ---------- Base ---------- */
-
- html {
- scroll-behavior: smooth;
- }
-
- body {
- background-color: var(--bg);
- color: var(--text);
- font-family: var(--font-sans);
- font-size: 16px;
- line-height: 1.6;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: antialiased;
- text-rendering: optimizeLegibility;
- overflow-x: hidden;
- transition: background-color 0.15s ease, color 0.15s ease;
- }
-
- ::selection {
- background: #0070f3;
- color: #ffffff;
- }
-
- a {
- color: inherit;
- text-decoration: none;
- }
-
- button {
- font-family: inherit;
- cursor: pointer;
- }
-
- img {
- max-width: 100%;
- }
-
- :focus-visible {
- outline: 2px solid var(--link);
- outline-offset: 2px;
- }
-
- /* ---------- Icons ---------- */
-
- .icon {
- display: inline-block;
- width: 16px;
- height: 16px;
- flex-shrink: 0;
- vertical-align: middle;
- }
-
- .icon-lg { width: 18px; height: 18px; }
- .icon-sm { width: 14px; height: 14px; }
- .icon-xs { width: 12px; height: 12px; }
-
- /* ---------- Top navbar ---------- */
-
- .nav-header {
- position: sticky;
- top: 0;
- z-index: 50;
- background: var(--bg);
- border-bottom: 1px solid var(--border);
- }
-
- .nav-header-inner {
- display: flex;
- align-items: center;
- gap: 14px;
- height: var(--header-h);
- max-width: var(--max-w);
- margin: 0 auto;
- padding: 0 24px;
- }
-
- .brand-group {
- display: flex;
- align-items: center;
- gap: 10px;
- flex-shrink: 0;
- }
-
- .brand-logo-link {
- display: flex;
- align-items: center;
- gap: 8px;
- font-size: 14.5px;
- font-weight: 600;
- letter-spacing: -0.01em;
- color: var(--text);
- }
-
- .brand-logo-link img {
- display: block;
- height: 22px;
- width: auto;
- }
-
- .brand-badge {
- font-size: 13px;
- font-weight: 400;
- letter-spacing: 0.02em;
- color: var(--text-muted);
- }
-
- /* Search trigger (the "Search Docs" pill) */
- .search-trigger {
- display: flex;
- align-items: center;
- gap: 8px;
- height: 34px;
- min-width: 160px;
- max-width: 300px;
- flex: 0 1 auto;
- padding: 0 8px 0 12px;
- border: 1px solid var(--border);
- border-radius: var(--radius-sm);
- background: var(--bg);
- color: var(--text-subtle);
- cursor: pointer;
- transition: border-color 0.15s ease;
- }
-
- .search-trigger:hover {
- border-color: var(--border-hover);
- }
-
- .search-trigger > span {
- flex: 1;
- font-size: 13px;
- }
-
- .search-kbd {
- flex-shrink: 0;
- border: 1px solid var(--border);
- background: var(--bg-subtle);
- border-radius: 5px;
- padding: 1px 6px;
- font-family: var(--font-mono);
- font-size: 11px;
- color: var(--text-subtle);
- line-height: 1.5;
- }
-
- .nav-links {
- display: flex;
- align-items: center;
- gap: 2px;
- margin-left: auto;
- }
-
- .nav-link-item {
- padding: 6px 10px;
- border-radius: 6px;
- font-size: 13.5px;
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .nav-link-item:hover {
- color: var(--text);
- }
-
- .nav-link-item.active {
- color: var(--text);
- font-weight: 500;
- }
-
- .nav-actions {
- display: flex;
- align-items: center;
- gap: 8px;
- flex-shrink: 0;
- }
-
- .theme-toggle-btn {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 32px;
- height: 32px;
- border: none;
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--text-muted);
- transition: background 0.15s ease, color 0.15s ease;
- }
-
- .theme-toggle-btn:hover {
- background: var(--bg-hover);
- color: var(--text);
- }
-
- .btn-top-download {
- display: inline-flex;
- align-items: center;
- gap: 6px;
- height: 32px;
- padding: 0 14px;
- border: none;
- border-radius: 999px;
- background: var(--primary);
- color: var(--text-inverse);
- font-size: 13px;
- font-weight: 500;
- transition: background 0.15s ease;
- }
-
- .btn-top-download:hover {
- background: var(--primary-hover);
- }
-
- /* ---------- Section subtabs ---------- */
-
- .nav-subtabs {
- background: var(--bg);
- border-bottom: 1px solid var(--border);
- }
-
- .nav-subtabs-inner {
- display: flex;
- align-items: center;
- gap: 4px;
- height: var(--tabs-h);
- max-width: var(--max-w);
- margin: 0 auto;
- padding: 0 24px;
- overflow-x: auto;
- scrollbar-width: none;
- }
-
- .nav-subtabs-inner::-webkit-scrollbar {
- display: none;
- }
-
- .nav-subtabs-inner .subtab-item {
- display: inline-flex;
- align-items: center;
- gap: 7px;
- height: var(--tabs-h);
- padding: 0 12px;
- border-radius: 0;
- font-size: 13.5px;
- color: var(--text-muted);
- white-space: nowrap;
- transition: color 0.15s ease;
- }
-
- .nav-subtabs-inner .subtab-item:hover {
- color: var(--text);
- }
-
- .nav-subtabs-inner .subtab-item.active {
- color: var(--text);
- font-weight: 500;
- box-shadow: inset 0 -2px 0 0 var(--text);
- }
-
- .nav-subtabs-inner .subtab-item .icon {
- display: none;
- }
-
- /* Generic subtab link used inside page content (e.g. "GitHub Tag") */
- .subtab-item {
- display: inline-flex;
- align-items: center;
- gap: 7px;
- padding: 6px 12px;
- border-radius: var(--radius-sm);
- font-size: 13px;
- font-weight: 500;
- color: var(--text-muted);
- transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
- }
-
- .subtab-item:hover {
- color: var(--text);
- }
-
- /* ---------- Shell layout ---------- */
-
- .docs-layout {
- display: flex;
- align-items: flex-start;
- max-width: var(--max-w);
- margin: 0 auto;
- padding: 0 24px;
- }
-
- .docs-sidebar {
- width: var(--sidebar-w);
- flex-shrink: 0;
- position: sticky;
- top: var(--header-total-h);
- height: calc(100vh - var(--header-total-h));
- overflow-y: auto;
- overscroll-behavior: contain;
- padding: 28px 16px 48px 8px;
- }
-
- .docs-main {
- flex: 1 1 auto;
- min-width: 0;
- width: 100%;
- max-width: 736px;
- margin: 0 auto;
- padding: 40px 40px 96px;
- }
-
- .docs-toc {
- width: var(--toc-w);
- flex-shrink: 0;
- position: sticky;
- top: var(--header-total-h);
- height: calc(100vh - var(--header-total-h));
- overflow-y: auto;
- padding: 40px 24px 48px 0;
- }
-
- /* ---------- Sidebar navigation ---------- */
-
- .sidebar-group {
- margin-bottom: 22px;
- }
-
- .sidebar-group-header {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 10px;
- margin-bottom: 6px;
- font-size: 13px;
- font-weight: 500;
- color: var(--text-subtle);
- }
-
- .sidebar-group-header .icon {
- display: none;
- }
-
- .sidebar-nav-list {
- list-style: none;
- display: flex;
- flex-direction: column;
- gap: 1px;
- }
-
- .sidebar-link {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 8px;
- padding: 6px 10px;
- border-radius: 6px;
- font-size: 13.5px;
- color: var(--text-muted);
- transition: background 0.15s ease, color 0.15s ease;
- }
-
- .sidebar-link:hover {
- color: var(--text);
- background: var(--bg-hover);
- }
-
- .sidebar-link.active {
- color: var(--text);
- background: var(--bg-hover);
- font-weight: 500;
- }
-
- .sidebar-tag {
- flex-shrink: 0;
- font-size: 11px;
- font-weight: 500;
- color: var(--text-subtle);
- background: var(--bg-subtle);
- border: 1px solid var(--border);
- border-radius: 999px;
- padding: 1px 7px;
- white-space: nowrap;
- }
-
- /* ---------- Mobile sidebar drawer ---------- */
-
- .mobile-sidebar-toggle {
- display: none;
- align-items: center;
- justify-content: center;
- width: 32px;
- height: 32px;
- border: none;
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--text-muted);
- }
-
- .mobile-sidebar-toggle:hover {
- background: var(--bg-hover);
- color: var(--text);
- }
-
- .mobile-sidebar-backdrop {
- display: none;
- position: fixed;
- inset: 0;
- top: var(--header-total-h);
- z-index: 39;
- background: rgba(0, 0, 0, 0.5);
- }
-
- .mobile-sidebar-backdrop.open {
- display: block;
- }
-
- /* ---------- Breadcrumbs ---------- */
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 8px;
- margin-bottom: 20px;
- font-size: 13px;
- color: var(--text-muted);
- }
-
- .docs-main .breadcrumbs a {
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .docs-main .breadcrumbs a:hover {
- color: var(--text);
- text-decoration: none;
- }
-
- .breadcrumb-sep {
- color: var(--border-hover);
- }
-
- .breadcrumb-current {
- color: var(--text);
- font-weight: 500;
- }
-
- /* ---------- Article typography ---------- */
-
- .doc-h1 {
- font-size: 36px;
- line-height: 1.15;
- font-weight: 600;
- letter-spacing: -0.022em;
- color: var(--text);
- margin-bottom: 14px;
- }
-
- .doc-lead {
- font-size: 17px;
- line-height: 1.6;
- color: var(--text-muted);
- margin-bottom: 28px;
- }
-
- .doc-p {
- font-size: 15.5px;
- line-height: 1.7;
- color: var(--text);
- margin-bottom: 20px;
- }
-
- .doc-h2 {
- font-size: 24px;
- font-weight: 600;
- letter-spacing: -0.014em;
- color: var(--text);
- margin: 44px 0 12px;
- }
-
- .doc-h3 {
- font-size: 18px;
- font-weight: 600;
- color: var(--text);
- margin: 28px 0 8px;
- }
-
- .doc-h1, .doc-h2, .doc-h3 {
- scroll-margin-top: calc(var(--header-total-h) + 24px);
- }
-
- strong {
- font-weight: 600;
- }
-
- .docs-main a {
- color: var(--link);
- text-decoration: none;
- }
-
- .docs-main a:hover {
- text-decoration: underline;
- }
-
- /* Content links that are UI buttons, not prose links */
- .docs-main a.subtab-item,
- .docs-main a.page-nav-card {
- color: var(--text-muted);
- text-decoration: none;
- }
-
- .docs-main a.subtab-item:hover {
- color: var(--text);
- text-decoration: none;
- }
-
- .docs-main a.page-nav-card:hover {
- color: var(--text-muted);
- border-color: var(--border-hover);
- text-decoration: none;
- }
-
- /* Inline code */
- .docs-main code {
- font-family: var(--font-mono);
- font-size: 0.855em;
- background: var(--bg-muted);
- color: var(--text);
- padding: 0.15em 0.4em;
- border-radius: 6px;
- }
-
- /* ---------- Figures ---------- */
-
- .doc-media-card {
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- overflow: hidden;
- margin: 24px 0;
- }
-
- .doc-media-card img {
- display: block;
- width: 100%;
- height: auto;
- background: var(--bg-subtle);
- }
-
- .doc-media-caption {
- padding: 10px 16px;
- border-top: 1px solid var(--border);
- background: var(--bg-subtle);
- font-size: 13px;
- line-height: 1.5;
- color: var(--text-muted);
- }
-
- /* ---------- Callouts ---------- */
-
- .callout {
- display: flex;
- align-items: flex-start;
- gap: 12px;
- margin: 24px 0;
- padding: 16px 20px;
- border: 1px solid var(--callout-border);
- border-radius: var(--radius-lg);
- background: var(--callout-bg);
- color: var(--callout-text);
- font-size: 14.5px;
- line-height: 1.6;
- }
-
- .callout .icon-lg {
- color: var(--text-muted);
- margin-top: 2px;
- }
-
- /* ---------- Cards grid ---------- */
-
- .approach-grid {
- display: grid;
- grid-template-columns: repeat(3, 1fr);
- gap: 12px;
- margin: 24px 0;
- }
-
- .approach-card {
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- padding: 18px 20px;
- transition: border-color 0.15s ease;
- }
-
- .approach-card:hover {
- border-color: var(--border-hover);
- }
-
- .approach-badge {
- display: inline-block;
- margin-bottom: 10px;
- padding: 2px 8px;
- border: 1px solid var(--border);
- border-radius: 999px;
- font-size: 11px;
- font-weight: 500;
- color: var(--text-subtle);
- }
-
- .approach-title {
- font-size: 15.5px;
- font-weight: 600;
- color: var(--text);
- margin-bottom: 6px;
- }
-
- .approach-desc {
- font-size: 13.5px;
- line-height: 1.6;
- color: var(--text-muted);
- }
-
- /* ---------- Tables ---------- */
-
- .doc-table-wrap {
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- overflow-x: auto;
- margin-bottom: 24px;
- background: var(--bg-card);
- }
-
- .doc-table {
- width: 100%;
- border-collapse: collapse;
- font-size: 14px;
- }
-
- .doc-table th {
- text-align: left;
- padding: 10px 16px;
- border-bottom: 1px solid var(--border);
- background: var(--bg-subtle);
- font-size: 13px;
- font-weight: 500;
- color: var(--text-muted);
- white-space: nowrap;
- }
-
- .doc-table td {
- padding: 12px 16px;
- border-bottom: 1px solid var(--border-subtle);
- color: var(--text);
- vertical-align: top;
- line-height: 1.55;
- }
-
- .doc-table tbody tr:last-child td {
- border-bottom: none;
- }
-
- /* ---------- Code blocks ---------- */
-
- .code-container {
- margin-bottom: 24px;
- border: 1px solid var(--code-border);
- border-radius: var(--radius-lg);
- overflow: hidden;
- background: var(--bg-code);
- }
-
- .code-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 12px;
- height: 44px;
- padding: 0 8px 0 16px;
- background: var(--code-header);
- border-bottom: 1px solid var(--code-border);
- }
-
- .code-header > span {
- font-family: var(--font-mono);
- font-size: 12.5px;
- color: #a1a1aa;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
-
- .btn-copy {
- display: inline-flex;
- align-items: center;
- gap: 6px;
- flex-shrink: 0;
- border: none;
- border-radius: 6px;
- padding: 5px 8px;
- background: transparent;
- color: #999999;
- font-size: 12px;
- transition: background 0.15s ease, color 0.15s ease;
- }
-
- .btn-copy:hover {
- background: rgba(255, 255, 255, 0.08);
- color: #ffffff;
- }
-
- .btn-copy.copied {
- color: #50e3c2;
- }
-
- .code-body pre {
- margin: 0;
- padding: 16px;
- overflow-x: auto;
- }
-
- .code-body code {
- font-family: var(--font-mono);
- font-size: 13px;
- line-height: 1.65;
- color: #ededed;
- background: transparent;
- padding: 0;
- border-radius: 0;
- white-space: pre;
- }
-
- .tok-c {
- color: #737373;
- }
-
- /* ---------- Prev / next pagination ---------- */
-
- .page-nav-grid {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 12px;
- margin-top: 48px;
- padding-top: 32px;
- border-top: 1px solid var(--border);
- }
-
- .page-nav-card {
- display: flex;
- flex-direction: column;
- gap: 2px;
- padding: 14px 16px;
- border: 1px solid var(--border);
- border-radius: var(--radius-md);
- transition: border-color 0.15s ease;
- }
-
- .page-nav-card:hover {
- border-color: var(--border-hover);
- }
-
- .page-nav-sub {
- font-size: 12px;
- color: var(--text-subtle);
- }
-
- .page-nav-title {
- display: flex;
- align-items: center;
- gap: 6px;
- font-size: 14px;
- font-weight: 600;
- color: var(--text);
- }
-
- /* ---------- Right TOC ---------- */
-
- .toc-title {
- display: flex;
- align-items: center;
- gap: 8px;
- margin-bottom: 10px;
- font-size: 13px;
- font-weight: 600;
- color: var(--text);
- }
-
- .toc-title .icon {
- display: none;
- }
-
- .toc-list {
- list-style: none;
- position: relative;
- margin-left: 2px;
- border-left: 1px solid var(--border);
- }
-
- .toc-link {
- display: block;
- position: relative;
- padding: 5px 0 5px 16px;
- font-size: 13px;
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .toc-link:hover {
- color: var(--text);
- }
-
- .toc-link.active {
- color: var(--text);
- font-weight: 500;
- }
-
- .toc-link.active::before {
- content: "";
- position: absolute;
- left: -1px;
- top: 6px;
- bottom: 6px;
- width: 2px;
- border-radius: 2px;
- background: var(--text);
- }
-
- .toc-community-box {
- margin-top: 20px;
- padding-top: 16px;
- border-top: 1px solid var(--border);
- display: flex;
- flex-direction: column;
- gap: 2px;
- }
-
- .toc-community-link {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 6px 0;
- font-size: 13px;
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .toc-community-link:hover {
- color: var(--text);
- }
-
- /* ---------- Search modal ---------- */
-
- .search-modal-backdrop {
- position: fixed;
- inset: 0;
- z-index: 100;
- display: flex;
- justify-content: center;
- align-items: flex-start;
- padding: 15vh 16px 16px;
- background: rgba(0, 0, 0, 0.55);
- opacity: 0;
- pointer-events: none;
- transition: opacity 0.15s ease;
- }
-
- .search-modal-backdrop.open {
- opacity: 1;
- pointer-events: auto;
- }
-
- .search-modal {
- width: 100%;
- max-width: 560px;
- background: var(--bg);
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- overflow: hidden;
- box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
- animation: search-modal-in 0.15s ease;
- }
-
- @keyframes search-modal-in {
- from {
- opacity: 0;
- transform: translateY(-6px) scale(0.98);
- }
- to {
- opacity: 1;
- transform: none;
- }
- }
-
- .search-input-wrap {
- display: flex;
- align-items: center;
- gap: 10px;
- height: 52px;
- padding: 0 16px;
- border-bottom: 1px solid var(--border);
- color: var(--text-subtle);
- }
-
- .search-modal-input {
- flex: 1;
- border: none;
- outline: none;
- background: transparent;
- font-family: var(--font-sans);
- font-size: 14.5px;
- color: var(--text);
- }
-
- .search-modal-input::placeholder {
- color: var(--text-subtle);
- }
-
- .search-results-list {
- list-style: none;
- max-height: 340px;
- overflow-y: auto;
- padding: 8px;
- }
-
- .search-result-item {
- display: flex;
- flex-direction: column;
- gap: 2px;
- padding: 10px 12px;
- border-radius: var(--radius-sm);
- cursor: pointer;
- }
-
- .search-result-item:hover {
- background: var(--bg-hover);
- }
-
- .search-result-title {
- font-size: 14px;
- font-weight: 500;
- color: var(--text);
- }
-
- .search-result-desc {
- font-size: 13px;
- color: var(--text-muted);
- }
-
- /* ---------- Changelog releases ---------- */
-
- .release-box {
- scroll-margin-top: calc(var(--header-total-h) + 24px);
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- background: var(--bg-card);
- padding: 24px;
- margin-bottom: 20px;
- }
-
- .release-header {
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- gap: 16px;
- padding-bottom: 16px;
- margin-bottom: 16px;
- border-bottom: 1px solid var(--border);
- }
-
- .release-tag-pill {
- display: inline-block;
- padding: 3px 10px;
- border-radius: 6px;
- background: var(--primary);
- color: var(--text-inverse);
- font-size: 12px;
- font-weight: 600;
- }
-
- .release-date {
- font-size: 13px;
- color: var(--text-subtle);
- }
-
- .release-title {
- font-size: 18px;
- font-weight: 600;
- letter-spacing: -0.01em;
- color: var(--text);
- margin-top: 6px;
- }
-
- .release-section {
- margin-bottom: 16px;
- }
-
- .release-section-title {
- display: flex;
- align-items: center;
- gap: 8px;
- font-size: 14px;
- font-weight: 600;
- color: var(--text);
- margin-bottom: 8px;
- }
-
- .release-section-title .icon {
- color: var(--text-subtle);
- }
-
- .release-list {
- list-style: none;
- display: flex;
- flex-direction: column;
- gap: 6px;
- }
-
- .release-list li {
- position: relative;
- padding-left: 18px;
- font-size: 14px;
- line-height: 1.6;
- color: var(--text-muted);
- }
-
- .release-list li::before {
- content: "";
- position: absolute;
- left: 2px;
- top: 0.62em;
- width: 5px;
- height: 5px;
- border-radius: 999px;
- background: var(--border-hover);
- }
-
- .release-list li strong {
- color: var(--text);
- }
-
- /* ---------- Responsive ---------- */
-
- @media (max-width: 1100px) {
- .docs-toc {
- display: none;
- }
- }
-
- @media (max-width: 768px) {
- .nav-links { display: none; }
- .brand-badge { display: none; }
- .mobile-sidebar-toggle { display: flex; }
- .search-trigger {
- flex: 1;
- min-width: 0;
- max-width: none;
- }
- .docs-layout {
- padding: 0;
- }
- .docs-sidebar {
- position: fixed;
- top: var(--header-total-h);
- left: 0;
- bottom: 0;
- width: 280px;
- height: auto;
- background: var(--bg);
- border-right: 1px solid var(--border);
- transform: translateX(-100%);
- transition: transform 0.2s ease;
- z-index: 40;
- padding: 20px 16px 32px 24px;
- }
- .docs-sidebar.open {
- transform: translateX(0);
- }
- .docs-main {
- max-width: none;
- padding: 28px 20px 72px;
- }
- .doc-h1 {
- font-size: 30px;
- }
- .approach-grid,
- .page-nav-grid {
- grid-template-columns: 1fr;
- }
- .release-header {
- flex-direction: column;
- }
- }
-
- @media (max-width: 640px) {
- .btn-top-download {
- display: none;
- }
- .search-kbd {
- display: none;
- }
- }
- </style>
-
-</head>
-<body>
-
- <!-- ==================== STICKY DOUBLE-ROW HEADER ==================== -->
- <header class="nav-header">
- <div class="nav-header-inner">
- <div class="brand-group">
- <button class="mobile-sidebar-toggle" id="mobileSidebarToggle" onclick="toggleMobileSidebar()" aria-label="Toggle navigation menu" title="Toggle menu">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <line x1="3" y1="12" x2="21" y2="12" />
- <line x1="3" y1="6" x2="21" y2="6" />
- <line x1="3" y1="18" x2="21" y2="18" />
- </svg>
- </button>
- <a href="../../" class="brand-logo-link" aria-label="LibreGet Home">
- <img src="../../static/favicon.png" alt="LibreGet Logo" />
- <span>LibreGet</span>
- </a>
- <span class="brand-badge">DOCS</span>
- </div>
-
- <div class="search-trigger" onclick="openSearchModal()">
- <span style="display: flex; align-items: center; gap: 8px;">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m21 21-4.34-4.34" />
- <circle cx="11" cy="11" r="8" /></svg>
- <span>Search docs...</span>
- </span>
- <kbd class="search-kbd">Ctrl K</kbd>
- </div>
-
- <nav class="nav-links">
- <a class="nav-link-item" href="../">Overview</a>
- <a class="nav-link-item" href="../installation/">Installation</a>
- <a class="nav-link-item" href="../courses/">Courses</a>
- <a class="nav-link-item" href="../nami/">Nami</a>
- <a class="nav-link-item active" href="../mcp/">MCP & AI</a>
- <a class="nav-link-item" href="../troubleshooting/">Fixes</a>
- <a class="nav-link-item" href="../changelog/">Changelog</a>
- </nav>
-
- <div class="nav-actions">
- <button class="theme-toggle-btn" onclick="toggleTheme()" aria-label="Toggle light and dark mode" title="Toggle theme">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="themeIconSun" style="display: none;"><circle cx="12" cy="12" r="4" />
- <path d="M12 2v2" />
- <path d="M12 20v2" />
- <path d="m4.93 4.93 1.41 1.41" />
- <path d="m17.66 17.66 1.41 1.41" />
- <path d="M2 12h2" />
- <path d="M20 12h2" />
- <path d="m6.34 17.66-1.41 1.41" />
- <path d="m19.07 4.93-1.41 1.41" /></svg>
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="themeIconMoon"><path d="M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401" /></svg>
- </button>
-
- <a class="btn-top-download" href="https://github.com/OpenSelena/libreget/releases/latest">
- <span>Get App</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14" />
- <path d="m12 5 7 7-7 7" /></svg>
- </a>
- </div>
- </div>
-
- <div class="nav-subtabs">
- <div class="nav-subtabs-inner" id="topSubtabs">
- <a href="../" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5" />
- <path d="M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09" />
- <path d="M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z" />
- <path d="M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05" /></svg>
- <span>Quickstart</span>
- </a>
- <a href="../installation/" class="subtab-item">
- <svg class="icon" 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>
- <span>Installation</span>
- </a>
- <a href="../mcp/" class="subtab-item active">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 20v2" />
- <path d="M12 2v2" />
- <path d="M17 20v2" />
- <path d="M17 2v2" />
- <path d="M2 12h2" />
- <path d="M2 17h2" />
- <path d="M2 7h2" />
- <path d="M20 12h2" />
- <path d="M20 17h2" />
- <path d="M20 7h2" />
- <path d="M7 20v2" />
- <path d="M7 2v2" />
- <rect x="4" y="4" width="16" height="16" rx="2" />
- <rect x="8" y="8" width="8" height="8" rx="1" /></svg>
- <span>MCP Server</span>
- </a>
- <a href="../courses/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z" />
- <path d="M22 10v6" />
- <path d="M6 12.5V16a6 3 0 0 0 12 0v-3.5" /></svg>
- <span>36 Course Platforms</span>
- </a>
- <a href="../nami/" class="subtab-item">
- <svg class="icon icon-fill" viewBox="0 0 24 24" fill="currentColor"><title>Instagram</title><path d="M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077"/></svg>
- <span>Nami</span>
- </a>
- <a href="../changelog/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 8v4l3 3" /><circle cx="12" cy="12" r="9" /></svg>
- <span>Changelog</span>
- </a>
- <a href="../troubleshooting/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z" /></svg>
- <span>Troubleshooting</span>
- </a>
- </div>
- </div>
- </header>
- <div class="mobile-sidebar-backdrop" id="mobileSidebarBackdrop" onclick="closeMobileSidebar()"></div>
-
- <!-- ==================== THREE-COLUMN LAYOUT ==================== -->
- <div class="docs-layout">
- <aside class="docs-sidebar">
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" 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" />
- <path d="m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z" /></svg>
- <span>Overview</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../" class="sidebar-link">
- <span>Quickstart Guide</span>
- <span class="sidebar-tag">Start</span>
- </a>
- </li>
- <li>
- <a href="../installation/" class="sidebar-link">
- <span>Installation Packages</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z" />
- <path d="M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12" />
- <path d="M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17" /></svg>
- <span>Core Engines</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../nami/" class="sidebar-link">
- <span>Nami Engine</span>
- <span class="sidebar-tag">Social</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5v16" />
- <path d="M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z" /></svg>
- <span>Courses &amp; Study</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../courses/" class="sidebar-link">
- <span>36 Course Platforms</span>
- <span class="sidebar-tag">v0.16.10</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 8v4l3 3" /><circle cx="12" cy="12" r="9" /></svg>
- <span>Changelog &amp; Releases</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../changelog/" class="sidebar-link">
- <span>Dedicated Changelog</span>
- <span class="sidebar-tag">Latest</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z" />
- <path d="M20 2v4" />
- <path d="M22 4h-4" />
- <circle cx="4" cy="20" r="2" /></svg>
- <span>AI &amp; Agent Bridge</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../mcp/" class="sidebar-link active">
- <span>MCP Server (127.0.0.1)</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z" /></svg>
- <span>System &amp; Fixes</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../troubleshooting/" class="sidebar-link">
- <span>Troubleshooting Hub</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" />
- <polyline points="15 3 21 3 21 9" />
- <line x1="10" y1="14" x2="21" y2="3" /></svg>
- <span>Community &amp; Source</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="https://github.com/OpenSelena/libreget" target="_blank" rel="noopener" class="sidebar-link">
- <span>GitHub Repository</span>
- <svg class="icon icon-xs" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="margin-left: auto; opacity: 0.5;"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" /><polyline points="15 3 21 3 21 9" /><line x1="10" y1="14" x2="21" y2="3" /></svg>
- </a>
- </li>
- <li>
- <a href="https://t.me/OpenSelena" target="_blank" rel="noopener" class="sidebar-link">
- <span>Telegram Community</span>
- <svg class="icon icon-xs" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="margin-left: auto; opacity: 0.5;"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" /><polyline points="15 3 21 3 21 9" /><line x1="10" y1="14" x2="21" y2="3" /></svg>
- </a>
- </li>
- </ul>
- </div>
- </aside>
-
- <main class="docs-main">
- <div class="breadcrumbs">
- <a href="../">Documentation</a>
- <span class="breadcrumb-sep">/</span>
- <a href="./">MCP & AI</a>
- <span class="breadcrumb-sep">/</span>
- <span class="breadcrumb-current">Model Context Protocol Server</span>
- </div>
-
- <h1 class="doc-h1">Model Context Protocol (MCP) Server</h1>
- <p class="doc-lead">LibreGet runs a built-in MCP server on 127.0.0.1. It exposes 37 tools over Streamable HTTP at <code>POST /mcp</code>, protected by a per-install bearer token.</p>
-
-
- <div class="doc-media-card">
- <img src="../../assets/readme/illustration-agents.png" alt="LibreGet AI Agent Bridge" />
- <div class="doc-media-caption">The LibreGet MCP server: 37 tools over Streamable HTTP on 127.0.0.1.</div>
- </div>
-
- <p class="doc-p">
- LibreGet includes a built-in <strong>Model Context Protocol (MCP)</strong> server. It exposes 37 tools to <strong>Claude Code</strong>, <strong>Claude Desktop</strong>, <strong>Cursor</strong>, <strong>VS Code</strong>, <strong>Goose</strong>, and <strong>Codex</strong>.
- </p>
-
- <!-- SECTION 1 -->
- <h2 class="doc-h2" id="overview">1. LibreGet MCP Server Architecture</h2>
- <p class="doc-p">
- Your agent calls LibreGet's tools directly instead of writing scraping scripts or juggling terminal flags. The MCP server runs on local loopback at <code>http://127.0.0.1:47720/mcp</code> (it binds the first free port between 47720 and 47729).
- </p>
-
- <div class="callout">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z" />
- <path d="M12 8v4" />
- <path d="M12 16h.01" /></svg>
- <div>
- <strong>Local Loopback Security Boundary:</strong>
- The MCP endpoint only binds to <code>127.0.0.1</code>. External network adapters cannot query this port. Requests are verified using a randomly generated per-install authentication token found in <strong>Tools &rarr; AI &rarr; MCP server</strong>, ensuring your local session cookies and files are never exposed remotely.
- </div>
- </div>
-
- <!-- SECTION 2 -->
- <h2 class="doc-h2" id="configs">2. AI Assistant Configuration Snippets</h2>
- <p class="doc-p">
- LibreGet prints all of these snippets with your real token on its MCP server settings page, ready to paste for Claude Code, Claude Desktop, Cursor, VS Code, Goose, and Codex. The three most common clients:
- </p>
-
- <div class="code-container">
- <div class="code-header">
- <span style="font-size: 13px; font-weight: 600; color: #a1a1aa;">claude_desktop_config.json (Claude Desktop)</span>
- <button class="btn-copy" onclick="copyCodeSnippet(this)"><svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
- <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span>Copy</span></button>
- </div>
- <div class="code-body">
-<pre><code>{
- "mcpServers": {
- "libreget": {
- "command": "npx",
- "args": [
- "-y",
- "mcp-remote",
- "http://127.0.0.1:47720/mcp",
- "--header",
- "Authorization: Bearer YOUR_LOCAL_TOKEN"
- ]
- }
- }
-}</code></pre>
- </div>
- </div>
-
- <div class="code-container">
- <div class="code-header">
- <span style="font-size: 13px; font-weight: 600; color: #a1a1aa;">Cursor IDE (Settings &rarr; Features &rarr; MCP Servers)</span>
- <button class="btn-copy" onclick="copyCodeSnippet(this)"><svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
- <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span>Copy</span></button>
- </div>
- <div class="code-body">
-<pre><code>{
- "mcpServers": {
- "libreget": {
- "url": "http://127.0.0.1:47720/mcp",
- "headers": { "Authorization": "Bearer YOUR_LOCAL_TOKEN" }
- }
- }
-}</code></pre>
- </div>
- </div>
-
- <div class="code-container">
- <div class="code-header">
- <span style="font-size: 13px; font-weight: 600; color: #a1a1aa;">VS Code (.vscode/mcp.json)</span>
- <button class="btn-copy" onclick="copyCodeSnippet(this)"><svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
- <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span>Copy</span></button>
- </div>
- <div class="code-body">
-<pre><code>{
- "servers": {
- "libreget": {
- "type": "http",
- "url": "http://127.0.0.1:47720/mcp",
- "headers": { "Authorization": "Bearer YOUR_LOCAL_TOKEN" }
- }
- }
-}</code></pre>
- </div>
- </div>
-
- <!-- SECTION 3 -->
- <h2 class="doc-h2" id="claude-plugin">3. The Claude Code Plugin (claude-plugin/libreget)</h2>
- <p class="doc-p">
- For terminal developers using Anthropic's official <strong>Claude Code</strong> CLI, LibreGet ships a standalone plugin in <code>claude-plugin/libreget</code> that requires no desktop GUI at all.
- </p>
-
- <div class="code-container">
- <div class="code-header">
- <span style="font-size: 13px; font-weight: 600; color: #a1a1aa;">Claude Code Installation</span>
- <button class="btn-copy" onclick="copyCodeSnippet(this)"><svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
- <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span>Copy</span></button>
- </div>
- <div class="code-body">
-<pre><code><span class="tok-c"># 1. Register LibreGet plugin marketplace:
-</span>
-/plugin marketplace add /path/to/libreget/claude-plugin
-
-<span class="tok-c"># 2. Install the libreget plugin:
-</span>
-/plugin install libreget</code></pre>
- </div>
- </div>
-
- <div class="doc-table-wrap">
- <table class="doc-table">
- <thead>
- <tr>
- <th>Claude Code Slash Command</th>
- <th>Description & Usage</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><code>/libreget:setup</code></td>
- <td>Installs yt-dlp, ffmpeg, and libreget-cli prebuilt binaries after one confirmation.</td>
- </tr>
- <tr>
- <td><code>/libreget:fetch &lt;url&gt; [--audio]</code></td>
- <td>Downloads high-definition video or extracts pure audio directly to <code>~/Downloads/libreget</code>.</td>
- </tr>
- <tr>
- <td><code>/libreget:transcribe &lt;url|file&gt;</code></td>
- <td>Transcribes media offline using local whisper.cpp (or Gemini/OpenAI if configured).</td>
- </tr>
- <tr>
- <td><code>/libreget:research &lt;url&gt;</code></td>
- <td>Distills video caption and audio transcript into a structured Markdown research note with <code>[mm:ss]</code> timestamps.</td>
- </tr>
- <tr>
- <td><code>/libreget:doctor</code></td>
- <td>Diagnostics check: verifies tool installations, browser cookies, and API key environment.</td>
- </tr>
- </tbody>
- </table>
- </div>
-
- <!-- SECTION 4 -->
- <h2 class="doc-h2" id="tools-catalog">4. 37 Exposed MCP Tools Catalog</h2>
- <p class="doc-p">
- When connected over <code>POST /mcp</code>, AI models can call all 37 tools exposed by the desktop app:
- </p>
-
- <div class="doc-table-wrap">
- <table class="doc-table">
- <thead>
- <tr>
- <th>Tool Name</th>
- <th>Category</th>
- <th>Description & Arguments</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><code>download_url</code></td>
- <td>Downloads</td>
- <td>Queues a media URL (video, audio, playlist, course, image) in the Downloads panel. Args: <code>url</code>.</td>
- </tr>
- <tr>
- <td><code>download_enqueue</code></td>
- <td>Downloads</td>
- <td>Queues a URL with specific mode: <code>video</code> or <code>audio</code>. Args: <code>url</code>, <code>mode</code>.</td>
- </tr>
- <tr>
- <td><code>downloads_queue</code></td>
- <td>Downloads</td>
- <td>Lists active/queued items with status, progress %, transfer speed, ETA, and target path. Optional: <code>status</code>, <code>limit</code>.</td>
- </tr>
- <tr>
- <td><code>download_status</code></td>
- <td>Downloads</td>
- <td>Inspects one download by ID: state, progress %, ETA, and exact executed yt-dlp command. Args: <code>download_id</code>.</td>
- </tr>
- <tr>
- <td><code>download_cancel</code></td>
- <td>Downloads</td>
- <td>Cancels an active, queued, or paused download item by ID. Args: <code>download_id</code>.</td>
- </tr>
- <tr>
- <td><code>download_pause</code></td>
- <td>Downloads</td>
- <td>Pauses an in-progress transfer. Args: <code>download_id</code>.</td>
- </tr>
- <tr>
- <td><code>download_resume</code></td>
- <td>Downloads</td>
- <td>Resumes a paused download from its exact byte offset. Args: <code>download_id</code>.</td>
- </tr>
- <tr>
- <td><code>youtube_sponsorblock</code></td>
- <td>YouTube</td>
- <td>Retrieves SponsorBlock segments (sponsor, intro, outro, selfpromo) for a YouTube video URL. Args: <code>url</code>, <code>categories</code>.</td>
- </tr>
- <tr>
- <td><code>youtube_dislikes</code></td>
- <td>YouTube</td>
- <td>Returns estimated dislike counts and ratings via the Return YouTube Dislike API. Args: <code>url</code>.</td>
- </tr>
- <tr>
- <td><code>transcribe</code></td>
- <td>Speech</td>
- <td>Transcribes audio/video locally with whisper.cpp; outputs text and timed SRT subtitles. Args: <code>input</code>, <code>model</code>, <code>language</code>.</td>
- </tr>
- <tr>
- <td><code>tts_speak</code></td>
- <td>Speech</td>
- <td>Synthesizes speech using Microsoft Edge neural voices; saves output MP3. Args: <code>text</code>, <code>voice</code>, <code>output</code>.</td>
- </tr>
- <tr>
- <td><code>pdf_info</code></td>
- <td>Documents</td>
- <td>Inspects PDF metadata: page count, file size, title, author, and text layer presence. Args: <code>path</code>.</td>
- </tr>
- <tr>
- <td><code>pdf_merge</code></td>
- <td>Documents</td>
- <td>Concatenates multiple PDF files into one ordered output document. Args: <code>inputs</code>, <code>output</code>.</td>
- </tr>
- <tr>
- <td><code>pdf_split</code></td>
- <td>Documents</td>
- <td>Splits PDF: mode <code>each</code>, <code>every</code>, <code>ranges</code> ("1-3; 4-10"), or <code>extract</code> ("1,3,5-7"). Args: <code>input</code>, <code>mode</code>.</td>
- </tr>
- <tr>
- <td><code>pdf_text</code></td>
- <td>Documents</td>
- <td>Extracts plain text layer from a PDF file (with optional page range). Args: <code>path</code>, <code>pages</code>.</td>
- </tr>
- <tr>
- <td><code>pdf_render</code></td>
- <td>Documents</td>
- <td>Renders PDF pages into PNG or JPG image files at custom DPI. Args: <code>input</code>, <code>pages</code>, <code>dpi</code>, <code>format</code>.</td>
- </tr>
- <tr>
- <td><code>pdf_sanitize</code></td>
- <td>Security</td>
- <td>Rebuilds PDF from raster pixels (Dangerzone-style) stripping embedded scripts, forms, and exploits. Args: <code>input</code>, <code>output_dir</code>.</td>
- </tr>
- <tr>
- <td><code>image_resize</code></td>
- <td>Images</td>
- <td>Batch resizes images: mode <code>width</code>, <code>height</code>, <code>fit</code>, or <code>percent</code>. Args: <code>inputs</code>, <code>mode</code>, <code>value</code>.</td>
- </tr>
- <tr>
- <td><code>ocr</code></td>
- <td>Images</td>
- <td>Extracts text from images using local Tesseract OCR engine. Args: <code>inputs</code>, <code>langs</code>.</td>
- </tr>
- <tr>
- <td><code>find_duplicates</code></td>
- <td>Files</td>
- <td>Scans directories for duplicate files matching byte-for-byte hashes. Args: <code>dirs</code>, <code>min_size</code>.</td>
- </tr>
- <tr>
- <td><code>file_search</code></td>
- <td>Files</td>
- <td>Searches files by name using native system indexes (Everything on Windows, Spotlight on macOS, locate/find on Linux). Args: <code>query</code>, <code>folder</code>.</td>
- </tr>
- <tr>
- <td><code>disk_volumes</code></td>
- <td>System</td>
- <td>Returns all mounted disk drives with total, used, and free byte capacities.</td>
- </tr>
- <tr>
- <td><code>disk_scan</code></td>
- <td>System</td>
- <td>Generates directory size treemap and lists largest files under path. Args: <code>path</code>, <code>depth</code>.</td>
- </tr>
- <tr>
- <td><code>clean_scan</code></td>
- <td>System</td>
- <td>Analyzes cache and temporary junk eligible for cleanup without deleting anything.</td>
- </tr>
- <tr>
- <td><code>startup_items</code></td>
- <td>System</td>
- <td>Enumerates applications registered to launch automatically on system startup.</td>
- </tr>
- <tr>
- <td><code>installed_apps</code></td>
- <td>System</td>
- <td>Lists installed desktop applications with reported version and disk usage.</td>
- </tr>
- <tr>
- <td><code>x_post</code></td>
- <td>Social</td>
- <td>Fetches an X / Twitter post (text, author, images, video) by URL or tweet ID. Args: <code>url</code>.</td>
- </tr>
- <tr>
- <td><code>x_thread</code></td>
- <td>Social</td>
- <td>Unrolls an entire X / Twitter thread starting from any post in the chain. Args: <code>url</code>.</td>
- </tr>
- <tr>
- <td><code>x_profile</code></td>
- <td>Social</td>
- <td>Gathers profile analytics for an X handle (engagement metrics, top posts). Args: <code>handle</code>, <code>limit</code>.</td>
- </tr>
- <tr>
- <td><code>x_search</code></td>
- <td>Social</td>
- <td>Searches X posts with advanced search operators and feed filter (<code>latest</code> or <code>top</code>). Args: <code>query</code>, <code>feed</code>.</td>
- </tr>
- <tr>
- <td><code>x_trends</code></td>
- <td>Social</td>
- <td>Fetches current trending hashtags and topic volumes.</td>
- </tr>
- <tr>
- <td><code>instagram_profile</code></td>
- <td>Social</td>
- <td>Fetches Instagram profile metadata and posts using captured extension session cookies. Args: <code>username</code>, <code>account</code>.</td>
- </tr>
- <tr>
- <td><code>gallery_download</code></td>
- <td>Bulk Media</td>
- <td>Downloads galleries or profiles via gallery-dl (Pinterest, ArtStation, DeviantArt, Reddit). Args: <code>url</code>, <code>dest</code>.</td>
- </tr>
- <tr>
- <td><code>aria2_download</code></td>
- <td>Bulk Media</td>
- <td>Downloads large files via aria2 multi-connection segmented acceleration. Args: <code>url</code>, <code>dest_dir</code>, <code>connections</code>.</td>
- </tr>
- <tr>
- <td><code>ai_prices</code></td>
- <td>AI Ledger</td>
- <td>Queries live token pricing per million tokens across providers via LiteLLM and models.dev. Args: <code>query</code>, <code>limit</code>.</td>
- </tr>
- <tr>
- <td><code>humanize</code></td>
- <td>AI Tools</td>
- <td>Rewrites synthetic AI-sounding text patterns into clear, human editorial prose. Args: <code>text</code>.</td>
- </tr>
- <tr>
- <td><code>ai_keys</code></td>
- <td>AI Ledger</td>
- <td>Lists saved AI API accounts, providers, and verified balances (secret keys are never exposed).</td>
- </tr>
- </tbody>
- </table>
- </div>
-
- <!-- SECTION 5 -->
- <h2 class="doc-h2" id="cli-verification">5. CLI Verification & Headless Testing</h2>
- <p class="doc-p">
- Check the local bridge and the CLI from your terminal:
- </p>
-
- <div class="code-container">
- <div class="code-header">
- <span style="font-size: 13px; font-weight: 600; color: #a1a1aa;">Terminal Verification</span>
- <button class="btn-copy" onclick="copyCodeSnippet(this)"><svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
- <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span>Copy</span></button>
- </div>
- <div class="code-body">
-<pre><code><span class="tok-c"># 1. Check the local bridge (it answers with {"ok":true,...}):
-</span>
-curl http://127.0.0.1:47720/v1/health
-
-<span class="tok-c"># 2. Preview what a URL offers without downloading:
-</span>
-libreget-cli info "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
-
-<span class="tok-c"># 3. Download audio only:
-</span>
-libreget-cli download "https://www.youtube.com/watch?v=dQw4w9WgXcQ" --audio-only</code></pre>
- </div>
- </div>
-
-
- <div class="page-nav-grid">
- <a href="../installation/" class="page-nav-card">
- <span class="page-nav-sub">Previous Guide</span>
- <span class="page-nav-title">
- <span>&larr; Installation Guide</span>
- </span>
- </a>
- <a href="../courses/" class="page-nav-card" style="text-align: right;">
- <span class="page-nav-sub">Next Guide</span>
- <span class="page-nav-title" style="justify-content: flex-end; gap: 8px;">
- <span>36 Course Platforms &rarr;</span>
- </span>
- </a>
- </div>
-
- </main>
-
- <aside class="docs-toc">
- <div class="toc-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 5h.01" />
- <path d="M3 12h.01" />
- <path d="M3 19h.01" />
- <path d="M8 5h13" />
- <path d="M8 12h13" />
- <path d="M8 19h13" /></svg>
- <span>On this page</span>
- </div>
- <ul class="toc-list" id="tocList">
- <li><a href="#overview" class="toc-link">1. LibreGet MCP Server Architecture</a></li>
- <li><a href="#configs" class="toc-link">2. AI Assistant Configuration Snippets</a></li>
- <li><a href="#claude-plugin" class="toc-link">3. The Claude Code Plugin</a></li>
- <li><a href="#tools-catalog" class="toc-link">4. 37 Exposed MCP Tools Catalog</a></li>
- <li><a href="#cli-verification" class="toc-link">5. CLI Verification & Headless Testing</a></li>
- </ul>
-
- <div class="toc-community-box">
- <a href="https://github.com/OpenSelena/libreget" class="toc-community-link" target="_blank" rel="noopener">
- <svg class="icon icon-fill icon-sm" viewBox="0 0 24 24" fill="currentColor"><title>GitHub</title><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-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>
- <span>Edit page on GitHub</span>
- </a>
- <a href="https://t.me/OpenSelena" class="toc-community-link" target="_blank" rel="noopener">
- <svg class="icon icon-fill icon-sm" viewBox="0 0 24 24" fill="currentColor"><title>Telegram</title><path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"/></svg>
- <span>Ask in Telegram</span>
- </a>
- </div>
- </aside>
- </div>
-
- <!-- SEARCH MODAL -->
- <div class="search-modal-backdrop" id="searchBackdrop" onclick="closeSearchModal(event)">
- <div class="search-modal" onclick="event.stopPropagation()">
- <div class="search-input-wrap">
- <svg class="icon icon-lg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m21 21-4.34-4.34" />
- <circle cx="11" cy="11" r="8" /></svg>
- <input type="text" class="search-modal-input" id="searchInput" placeholder="Search documentation..." autocomplete="off" />
- </div>
- <ul class="search-results-list" id="searchResults">
- <li class="search-result-item" onclick="location.href='../'">
- <span class="search-result-title">Quickstart Guide</span>
- <span class="search-result-desc">Three modes: Visual desktop app, local MCP, and portable mode</span>
- </li>
- <li class="search-result-item" onclick="location.href='../installation/'">
- <span class="search-result-title">Installation & OS Binaries</span>
- <span class="search-result-desc">Windows, macOS Apple Silicon, and Linux packages</span>
- </li>
- <li class="search-result-item" onclick="location.href='../mcp/'">
- <span class="search-result-title">Model Context Protocol (MCP) Server</span>
- <span class="search-result-desc">Local AI agent tools for Claude Code, Cursor, and VS Code</span>
- </li>
- <li class="search-result-item" onclick="location.href='../courses/'">
- <span class="search-result-title">36 Online Course Platforms</span>
- <span class="search-result-desc">Hotmart, Udemy, Rocketseat, Kajabi, and Kiwify integration</span>
- </li>
- <li class="search-result-item" onclick="location.href='../nami/'">
- <span class="search-result-title">Nami Social Archiver</span>
- <span class="search-result-desc">Bulk Instagram, TikTok, and X profile downloader</span>
- </li>
- <li class="search-result-item" onclick="location.href='../troubleshooting/'">
- <span class="search-result-title">System Troubleshooting</span>
- <span class="search-result-desc">macOS Gatekeeper, Linux WebKitGTK, and diagnostic logs</span>
- </li>
- <li class="search-result-item" onclick="location.href='../#privacy'">
- <span class="search-result-title">Privacy Policy &amp; No Tracking</span>
- <span class="search-result-desc">Local SQLite storage, loopback security, and DRM non-circumvention</span>
- </li>
- <li class="search-result-item" onclick="location.href='../changelog/'">
- <span class="search-result-title">Release Notes &amp; Changelog</span>
- <span class="search-result-desc">Version v0.12.0 updates, Telegram API credentials, CSP star fix</span>
- </li>
- </ul>
- </div>
- </div>
-
- <script>
- function updateThemeIcons(theme) {
- const sun = document.getElementById('themeIconSun');
- const moon = document.getElementById('themeIconMoon');
- if (!sun || !moon) return;
- if (theme === 'dark') {
- sun.style.display = 'inline-block';
- moon.style.display = 'none';
- } else {
- sun.style.display = 'none';
- moon.style.display = 'inline-block';
- }
- }
-
- function toggleTheme() {
- const isDark = document.documentElement.classList.contains('dark') ||
- document.documentElement.getAttribute('data-theme') === 'dark';
- const target = isDark ? 'light' : 'dark';
- if (target === 'dark') {
- document.documentElement.classList.add('dark');
- document.documentElement.setAttribute('data-theme', 'dark');
- } else {
- document.documentElement.classList.remove('dark');
- document.documentElement.setAttribute('data-theme', 'light');
- }
- localStorage.setItem('libreget_docs_theme', target);
- localStorage.setItem('theme', target);
- updateThemeIcons(target);
- }
-
- function toggleMobileSidebar() {
- const sidebar = document.querySelector('.docs-sidebar');
- const backdrop = document.getElementById('mobileSidebarBackdrop');
- if (sidebar) sidebar.classList.toggle('open');
- if (backdrop) backdrop.classList.toggle('open');
- }
-
- function closeMobileSidebar() {
- const sidebar = document.querySelector('.docs-sidebar');
- const backdrop = document.getElementById('mobileSidebarBackdrop');
- if (sidebar) sidebar.classList.remove('open');
- if (backdrop) backdrop.classList.remove('open');
- }
-
- document.addEventListener('DOMContentLoaded', () => {
- const isDark = document.documentElement.classList.contains('dark') ||
- document.documentElement.getAttribute('data-theme') === 'dark';
- updateThemeIcons(isDark ? 'dark' : 'light');
-
- if (location.protocol === 'file:') {
- document.querySelectorAll('a[href]').forEach(a => {
- let h = a.getAttribute('href');
- if (h && h.endsWith('/') && !h.startsWith('http') && !h.startsWith('#')) {
- a.setAttribute('href', h + 'index.html');
- }
- });
- document.querySelectorAll('.search-result-item[onclick]').forEach(item => {
- let oc = item.getAttribute('onclick');
- if (oc && oc.includes("location.href='")) {
- item.setAttribute('onclick', oc.replace("/'", "/index.html'"));
- }
- });
- }
-
- document.querySelectorAll('.sidebar-link').forEach(link => {
- link.addEventListener('click', closeMobileSidebar);
- });
- });
-
- function switchCodeTab(btn, tabId) {
- const container = btn.closest('.code-container');
- if (!container) return;
- container.querySelectorAll('.code-tab-btn').forEach(b => b.classList.remove('active'));
- btn.classList.add('active');
- container.querySelectorAll('.code-body pre').forEach(pre => {
- pre.style.display = (pre.id === tabId) ? 'block' : 'none';
- });
- }
-
- function copyCodeSnippet(btn) {
- const container = btn.closest('.code-container');
- if (!container) return;
- const pres = Array.from(container.querySelectorAll('.code-body pre'));
- const activePre = pres.find(p => window.getComputedStyle(p).display !== 'none') || pres[0];
- if (!activePre) return;
-
- const code = activePre.querySelector('code');
- const text = (code ? code.innerText : activePre.innerText).trim();
- const span = btn.querySelector('span');
- const origText = span ? span.textContent : 'Copy';
- const origSvg = btn.querySelector('svg') ? btn.querySelector('svg').outerHTML : '';
- const checkSvg = '<svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>';
-
- const showSuccess = () => {
- if (span) span.textContent = 'Copied!';
- btn.classList.add('copied');
- const curSvg = btn.querySelector('svg');
- if (curSvg) curSvg.outerHTML = checkSvg;
- setTimeout(() => {
- if (span) span.textContent = origText;
- btn.classList.remove('copied');
- const nowSvg = btn.querySelector('svg');
- if (nowSvg && origSvg) nowSvg.outerHTML = origSvg;
- }, 2000);
- };
-
- const execCopy = () => {
- try {
- const ta = document.createElement('textarea');
- ta.value = text;
- ta.style.top = '0';
- ta.style.left = '0';
- ta.style.position = 'fixed';
- ta.style.width = '2em';
- ta.style.height = '2em';
- ta.style.padding = '0';
- ta.style.border = 'none';
- ta.style.outline = 'none';
- ta.style.boxShadow = 'none';
- ta.style.background = 'transparent';
- ta.setAttribute('readonly', '');
- document.body.appendChild(ta);
- ta.focus();
- ta.select();
- ta.setSelectionRange(0, ta.value.length);
- const ok = document.execCommand('copy');
- document.body.removeChild(ta);
- return ok;
- } catch (e) {
- return false;
- }
- };
-
- if (location.protocol === 'file:') {
- execCopy();
- showSuccess();
- } else if (navigator.clipboard && window.isSecureContext) {
- navigator.clipboard.writeText(text)
- .then(showSuccess)
- .catch(() => {
- execCopy();
- showSuccess();
- });
- } else {
- execCopy();
- showSuccess();
- }
- }
-
- function openSearchModal() {
- const modal = document.getElementById('searchBackdrop');
- if (modal) {
- modal.classList.add('open');
- setTimeout(() => {
- const inp = document.getElementById('searchInput');
- if (inp) inp.focus();
- }, 50);
- }
- }
-
- function closeSearchModal(e) {
- const modal = document.getElementById('searchBackdrop');
- if (modal) modal.classList.remove('open');
- }
-
- document.addEventListener('keydown', (e) => {
- if ((e.ctrlKey || e.metaKey) && e.key.toLowerCase() === 'k') {
- e.preventDefault();
- openSearchModal();
- }
- if (e.key === 'Escape') {
- closeSearchModal();
- }
- });
-
- const sInput = document.getElementById('searchInput');
- if (sInput) {
- sInput.addEventListener('input', (e) => {
- const q = e.target.value.toLowerCase();
- document.querySelectorAll('#searchResults .search-result-item').forEach(item => {
- const t = item.textContent.toLowerCase();
- item.style.display = t.includes(q) ? 'flex' : 'none';
- });
- });
- }
-
-
- // TOC scrollspy: highlight the section currently in view (vercel.com/docs behavior).
- (function () {
- const links = document.querySelectorAll('.toc-list .toc-link');
- if (!links.length) return;
- const targets = [];
- links.forEach(l => {
- const href = l.getAttribute('href') || '';
- if (!href.startsWith('#')) return;
- const el = document.getElementById(href.slice(1));
- if (el) targets.push([el, l]);
- });
- if (!targets.length) return;
- const setActive = link => links.forEach(x => x.classList.toggle('active', x === link));
- const obs = new IntersectionObserver(entries => {
- const visible = entries.filter(e => e.isIntersecting);
- if (!visible.length) return;
- const hit = targets.find(([el]) => el === visible[visible.length - 1].target);
- if (hit) setActive(hit[1]);
- }, { rootMargin: '-108px 0px -70% 0px' });
- targets.forEach(([el]) => obs.observe(el));
- })();
- </script>
-</body>
-</html>
diff --git a/docs/nami/index.html b/docs/nami/index.html
deleted file mode 100644
index dadfb285..00000000
--- a/docs/nami/index.html
+++ /dev/null
@@ -1,2015 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
- <title>Nami Social Media Archiver · LibreGet Documentation</title>
- <meta name="description" content="LibreGet's built-in archiver for Instagram, TikTok, X (Twitter), and Pinterest: original-quality downloads, per-platform request pacing, and session cookies kept on your machine." />
- <link rel="canonical" href="https://libreget.asf.sale/docs/nami/" />
-
- <!-- Open Graph -->
- <meta property="og:type" content="article" />
- <meta property="og:site_name" content="LibreGet Documentation" />
- <meta property="og:title" content="Nami Social Media Archiver" />
- <meta property="og:description" content="LibreGet's built-in archiver for Instagram, TikTok, X (Twitter), and Pinterest: original-quality downloads, per-platform request pacing, and session cookies kept on your machine." />
- <meta property="og:url" content="https://libreget.asf.sale/docs/nami/" />
- <meta property="og:image" content="https://libreget.asf.sale/assets/readme/home.png" />
- <meta property="og:image:width" content="1200" />
- <meta property="og:image:height" content="630" />
- <meta name="twitter:card" content="summary_large_image" />
-
- <link rel="icon" type="image/x-icon" href="../../favicon.ico" />
- <link rel="icon" type="image/png" sizes="256x256" href="../../static/favicon.png" />
- <link rel="apple-touch-icon" sizes="180x180" href="../../static/favicon.png" />
-
- <!-- Early Theme Init Script to eliminate Flash of Wrong Theme -->
- <script>
- (function() {
- try {
- var saved = localStorage.getItem('libreget_docs_theme') || localStorage.getItem('theme');
- var prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
- if (saved === 'dark' || (!saved && prefersDark)) {
- document.documentElement.classList.add('dark');
- document.documentElement.setAttribute('data-theme', 'dark');
- } else {
- document.documentElement.classList.remove('dark');
- document.documentElement.setAttribute('data-theme', 'light');
- }
- } catch (e) {}
- })();
- </script>
-
- <!-- Fonts: Geist + Geist Mono, the vercel.com/docs typefaces -->
- <link rel="preconnect" href="https://fonts.googleapis.com" />
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
- <link href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet" />
-
- <style>
- /* ============================================================
- LibreGet Documentation — UI skin
- Design system: vercel.com/docs (Geist type, Vercel palette)
- ============================================================ */
-
- *, *::before, *::after {
- box-sizing: border-box;
- margin: 0;
- padding: 0;
- }
-
- /* ---------- Design tokens ---------- */
-
- :root {
- color-scheme: light;
-
- --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
- --font-display: var(--font-sans);
- --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
-
- /* Vercel light theme */
- --bg: #ffffff;
- --bg-surface: #ffffff;
- --bg-subtle: #fafafa;
- --bg-muted: #f4f4f5;
- --bg-hover: #f4f4f5;
- --bg-card: #ffffff;
- --bg-code: #111111;
- --code-header: #171717;
- --code-border: #333333;
-
- --border: #eaeaea;
- --border-subtle: #f4f4f5;
- --border-hover: #999999;
- --border-focus: #171717;
-
- --text: #171717;
- --text-muted: #666666;
- --text-subtle: #888888;
- --text-inverse: #ffffff;
-
- --primary: #171717;
- --primary-hover: #333333;
- --primary-light: #f4f4f5;
- --primary-border: #171717;
-
- --link: #0070f3;
- --link-hover: #3291ff;
- --success: #50e3c2;
-
- --callout-bg: #fafafa;
- --callout-border: #eaeaea;
- --callout-text: #171717;
-
- --header-h: 64px;
- --tabs-h: 44px;
- --header-total-h: 108px;
- --sidebar-w: 272px;
- --toc-w: 240px;
- --max-w: 1440px;
-
- --radius-sm: 8px;
- --radius-md: 10px;
- --radius-lg: 12px;
- }
-
- html.dark {
- color-scheme: dark;
-
- /* Vercel dark theme */
- --bg: #000000;
- --bg-surface: #0a0a0a;
- --bg-subtle: #111111;
- --bg-muted: #18181b;
- --bg-hover: #18181b;
- --bg-card: #0a0a0a;
- --bg-code: #111111;
- --code-header: #171717;
- --code-border: #262626;
-
- --border: #1f1f1f;
- --border-subtle: #141414;
- --border-hover: #444444;
- --border-focus: #ededed;
-
- --text: #ededed;
- --text-muted: #a1a1aa;
- --text-subtle: #71717a;
- --text-inverse: #000000;
-
- --primary: #ededed;
- --primary-hover: #ffffff;
- --primary-light: #18181b;
- --primary-border: #ededed;
-
- --link: #3291ff;
- --link-hover: #66aaff;
-
- --callout-bg: #0a0a0a;
- --callout-border: #1f1f1f;
- --callout-text: #ededed;
- }
-
- /* ---------- Base ---------- */
-
- html {
- scroll-behavior: smooth;
- }
-
- body {
- background-color: var(--bg);
- color: var(--text);
- font-family: var(--font-sans);
- font-size: 16px;
- line-height: 1.6;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: antialiased;
- text-rendering: optimizeLegibility;
- overflow-x: hidden;
- transition: background-color 0.15s ease, color 0.15s ease;
- }
-
- ::selection {
- background: #0070f3;
- color: #ffffff;
- }
-
- a {
- color: inherit;
- text-decoration: none;
- }
-
- button {
- font-family: inherit;
- cursor: pointer;
- }
-
- img {
- max-width: 100%;
- }
-
- :focus-visible {
- outline: 2px solid var(--link);
- outline-offset: 2px;
- }
-
- /* ---------- Icons ---------- */
-
- .icon {
- display: inline-block;
- width: 16px;
- height: 16px;
- flex-shrink: 0;
- vertical-align: middle;
- }
-
- .icon-lg { width: 18px; height: 18px; }
- .icon-sm { width: 14px; height: 14px; }
- .icon-xs { width: 12px; height: 12px; }
-
- /* ---------- Top navbar ---------- */
-
- .nav-header {
- position: sticky;
- top: 0;
- z-index: 50;
- background: var(--bg);
- border-bottom: 1px solid var(--border);
- }
-
- .nav-header-inner {
- display: flex;
- align-items: center;
- gap: 14px;
- height: var(--header-h);
- max-width: var(--max-w);
- margin: 0 auto;
- padding: 0 24px;
- }
-
- .brand-group {
- display: flex;
- align-items: center;
- gap: 10px;
- flex-shrink: 0;
- }
-
- .brand-logo-link {
- display: flex;
- align-items: center;
- gap: 8px;
- font-size: 14.5px;
- font-weight: 600;
- letter-spacing: -0.01em;
- color: var(--text);
- }
-
- .brand-logo-link img {
- display: block;
- height: 22px;
- width: auto;
- }
-
- .brand-badge {
- font-size: 13px;
- font-weight: 400;
- letter-spacing: 0.02em;
- color: var(--text-muted);
- }
-
- /* Search trigger (the "Search Docs" pill) */
- .search-trigger {
- display: flex;
- align-items: center;
- gap: 8px;
- height: 34px;
- min-width: 160px;
- max-width: 300px;
- flex: 0 1 auto;
- padding: 0 8px 0 12px;
- border: 1px solid var(--border);
- border-radius: var(--radius-sm);
- background: var(--bg);
- color: var(--text-subtle);
- cursor: pointer;
- transition: border-color 0.15s ease;
- }
-
- .search-trigger:hover {
- border-color: var(--border-hover);
- }
-
- .search-trigger > span {
- flex: 1;
- font-size: 13px;
- }
-
- .search-kbd {
- flex-shrink: 0;
- border: 1px solid var(--border);
- background: var(--bg-subtle);
- border-radius: 5px;
- padding: 1px 6px;
- font-family: var(--font-mono);
- font-size: 11px;
- color: var(--text-subtle);
- line-height: 1.5;
- }
-
- .nav-links {
- display: flex;
- align-items: center;
- gap: 2px;
- margin-left: auto;
- }
-
- .nav-link-item {
- padding: 6px 10px;
- border-radius: 6px;
- font-size: 13.5px;
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .nav-link-item:hover {
- color: var(--text);
- }
-
- .nav-link-item.active {
- color: var(--text);
- font-weight: 500;
- }
-
- .nav-actions {
- display: flex;
- align-items: center;
- gap: 8px;
- flex-shrink: 0;
- }
-
- .theme-toggle-btn {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 32px;
- height: 32px;
- border: none;
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--text-muted);
- transition: background 0.15s ease, color 0.15s ease;
- }
-
- .theme-toggle-btn:hover {
- background: var(--bg-hover);
- color: var(--text);
- }
-
- .btn-top-download {
- display: inline-flex;
- align-items: center;
- gap: 6px;
- height: 32px;
- padding: 0 14px;
- border: none;
- border-radius: 999px;
- background: var(--primary);
- color: var(--text-inverse);
- font-size: 13px;
- font-weight: 500;
- transition: background 0.15s ease;
- }
-
- .btn-top-download:hover {
- background: var(--primary-hover);
- }
-
- /* ---------- Section subtabs ---------- */
-
- .nav-subtabs {
- background: var(--bg);
- border-bottom: 1px solid var(--border);
- }
-
- .nav-subtabs-inner {
- display: flex;
- align-items: center;
- gap: 4px;
- height: var(--tabs-h);
- max-width: var(--max-w);
- margin: 0 auto;
- padding: 0 24px;
- overflow-x: auto;
- scrollbar-width: none;
- }
-
- .nav-subtabs-inner::-webkit-scrollbar {
- display: none;
- }
-
- .nav-subtabs-inner .subtab-item {
- display: inline-flex;
- align-items: center;
- gap: 7px;
- height: var(--tabs-h);
- padding: 0 12px;
- border-radius: 0;
- font-size: 13.5px;
- color: var(--text-muted);
- white-space: nowrap;
- transition: color 0.15s ease;
- }
-
- .nav-subtabs-inner .subtab-item:hover {
- color: var(--text);
- }
-
- .nav-subtabs-inner .subtab-item.active {
- color: var(--text);
- font-weight: 500;
- box-shadow: inset 0 -2px 0 0 var(--text);
- }
-
- .nav-subtabs-inner .subtab-item .icon {
- display: none;
- }
-
- /* Generic subtab link used inside page content (e.g. "GitHub Tag") */
- .subtab-item {
- display: inline-flex;
- align-items: center;
- gap: 7px;
- padding: 6px 12px;
- border-radius: var(--radius-sm);
- font-size: 13px;
- font-weight: 500;
- color: var(--text-muted);
- transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
- }
-
- .subtab-item:hover {
- color: var(--text);
- }
-
- /* ---------- Shell layout ---------- */
-
- .docs-layout {
- display: flex;
- align-items: flex-start;
- max-width: var(--max-w);
- margin: 0 auto;
- padding: 0 24px;
- }
-
- .docs-sidebar {
- width: var(--sidebar-w);
- flex-shrink: 0;
- position: sticky;
- top: var(--header-total-h);
- height: calc(100vh - var(--header-total-h));
- overflow-y: auto;
- overscroll-behavior: contain;
- padding: 28px 16px 48px 8px;
- }
-
- .docs-main {
- flex: 1 1 auto;
- min-width: 0;
- width: 100%;
- max-width: 736px;
- margin: 0 auto;
- padding: 40px 40px 96px;
- }
-
- .docs-toc {
- width: var(--toc-w);
- flex-shrink: 0;
- position: sticky;
- top: var(--header-total-h);
- height: calc(100vh - var(--header-total-h));
- overflow-y: auto;
- padding: 40px 24px 48px 0;
- }
-
- /* ---------- Sidebar navigation ---------- */
-
- .sidebar-group {
- margin-bottom: 22px;
- }
-
- .sidebar-group-header {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 10px;
- margin-bottom: 6px;
- font-size: 13px;
- font-weight: 500;
- color: var(--text-subtle);
- }
-
- .sidebar-group-header .icon {
- display: none;
- }
-
- .sidebar-nav-list {
- list-style: none;
- display: flex;
- flex-direction: column;
- gap: 1px;
- }
-
- .sidebar-link {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 8px;
- padding: 6px 10px;
- border-radius: 6px;
- font-size: 13.5px;
- color: var(--text-muted);
- transition: background 0.15s ease, color 0.15s ease;
- }
-
- .sidebar-link:hover {
- color: var(--text);
- background: var(--bg-hover);
- }
-
- .sidebar-link.active {
- color: var(--text);
- background: var(--bg-hover);
- font-weight: 500;
- }
-
- .sidebar-tag {
- flex-shrink: 0;
- font-size: 11px;
- font-weight: 500;
- color: var(--text-subtle);
- background: var(--bg-subtle);
- border: 1px solid var(--border);
- border-radius: 999px;
- padding: 1px 7px;
- white-space: nowrap;
- }
-
- /* ---------- Mobile sidebar drawer ---------- */
-
- .mobile-sidebar-toggle {
- display: none;
- align-items: center;
- justify-content: center;
- width: 32px;
- height: 32px;
- border: none;
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--text-muted);
- }
-
- .mobile-sidebar-toggle:hover {
- background: var(--bg-hover);
- color: var(--text);
- }
-
- .mobile-sidebar-backdrop {
- display: none;
- position: fixed;
- inset: 0;
- top: var(--header-total-h);
- z-index: 39;
- background: rgba(0, 0, 0, 0.5);
- }
-
- .mobile-sidebar-backdrop.open {
- display: block;
- }
-
- /* ---------- Breadcrumbs ---------- */
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 8px;
- margin-bottom: 20px;
- font-size: 13px;
- color: var(--text-muted);
- }
-
- .docs-main .breadcrumbs a {
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .docs-main .breadcrumbs a:hover {
- color: var(--text);
- text-decoration: none;
- }
-
- .breadcrumb-sep {
- color: var(--border-hover);
- }
-
- .breadcrumb-current {
- color: var(--text);
- font-weight: 500;
- }
-
- /* ---------- Article typography ---------- */
-
- .doc-h1 {
- font-size: 36px;
- line-height: 1.15;
- font-weight: 600;
- letter-spacing: -0.022em;
- color: var(--text);
- margin-bottom: 14px;
- }
-
- .doc-lead {
- font-size: 17px;
- line-height: 1.6;
- color: var(--text-muted);
- margin-bottom: 28px;
- }
-
- .doc-p {
- font-size: 15.5px;
- line-height: 1.7;
- color: var(--text);
- margin-bottom: 20px;
- }
-
- .doc-h2 {
- font-size: 24px;
- font-weight: 600;
- letter-spacing: -0.014em;
- color: var(--text);
- margin: 44px 0 12px;
- }
-
- .doc-h3 {
- font-size: 18px;
- font-weight: 600;
- color: var(--text);
- margin: 28px 0 8px;
- }
-
- .doc-h1, .doc-h2, .doc-h3 {
- scroll-margin-top: calc(var(--header-total-h) + 24px);
- }
-
- strong {
- font-weight: 600;
- }
-
- .docs-main a {
- color: var(--link);
- text-decoration: none;
- }
-
- .docs-main a:hover {
- text-decoration: underline;
- }
-
- /* Content links that are UI buttons, not prose links */
- .docs-main a.subtab-item,
- .docs-main a.page-nav-card {
- color: var(--text-muted);
- text-decoration: none;
- }
-
- .docs-main a.subtab-item:hover {
- color: var(--text);
- text-decoration: none;
- }
-
- .docs-main a.page-nav-card:hover {
- color: var(--text-muted);
- border-color: var(--border-hover);
- text-decoration: none;
- }
-
- /* Inline code */
- .docs-main code {
- font-family: var(--font-mono);
- font-size: 0.855em;
- background: var(--bg-muted);
- color: var(--text);
- padding: 0.15em 0.4em;
- border-radius: 6px;
- }
-
- /* ---------- Figures ---------- */
-
- .doc-media-card {
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- overflow: hidden;
- margin: 24px 0;
- }
-
- .doc-media-card img {
- display: block;
- width: 100%;
- height: auto;
- background: var(--bg-subtle);
- }
-
- .doc-media-caption {
- padding: 10px 16px;
- border-top: 1px solid var(--border);
- background: var(--bg-subtle);
- font-size: 13px;
- line-height: 1.5;
- color: var(--text-muted);
- }
-
- /* ---------- Callouts ---------- */
-
- .callout {
- display: flex;
- align-items: flex-start;
- gap: 12px;
- margin: 24px 0;
- padding: 16px 20px;
- border: 1px solid var(--callout-border);
- border-radius: var(--radius-lg);
- background: var(--callout-bg);
- color: var(--callout-text);
- font-size: 14.5px;
- line-height: 1.6;
- }
-
- .callout .icon-lg {
- color: var(--text-muted);
- margin-top: 2px;
- }
-
- /* ---------- Cards grid ---------- */
-
- .approach-grid {
- display: grid;
- grid-template-columns: repeat(3, 1fr);
- gap: 12px;
- margin: 24px 0;
- }
-
- .approach-card {
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- padding: 18px 20px;
- transition: border-color 0.15s ease;
- }
-
- .approach-card:hover {
- border-color: var(--border-hover);
- }
-
- .approach-badge {
- display: inline-block;
- margin-bottom: 10px;
- padding: 2px 8px;
- border: 1px solid var(--border);
- border-radius: 999px;
- font-size: 11px;
- font-weight: 500;
- color: var(--text-subtle);
- }
-
- .approach-title {
- font-size: 15.5px;
- font-weight: 600;
- color: var(--text);
- margin-bottom: 6px;
- }
-
- .approach-desc {
- font-size: 13.5px;
- line-height: 1.6;
- color: var(--text-muted);
- }
-
- /* ---------- Tables ---------- */
-
- .doc-table-wrap {
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- overflow-x: auto;
- margin-bottom: 24px;
- background: var(--bg-card);
- }
-
- .doc-table {
- width: 100%;
- border-collapse: collapse;
- font-size: 14px;
- }
-
- .doc-table th {
- text-align: left;
- padding: 10px 16px;
- border-bottom: 1px solid var(--border);
- background: var(--bg-subtle);
- font-size: 13px;
- font-weight: 500;
- color: var(--text-muted);
- white-space: nowrap;
- }
-
- .doc-table td {
- padding: 12px 16px;
- border-bottom: 1px solid var(--border-subtle);
- color: var(--text);
- vertical-align: top;
- line-height: 1.55;
- }
-
- .doc-table tbody tr:last-child td {
- border-bottom: none;
- }
-
- /* ---------- Code blocks ---------- */
-
- .code-container {
- margin-bottom: 24px;
- border: 1px solid var(--code-border);
- border-radius: var(--radius-lg);
- overflow: hidden;
- background: var(--bg-code);
- }
-
- .code-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 12px;
- height: 44px;
- padding: 0 8px 0 16px;
- background: var(--code-header);
- border-bottom: 1px solid var(--code-border);
- }
-
- .code-header > span {
- font-family: var(--font-mono);
- font-size: 12.5px;
- color: #a1a1aa;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
-
- .btn-copy {
- display: inline-flex;
- align-items: center;
- gap: 6px;
- flex-shrink: 0;
- border: none;
- border-radius: 6px;
- padding: 5px 8px;
- background: transparent;
- color: #999999;
- font-size: 12px;
- transition: background 0.15s ease, color 0.15s ease;
- }
-
- .btn-copy:hover {
- background: rgba(255, 255, 255, 0.08);
- color: #ffffff;
- }
-
- .btn-copy.copied {
- color: #50e3c2;
- }
-
- .code-body pre {
- margin: 0;
- padding: 16px;
- overflow-x: auto;
- }
-
- .code-body code {
- font-family: var(--font-mono);
- font-size: 13px;
- line-height: 1.65;
- color: #ededed;
- background: transparent;
- padding: 0;
- border-radius: 0;
- white-space: pre;
- }
-
- .tok-c {
- color: #737373;
- }
-
- /* ---------- Prev / next pagination ---------- */
-
- .page-nav-grid {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 12px;
- margin-top: 48px;
- padding-top: 32px;
- border-top: 1px solid var(--border);
- }
-
- .page-nav-card {
- display: flex;
- flex-direction: column;
- gap: 2px;
- padding: 14px 16px;
- border: 1px solid var(--border);
- border-radius: var(--radius-md);
- transition: border-color 0.15s ease;
- }
-
- .page-nav-card:hover {
- border-color: var(--border-hover);
- }
-
- .page-nav-sub {
- font-size: 12px;
- color: var(--text-subtle);
- }
-
- .page-nav-title {
- display: flex;
- align-items: center;
- gap: 6px;
- font-size: 14px;
- font-weight: 600;
- color: var(--text);
- }
-
- /* ---------- Right TOC ---------- */
-
- .toc-title {
- display: flex;
- align-items: center;
- gap: 8px;
- margin-bottom: 10px;
- font-size: 13px;
- font-weight: 600;
- color: var(--text);
- }
-
- .toc-title .icon {
- display: none;
- }
-
- .toc-list {
- list-style: none;
- position: relative;
- margin-left: 2px;
- border-left: 1px solid var(--border);
- }
-
- .toc-link {
- display: block;
- position: relative;
- padding: 5px 0 5px 16px;
- font-size: 13px;
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .toc-link:hover {
- color: var(--text);
- }
-
- .toc-link.active {
- color: var(--text);
- font-weight: 500;
- }
-
- .toc-link.active::before {
- content: "";
- position: absolute;
- left: -1px;
- top: 6px;
- bottom: 6px;
- width: 2px;
- border-radius: 2px;
- background: var(--text);
- }
-
- .toc-community-box {
- margin-top: 20px;
- padding-top: 16px;
- border-top: 1px solid var(--border);
- display: flex;
- flex-direction: column;
- gap: 2px;
- }
-
- .toc-community-link {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 6px 0;
- font-size: 13px;
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .toc-community-link:hover {
- color: var(--text);
- }
-
- /* ---------- Search modal ---------- */
-
- .search-modal-backdrop {
- position: fixed;
- inset: 0;
- z-index: 100;
- display: flex;
- justify-content: center;
- align-items: flex-start;
- padding: 15vh 16px 16px;
- background: rgba(0, 0, 0, 0.55);
- opacity: 0;
- pointer-events: none;
- transition: opacity 0.15s ease;
- }
-
- .search-modal-backdrop.open {
- opacity: 1;
- pointer-events: auto;
- }
-
- .search-modal {
- width: 100%;
- max-width: 560px;
- background: var(--bg);
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- overflow: hidden;
- box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
- animation: search-modal-in 0.15s ease;
- }
-
- @keyframes search-modal-in {
- from {
- opacity: 0;
- transform: translateY(-6px) scale(0.98);
- }
- to {
- opacity: 1;
- transform: none;
- }
- }
-
- .search-input-wrap {
- display: flex;
- align-items: center;
- gap: 10px;
- height: 52px;
- padding: 0 16px;
- border-bottom: 1px solid var(--border);
- color: var(--text-subtle);
- }
-
- .search-modal-input {
- flex: 1;
- border: none;
- outline: none;
- background: transparent;
- font-family: var(--font-sans);
- font-size: 14.5px;
- color: var(--text);
- }
-
- .search-modal-input::placeholder {
- color: var(--text-subtle);
- }
-
- .search-results-list {
- list-style: none;
- max-height: 340px;
- overflow-y: auto;
- padding: 8px;
- }
-
- .search-result-item {
- display: flex;
- flex-direction: column;
- gap: 2px;
- padding: 10px 12px;
- border-radius: var(--radius-sm);
- cursor: pointer;
- }
-
- .search-result-item:hover {
- background: var(--bg-hover);
- }
-
- .search-result-title {
- font-size: 14px;
- font-weight: 500;
- color: var(--text);
- }
-
- .search-result-desc {
- font-size: 13px;
- color: var(--text-muted);
- }
-
- /* ---------- Changelog releases ---------- */
-
- .release-box {
- scroll-margin-top: calc(var(--header-total-h) + 24px);
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- background: var(--bg-card);
- padding: 24px;
- margin-bottom: 20px;
- }
-
- .release-header {
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- gap: 16px;
- padding-bottom: 16px;
- margin-bottom: 16px;
- border-bottom: 1px solid var(--border);
- }
-
- .release-tag-pill {
- display: inline-block;
- padding: 3px 10px;
- border-radius: 6px;
- background: var(--primary);
- color: var(--text-inverse);
- font-size: 12px;
- font-weight: 600;
- }
-
- .release-date {
- font-size: 13px;
- color: var(--text-subtle);
- }
-
- .release-title {
- font-size: 18px;
- font-weight: 600;
- letter-spacing: -0.01em;
- color: var(--text);
- margin-top: 6px;
- }
-
- .release-section {
- margin-bottom: 16px;
- }
-
- .release-section-title {
- display: flex;
- align-items: center;
- gap: 8px;
- font-size: 14px;
- font-weight: 600;
- color: var(--text);
- margin-bottom: 8px;
- }
-
- .release-section-title .icon {
- color: var(--text-subtle);
- }
-
- .release-list {
- list-style: none;
- display: flex;
- flex-direction: column;
- gap: 6px;
- }
-
- .release-list li {
- position: relative;
- padding-left: 18px;
- font-size: 14px;
- line-height: 1.6;
- color: var(--text-muted);
- }
-
- .release-list li::before {
- content: "";
- position: absolute;
- left: 2px;
- top: 0.62em;
- width: 5px;
- height: 5px;
- border-radius: 999px;
- background: var(--border-hover);
- }
-
- .release-list li strong {
- color: var(--text);
- }
-
- /* ---------- Responsive ---------- */
-
- @media (max-width: 1100px) {
- .docs-toc {
- display: none;
- }
- }
-
- @media (max-width: 768px) {
- .nav-links { display: none; }
- .brand-badge { display: none; }
- .mobile-sidebar-toggle { display: flex; }
- .search-trigger {
- flex: 1;
- min-width: 0;
- max-width: none;
- }
- .docs-layout {
- padding: 0;
- }
- .docs-sidebar {
- position: fixed;
- top: var(--header-total-h);
- left: 0;
- bottom: 0;
- width: 280px;
- height: auto;
- background: var(--bg);
- border-right: 1px solid var(--border);
- transform: translateX(-100%);
- transition: transform 0.2s ease;
- z-index: 40;
- padding: 20px 16px 32px 24px;
- }
- .docs-sidebar.open {
- transform: translateX(0);
- }
- .docs-main {
- max-width: none;
- padding: 28px 20px 72px;
- }
- .doc-h1 {
- font-size: 30px;
- }
- .approach-grid,
- .page-nav-grid {
- grid-template-columns: 1fr;
- }
- .release-header {
- flex-direction: column;
- }
- }
-
- @media (max-width: 640px) {
- .btn-top-download {
- display: none;
- }
- .search-kbd {
- display: none;
- }
- }
- </style>
-
-</head>
-<body>
-
- <!-- ==================== STICKY DOUBLE-ROW HEADER ==================== -->
- <header class="nav-header">
- <div class="nav-header-inner">
- <div class="brand-group">
- <button class="mobile-sidebar-toggle" id="mobileSidebarToggle" onclick="toggleMobileSidebar()" aria-label="Toggle navigation menu" title="Toggle menu">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <line x1="3" y1="12" x2="21" y2="12" />
- <line x1="3" y1="6" x2="21" y2="6" />
- <line x1="3" y1="18" x2="21" y2="18" />
- </svg>
- </button>
- <a href="../../" class="brand-logo-link" aria-label="LibreGet Home">
- <img src="../../static/favicon.png" alt="LibreGet Logo" />
- <span>LibreGet</span>
- </a>
- <span class="brand-badge">DOCS</span>
- </div>
-
- <div class="search-trigger" onclick="openSearchModal()">
- <span style="display: flex; align-items: center; gap: 8px;">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m21 21-4.34-4.34" />
- <circle cx="11" cy="11" r="8" /></svg>
- <span>Search docs...</span>
- </span>
- <kbd class="search-kbd">Ctrl K</kbd>
- </div>
-
- <nav class="nav-links">
- <a class="nav-link-item" href="../">Overview</a>
- <a class="nav-link-item" href="../installation/">Installation</a>
- <a class="nav-link-item" href="../courses/">Courses</a>
- <a class="nav-link-item active" href="../nami/">Nami</a>
- <a class="nav-link-item" href="../mcp/">MCP & AI</a>
- <a class="nav-link-item" href="../troubleshooting/">Fixes</a>
- <a class="nav-link-item" href="../changelog/">Changelog</a>
- </nav>
-
- <div class="nav-actions">
- <button class="theme-toggle-btn" onclick="toggleTheme()" aria-label="Toggle light and dark mode" title="Toggle theme">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="themeIconSun" style="display: none;"><circle cx="12" cy="12" r="4" />
- <path d="M12 2v2" />
- <path d="M12 20v2" />
- <path d="m4.93 4.93 1.41 1.41" />
- <path d="m17.66 17.66 1.41 1.41" />
- <path d="M2 12h2" />
- <path d="M20 12h2" />
- <path d="m6.34 17.66-1.41 1.41" />
- <path d="m19.07 4.93-1.41 1.41" /></svg>
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="themeIconMoon"><path d="M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401" /></svg>
- </button>
-
- <a class="btn-top-download" href="https://github.com/OpenSelena/libreget/releases/latest">
- <span>Get App</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14" />
- <path d="m12 5 7 7-7 7" /></svg>
- </a>
- </div>
- </div>
-
- <div class="nav-subtabs">
- <div class="nav-subtabs-inner" id="topSubtabs">
- <a href="../" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5" />
- <path d="M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09" />
- <path d="M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z" />
- <path d="M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05" /></svg>
- <span>Quickstart</span>
- </a>
- <a href="../installation/" class="subtab-item">
- <svg class="icon" 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>
- <span>Installation</span>
- </a>
- <a href="../mcp/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 20v2" />
- <path d="M12 2v2" />
- <path d="M17 20v2" />
- <path d="M17 2v2" />
- <path d="M2 12h2" />
- <path d="M2 17h2" />
- <path d="M2 7h2" />
- <path d="M20 12h2" />
- <path d="M20 17h2" />
- <path d="M20 7h2" />
- <path d="M7 20v2" />
- <path d="M7 2v2" />
- <rect x="4" y="4" width="16" height="16" rx="2" />
- <rect x="8" y="8" width="8" height="8" rx="1" /></svg>
- <span>MCP Server</span>
- </a>
- <a href="../courses/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z" />
- <path d="M22 10v6" />
- <path d="M6 12.5V16a6 3 0 0 0 12 0v-3.5" /></svg>
- <span>36 Course Platforms</span>
- </a>
- <a href="../nami/" class="subtab-item active">
- <svg class="icon icon-fill" viewBox="0 0 24 24" fill="currentColor"><title>Instagram</title><path d="M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077"/></svg>
- <span>Nami</span>
- </a>
- <a href="../changelog/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 8v4l3 3" /><circle cx="12" cy="12" r="9" /></svg>
- <span>Changelog</span>
- </a>
- <a href="../troubleshooting/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z" /></svg>
- <span>Troubleshooting</span>
- </a>
- </div>
- </div>
- </header>
- <div class="mobile-sidebar-backdrop" id="mobileSidebarBackdrop" onclick="closeMobileSidebar()"></div>
-
- <!-- ==================== THREE-COLUMN LAYOUT ==================== -->
- <div class="docs-layout">
- <aside class="docs-sidebar">
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" 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" />
- <path d="m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z" /></svg>
- <span>Overview</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../" class="sidebar-link">
- <span>Quickstart Guide</span>
- <span class="sidebar-tag">Start</span>
- </a>
- </li>
- <li>
- <a href="../installation/" class="sidebar-link">
- <span>Installation Packages</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z" />
- <path d="M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12" />
- <path d="M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17" /></svg>
- <span>Core Engines</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../nami/" class="sidebar-link active">
- <span>Nami Engine</span>
- <span class="sidebar-tag">Social</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5v16" />
- <path d="M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z" /></svg>
- <span>Courses &amp; Study</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../courses/" class="sidebar-link">
- <span>36 Course Platforms</span>
- <span class="sidebar-tag">v0.16.10</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 8v4l3 3" /><circle cx="12" cy="12" r="9" /></svg>
- <span>Changelog &amp; Releases</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../changelog/" class="sidebar-link">
- <span>Dedicated Changelog</span>
- <span class="sidebar-tag">Latest</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z" />
- <path d="M20 2v4" />
- <path d="M22 4h-4" />
- <circle cx="4" cy="20" r="2" /></svg>
- <span>AI &amp; Agent Bridge</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../mcp/" class="sidebar-link">
- <span>MCP Server (127.0.0.1)</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z" /></svg>
- <span>System &amp; Fixes</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../troubleshooting/" class="sidebar-link">
- <span>Troubleshooting Hub</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" />
- <polyline points="15 3 21 3 21 9" />
- <line x1="10" y1="14" x2="21" y2="3" /></svg>
- <span>Community &amp; Source</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="https://github.com/OpenSelena/libreget" target="_blank" rel="noopener" class="sidebar-link">
- <span>GitHub Repository</span>
- <svg class="icon icon-xs" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="margin-left: auto; opacity: 0.5;"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" /><polyline points="15 3 21 3 21 9" /><line x1="10" y1="14" x2="21" y2="3" /></svg>
- </a>
- </li>
- <li>
- <a href="https://t.me/OpenSelena" target="_blank" rel="noopener" class="sidebar-link">
- <span>Telegram Community</span>
- <svg class="icon icon-xs" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="margin-left: auto; opacity: 0.5;"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" /><polyline points="15 3 21 3 21 9" /><line x1="10" y1="14" x2="21" y2="3" /></svg>
- </a>
- </li>
- </ul>
- </div>
- </aside>
-
- <main class="docs-main">
- <div class="breadcrumbs">
- <a href="../">Documentation</a>
- <span class="breadcrumb-sep">/</span>
- <a href="./">Nami</a>
- <span class="breadcrumb-sep">/</span>
- <span class="breadcrumb-current">Social Media Archiver</span>
- </div>
-
- <h1 class="doc-h1">Nami Social Media Archiver</h1>
- <p class="doc-lead">Download posts, stories, threads, and boards from Instagram, TikTok, X, and Pinterest at original quality, with request pacing that keeps your account under rate limits.</p>
-
-
- <!-- OFFICIAL NAMI MACOS HERO SCREENSHOT -->
- <div class="doc-media-card">
- <img src="../../assets/readme/opennami-ready.png" alt="LibreGet Nami macOS Desktop Interface" />
- <div class="doc-media-caption">LibreGet Nami on macOS: Dedicated social media archiver with connected profile sync, media filters, and bulk downloader.</div>
- </div>
-
- <!-- SECTION 1 -->
- <h2 class="doc-h2" id="what-is-nami">1. Nami Engine</h2>
- <p class="doc-p">
- <strong>Nami</strong> is LibreGet's built-in social media archiver (Rust backend and Svelte 5 frontend). It operates on a hybrid architecture: primary native TypeScript extractors for Instagram, TikTok, Facebook, and X communicate directly through a CORS-free Rust HTTP bridge, with automated multi-tier fallback to <code>gallery-dl</code> and <code>yt-dlp</code>. Downloads retain original CDN quality with zero re-encoding.
- </p>
-
- <div class="doc-media-card">
- <img src="../../assets/readme/opennami-downloading.png" alt="Nami Active Download Engine on macOS" />
- <div class="doc-media-caption">The download view: live progress, request pacing between requests, and an archive that skips posts you already saved.</div>
- </div>
-
- <ul style="margin-left: 20px; color: var(--text-muted); display: grid; gap: 10px; margin-bottom: 24px; font-size: 14.5px; line-height: 1.6;">
- <li><strong>Hybrid Native Extractors:</strong> Primary extraction runs in-memory TypeScript scrapers using Polaris GraphQL doc IDs (Instagram), 5-tier rehydration parsing (TikTok), and author thread preservation (X).</li>
- <li><strong>Multi-Tier Failover Cascade:</strong> If a native extractor encounters unknown platform changes or rate limits, execution passes automatically to <code>gallery-dl</code>, and then to <code>yt-dlp</code> for video streams.</li>
- <li><strong>Bidirectional Archive Deduplication:</strong> Synchronizes <code>archive.txt</code> and <code>archive_yt-dlp.txt</code> bidirectionally across both engines to prevent duplicate downloads.</li>
- <li><strong>Browser-like requests:</strong> Sends desktop User-Agent, Netscape session cookies, and <code>sec-ch-ua</code> Client Hints matching standard desktop browsers.</li>
- <li><strong>Per-platform pacing:</strong> Enforces request pacing per platform (TikTok: <code>0.6-1.2s</code>, Facebook: <code>1.5-2.5s</code>, Instagram: <code>2.0-2.8s</code>, others: <code>0.8-1.5s</code>) to stay under rate limits.</li>
- </ul>
- <p class="doc-p">
- Manage connected profile sessions or enter any public profile handle to archive feeds with custom filters:
- </p>
-
- <div class="doc-media-card">
- <img src="../../assets/readme/opennami-empty.png" alt="Nami Profile Connection Setup" />
- <div class="doc-media-caption">Nami Setup: Manage saved profile sessions and configure destination directories.</div>
- </div>
-
- <p class="doc-p">
- Downloads land in one folder per platform and profile, with a JSON sidecar per post:
- </p>
-
- <div class="code-container">
- <div class="code-header">
- <span style="font-size: 13px; font-weight: 600; color: #a1a1aa;">Directory Hierarchy</span>
- <button class="btn-copy" onclick="copyCodeSnippet(this)"><svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
- <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span>Copy</span></button>
- </div>
- <div class="code-body">
-<pre><code>Downloads/Nami/
-├── Instagram/
-│ └── creative_studio/
-│ ├── 2026-10-01_182030_reel.mp4
-│ ├── 2026-10-01_182030_reel.json <-- Caption, tags & stats
-│ └── stories/
-│ └── 2026-10-05_story_01.mp4
-├── TikTok/
-│ └── tech_daily/
-│ ├── 73491823901923_video.mp4
-│ └── 73491823901923_audio.mp3 <-- Extracted background sound
-└── X/
- └── design_feed/
- └── threads/
- └── 183920194810294_thread.md <-- Markdown unrolled thread</code></pre>
- </div>
- </div>
-
- <!-- SECTION 2 -->
- <h2 class="doc-h2" id="instagram">2. Instagram Toolkit (24 Specialized Tools)</h2>
- <p class="doc-p">
- All Instagram tools run on your own session, captured by the browser extension, so close-friends stories and private feeds work:
- </p>
-
- <div class="doc-media-card">
- <img src="../../assets/readme/tools-instagram.png" alt="LibreGet Instagram Tools" />
- <div class="doc-media-caption">LibreGet Instagram Toolkit: 24 tools for downloading posts, reel audio, stories, highlights, and profile analytics.</div>
- </div>
-
- <div class="doc-table-wrap">
- <table class="doc-table">
- <thead>
- <tr>
- <th>Tool Name</th>
- <th>Category</th>
- <th>Functionality & Capabilities</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><strong>Download Post / Carousel</strong></td>
- <td>Media</td>
- <td>Downloads single photos, 4K videos, reels, IGTV, or multi-slide carousels at maximum resolution.</td>
- </tr>
- <tr>
- <td><strong>Stories & Highlights</strong></td>
- <td>Media</td>
- <td>Downloads active 24-hour stories (including Close Friends) <strong>without marking them as seen</strong>.</td>
- </tr>
- <tr>
- <td><strong>Profile Downloader</strong></td>
- <td>Bulk</td>
- <td>Archives an entire account's timeline posts, reels, tagged posts, and saved collections with custom limits.</td>
- </tr>
- <tr>
- <td><strong>HD Avatar & Bio</strong></td>
- <td>Profile</td>
- <td>Fetches full-resolution profile pictures and complete bio metadata.</td>
- </tr>
- <tr>
- <td><strong>Who Viewed My Story</strong></td>
- <td>Analytics</td>
- <td>Lists and exports viewer accounts for each of your active stories into CSV format.</td>
- </tr>
- <tr>
- <td><strong>Who Doesn't Follow Back</strong></td>
- <td>Audit</td>
- <td>Compares your followers against your following list; safeguards VIP accounts via whitelist.</td>
- </tr>
- <tr>
- <td><strong>Ghost Followers</strong></td>
- <td>Audit</td>
- <td>Detects inactive accounts that never like or comment, showing community engagement.</td>
- </tr>
- <tr>
- <td><strong>Giveaway Winner Picker</strong></td>
- <td>Marketing</td>
- <td>Pulls all comments on a giveaway post, filters by mentions/keywords, and randomly draws verified winners.</td>
- </tr>
- <tr>
- <td><strong>Offline Data Export</strong></td>
- <td>Privacy</td>
- <td>Parses Meta's official "Download your information" ZIP archive completely offline.</td>
- </tr>
- </tbody>
- </table>
- </div>
-
- <!-- SECTION 3 -->
- <h2 class="doc-h2" id="x-twitter">3. X / Twitter Toolkit (10 Tools)</h2>
- <p class="doc-p">
- Public X data comes through the FxTwitter API without login. Tools that need your account (bookmarks, follow audits, Grok) use your session cookies:
- </p>
-
- <div class="doc-media-card">
- <img src="../../assets/readme/tools-x.png" alt="LibreGet X Twitter Toolkit" />
- <div class="doc-media-caption">LibreGet X Tools: Unroll threads to Markdown, download maximum bitrate video, and export bookmarks.</div>
- </div>
-
- <ul style="margin-left: 20px; color: var(--text-muted); display: grid; gap: 8px; margin-bottom: 24px; font-size: 14.5px;">
- <li><strong>Unroll Thread:</strong> Converts long, multi-tweet discussions into a clean Markdown or HTML document with all attached media preserved.</li>
- <li><strong>Post to PNG Card:</strong> Renders a tweet into a crisp, high-resolution PNG graphic card ready for sharing on social platforms.</li>
- <li><strong>Export Bookmarks:</strong> Backs up all your saved X bookmarks across folders into JSON, CSV, Markdown, or HTML.</li>
- <li><strong>Profile Media Archive:</strong> Downloads all high-resolution images, GIFs, and videos from an author's profile in one batch.</li>
- </ul>
-
- <!-- SECTION 4 -->
- <h2 class="doc-h2" id="tiktok-pinterest">4. TikTok & Pinterest Archivers</h2>
- <p class="doc-p">
- Dedicated downloaders for TikTok and Pinterest:
- </p>
-
- <div class="doc-media-card">
- <img src="../../assets/readme/tools-pinterest.png" alt="LibreGet Pinterest Toolkit" />
- <div class="doc-media-caption">Pinterest Tools: Full board backups, original high-resolution pins, clean search without AI ads, and color palette extraction.</div>
- </div>
-
- <ul style="margin-left: 20px; color: var(--text-muted); display: grid; gap: 8px; margin-bottom: 24px; font-size: 14.5px;">
- <li><strong>TikTok HD Video:</strong> Downloads original-quality MP4 video with no watermark, photo slide decks, and isolated background MP3 audio.</li>
- <li><strong>Pinterest Board Backup:</strong> Downloads every pin in a board or section, saving original images, videos, descriptions, and incremental updates.</li>
- <li><strong>Search Without AI or Ads:</strong> Custom search filters that strip sponsored pins and AI-generated image clutter.</li>
- <li><strong>Color Palette Extractor:</strong> Analyzes a pin or board and generates an exact color palette with hex codes and CSS tokens.</li>
- </ul>
-
- <!-- SECTION 5 -->
- <h2 class="doc-h2" id="rate-limiting">5. Rate Limiting & Account Protection Safeguards</h2>
- <p class="doc-p">
- To keep your account out of trouble, Nami paces and limits its own requests:
- </p>
-
- <div class="doc-table-wrap">
- <table class="doc-table">
- <thead>
- <tr>
- <th>Safeguard Protocol</th>
- <th>Behavior & Mechanism</th>
- <th>Protection Benefit</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><strong>Paced requests</strong></td>
- <td>Sleeps a randomized interval between requests, tuned per platform (see the list above).</td>
- <td>Avoids the steady request rhythm that platforms flag as bot traffic.</td>
- </tr>
- <tr>
- <td><strong>429 backoff</strong></td>
- <td>Stops for 10 seconds when a platform answers HTTP 429, then retries, up to 3 attempts.</td>
- <td>Lets a rate limit cool down instead of hammering the site.</td>
- </tr>
- <tr>
- <td><strong>Unfollow whitelist</strong></td>
- <td>Protects pinned accounts and mutual follows from bulk unfollow suggestions.</td>
- <td>Your real connections are never unfollowed by accident.</td>
- </tr>
- <tr>
- <td><strong>Cookies stay local</strong></td>
- <td>Session cookies are used only on your machine; nothing is uploaded to any server.</td>
- <td>No third-party service ever sees your login.</td>
- </tr>
- </tbody>
- </table>
- </div>
-
-
- <div class="page-nav-grid">
- <a href="../courses/" class="page-nav-card">
- <span class="page-nav-sub">Previous Guide</span>
- <span class="page-nav-title">
- <span>&larr; 36 Course Platforms</span>
- </span>
- </a>
- <a href="../troubleshooting/" class="page-nav-card" style="text-align: right;">
- <span class="page-nav-sub">Next Guide</span>
- <span class="page-nav-title" style="justify-content: flex-end; gap: 8px;">
- <span>Troubleshooting & Fixes &rarr;</span>
- </span>
- </a>
- </div>
-
- </main>
-
- <aside class="docs-toc">
- <div class="toc-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 5h.01" />
- <path d="M3 12h.01" />
- <path d="M3 19h.01" />
- <path d="M8 5h13" />
- <path d="M8 12h13" />
- <path d="M8 19h13" /></svg>
- <span>On this page</span>
- </div>
- <ul class="toc-list" id="tocList">
- <li><a href="#what-is-nami" class="toc-link">1. Nami Archiver Engine</a></li>
- <li><a href="#instagram" class="toc-link">2. Instagram Toolkit (24 Tools)</a></li>
- <li><a href="#x-twitter" class="toc-link">3. X / Twitter Toolkit (10 Tools)</a></li>
- <li><a href="#tiktok-pinterest" class="toc-link">4. TikTok & Pinterest Archivers</a></li>
- <li><a href="#rate-limiting" class="toc-link">5. Rate Limiting & Account Protection</a></li>
- </ul>
-
- <div class="toc-community-box">
- <a href="https://github.com/OpenSelena/libreget" class="toc-community-link" target="_blank" rel="noopener">
- <svg class="icon icon-fill icon-sm" viewBox="0 0 24 24" fill="currentColor"><title>GitHub</title><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-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>
- <span>Edit page on GitHub</span>
- </a>
- <a href="https://t.me/OpenSelena" class="toc-community-link" target="_blank" rel="noopener">
- <svg class="icon icon-fill icon-sm" viewBox="0 0 24 24" fill="currentColor"><title>Telegram</title><path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"/></svg>
- <span>Ask in Telegram</span>
- </a>
- </div>
- </aside>
- </div>
-
- <!-- SEARCH MODAL -->
- <div class="search-modal-backdrop" id="searchBackdrop" onclick="closeSearchModal(event)">
- <div class="search-modal" onclick="event.stopPropagation()">
- <div class="search-input-wrap">
- <svg class="icon icon-lg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m21 21-4.34-4.34" />
- <circle cx="11" cy="11" r="8" /></svg>
- <input type="text" class="search-modal-input" id="searchInput" placeholder="Search documentation..." autocomplete="off" />
- </div>
- <ul class="search-results-list" id="searchResults">
- <li class="search-result-item" onclick="location.href='../'">
- <span class="search-result-title">Quickstart Guide</span>
- <span class="search-result-desc">Three modes: Visual desktop app, local MCP, and portable mode</span>
- </li>
- <li class="search-result-item" onclick="location.href='../installation/'">
- <span class="search-result-title">Installation & OS Binaries</span>
- <span class="search-result-desc">Windows, macOS Apple Silicon, and Linux packages</span>
- </li>
- <li class="search-result-item" onclick="location.href='../mcp/'">
- <span class="search-result-title">Model Context Protocol (MCP) Server</span>
- <span class="search-result-desc">Local AI agent tools for Claude Code, Cursor, and VS Code</span>
- </li>
- <li class="search-result-item" onclick="location.href='../courses/'">
- <span class="search-result-title">36 Online Course Platforms</span>
- <span class="search-result-desc">Hotmart, Udemy, Rocketseat, Kajabi, and Kiwify integration</span>
- </li>
- <li class="search-result-item" onclick="location.href='../nami/'">
- <span class="search-result-title">Nami Social Archiver</span>
- <span class="search-result-desc">Bulk Instagram, TikTok, and X profile downloader</span>
- </li>
- <li class="search-result-item" onclick="location.href='../troubleshooting/'">
- <span class="search-result-title">System Troubleshooting</span>
- <span class="search-result-desc">macOS Gatekeeper, Linux WebKitGTK, and diagnostic logs</span>
- </li>
- <li class="search-result-item" onclick="location.href='../#privacy'">
- <span class="search-result-title">Privacy Policy &amp; No Tracking</span>
- <span class="search-result-desc">Local SQLite storage, loopback security, and DRM non-circumvention</span>
- </li>
- <li class="search-result-item" onclick="location.href='../changelog/'">
- <span class="search-result-title">Release Notes &amp; Changelog</span>
- <span class="search-result-desc">Version v0.12.0 updates, Telegram API credentials, CSP star fix</span>
- </li>
- </ul>
- </div>
- </div>
-
- <script>
- function updateThemeIcons(theme) {
- const sun = document.getElementById('themeIconSun');
- const moon = document.getElementById('themeIconMoon');
- if (!sun || !moon) return;
- if (theme === 'dark') {
- sun.style.display = 'inline-block';
- moon.style.display = 'none';
- } else {
- sun.style.display = 'none';
- moon.style.display = 'inline-block';
- }
- }
-
- function toggleTheme() {
- const isDark = document.documentElement.classList.contains('dark') ||
- document.documentElement.getAttribute('data-theme') === 'dark';
- const target = isDark ? 'light' : 'dark';
- if (target === 'dark') {
- document.documentElement.classList.add('dark');
- document.documentElement.setAttribute('data-theme', 'dark');
- } else {
- document.documentElement.classList.remove('dark');
- document.documentElement.setAttribute('data-theme', 'light');
- }
- localStorage.setItem('libreget_docs_theme', target);
- localStorage.setItem('theme', target);
- updateThemeIcons(target);
- }
-
- function toggleMobileSidebar() {
- const sidebar = document.querySelector('.docs-sidebar');
- const backdrop = document.getElementById('mobileSidebarBackdrop');
- if (sidebar) sidebar.classList.toggle('open');
- if (backdrop) backdrop.classList.toggle('open');
- }
-
- function closeMobileSidebar() {
- const sidebar = document.querySelector('.docs-sidebar');
- const backdrop = document.getElementById('mobileSidebarBackdrop');
- if (sidebar) sidebar.classList.remove('open');
- if (backdrop) backdrop.classList.remove('open');
- }
-
- document.addEventListener('DOMContentLoaded', () => {
- const isDark = document.documentElement.classList.contains('dark') ||
- document.documentElement.getAttribute('data-theme') === 'dark';
- updateThemeIcons(isDark ? 'dark' : 'light');
-
- if (location.protocol === 'file:') {
- document.querySelectorAll('a[href]').forEach(a => {
- let h = a.getAttribute('href');
- if (h && h.endsWith('/') && !h.startsWith('http') && !h.startsWith('#')) {
- a.setAttribute('href', h + 'index.html');
- }
- });
- document.querySelectorAll('.search-result-item[onclick]').forEach(item => {
- let oc = item.getAttribute('onclick');
- if (oc && oc.includes("location.href='")) {
- item.setAttribute('onclick', oc.replace("/'", "/index.html'"));
- }
- });
- }
-
- document.querySelectorAll('.sidebar-link').forEach(link => {
- link.addEventListener('click', closeMobileSidebar);
- });
- });
-
- function switchCodeTab(btn, tabId) {
- const container = btn.closest('.code-container');
- if (!container) return;
- container.querySelectorAll('.code-tab-btn').forEach(b => b.classList.remove('active'));
- btn.classList.add('active');
- container.querySelectorAll('.code-body pre').forEach(pre => {
- pre.style.display = (pre.id === tabId) ? 'block' : 'none';
- });
- }
-
- function copyCodeSnippet(btn) {
- const container = btn.closest('.code-container');
- if (!container) return;
- const pres = Array.from(container.querySelectorAll('.code-body pre'));
- const activePre = pres.find(p => window.getComputedStyle(p).display !== 'none') || pres[0];
- if (!activePre) return;
-
- const code = activePre.querySelector('code');
- const text = (code ? code.innerText : activePre.innerText).trim();
- const span = btn.querySelector('span');
- const origText = span ? span.textContent : 'Copy';
- const origSvg = btn.querySelector('svg') ? btn.querySelector('svg').outerHTML : '';
- const checkSvg = '<svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>';
-
- const showSuccess = () => {
- if (span) span.textContent = 'Copied!';
- btn.classList.add('copied');
- const curSvg = btn.querySelector('svg');
- if (curSvg) curSvg.outerHTML = checkSvg;
- setTimeout(() => {
- if (span) span.textContent = origText;
- btn.classList.remove('copied');
- const nowSvg = btn.querySelector('svg');
- if (nowSvg && origSvg) nowSvg.outerHTML = origSvg;
- }, 2000);
- };
-
- const execCopy = () => {
- try {
- const ta = document.createElement('textarea');
- ta.value = text;
- ta.style.top = '0';
- ta.style.left = '0';
- ta.style.position = 'fixed';
- ta.style.width = '2em';
- ta.style.height = '2em';
- ta.style.padding = '0';
- ta.style.border = 'none';
- ta.style.outline = 'none';
- ta.style.boxShadow = 'none';
- ta.style.background = 'transparent';
- ta.setAttribute('readonly', '');
- document.body.appendChild(ta);
- ta.focus();
- ta.select();
- ta.setSelectionRange(0, ta.value.length);
- const ok = document.execCommand('copy');
- document.body.removeChild(ta);
- return ok;
- } catch (e) {
- return false;
- }
- };
-
- if (location.protocol === 'file:') {
- execCopy();
- showSuccess();
- } else if (navigator.clipboard && window.isSecureContext) {
- navigator.clipboard.writeText(text)
- .then(showSuccess)
- .catch(() => {
- execCopy();
- showSuccess();
- });
- } else {
- execCopy();
- showSuccess();
- }
- }
-
- function openSearchModal() {
- const modal = document.getElementById('searchBackdrop');
- if (modal) {
- modal.classList.add('open');
- setTimeout(() => {
- const inp = document.getElementById('searchInput');
- if (inp) inp.focus();
- }, 50);
- }
- }
-
- function closeSearchModal(e) {
- const modal = document.getElementById('searchBackdrop');
- if (modal) modal.classList.remove('open');
- }
-
- document.addEventListener('keydown', (e) => {
- if ((e.ctrlKey || e.metaKey) && e.key.toLowerCase() === 'k') {
- e.preventDefault();
- openSearchModal();
- }
- if (e.key === 'Escape') {
- closeSearchModal();
- }
- });
-
- const sInput = document.getElementById('searchInput');
- if (sInput) {
- sInput.addEventListener('input', (e) => {
- const q = e.target.value.toLowerCase();
- document.querySelectorAll('#searchResults .search-result-item').forEach(item => {
- const t = item.textContent.toLowerCase();
- item.style.display = t.includes(q) ? 'flex' : 'none';
- });
- });
- }
-
-
- // TOC scrollspy: highlight the section currently in view (vercel.com/docs behavior).
- (function () {
- const links = document.querySelectorAll('.toc-list .toc-link');
- if (!links.length) return;
- const targets = [];
- links.forEach(l => {
- const href = l.getAttribute('href') || '';
- if (!href.startsWith('#')) return;
- const el = document.getElementById(href.slice(1));
- if (el) targets.push([el, l]);
- });
- if (!targets.length) return;
- const setActive = link => links.forEach(x => x.classList.toggle('active', x === link));
- const obs = new IntersectionObserver(entries => {
- const visible = entries.filter(e => e.isIntersecting);
- if (!visible.length) return;
- const hit = targets.find(([el]) => el === visible[visible.length - 1].target);
- if (hit) setActive(hit[1]);
- }, { rootMargin: '-108px 0px -70% 0px' });
- targets.forEach(([el]) => obs.observe(el));
- })();
- </script>
-</body>
-</html>
diff --git a/docs/troubleshooting/index.html b/docs/troubleshooting/index.html
deleted file mode 100644
index 2a30e9f6..00000000
--- a/docs/troubleshooting/index.html
+++ /dev/null
@@ -1,1973 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
- <title>System Troubleshooting & Fixes · LibreGet Documentation</title>
- <meta name="description" content="Fix guides for macOS Gatekeeper warnings, Linux WebKitGTK and GStreamer crashes, and HTTP 403 and 429 network errors." />
- <link rel="canonical" href="https://libreget.asf.sale/docs/troubleshooting/" />
-
- <!-- Open Graph -->
- <meta property="og:type" content="article" />
- <meta property="og:site_name" content="LibreGet Documentation" />
- <meta property="og:title" content="System Troubleshooting & Fixes" />
- <meta property="og:description" content="Fix guides for macOS Gatekeeper warnings, Linux WebKitGTK and GStreamer crashes, and HTTP 403 and 429 network errors." />
- <meta property="og:url" content="https://libreget.asf.sale/docs/troubleshooting/" />
- <meta property="og:image" content="https://libreget.asf.sale/assets/readme/home.png" />
- <meta property="og:image:width" content="1200" />
- <meta property="og:image:height" content="630" />
- <meta name="twitter:card" content="summary_large_image" />
-
- <link rel="icon" type="image/x-icon" href="../../favicon.ico" />
- <link rel="icon" type="image/png" sizes="256x256" href="../../static/favicon.png" />
- <link rel="apple-touch-icon" sizes="180x180" href="../../static/favicon.png" />
-
- <!-- Early Theme Init Script to eliminate Flash of Wrong Theme -->
- <script>
- (function() {
- try {
- var saved = localStorage.getItem('libreget_docs_theme') || localStorage.getItem('theme');
- var prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
- if (saved === 'dark' || (!saved && prefersDark)) {
- document.documentElement.classList.add('dark');
- document.documentElement.setAttribute('data-theme', 'dark');
- } else {
- document.documentElement.classList.remove('dark');
- document.documentElement.setAttribute('data-theme', 'light');
- }
- } catch (e) {}
- })();
- </script>
-
- <!-- Fonts: Geist + Geist Mono, the vercel.com/docs typefaces -->
- <link rel="preconnect" href="https://fonts.googleapis.com" />
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
- <link href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500&display=swap" rel="stylesheet" />
-
- <style>
- /* ============================================================
- LibreGet Documentation — UI skin
- Design system: vercel.com/docs (Geist type, Vercel palette)
- ============================================================ */
-
- *, *::before, *::after {
- box-sizing: border-box;
- margin: 0;
- padding: 0;
- }
-
- /* ---------- Design tokens ---------- */
-
- :root {
- color-scheme: light;
-
- --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
- --font-display: var(--font-sans);
- --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
-
- /* Vercel light theme */
- --bg: #ffffff;
- --bg-surface: #ffffff;
- --bg-subtle: #fafafa;
- --bg-muted: #f4f4f5;
- --bg-hover: #f4f4f5;
- --bg-card: #ffffff;
- --bg-code: #111111;
- --code-header: #171717;
- --code-border: #333333;
-
- --border: #eaeaea;
- --border-subtle: #f4f4f5;
- --border-hover: #999999;
- --border-focus: #171717;
-
- --text: #171717;
- --text-muted: #666666;
- --text-subtle: #888888;
- --text-inverse: #ffffff;
-
- --primary: #171717;
- --primary-hover: #333333;
- --primary-light: #f4f4f5;
- --primary-border: #171717;
-
- --link: #0070f3;
- --link-hover: #3291ff;
- --success: #50e3c2;
-
- --callout-bg: #fafafa;
- --callout-border: #eaeaea;
- --callout-text: #171717;
-
- --header-h: 64px;
- --tabs-h: 44px;
- --header-total-h: 108px;
- --sidebar-w: 272px;
- --toc-w: 240px;
- --max-w: 1440px;
-
- --radius-sm: 8px;
- --radius-md: 10px;
- --radius-lg: 12px;
- }
-
- html.dark {
- color-scheme: dark;
-
- /* Vercel dark theme */
- --bg: #000000;
- --bg-surface: #0a0a0a;
- --bg-subtle: #111111;
- --bg-muted: #18181b;
- --bg-hover: #18181b;
- --bg-card: #0a0a0a;
- --bg-code: #111111;
- --code-header: #171717;
- --code-border: #262626;
-
- --border: #1f1f1f;
- --border-subtle: #141414;
- --border-hover: #444444;
- --border-focus: #ededed;
-
- --text: #ededed;
- --text-muted: #a1a1aa;
- --text-subtle: #71717a;
- --text-inverse: #000000;
-
- --primary: #ededed;
- --primary-hover: #ffffff;
- --primary-light: #18181b;
- --primary-border: #ededed;
-
- --link: #3291ff;
- --link-hover: #66aaff;
-
- --callout-bg: #0a0a0a;
- --callout-border: #1f1f1f;
- --callout-text: #ededed;
- }
-
- /* ---------- Base ---------- */
-
- html {
- scroll-behavior: smooth;
- }
-
- body {
- background-color: var(--bg);
- color: var(--text);
- font-family: var(--font-sans);
- font-size: 16px;
- line-height: 1.6;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: antialiased;
- text-rendering: optimizeLegibility;
- overflow-x: hidden;
- transition: background-color 0.15s ease, color 0.15s ease;
- }
-
- ::selection {
- background: #0070f3;
- color: #ffffff;
- }
-
- a {
- color: inherit;
- text-decoration: none;
- }
-
- button {
- font-family: inherit;
- cursor: pointer;
- }
-
- img {
- max-width: 100%;
- }
-
- :focus-visible {
- outline: 2px solid var(--link);
- outline-offset: 2px;
- }
-
- /* ---------- Icons ---------- */
-
- .icon {
- display: inline-block;
- width: 16px;
- height: 16px;
- flex-shrink: 0;
- vertical-align: middle;
- }
-
- .icon-lg { width: 18px; height: 18px; }
- .icon-sm { width: 14px; height: 14px; }
- .icon-xs { width: 12px; height: 12px; }
-
- /* ---------- Top navbar ---------- */
-
- .nav-header {
- position: sticky;
- top: 0;
- z-index: 50;
- background: var(--bg);
- border-bottom: 1px solid var(--border);
- }
-
- .nav-header-inner {
- display: flex;
- align-items: center;
- gap: 14px;
- height: var(--header-h);
- max-width: var(--max-w);
- margin: 0 auto;
- padding: 0 24px;
- }
-
- .brand-group {
- display: flex;
- align-items: center;
- gap: 10px;
- flex-shrink: 0;
- }
-
- .brand-logo-link {
- display: flex;
- align-items: center;
- gap: 8px;
- font-size: 14.5px;
- font-weight: 600;
- letter-spacing: -0.01em;
- color: var(--text);
- }
-
- .brand-logo-link img {
- display: block;
- height: 22px;
- width: auto;
- }
-
- .brand-badge {
- font-size: 13px;
- font-weight: 400;
- letter-spacing: 0.02em;
- color: var(--text-muted);
- }
-
- /* Search trigger (the "Search Docs" pill) */
- .search-trigger {
- display: flex;
- align-items: center;
- gap: 8px;
- height: 34px;
- min-width: 160px;
- max-width: 300px;
- flex: 0 1 auto;
- padding: 0 8px 0 12px;
- border: 1px solid var(--border);
- border-radius: var(--radius-sm);
- background: var(--bg);
- color: var(--text-subtle);
- cursor: pointer;
- transition: border-color 0.15s ease;
- }
-
- .search-trigger:hover {
- border-color: var(--border-hover);
- }
-
- .search-trigger > span {
- flex: 1;
- font-size: 13px;
- }
-
- .search-kbd {
- flex-shrink: 0;
- border: 1px solid var(--border);
- background: var(--bg-subtle);
- border-radius: 5px;
- padding: 1px 6px;
- font-family: var(--font-mono);
- font-size: 11px;
- color: var(--text-subtle);
- line-height: 1.5;
- }
-
- .nav-links {
- display: flex;
- align-items: center;
- gap: 2px;
- margin-left: auto;
- }
-
- .nav-link-item {
- padding: 6px 10px;
- border-radius: 6px;
- font-size: 13.5px;
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .nav-link-item:hover {
- color: var(--text);
- }
-
- .nav-link-item.active {
- color: var(--text);
- font-weight: 500;
- }
-
- .nav-actions {
- display: flex;
- align-items: center;
- gap: 8px;
- flex-shrink: 0;
- }
-
- .theme-toggle-btn {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 32px;
- height: 32px;
- border: none;
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--text-muted);
- transition: background 0.15s ease, color 0.15s ease;
- }
-
- .theme-toggle-btn:hover {
- background: var(--bg-hover);
- color: var(--text);
- }
-
- .btn-top-download {
- display: inline-flex;
- align-items: center;
- gap: 6px;
- height: 32px;
- padding: 0 14px;
- border: none;
- border-radius: 999px;
- background: var(--primary);
- color: var(--text-inverse);
- font-size: 13px;
- font-weight: 500;
- transition: background 0.15s ease;
- }
-
- .btn-top-download:hover {
- background: var(--primary-hover);
- }
-
- /* ---------- Section subtabs ---------- */
-
- .nav-subtabs {
- background: var(--bg);
- border-bottom: 1px solid var(--border);
- }
-
- .nav-subtabs-inner {
- display: flex;
- align-items: center;
- gap: 4px;
- height: var(--tabs-h);
- max-width: var(--max-w);
- margin: 0 auto;
- padding: 0 24px;
- overflow-x: auto;
- scrollbar-width: none;
- }
-
- .nav-subtabs-inner::-webkit-scrollbar {
- display: none;
- }
-
- .nav-subtabs-inner .subtab-item {
- display: inline-flex;
- align-items: center;
- gap: 7px;
- height: var(--tabs-h);
- padding: 0 12px;
- border-radius: 0;
- font-size: 13.5px;
- color: var(--text-muted);
- white-space: nowrap;
- transition: color 0.15s ease;
- }
-
- .nav-subtabs-inner .subtab-item:hover {
- color: var(--text);
- }
-
- .nav-subtabs-inner .subtab-item.active {
- color: var(--text);
- font-weight: 500;
- box-shadow: inset 0 -2px 0 0 var(--text);
- }
-
- .nav-subtabs-inner .subtab-item .icon {
- display: none;
- }
-
- /* Generic subtab link used inside page content (e.g. "GitHub Tag") */
- .subtab-item {
- display: inline-flex;
- align-items: center;
- gap: 7px;
- padding: 6px 12px;
- border-radius: var(--radius-sm);
- font-size: 13px;
- font-weight: 500;
- color: var(--text-muted);
- transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
- }
-
- .subtab-item:hover {
- color: var(--text);
- }
-
- /* ---------- Shell layout ---------- */
-
- .docs-layout {
- display: flex;
- align-items: flex-start;
- max-width: var(--max-w);
- margin: 0 auto;
- padding: 0 24px;
- }
-
- .docs-sidebar {
- width: var(--sidebar-w);
- flex-shrink: 0;
- position: sticky;
- top: var(--header-total-h);
- height: calc(100vh - var(--header-total-h));
- overflow-y: auto;
- overscroll-behavior: contain;
- padding: 28px 16px 48px 8px;
- }
-
- .docs-main {
- flex: 1 1 auto;
- min-width: 0;
- width: 100%;
- max-width: 736px;
- margin: 0 auto;
- padding: 40px 40px 96px;
- }
-
- .docs-toc {
- width: var(--toc-w);
- flex-shrink: 0;
- position: sticky;
- top: var(--header-total-h);
- height: calc(100vh - var(--header-total-h));
- overflow-y: auto;
- padding: 40px 24px 48px 0;
- }
-
- /* ---------- Sidebar navigation ---------- */
-
- .sidebar-group {
- margin-bottom: 22px;
- }
-
- .sidebar-group-header {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0 10px;
- margin-bottom: 6px;
- font-size: 13px;
- font-weight: 500;
- color: var(--text-subtle);
- }
-
- .sidebar-group-header .icon {
- display: none;
- }
-
- .sidebar-nav-list {
- list-style: none;
- display: flex;
- flex-direction: column;
- gap: 1px;
- }
-
- .sidebar-link {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 8px;
- padding: 6px 10px;
- border-radius: 6px;
- font-size: 13.5px;
- color: var(--text-muted);
- transition: background 0.15s ease, color 0.15s ease;
- }
-
- .sidebar-link:hover {
- color: var(--text);
- background: var(--bg-hover);
- }
-
- .sidebar-link.active {
- color: var(--text);
- background: var(--bg-hover);
- font-weight: 500;
- }
-
- .sidebar-tag {
- flex-shrink: 0;
- font-size: 11px;
- font-weight: 500;
- color: var(--text-subtle);
- background: var(--bg-subtle);
- border: 1px solid var(--border);
- border-radius: 999px;
- padding: 1px 7px;
- white-space: nowrap;
- }
-
- /* ---------- Mobile sidebar drawer ---------- */
-
- .mobile-sidebar-toggle {
- display: none;
- align-items: center;
- justify-content: center;
- width: 32px;
- height: 32px;
- border: none;
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--text-muted);
- }
-
- .mobile-sidebar-toggle:hover {
- background: var(--bg-hover);
- color: var(--text);
- }
-
- .mobile-sidebar-backdrop {
- display: none;
- position: fixed;
- inset: 0;
- top: var(--header-total-h);
- z-index: 39;
- background: rgba(0, 0, 0, 0.5);
- }
-
- .mobile-sidebar-backdrop.open {
- display: block;
- }
-
- /* ---------- Breadcrumbs ---------- */
-
- .breadcrumbs {
- display: flex;
- align-items: center;
- gap: 8px;
- margin-bottom: 20px;
- font-size: 13px;
- color: var(--text-muted);
- }
-
- .docs-main .breadcrumbs a {
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .docs-main .breadcrumbs a:hover {
- color: var(--text);
- text-decoration: none;
- }
-
- .breadcrumb-sep {
- color: var(--border-hover);
- }
-
- .breadcrumb-current {
- color: var(--text);
- font-weight: 500;
- }
-
- /* ---------- Article typography ---------- */
-
- .doc-h1 {
- font-size: 36px;
- line-height: 1.15;
- font-weight: 600;
- letter-spacing: -0.022em;
- color: var(--text);
- margin-bottom: 14px;
- }
-
- .doc-lead {
- font-size: 17px;
- line-height: 1.6;
- color: var(--text-muted);
- margin-bottom: 28px;
- }
-
- .doc-p {
- font-size: 15.5px;
- line-height: 1.7;
- color: var(--text);
- margin-bottom: 20px;
- }
-
- .doc-h2 {
- font-size: 24px;
- font-weight: 600;
- letter-spacing: -0.014em;
- color: var(--text);
- margin: 44px 0 12px;
- }
-
- .doc-h3 {
- font-size: 18px;
- font-weight: 600;
- color: var(--text);
- margin: 28px 0 8px;
- }
-
- .doc-h1, .doc-h2, .doc-h3 {
- scroll-margin-top: calc(var(--header-total-h) + 24px);
- }
-
- strong {
- font-weight: 600;
- }
-
- .docs-main a {
- color: var(--link);
- text-decoration: none;
- }
-
- .docs-main a:hover {
- text-decoration: underline;
- }
-
- /* Content links that are UI buttons, not prose links */
- .docs-main a.subtab-item,
- .docs-main a.page-nav-card {
- color: var(--text-muted);
- text-decoration: none;
- }
-
- .docs-main a.subtab-item:hover {
- color: var(--text);
- text-decoration: none;
- }
-
- .docs-main a.page-nav-card:hover {
- color: var(--text-muted);
- border-color: var(--border-hover);
- text-decoration: none;
- }
-
- /* Inline code */
- .docs-main code {
- font-family: var(--font-mono);
- font-size: 0.855em;
- background: var(--bg-muted);
- color: var(--text);
- padding: 0.15em 0.4em;
- border-radius: 6px;
- }
-
- /* ---------- Figures ---------- */
-
- .doc-media-card {
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- overflow: hidden;
- margin: 24px 0;
- }
-
- .doc-media-card img {
- display: block;
- width: 100%;
- height: auto;
- background: var(--bg-subtle);
- }
-
- .doc-media-caption {
- padding: 10px 16px;
- border-top: 1px solid var(--border);
- background: var(--bg-subtle);
- font-size: 13px;
- line-height: 1.5;
- color: var(--text-muted);
- }
-
- /* ---------- Callouts ---------- */
-
- .callout {
- display: flex;
- align-items: flex-start;
- gap: 12px;
- margin: 24px 0;
- padding: 16px 20px;
- border: 1px solid var(--callout-border);
- border-radius: var(--radius-lg);
- background: var(--callout-bg);
- color: var(--callout-text);
- font-size: 14.5px;
- line-height: 1.6;
- }
-
- .callout .icon-lg {
- color: var(--text-muted);
- margin-top: 2px;
- }
-
- /* ---------- Cards grid ---------- */
-
- .approach-grid {
- display: grid;
- grid-template-columns: repeat(3, 1fr);
- gap: 12px;
- margin: 24px 0;
- }
-
- .approach-card {
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- padding: 18px 20px;
- transition: border-color 0.15s ease;
- }
-
- .approach-card:hover {
- border-color: var(--border-hover);
- }
-
- .approach-badge {
- display: inline-block;
- margin-bottom: 10px;
- padding: 2px 8px;
- border: 1px solid var(--border);
- border-radius: 999px;
- font-size: 11px;
- font-weight: 500;
- color: var(--text-subtle);
- }
-
- .approach-title {
- font-size: 15.5px;
- font-weight: 600;
- color: var(--text);
- margin-bottom: 6px;
- }
-
- .approach-desc {
- font-size: 13.5px;
- line-height: 1.6;
- color: var(--text-muted);
- }
-
- /* ---------- Tables ---------- */
-
- .doc-table-wrap {
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- overflow-x: auto;
- margin-bottom: 24px;
- background: var(--bg-card);
- }
-
- .doc-table {
- width: 100%;
- border-collapse: collapse;
- font-size: 14px;
- }
-
- .doc-table th {
- text-align: left;
- padding: 10px 16px;
- border-bottom: 1px solid var(--border);
- background: var(--bg-subtle);
- font-size: 13px;
- font-weight: 500;
- color: var(--text-muted);
- white-space: nowrap;
- }
-
- .doc-table td {
- padding: 12px 16px;
- border-bottom: 1px solid var(--border-subtle);
- color: var(--text);
- vertical-align: top;
- line-height: 1.55;
- }
-
- .doc-table tbody tr:last-child td {
- border-bottom: none;
- }
-
- /* ---------- Code blocks ---------- */
-
- .code-container {
- margin-bottom: 24px;
- border: 1px solid var(--code-border);
- border-radius: var(--radius-lg);
- overflow: hidden;
- background: var(--bg-code);
- }
-
- .code-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 12px;
- height: 44px;
- padding: 0 8px 0 16px;
- background: var(--code-header);
- border-bottom: 1px solid var(--code-border);
- }
-
- .code-header > span {
- font-family: var(--font-mono);
- font-size: 12.5px;
- color: #a1a1aa;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
-
- .btn-copy {
- display: inline-flex;
- align-items: center;
- gap: 6px;
- flex-shrink: 0;
- border: none;
- border-radius: 6px;
- padding: 5px 8px;
- background: transparent;
- color: #999999;
- font-size: 12px;
- transition: background 0.15s ease, color 0.15s ease;
- }
-
- .btn-copy:hover {
- background: rgba(255, 255, 255, 0.08);
- color: #ffffff;
- }
-
- .btn-copy.copied {
- color: #50e3c2;
- }
-
- .code-body pre {
- margin: 0;
- padding: 16px;
- overflow-x: auto;
- }
-
- .code-body code {
- font-family: var(--font-mono);
- font-size: 13px;
- line-height: 1.65;
- color: #ededed;
- background: transparent;
- padding: 0;
- border-radius: 0;
- white-space: pre;
- }
-
- .tok-c {
- color: #737373;
- }
-
- /* ---------- Prev / next pagination ---------- */
-
- .page-nav-grid {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 12px;
- margin-top: 48px;
- padding-top: 32px;
- border-top: 1px solid var(--border);
- }
-
- .page-nav-card {
- display: flex;
- flex-direction: column;
- gap: 2px;
- padding: 14px 16px;
- border: 1px solid var(--border);
- border-radius: var(--radius-md);
- transition: border-color 0.15s ease;
- }
-
- .page-nav-card:hover {
- border-color: var(--border-hover);
- }
-
- .page-nav-sub {
- font-size: 12px;
- color: var(--text-subtle);
- }
-
- .page-nav-title {
- display: flex;
- align-items: center;
- gap: 6px;
- font-size: 14px;
- font-weight: 600;
- color: var(--text);
- }
-
- /* ---------- Right TOC ---------- */
-
- .toc-title {
- display: flex;
- align-items: center;
- gap: 8px;
- margin-bottom: 10px;
- font-size: 13px;
- font-weight: 600;
- color: var(--text);
- }
-
- .toc-title .icon {
- display: none;
- }
-
- .toc-list {
- list-style: none;
- position: relative;
- margin-left: 2px;
- border-left: 1px solid var(--border);
- }
-
- .toc-link {
- display: block;
- position: relative;
- padding: 5px 0 5px 16px;
- font-size: 13px;
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .toc-link:hover {
- color: var(--text);
- }
-
- .toc-link.active {
- color: var(--text);
- font-weight: 500;
- }
-
- .toc-link.active::before {
- content: "";
- position: absolute;
- left: -1px;
- top: 6px;
- bottom: 6px;
- width: 2px;
- border-radius: 2px;
- background: var(--text);
- }
-
- .toc-community-box {
- margin-top: 20px;
- padding-top: 16px;
- border-top: 1px solid var(--border);
- display: flex;
- flex-direction: column;
- gap: 2px;
- }
-
- .toc-community-link {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 6px 0;
- font-size: 13px;
- color: var(--text-muted);
- transition: color 0.15s ease;
- }
-
- .toc-community-link:hover {
- color: var(--text);
- }
-
- /* ---------- Search modal ---------- */
-
- .search-modal-backdrop {
- position: fixed;
- inset: 0;
- z-index: 100;
- display: flex;
- justify-content: center;
- align-items: flex-start;
- padding: 15vh 16px 16px;
- background: rgba(0, 0, 0, 0.55);
- opacity: 0;
- pointer-events: none;
- transition: opacity 0.15s ease;
- }
-
- .search-modal-backdrop.open {
- opacity: 1;
- pointer-events: auto;
- }
-
- .search-modal {
- width: 100%;
- max-width: 560px;
- background: var(--bg);
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- overflow: hidden;
- box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
- animation: search-modal-in 0.15s ease;
- }
-
- @keyframes search-modal-in {
- from {
- opacity: 0;
- transform: translateY(-6px) scale(0.98);
- }
- to {
- opacity: 1;
- transform: none;
- }
- }
-
- .search-input-wrap {
- display: flex;
- align-items: center;
- gap: 10px;
- height: 52px;
- padding: 0 16px;
- border-bottom: 1px solid var(--border);
- color: var(--text-subtle);
- }
-
- .search-modal-input {
- flex: 1;
- border: none;
- outline: none;
- background: transparent;
- font-family: var(--font-sans);
- font-size: 14.5px;
- color: var(--text);
- }
-
- .search-modal-input::placeholder {
- color: var(--text-subtle);
- }
-
- .search-results-list {
- list-style: none;
- max-height: 340px;
- overflow-y: auto;
- padding: 8px;
- }
-
- .search-result-item {
- display: flex;
- flex-direction: column;
- gap: 2px;
- padding: 10px 12px;
- border-radius: var(--radius-sm);
- cursor: pointer;
- }
-
- .search-result-item:hover {
- background: var(--bg-hover);
- }
-
- .search-result-title {
- font-size: 14px;
- font-weight: 500;
- color: var(--text);
- }
-
- .search-result-desc {
- font-size: 13px;
- color: var(--text-muted);
- }
-
- /* ---------- Changelog releases ---------- */
-
- .release-box {
- scroll-margin-top: calc(var(--header-total-h) + 24px);
- border: 1px solid var(--border);
- border-radius: var(--radius-lg);
- background: var(--bg-card);
- padding: 24px;
- margin-bottom: 20px;
- }
-
- .release-header {
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- gap: 16px;
- padding-bottom: 16px;
- margin-bottom: 16px;
- border-bottom: 1px solid var(--border);
- }
-
- .release-tag-pill {
- display: inline-block;
- padding: 3px 10px;
- border-radius: 6px;
- background: var(--primary);
- color: var(--text-inverse);
- font-size: 12px;
- font-weight: 600;
- }
-
- .release-date {
- font-size: 13px;
- color: var(--text-subtle);
- }
-
- .release-title {
- font-size: 18px;
- font-weight: 600;
- letter-spacing: -0.01em;
- color: var(--text);
- margin-top: 6px;
- }
-
- .release-section {
- margin-bottom: 16px;
- }
-
- .release-section-title {
- display: flex;
- align-items: center;
- gap: 8px;
- font-size: 14px;
- font-weight: 600;
- color: var(--text);
- margin-bottom: 8px;
- }
-
- .release-section-title .icon {
- color: var(--text-subtle);
- }
-
- .release-list {
- list-style: none;
- display: flex;
- flex-direction: column;
- gap: 6px;
- }
-
- .release-list li {
- position: relative;
- padding-left: 18px;
- font-size: 14px;
- line-height: 1.6;
- color: var(--text-muted);
- }
-
- .release-list li::before {
- content: "";
- position: absolute;
- left: 2px;
- top: 0.62em;
- width: 5px;
- height: 5px;
- border-radius: 999px;
- background: var(--border-hover);
- }
-
- .release-list li strong {
- color: var(--text);
- }
-
- /* ---------- Responsive ---------- */
-
- @media (max-width: 1100px) {
- .docs-toc {
- display: none;
- }
- }
-
- @media (max-width: 768px) {
- .nav-links { display: none; }
- .brand-badge { display: none; }
- .mobile-sidebar-toggle { display: flex; }
- .search-trigger {
- flex: 1;
- min-width: 0;
- max-width: none;
- }
- .docs-layout {
- padding: 0;
- }
- .docs-sidebar {
- position: fixed;
- top: var(--header-total-h);
- left: 0;
- bottom: 0;
- width: 280px;
- height: auto;
- background: var(--bg);
- border-right: 1px solid var(--border);
- transform: translateX(-100%);
- transition: transform 0.2s ease;
- z-index: 40;
- padding: 20px 16px 32px 24px;
- }
- .docs-sidebar.open {
- transform: translateX(0);
- }
- .docs-main {
- max-width: none;
- padding: 28px 20px 72px;
- }
- .doc-h1 {
- font-size: 30px;
- }
- .approach-grid,
- .page-nav-grid {
- grid-template-columns: 1fr;
- }
- .release-header {
- flex-direction: column;
- }
- }
-
- @media (max-width: 640px) {
- .btn-top-download {
- display: none;
- }
- .search-kbd {
- display: none;
- }
- }
- </style>
-
-</head>
-<body>
-
- <!-- ==================== STICKY DOUBLE-ROW HEADER ==================== -->
- <header class="nav-header">
- <div class="nav-header-inner">
- <div class="brand-group">
- <button class="mobile-sidebar-toggle" id="mobileSidebarToggle" onclick="toggleMobileSidebar()" aria-label="Toggle navigation menu" title="Toggle menu">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <line x1="3" y1="12" x2="21" y2="12" />
- <line x1="3" y1="6" x2="21" y2="6" />
- <line x1="3" y1="18" x2="21" y2="18" />
- </svg>
- </button>
- <a href="../../" class="brand-logo-link" aria-label="LibreGet Home">
- <img src="../../static/favicon.png" alt="LibreGet Logo" />
- <span>LibreGet</span>
- </a>
- <span class="brand-badge">DOCS</span>
- </div>
-
- <div class="search-trigger" onclick="openSearchModal()">
- <span style="display: flex; align-items: center; gap: 8px;">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m21 21-4.34-4.34" />
- <circle cx="11" cy="11" r="8" /></svg>
- <span>Search docs...</span>
- </span>
- <kbd class="search-kbd">Ctrl K</kbd>
- </div>
-
- <nav class="nav-links">
- <a class="nav-link-item" href="../">Overview</a>
- <a class="nav-link-item" href="../installation/">Installation</a>
- <a class="nav-link-item" href="../courses/">Courses</a>
- <a class="nav-link-item" href="../nami/">Nami</a>
- <a class="nav-link-item" href="../mcp/">MCP & AI</a>
- <a class="nav-link-item active" href="../troubleshooting/">Fixes</a>
- <a class="nav-link-item" href="../changelog/">Changelog</a>
- </nav>
-
- <div class="nav-actions">
- <button class="theme-toggle-btn" onclick="toggleTheme()" aria-label="Toggle light and dark mode" title="Toggle theme">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="themeIconSun" style="display: none;"><circle cx="12" cy="12" r="4" />
- <path d="M12 2v2" />
- <path d="M12 20v2" />
- <path d="m4.93 4.93 1.41 1.41" />
- <path d="m17.66 17.66 1.41 1.41" />
- <path d="M2 12h2" />
- <path d="M20 12h2" />
- <path d="m6.34 17.66-1.41 1.41" />
- <path d="m19.07 4.93-1.41 1.41" /></svg>
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="themeIconMoon"><path d="M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401" /></svg>
- </button>
-
- <a class="btn-top-download" href="https://github.com/OpenSelena/libreget/releases/latest">
- <span>Get App</span>
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14" />
- <path d="m12 5 7 7-7 7" /></svg>
- </a>
- </div>
- </div>
-
- <div class="nav-subtabs">
- <div class="nav-subtabs-inner" id="topSubtabs">
- <a href="../" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5" />
- <path d="M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09" />
- <path d="M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z" />
- <path d="M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05" /></svg>
- <span>Quickstart</span>
- </a>
- <a href="../installation/" class="subtab-item">
- <svg class="icon" 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>
- <span>Installation</span>
- </a>
- <a href="../mcp/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 20v2" />
- <path d="M12 2v2" />
- <path d="M17 20v2" />
- <path d="M17 2v2" />
- <path d="M2 12h2" />
- <path d="M2 17h2" />
- <path d="M2 7h2" />
- <path d="M20 12h2" />
- <path d="M20 17h2" />
- <path d="M20 7h2" />
- <path d="M7 20v2" />
- <path d="M7 2v2" />
- <rect x="4" y="4" width="16" height="16" rx="2" />
- <rect x="8" y="8" width="8" height="8" rx="1" /></svg>
- <span>MCP Server</span>
- </a>
- <a href="../courses/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z" />
- <path d="M22 10v6" />
- <path d="M6 12.5V16a6 3 0 0 0 12 0v-3.5" /></svg>
- <span>36 Course Platforms</span>
- </a>
- <a href="../nami/" class="subtab-item">
- <svg class="icon icon-fill" viewBox="0 0 24 24" fill="currentColor"><title>Instagram</title><path d="M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077"/></svg>
- <span>Nami</span>
- </a>
- <a href="../changelog/" class="subtab-item">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 8v4l3 3" /><circle cx="12" cy="12" r="9" /></svg>
- <span>Changelog</span>
- </a>
- <a href="../troubleshooting/" class="subtab-item active">
- <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z" /></svg>
- <span>Troubleshooting</span>
- </a>
- </div>
- </div>
- </header>
- <div class="mobile-sidebar-backdrop" id="mobileSidebarBackdrop" onclick="closeMobileSidebar()"></div>
-
- <!-- ==================== THREE-COLUMN LAYOUT ==================== -->
- <div class="docs-layout">
- <aside class="docs-sidebar">
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" 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" />
- <path d="m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z" /></svg>
- <span>Overview</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../" class="sidebar-link">
- <span>Quickstart Guide</span>
- <span class="sidebar-tag">Start</span>
- </a>
- </li>
- <li>
- <a href="../installation/" class="sidebar-link">
- <span>Installation Packages</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z" />
- <path d="M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12" />
- <path d="M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17" /></svg>
- <span>Core Engines</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../nami/" class="sidebar-link">
- <span>Nami Engine</span>
- <span class="sidebar-tag">Social</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5v16" />
- <path d="M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z" /></svg>
- <span>Courses &amp; Study</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../courses/" class="sidebar-link">
- <span>36 Course Platforms</span>
- <span class="sidebar-tag">v0.16.10</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 8v4l3 3" /><circle cx="12" cy="12" r="9" /></svg>
- <span>Changelog &amp; Releases</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../changelog/" class="sidebar-link">
- <span>Dedicated Changelog</span>
- <span class="sidebar-tag">Latest</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z" />
- <path d="M20 2v4" />
- <path d="M22 4h-4" />
- <circle cx="4" cy="20" r="2" /></svg>
- <span>AI &amp; Agent Bridge</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../mcp/" class="sidebar-link">
- <span>MCP Server (127.0.0.1)</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z" /></svg>
- <span>System &amp; Fixes</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="../troubleshooting/" class="sidebar-link active">
- <span>Troubleshooting Hub</span>
- </a>
- </li>
- </ul>
- </div>
- <div class="sidebar-group">
- <div class="sidebar-group-header">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" />
- <polyline points="15 3 21 3 21 9" />
- <line x1="10" y1="14" x2="21" y2="3" /></svg>
- <span>Community &amp; Source</span>
- </div>
- <ul class="sidebar-nav-list">
- <li>
- <a href="https://github.com/OpenSelena/libreget" target="_blank" rel="noopener" class="sidebar-link">
- <span>GitHub Repository</span>
- <svg class="icon icon-xs" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="margin-left: auto; opacity: 0.5;"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" /><polyline points="15 3 21 3 21 9" /><line x1="10" y1="14" x2="21" y2="3" /></svg>
- </a>
- </li>
- <li>
- <a href="https://t.me/OpenSelena" target="_blank" rel="noopener" class="sidebar-link">
- <span>Telegram Community</span>
- <svg class="icon icon-xs" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="margin-left: auto; opacity: 0.5;"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" /><polyline points="15 3 21 3 21 9" /><line x1="10" y1="14" x2="21" y2="3" /></svg>
- </a>
- </li>
- </ul>
- </div>
- </aside>
-
- <main class="docs-main">
- <div class="breadcrumbs">
- <a href="../">Documentation</a>
- <span class="breadcrumb-sep">/</span>
- <a href="./">Troubleshooting</a>
- <span class="breadcrumb-sep">/</span>
- <span class="breadcrumb-current">System Fixes & Diagnostics</span>
- </div>
-
- <h1 class="doc-h1">System Troubleshooting & Diagnostic Guides</h1>
- <p class="doc-lead">Fix guides for macOS Gatekeeper warnings, Linux WebKitGTK and GStreamer crashes, and HTTP 403 and 429 network errors.</p>
-
-
- <div class="doc-media-card">
- <img src="../../assets/readme/settings.png" alt="LibreGet Troubleshooting & Settings" />
- <div class="doc-media-caption">LibreGet Settings: Configure network timeouts, proxy settings, cookie vaults, and inspect diagnostic logs.</div>
- </div>
-
- <p class="doc-p">
- Fix steps for macOS Gatekeeper warnings, Linux WebKitGTK and GStreamer crashes, HTTP 403 and 429 errors, and browser extension pairing.
- </p>
-
- <!-- SECTION 1 -->
- <h2 class="doc-h2" id="logs-paths">1. Diagnostic Log & Data Paths</h2>
- <p class="doc-p">
- The app stores its database (<code>libreget.db</code>) and settings (<code>settings.json</code>) in the folder for your OS below. LibreGet writes no log file: each download's output is shown in the Downloads panel, and debug logs go to the terminal the app was started from.
- </p>
-
- <div class="doc-table-wrap">
- <table class="doc-table">
- <thead>
- <tr>
- <th>Operating System</th>
- <th>Application Data & SQLite Database Path</th>
- <th>Debug Logs</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><strong>Windows</strong></td>
- <td><code>%APPDATA%\com.openselena.libreget\</code><br/>(e.g. <code>C:\Users\&lt;Name&gt;\AppData\Roaming\com.openselena.libreget\</code>)</td>
- <td>No log file. Download output is shown in the app; debug logs go to the terminal.</td>
- </tr>
- <tr>
- <td><strong>Windows Portable</strong></td>
- <td><code>&lt;ExeFolder&gt;\data\</code> (when <code>portable.txt</code> exists)</td>
- <td>No log file. Download output is shown in the app; debug logs go to the terminal.</td>
- </tr>
- <tr>
- <td><strong>macOS</strong></td>
- <td><code>~/Library/Application Support/com.openselena.libreget/</code></td>
- <td>No log file. Download output is shown in the app; debug logs go to the terminal.</td>
- </tr>
- <tr>
- <td><strong>Linux</strong></td>
- <td><code>~/.local/share/com.openselena.libreget/</code></td>
- <td>No log file. Download output is shown in the app; debug logs go to the terminal.</td>
- </tr>
- </tbody>
- </table>
- </div>
-
- <!-- SECTION 2 -->
- <h2 class="doc-h2" id="macos">2. macOS Gatekeeper ("App is damaged") Fix</h2>
- <p class="doc-p">
- When opening LibreGet for the first time on macOS, Gatekeeper may refuse to launch the binary, displaying a prompt stating the application is "damaged and should be moved to the Trash".
- </p>
-
- <div class="callout">
- <svg class="icon icon-lg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="margin-top: 2px;"><path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" />
- <path d="M12 9v4" />
- <path d="M12 17h.01" /></svg>
- <div>
- <strong>Root cause:</strong>
- LibreGet is distributed as free open-source software and is not signed with a paid Apple Developer certificate. macOS automatically flags downloaded DMG files with the <code>com.apple.quarantine</code> attribute.
- </div>
- </div>
-
- <p class="doc-p">
- To clear this flag and run the app normally, execute the following commands in Terminal:
- </p>
-
- <div class="code-container">
- <div class="code-header">
- <span style="font-size: 13px; font-weight: 600; color: #a1a1aa;">Terminal</span>
- <button class="btn-copy" onclick="copyCodeSnippet(this)"><svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
- <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span>Copy</span></button>
- </div>
- <div class="code-body">
-<pre><code><span class="tok-c"># Strip quarantine attribute:
-</span>
-xattr -cr /Applications/libreget.app
-
-<span class="tok-c"># Re-sign the app ad-hoc:
-</span>
-codesign --force --deep --sign - /Applications/libreget.app</code></pre>
- </div>
- </div>
-
- <!-- SECTION 3 -->
- <h2 class="doc-h2" id="linux">3. Linux WebKitGTK & GStreamer Audio Fix</h2>
- <p class="doc-p">
- On Linux, LibreGet's desktop window uses WebKitGTK. WebKitGTK plays all media through GStreamer. If the required GStreamer audio sinks are missing, WebKitGTK <strong>aborts its own web process</strong> as soon as any video or audio loads, resulting in an empty or crashed window.
- </p>
-
- <p class="doc-p">
- Install the required GStreamer plugins to fix this crash:
- </p>
-
- <div class="code-container">
- <div class="code-header">
- <span style="font-size: 13px; font-weight: 600; color: #a1a1aa;">Terminal</span>
- <button class="btn-copy" onclick="copyCodeSnippet(this)"><svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
- <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span>Copy</span></button>
- </div>
- <div class="code-body">
-<pre><code><span class="tok-c"># Ubuntu / Debian / Linux Mint:
-</span>
-sudo apt install gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-libav
-
-<span class="tok-c"># Fedora / RHEL:
-</span>
-sudo dnf install gstreamer1-plugins-good gstreamer1-plugins-bad-free gstreamer1-plugin-libav
-
-<span class="tok-c"># Arch Linux:
-</span>
-sudo pacman -S gst-plugins-good gst-plugins-bad gst-libav</code></pre>
- </div>
- </div>
-
- <!-- SECTION 4 -->
- <h2 class="doc-h2" id="network-rate-limits">4. Network, HTTP 403 & 429 Rate Limit Errors</h2>
- <p class="doc-p">
- If downloads fail or stall unexpectedly, common HTTP error codes indicate the underlying cause:
- </p>
-
- <ul style="margin-left: 20px; color: var(--text-muted); display: grid; gap: 10px; margin-bottom: 24px; font-size: 14.5px;">
- <li>
- <strong>HTTP 403 Forbidden:</strong> The site rejected the download token or session cookie. Open the page in your browser, click the LibreGet Companion Extension icon to push fresh cookies to the desktop app, and retry.
- </li>
- <li>
- <strong>HTTP 429 Too Many Requests:</strong> You have hit the platform's request ceiling. Navigate to <strong>Settings &rarr; Network</strong>, reduce <strong>Concurrent downloads</strong> to <code>1</code> or <code>2</code>, and enable <strong>Adaptive Backoff</strong>.
- </li>
- <li>
- <strong>Proxy & VPN Configuration:</strong> If your ISP throttles or blocks media hosts, configure an HTTP or SOCKS5 proxy in <strong>Settings &rarr; Network &rarr; Proxy</strong> (e.g. <code>socks5://127.0.0.1:1080</code>).
- </li>
- </ul>
-
- <!-- SECTION 5 -->
- <h2 class="doc-h2" id="extension-pairing">5. Browser Extension Pairing & Port 47720-47729</h2>
- <p class="doc-p">
- The LibreGet Companion Extension communicates with the desktop app over local loopback ports <code>47720</code> to <code>47729</code> (configured in <code>src-tauri/src/local_bridge.rs</code> with <code>SO_REUSEADDR</code> to survive fast restarts).
- </p>
-
- <ol style="margin-left: 20px; color: var(--text-muted); display: grid; gap: 8px; margin-bottom: 24px; font-size: 14.5px;">
- <li>Ensure the LibreGet desktop application is running before syncing. You can verify the local listener in your browser by visiting <code>http://127.0.0.1:47720/v1/health</code>; it will return <code>{"ok":true,"version":"0.12.0"}</code>.</li>
- <li>If port 47720 is occupied by another application, LibreGet automatically cycles through ports <code>47721</code> to <code>47729</code> and persists the bound port in <code>settings.json</code>.</li>
- <li>Open the extension's Options page (right-click the extension icon in your browser &rarr; <strong>Options</strong>).</li>
- <li>In LibreGet, navigate to <strong>Settings &rarr; Plugins &rarr; Browser extension</strong>, click <strong>Copy pairing token</strong>, paste it into the extension Options field, and click <strong>Verify Connection</strong>.</li>
- </ol>
-
- <!-- SECTION 6 -->
- <h2 class="doc-h2" id="engine-integrity">6. yt-dlp & FFmpeg Integrity Verification</h2>
- <p class="doc-p">
- LibreGet installs yt-dlp and FFmpeg on first launch and keeps them updated:
- </p>
-
- <div class="doc-media-card">
- <img src="../../assets/readme/downloads.png" alt="LibreGet Command Inspector" />
- <div class="doc-media-caption">Downloads Inspector: Click any download card to view and edit the exact yt-dlp command it ran.</div>
- </div>
-
- <ul style="margin-left: 20px; color: var(--text-muted); display: grid; gap: 8px; font-size: 14.5px;">
- <li><strong>SHA-256 checksums:</strong> Binaries are checked against the official release hashes before they run.</li>
- <li><strong>Zipapp startup:</strong> When Python 3.10 or newer is present, yt-dlp runs as a zipapp on it and starts in under a second.</li>
- <li><strong>Command inspector:</strong> Click any finished or failed download to see the exact yt-dlp flags it ran, edit them, and retry.</li>
- </ul>
-
-
- <div class="page-nav-grid">
- <a href="../nami/" class="page-nav-card">
- <span class="page-nav-sub">Previous Guide</span>
- <span class="page-nav-title">
- <span>&larr; Nami Social Archiver</span>
- </span>
- </a>
- <a href="../changelog/" class="page-nav-card" style="text-align: right;">
- <span class="page-nav-sub">Next Guide</span>
- <span class="page-nav-title" style="justify-content: flex-end; gap: 8px;">
- <span>Release Notes &amp; Changelog &rarr;</span>
- </span>
- </a>
- </div>
-
- </main>
-
- <aside class="docs-toc">
- <div class="toc-title">
- <svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 5h.01" />
- <path d="M3 12h.01" />
- <path d="M3 19h.01" />
- <path d="M8 5h13" />
- <path d="M8 12h13" />
- <path d="M8 19h13" /></svg>
- <span>On this page</span>
- </div>
- <ul class="toc-list" id="tocList">
- <li><a href="#logs-paths" class="toc-link">1. Diagnostic Log & Data Paths</a></li>
- <li><a href="#macos" class="toc-link">2. macOS Gatekeeper ('Damaged') Fix</a></li>
- <li><a href="#linux" class="toc-link">3. Linux WebKitGTK & GStreamer Fix</a></li>
- <li><a href="#network-rate-limits" class="toc-link">4. Network, HTTP 403 & 429 Errors</a></li>
- <li><a href="#extension-pairing" class="toc-link">5. Browser Extension Pairing & Port 47720</a></li>
- <li><a href="#engine-integrity" class="toc-link">6. yt-dlp & FFmpeg Integrity</a></li>
- </ul>
-
- <div class="toc-community-box">
- <a href="https://github.com/OpenSelena/libreget" class="toc-community-link" target="_blank" rel="noopener">
- <svg class="icon icon-fill icon-sm" viewBox="0 0 24 24" fill="currentColor"><title>GitHub</title><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-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>
- <span>Edit page on GitHub</span>
- </a>
- <a href="https://t.me/OpenSelena" class="toc-community-link" target="_blank" rel="noopener">
- <svg class="icon icon-fill icon-sm" viewBox="0 0 24 24" fill="currentColor"><title>Telegram</title><path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"/></svg>
- <span>Ask in Telegram</span>
- </a>
- </div>
- </aside>
- </div>
-
- <!-- SEARCH MODAL -->
- <div class="search-modal-backdrop" id="searchBackdrop" onclick="closeSearchModal(event)">
- <div class="search-modal" onclick="event.stopPropagation()">
- <div class="search-input-wrap">
- <svg class="icon icon-lg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m21 21-4.34-4.34" />
- <circle cx="11" cy="11" r="8" /></svg>
- <input type="text" class="search-modal-input" id="searchInput" placeholder="Search documentation..." autocomplete="off" />
- </div>
- <ul class="search-results-list" id="searchResults">
- <li class="search-result-item" onclick="location.href='../'">
- <span class="search-result-title">Quickstart Guide</span>
- <span class="search-result-desc">Three modes: Visual desktop app, local MCP, and portable mode</span>
- </li>
- <li class="search-result-item" onclick="location.href='../installation/'">
- <span class="search-result-title">Installation & OS Binaries</span>
- <span class="search-result-desc">Windows, macOS Apple Silicon, and Linux packages</span>
- </li>
- <li class="search-result-item" onclick="location.href='../mcp/'">
- <span class="search-result-title">Model Context Protocol (MCP) Server</span>
- <span class="search-result-desc">Local AI agent tools for Claude Code, Cursor, and VS Code</span>
- </li>
- <li class="search-result-item" onclick="location.href='../courses/'">
- <span class="search-result-title">36 Online Course Platforms</span>
- <span class="search-result-desc">Hotmart, Udemy, Rocketseat, Kajabi, and Kiwify integration</span>
- </li>
- <li class="search-result-item" onclick="location.href='../nami/'">
- <span class="search-result-title">Nami Social Archiver</span>
- <span class="search-result-desc">Bulk Instagram, TikTok, and X profile downloader</span>
- </li>
- <li class="search-result-item" onclick="location.href='../troubleshooting/'">
- <span class="search-result-title">System Troubleshooting</span>
- <span class="search-result-desc">macOS Gatekeeper, Linux WebKitGTK, and diagnostic logs</span>
- </li>
- <li class="search-result-item" onclick="location.href='../#privacy'">
- <span class="search-result-title">Privacy Policy &amp; No Tracking</span>
- <span class="search-result-desc">Local SQLite storage, loopback security, and DRM non-circumvention</span>
- </li>
- <li class="search-result-item" onclick="location.href='../changelog/'">
- <span class="search-result-title">Release Notes &amp; Changelog</span>
- <span class="search-result-desc">Version v0.12.0 updates, Telegram API credentials, CSP star fix</span>
- </li>
- </ul>
- </div>
- </div>
-
- <script>
- function updateThemeIcons(theme) {
- const sun = document.getElementById('themeIconSun');
- const moon = document.getElementById('themeIconMoon');
- if (!sun || !moon) return;
- if (theme === 'dark') {
- sun.style.display = 'inline-block';
- moon.style.display = 'none';
- } else {
- sun.style.display = 'none';
- moon.style.display = 'inline-block';
- }
- }
-
- function toggleTheme() {
- const isDark = document.documentElement.classList.contains('dark') ||
- document.documentElement.getAttribute('data-theme') === 'dark';
- const target = isDark ? 'light' : 'dark';
- if (target === 'dark') {
- document.documentElement.classList.add('dark');
- document.documentElement.setAttribute('data-theme', 'dark');
- } else {
- document.documentElement.classList.remove('dark');
- document.documentElement.setAttribute('data-theme', 'light');
- }
- localStorage.setItem('libreget_docs_theme', target);
- localStorage.setItem('theme', target);
- updateThemeIcons(target);
- }
-
- function toggleMobileSidebar() {
- const sidebar = document.querySelector('.docs-sidebar');
- const backdrop = document.getElementById('mobileSidebarBackdrop');
- if (sidebar) sidebar.classList.toggle('open');
- if (backdrop) backdrop.classList.toggle('open');
- }
-
- function closeMobileSidebar() {
- const sidebar = document.querySelector('.docs-sidebar');
- const backdrop = document.getElementById('mobileSidebarBackdrop');
- if (sidebar) sidebar.classList.remove('open');
- if (backdrop) backdrop.classList.remove('open');
- }
-
- document.addEventListener('DOMContentLoaded', () => {
- const isDark = document.documentElement.classList.contains('dark') ||
- document.documentElement.getAttribute('data-theme') === 'dark';
- updateThemeIcons(isDark ? 'dark' : 'light');
-
- if (location.protocol === 'file:') {
- document.querySelectorAll('a[href]').forEach(a => {
- let h = a.getAttribute('href');
- if (h && h.endsWith('/') && !h.startsWith('http') && !h.startsWith('#')) {
- a.setAttribute('href', h + 'index.html');
- }
- });
- document.querySelectorAll('.search-result-item[onclick]').forEach(item => {
- let oc = item.getAttribute('onclick');
- if (oc && oc.includes("location.href='")) {
- item.setAttribute('onclick', oc.replace("/'", "/index.html'"));
- }
- });
- }
-
- document.querySelectorAll('.sidebar-link').forEach(link => {
- link.addEventListener('click', closeMobileSidebar);
- });
- });
-
- function switchCodeTab(btn, tabId) {
- const container = btn.closest('.code-container');
- if (!container) return;
- container.querySelectorAll('.code-tab-btn').forEach(b => b.classList.remove('active'));
- btn.classList.add('active');
- container.querySelectorAll('.code-body pre').forEach(pre => {
- pre.style.display = (pre.id === tabId) ? 'block' : 'none';
- });
- }
-
- function copyCodeSnippet(btn) {
- const container = btn.closest('.code-container');
- if (!container) return;
- const pres = Array.from(container.querySelectorAll('.code-body pre'));
- const activePre = pres.find(p => window.getComputedStyle(p).display !== 'none') || pres[0];
- if (!activePre) return;
-
- const code = activePre.querySelector('code');
- const text = (code ? code.innerText : activePre.innerText).trim();
- const span = btn.querySelector('span');
- const origText = span ? span.textContent : 'Copy';
- const origSvg = btn.querySelector('svg') ? btn.querySelector('svg').outerHTML : '';
- const checkSvg = '<svg class="icon icon-sm" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>';
-
- const showSuccess = () => {
- if (span) span.textContent = 'Copied!';
- btn.classList.add('copied');
- const curSvg = btn.querySelector('svg');
- if (curSvg) curSvg.outerHTML = checkSvg;
- setTimeout(() => {
- if (span) span.textContent = origText;
- btn.classList.remove('copied');
- const nowSvg = btn.querySelector('svg');
- if (nowSvg && origSvg) nowSvg.outerHTML = origSvg;
- }, 2000);
- };
-
- const execCopy = () => {
- try {
- const ta = document.createElement('textarea');
- ta.value = text;
- ta.style.top = '0';
- ta.style.left = '0';
- ta.style.position = 'fixed';
- ta.style.width = '2em';
- ta.style.height = '2em';
- ta.style.padding = '0';
- ta.style.border = 'none';
- ta.style.outline = 'none';
- ta.style.boxShadow = 'none';
- ta.style.background = 'transparent';
- ta.setAttribute('readonly', '');
- document.body.appendChild(ta);
- ta.focus();
- ta.select();
- ta.setSelectionRange(0, ta.value.length);
- const ok = document.execCommand('copy');
- document.body.removeChild(ta);
- return ok;
- } catch (e) {
- return false;
- }
- };
-
- if (location.protocol === 'file:') {
- execCopy();
- showSuccess();
- } else if (navigator.clipboard && window.isSecureContext) {
- navigator.clipboard.writeText(text)
- .then(showSuccess)
- .catch(() => {
- execCopy();
- showSuccess();
- });
- } else {
- execCopy();
- showSuccess();
- }
- }
-
- function openSearchModal() {
- const modal = document.getElementById('searchBackdrop');
- if (modal) {
- modal.classList.add('open');
- setTimeout(() => {
- const inp = document.getElementById('searchInput');
- if (inp) inp.focus();
- }, 50);
- }
- }
-
- function closeSearchModal(e) {
- const modal = document.getElementById('searchBackdrop');
- if (modal) modal.classList.remove('open');
- }
-
- document.addEventListener('keydown', (e) => {
- if ((e.ctrlKey || e.metaKey) && e.key.toLowerCase() === 'k') {
- e.preventDefault();
- openSearchModal();
- }
- if (e.key === 'Escape') {
- closeSearchModal();
- }
- });
-
- const sInput = document.getElementById('searchInput');
- if (sInput) {
- sInput.addEventListener('input', (e) => {
- const q = e.target.value.toLowerCase();
- document.querySelectorAll('#searchResults .search-result-item').forEach(item => {
- const t = item.textContent.toLowerCase();
- item.style.display = t.includes(q) ? 'flex' : 'none';
- });
- });
- }
-
-
- // TOC scrollspy: highlight the section currently in view (vercel.com/docs behavior).
- (function () {
- const links = document.querySelectorAll('.toc-list .toc-link');
- if (!links.length) return;
- const targets = [];
- links.forEach(l => {
- const href = l.getAttribute('href') || '';
- if (!href.startsWith('#')) return;
- const el = document.getElementById(href.slice(1));
- if (el) targets.push([el, l]);
- });
- if (!targets.length) return;
- const setActive = link => links.forEach(x => x.classList.toggle('active', x === link));
- const obs = new IntersectionObserver(entries => {
- const visible = entries.filter(e => e.isIntersecting);
- if (!visible.length) return;
- const hit = targets.find(([el]) => el === visible[visible.length - 1].target);
- if (hit) setActive(hit[1]);
- }, { rootMargin: '-108px 0px -70% 0px' });
- targets.forEach(([el]) => obs.observe(el));
- })();
- </script>
-</body>
-</html>
diff --git a/favicon.ico b/favicon.ico
deleted file mode 100644
index 7f509bf6..00000000
Binary files a/favicon.ico and /dev/null differ
diff --git a/index.html b/index.html
deleted file mode 100644
index 8e1ee548..00000000
--- a/index.html
+++ /dev/null
@@ -1,1522 +0,0 @@
-<!DOCTYPE html>
-<html lang="en" data-theme="light">
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="width=device-width, initial-scale=1" />
-<title>LibreGet — grab a link, get the file</title>
-<meta name="description" content="LibreGet downloads courses, video, audio, images and torrents from 1,800+ sites, then transcribes, converts, reads and studies what you saved. Free, open source, no account." />
-<meta name="color-scheme" content="light dark" />
-<meta name="theme-color" content="#F7F8FA" media="(prefers-color-scheme: light)" />
-<meta name="theme-color" content="#0B0C0E" media="(prefers-color-scheme: dark)" />
-<link rel="icon" type="image/png" href="static/favicon.png" />
-
-<!-- Set the theme before first paint so there is no flash of the wrong one. -->
-<script>
- (function () {
- try {
- var saved = localStorage.getItem('libreget-theme') || localStorage.getItem('libreget_docs_theme') || localStorage.getItem('theme');
- var dark = (saved === 'dark' || saved === 'light') ? saved === 'dark' : matchMedia('(prefers-color-scheme: dark)').matches;
- document.documentElement.setAttribute('data-theme', dark ? 'dark' : 'light');
- if (dark) document.documentElement.classList.add('dark');
- } catch (e) {}
- })();
-</script>
-
-<link rel="preconnect" href="https://fonts.googleapis.com" />
-<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
-<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@500&display=swap" />
-
-<style>
-/* ============================================================
- Tokens
- ============================================================ */
-:root {
- color-scheme: light;
-
- --brand: #FF7D38;
- --brand-hover: #F06A1D;
- --brand-press: #DE5C12;
- --on-brand: #0F172A;
- --link: #0369A1;
- --emerald: #059669;
- --violet: #7C3AED;
-
- --bg: #F7F8FA;
- --surface: #FFFFFF;
- --hover: rgba(15, 23, 42, .05);
- --fg: #0F172A;
- --body: #334155;
- --dim: #4B5668;
- --line: #E2E8F0;
- --line-strong: #CBD5E1;
- --nav: rgba(247, 248, 250, .78);
- --glass: rgba(255, 255, 255, .50);
- --tile: rgba(255, 255, 255, .74);
- --field: rgba(15, 23, 42, .055);
- --c-orange: rgba(244, 124, 48, .66);
- --c-deep: rgba(232, 90, 28, .58);
- --c-yellow: rgba(234, 190, 92, .55);
- --c-pink: rgba(232, 168, 196, .68);
- --c-mint: rgba(150, 210, 205, .68);
- --c-sage: rgba(110, 176, 150, .66);
- --grain: .20;
-
- --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 10px 28px -14px rgba(15, 23, 42, .16);
- --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
-
- --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
- --display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
- --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
-
- --r-sm: 8px;
- --r-md: 14px;
- --r-full: 9999px;
-}
-
-:root[data-theme="dark"] {
- color-scheme: dark;
-
- --link: #38BDF8;
- --emerald: #34D399;
- --violet: #A78BFA;
-
- --bg: #0B0C0E;
- --surface: #131418;
- --hover: rgba(255, 255, 255, .07);
- --fg: #F4F4F5;
- --body: #A1A1AA;
- --dim: #8B8B95;
- --line: rgba(255, 255, 255, .10);
- --line-strong: rgba(255, 255, 255, .20);
- --nav: rgba(11, 12, 14, .72);
- --glass: rgba(19, 20, 24, .50);
- --tile: rgba(255, 255, 255, .06);
- --field: rgba(255, 255, 255, .08);
- --c-orange: rgba(244, 124, 48, .46);
- --c-deep: rgba(232, 90, 28, .40);
- --c-yellow: rgba(234, 190, 92, .26);
- --c-pink: rgba(232, 168, 196, .26);
- --c-mint: rgba(150, 210, 205, .22);
- --c-sage: rgba(110, 176, 150, .32);
- --grain: .30;
-
- --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 28px -14px rgba(0, 0, 0, .7);
- --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
-}
-
-/* ============================================================
- Base
- ============================================================ */
-*, ::before, ::after { box-sizing: border-box; border: 0 solid; margin: 0; padding: 0; }
-
-html {
- background: var(--bg);
- color: var(--fg);
- font-family: var(--sans);
- font-size: 16px;
- line-height: 1.6;
- -webkit-font-smoothing: antialiased;
- -webkit-text-size-adjust: 100%;
- scroll-behavior: smooth;
- scroll-padding-top: 88px;
- interpolate-size: allow-keywords;
-}
-
-body { background: transparent; min-height: 100vh; overflow-x: clip; }
-
-/* Soft blurred colour fields with film grain, fixed behind the page. */
-body::before {
- content: ""; position: fixed; inset: -12%; z-index: -2; pointer-events: none;
- background:
- radial-gradient(34% 30% at 50% 78%, var(--c-orange), transparent 72%),
- radial-gradient(22% 26% at 56% 96%, var(--c-deep), transparent 72%),
- radial-gradient(26% 22% at 64% 24%, var(--c-yellow), transparent 72%),
- radial-gradient(18% 34% at 22% 28%, var(--c-pink), transparent 72%),
- radial-gradient(18% 26% at 34% 14%, var(--c-mint), transparent 72%),
- radial-gradient(20% 30% at 86% 58%, var(--c-pink), transparent 72%),
- radial-gradient(28% 34% at 2% 88%, var(--c-sage), transparent 72%),
- radial-gradient(26% 34% at 98% 16%, var(--c-sage), transparent 72%);
- filter: blur(70px);
- transform: translateZ(0);
-}
-body::after {
- content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
- opacity: var(--grain);
- background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
- background-size: 240px 240px;
-}
-
-h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
-h1 { font-size: 56px; letter-spacing: -.03em; }
-h2 { font-size: 38px; }
-h3 { font-size: 18px; letter-spacing: -.01em; }
-p { text-wrap: pretty; }
-
-a { color: inherit; text-decoration: none; }
-img { max-width: 100%; display: block; }
-code { font-family: inherit; }
-
-:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
-
-.sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
-
-.skip {
- position: absolute; left: 16px; top: -48px; z-index: 200;
- background: var(--fg); color: var(--bg); padding: 10px 16px;
- border-radius: var(--r-sm); font-size: 14px; font-weight: 600;
-}
-.skip:focus { top: 12px; }
-
-.ic { width: 20px; height: 20px; flex-shrink: 0; }
-
-.wrap { width: 100%; max-width: 1168px; margin-inline: auto; padding-inline: 24px; }
-.narrow { max-width: 46rem; }
-
-.sec { padding-block: 88px; }
-.sec-lg { padding-block: 128px; }
-.sec-sm { padding-block: 64px; }
-.bleed {
- border-block: 1px solid var(--line); background: var(--glass);
- -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
-}
-.bleed + .bleed { border-top: 0; }
-
-.lead { font-size: 18px; color: var(--body); line-height: 1.62; }
-.muted { color: var(--body); }
-.dim { color: var(--dim); }
-.small { font-size: 14px; }
-.mono { font-family: var(--mono); }
-.wall-line {
- max-width: 52rem; margin: 0 auto 30px; text-align: center;
- font-size: 15.5px; line-height: 1.6; color: var(--body);
-}
-
-a.ul { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
-a.ul:hover { text-decoration-thickness: 2px; }
-
-/* ============================================================
- Buttons
- ============================================================ */
-.btn {
- display: inline-flex; align-items: center; justify-content: center; gap: 8px;
- height: 36px; min-height: 36px; padding: 8px 16px; border-radius: 8px;
- font-family: var(--sans); font-size: 14px; font-weight: 500; line-height: 1.3;
- cursor: pointer; white-space: nowrap;
- transition: background-color .15s, border-color .15s, color .15s;
-}
-.btn svg, .btn .ic, .btn .si { width: 16px; height: 16px; flex-shrink: 0; }
-.btn-sm { height: 36px; min-height: 36px; padding: 0 16px; font-size: 14px; border-radius: 8px; }
-
-.btn-brand { background: var(--brand); color: var(--on-brand); border: 1px solid transparent; }
-.btn-brand:hover { background: var(--brand-hover); }
-.btn-brand:active { background: var(--brand-press); }
-
-.btn-secondary { background: transparent; border: 1px solid transparent; color: var(--fg); border-radius: 8px; }
-.btn-secondary:hover { background: var(--hover); }
-
-.btn-ghost { border: 1px solid var(--line-strong); color: var(--fg); background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 8px; }
-.btn-ghost:hover { background: var(--hover); }
-
-/* ============================================================
- Nav
- ============================================================ */
-.nav {
- position: sticky; top: 0; z-index: 100;
- background: var(--nav);
- border-bottom: 1px solid var(--line);
- -webkit-backdrop-filter: blur(20px) saturate(150%);
- backdrop-filter: blur(20px) saturate(150%);
- transition: box-shadow .2s;
-}
-.nav.scrolled { box-shadow: 0 6px 18px -12px rgba(0, 0, 0, .25); }
-
-.nav-in {
- display: grid;
- grid-template-columns: 1fr auto 1fr;
- align-items: center;
- height: 64px;
-}
-
-.brand {
- display: flex; align-items: center; gap: 9px;
- font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -.02em;
- justify-self: start;
-}
-.brand img { width: 26px; height: 26px; border-radius: 7px; }
-
-.nav-links {
- display: flex; align-items: center; justify-content: center; gap: 4px;
- margin-inline: auto;
-}
-.nav-links a {
- font-size: 14.5px; font-weight: 500; color: var(--body);
- padding: 8px 12px; border-radius: var(--r-sm);
- transition: color .15s, background-color .15s;
-}
-.nav-links a:hover { color: var(--fg); background: var(--hover); }
-
-.nav-act {
- display: flex; align-items: center; gap: 8px;
- justify-self: end; margin-left: auto;
-}
-
-.nav-gh {
- display: inline-flex; align-items: center; gap: 7px;
- height: 36px; min-height: 36px; padding: 0 12px; border-radius: var(--r-sm);
- border: 1px solid var(--line); background: transparent; color: var(--fg);
- font-family: var(--sans); font-size: 13.5px; font-weight: 500; text-decoration: none;
- transition: background-color .15s, border-color .15s, color .15s;
-}
-.nav-gh:hover { background: var(--hover); border-color: var(--line-strong); }
-.nav-gh .si { width: 16px; height: 16px; flex-shrink: 0; }
-.nav-gh-count {
- display: inline-flex; align-items: center;
- font-size: 12px; font-weight: 600; color: var(--body);
- background: var(--hover); padding: 1px 6px; border-radius: 5px;
-}
-
-.themebtn {
- width: 36px; height: 36px; border-radius: var(--r-sm);
- display: inline-flex; align-items: center; justify-content: center;
- background: transparent; color: var(--body); cursor: pointer;
- border: 1px solid var(--line); padding: 0;
- transition: color .15s, background-color .15s, border-color .15s;
-}
-.themebtn:hover { color: var(--fg); border-color: var(--line-strong); background: var(--hover); }
-.themebtn .t-sun, .themebtn .t-moon {
- display: none; align-items: center; justify-content: center; width: 100%; height: 100%; line-height: 0;
-}
-.themebtn .t-moon { display: flex; }
-:root[data-theme="dark"] .themebtn .t-sun,
-html[data-theme="dark"] .themebtn .t-sun { display: flex; }
-:root[data-theme="dark"] .themebtn .t-moon,
-html[data-theme="dark"] .themebtn .t-moon { display: none; }
-
-.mnav { display: none; position: relative; }
-.mnav > summary {
- list-style: none; width: 38px; height: 38px; border-radius: var(--r-sm);
- display: grid; place-items: center; color: var(--fg); cursor: pointer;
-}
-.mnav > summary::-webkit-details-marker { display: none; }
-.mnav > summary:hover, .mnav[open] > summary { background: var(--hover); }
-.mnav-panel {
- position: absolute; right: 0; top: 46px; width: 232px;
- background: var(--surface); border: 1px solid var(--line);
- border-radius: var(--r-md); box-shadow: var(--shadow);
- padding: 8px; display: flex; flex-direction: column; gap: 2px;
-}
-.mnav-panel a { padding: 10px 12px; border-radius: var(--r-sm); font-size: 15px; font-weight: 500; color: var(--fg); }
-.mnav-panel a:hover { background: var(--hover); }
-.mnav-panel a:last-child { margin-top: 6px; background: var(--brand); color: var(--on-brand); font-weight: 600; text-align: center; }
-.mnav-panel a:last-child:hover { background: var(--brand-hover); }
-
-@media (max-width: 900px) {
- .nav-in { display: flex; align-items: center; justify-content: space-between; }
- .nav-links { display: none; }
- .mnav { display: block; }
- .nav-act .nav-gh { display: none; }
- .nav-act .btn { display: none; }
-}
-
-/* ============================================================
- Hero with theme-swapped banner
- ============================================================ */
-.hero {
- position: relative;
- overflow: hidden;
- padding-block: 76px 88px;
- background-color: var(--bg);
- background-image: url('assets/libreget-banner-light.png');
- background-repeat: no-repeat;
- background-position: center;
- background-size: cover;
-}
-:root[data-theme="dark"] .hero,
-html[data-theme="dark"] .hero {
- background-image: url('assets/libreget-banner-dark.png');
-}
-.hero-grid {
- display: grid;
- grid-template-columns: minmax(0, 1fr);
- position: relative;
- z-index: 2;
-}
-.herocopy {
- max-width: 620px;
- text-align: left;
-}
-.hero h1 { margin-bottom: 18px; }
-.hero .lead {
- font-size: 16px;
- line-height: 1.65;
- margin-bottom: 26px;
- max-width: 33rem;
- color: var(--body);
-}
-.hero-cta {
- display: flex;
- flex-wrap: wrap;
- gap: 12px;
- justify-content: flex-start;
- margin-top: 24px;
-}
-.stats {
- display: flex;
- gap: 24px;
- flex-wrap: wrap;
- justify-content: flex-start;
- margin-top: 32px;
-}
-.stat {
- display: inline-flex;
- align-items: baseline;
- gap: 6px;
- white-space: nowrap;
-}
-.stat b {
- font-size: 22px;
- font-weight: 600;
- color: var(--fg);
-}
-.stat span {
- font-size: 13.5px;
- color: var(--dim);
-}
-@media (max-width: 900px) {
- h1 { font-size: 40px; }
- h2 { font-size: 28px; }
- .hero { background-position: 18% center; padding-block: 48px 56px; }
- .stats { gap: 12px 20px; }
-}
-
-/* Screenshot frame */
-.shot { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
-.shot img { width: 100%; height: auto; }
-.shot figcaption { padding: 10px 14px; font-size: 12.5px; color: var(--dim); border-top: 1px solid var(--line); }
-.shot-sm { max-width: 520px; width: 100%; margin-inline: auto; }
-.shot-wide { max-width: 900px; width: 100%; margin: 32px auto; }
-
-/* Thumbnail strips. Each opens the full image in a new tab. */
-.shots { display: grid; gap: 16px; margin-top: 34px; }
-.shots.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
-.shots.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
-@media (max-width: 700px) { .shots.c2, .shots.c3 { grid-template-columns: 1fr; } }
-
-.shots a {
- display: flex; flex-direction: column;
- border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--surface);
- transition: border-color .25s var(--ease);
-}
-.shots a:hover { border-color: var(--dim); }
-.shots img {
- display: block; width: 100%; height: auto;
- aspect-ratio: 16 / 10; object-fit: cover; object-position: top center;
-}
-/* Keep the source ratio when every image in the strip shares one. */
-.shots.nat img { aspect-ratio: auto; object-fit: fill; }
-.shots b {
- display: block; flex: 1; padding: 10px 13px; border-top: 1px solid var(--line);
- font-size: 12.5px; font-weight: 500; color: var(--dim);
-}
-
-/* ============================================================
- Platform wall
- ============================================================ */
-.platforms { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 18px 24px; }
-.pl { display: flex; align-items: center; gap: 10px; color: var(--body); }
-.pl .ic { width: 19px; height: 19px; }
-.pl-n { font-size: 14.5px; font-weight: 500; }
-
-/* ============================================================
- How it works
- ============================================================ */
-.steps {
- counter-reset: step; list-style: none;
- display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0 0; padding: 0;
-}
-.steps li {
- display: block; padding: 16px 0 0; border-top: 1px solid var(--line-strong);
-}
-.steps li::before {
- counter-increment: step; content: counter(step, decimal-leading-zero);
- display: block; margin-bottom: 10px;
- font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--brand-hover);
-}
-.steps b { display: block; font-size: 16px; font-weight: 600; color: var(--fg); }
-.steps span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.5; color: var(--body); }
-@media (max-width: 880px) { .steps { grid-template-columns: 1fr; gap: 12px; } }
-
-/* ============================================================
- Queue and settings
- ============================================================ */
-.panel-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
-@media (max-width: 1000px) { .panel-grid { grid-template-columns: 1fr; gap: 36px; } }
-
-.ticks { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
-.tick { display: flex; gap: 12px; align-items: flex-start; }
-.tick .ic { margin-top: 3px; color: var(--brand); }
-.tick b { color: var(--fg); font-weight: 600; }
-.tick span { color: var(--body); font-size: 15px; }
-
-.formats { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 28px; }
-.format {
- display: inline-flex; align-items: center; gap: 9px;
- font-family: var(--mono); font-size: 12.5px; color: var(--body);
-}
-.format .ic { width: 15px; height: 15px; color: var(--brand); }
-
-/* ============================================================
- Tools
- ============================================================ */
-.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
-@media (max-width: 1000px) { .split { grid-template-columns: 1fr; gap: 36px; } }
-
-/* Column-major flow over a fixed 8-row grid keeps each column in descending order. */
-.cats { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(8, auto); grid-auto-flow: column; gap: 0 30px; margin: 18px 0 22px; }
-@media (max-width: 900px) {
- .cats { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(12, auto); }
-}
-@media (max-width: 560px) { .cats { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; } }
-.cat {
- display: flex; align-items: center; gap: 9px; min-width: 0;
- padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--body);
-}
-.cat .ic { width: 15px; height: 15px; color: var(--dim); }
-.cat b { font-weight: 500; color: var(--fg); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
-.cat i { font-family: var(--mono); font-style: normal; font-size: 12px; color: var(--dim); }
-
-/* ============================================================
- Plugins
- ============================================================ */
-.plugins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 40px; }
-@media (max-width: 860px) { .plugins { grid-template-columns: 1fr; } }
-.plugin { padding-top: 20px; border-top: 1px solid var(--line-strong); }
-.plugin .ic { color: var(--violet); width: 22px; height: 22px; margin-bottom: 12px; }
-.plugin h3 { margin-bottom: 6px; }
-.plugin p { font-size: 14.5px; color: var(--body); }
-
-/* ============================================================
- Privacy
- ============================================================ */
-.priv-list { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
-.priv-list div { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--body); }
-.priv-list .ic { margin-top: 3px; color: var(--emerald); }
-.refuse { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-strong); }
-.refuse h3 { font-size: 15px; margin-bottom: 10px; }
-.refuse ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
-.refuse li { display: flex; gap: 10px; font-size: 14.5px; color: var(--body); }
-.refuse li .ic { margin-top: 4px; color: var(--dim); }
-
-/* ============================================================
- OS matrix
- ============================================================ */
-.display { font-size: 44px; letter-spacing: -.03em; }
-#os { padding-block: 96px; }
-.sec-head { text-align: center; }
-.sec-head .lead { max-width: 32rem; margin: 12px auto 40px; font-size: 16px; text-wrap: balance; }
-
-.os-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 960px; margin-inline: auto; }
-@media (max-width: 900px) { .os-grid { grid-template-columns: 1fr; gap: 16px; } }
-
-/* Large flat tiles: icon, name, note, button, command. */
-.os-card {
- display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0;
- padding: 30px 22px 22px; border-radius: 24px; background: var(--tile);
-}
-.os-action { display: contents; }
-.os-head { order: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 10px; }
-.os-head .ic { width: 32px; height: 32px; color: var(--fg); }
-.os-head h3 { font-size: 18px; letter-spacing: -.02em; }
-.os-note { order: 1; max-width: 16rem; margin-bottom: 18px; font-size: 13px; color: var(--body); line-height: 1.5; text-wrap: balance; }
-.os-card .btn { order: 2; width: auto; min-width: 176px; min-height: 40px; padding: 8px 18px; font-size: 14px; margin-bottom: 22px; }
-.cmd { order: 3; margin-top: auto; }
-
-/* Rows (name, note, button, command) line up across all three tiles. */
-@supports (grid-template-rows: subgrid) {
- @media (min-width: 901px) {
- .os-grid { row-gap: 0; }
- .os-card { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 0; justify-items: center; }
- .os-card .cmd { margin-top: 0; align-self: stretch; }
- }
-}
-@supports not (grid-template-rows: subgrid) {
- .os-note { min-height: 3em; }
-}
-
-.cmd {
- display: flex; align-items: center; gap: 6px; width: 100%; min-width: 0;
- padding: 4px 4px 4px 14px; border-radius: 10px; background: var(--field);
- font-family: var(--mono); font-size: 11.5px; line-height: 1.5; color: var(--body); text-align: left;
-}
-.cmd code { flex: 1; min-width: 0; padding-block: 4px; white-space: normal; overflow-wrap: anywhere; }
-.copy {
- flex: none; width: 30px; height: 30px; border-radius: 8px; background: transparent;
- display: grid; place-items: center; color: var(--dim); cursor: pointer;
- transition: color .15s, background-color .15s;
-}
-.copy:hover { color: var(--fg); background: var(--hover); }
-.copy .ic { width: 16px; height: 16px; }
-.copy .i-done { display: none; color: var(--emerald); }
-.copy.done .i-done { display: block; }
-.copy.done .i-copy { display: none; }
-
-.more { margin-top: 26px; text-align: center; font-size: 15px; }
-.more a { color: var(--link); }
-.more a:hover { text-decoration: underline; text-underline-offset: 3px; }
-
-/* ============================================================
- FAQ
- ============================================================ */
-.faq { border-top: 1px solid var(--line); }
-.faq details { border-bottom: 1px solid var(--line); }
-.faq summary {
- cursor: pointer; padding: 20px 40px 20px 0; position: relative;
- font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -.01em;
- list-style: none;
-}
-.faq summary::-webkit-details-marker { display: none; }
-.faq summary::after {
- content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
- font-family: var(--mono); font-weight: 500; color: var(--dim); font-size: 20px; line-height: 1;
- transition: transform .35s var(--ease), color .2s;
-}
-.faq summary:hover::after { color: var(--fg); }
-.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--fg); }
-@supports (interpolate-size: allow-keywords) {
- .faq details::details-content {
- block-size: 0; overflow: hidden;
- transition: block-size .35s var(--ease), content-visibility .35s allow-discrete;
- }
- .faq details[open]::details-content { block-size: auto; }
-}
-.faq .a { padding: 0 40px 22px 0; color: var(--body); font-size: 15px; }
-.faq .a p + p { margin-top: 10px; }
-
-/* ============================================================
- Contributor marquee
- ============================================================ */
-.marquee {
- display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; overflow: hidden; margin-top: 36px;
- -webkit-mask-image: linear-gradient(90deg, transparent, #000 8% 92%, transparent);
- mask-image: linear-gradient(90deg, transparent, #000 8% 92%, transparent);
-}
-.mq-row { display: flex; gap: 16px; width: max-content; padding-block: 6px; animation: mq 54s linear infinite; }
-.mq-row.rev { animation-direction: reverse; }
-.marquee:hover .mq-row, .marquee:focus-within .mq-row { animation-play-state: paused; }
-.mq-dup { display: contents; }
-@keyframes mq { to { transform: translateX(calc(-50% - 8px)); } }
-
-.mq-card {
- display: flex; align-items: center; gap: 12px;
- min-width: 170px; padding: 6px 14px;
- border: 1px solid transparent; border-radius: var(--r-full);
- transition: background-color .15s, border-color .15s;
-}
-.mq-card:hover { background: var(--bg); border-color: var(--line); }
-.mq-avatar {
- position: relative; overflow: hidden; flex-shrink: 0;
- width: 38px; height: 38px; border-radius: var(--r-full);
- background: var(--bg); border: 1px solid var(--line);
- display: grid; place-items: center;
- font-weight: 600; font-size: 13px; color: var(--fg);
-}
-.mq-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--surface); }
-.mq-fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; user-select: none; }
-.mq-card b { display: block; font-size: 14px; font-weight: 600; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
-.mq-card i { display: block; font-style: normal; font-size: 12px; color: var(--body); }
-
-/* ============================================================
- Final CTA + footer
- ============================================================ */
-.cta-final { text-align: center; }
-.cta-final h2 { margin-bottom: 14px; }
-.cta-final .lead { max-width: 34rem; margin-inline: auto; margin-bottom: 26px; }
-.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
-
-footer {
- border-top: 1px solid var(--line); background: var(--glass);
- -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
-}
-.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-block: 56px 40px; }
-@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
-@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
-.foot-grid h3 { font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
-.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
-.foot-grid li a { font-size: 14.5px; color: var(--body); display: inline-block; padding: 4px 0; }
-.foot-grid li a:hover { color: var(--fg); }
-.foot-brand p { font-size: 14.5px; color: var(--body); max-width: 26rem; margin-top: 14px; }
-.foot-bottom {
- border-top: 1px solid var(--line); padding-block: 22px 40px;
- display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
- font-size: 13px; color: var(--dim);
-}
-.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
-.foot-links a { color: var(--dim); display: inline-block; padding: 4px 0; }
-.foot-links a:hover { color: var(--fg); }
-
-/* ============================================================
- Motion
- ============================================================ */
-:root { --ease: cubic-bezier(.22, 1, .36, 1); }
-
-@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
-@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
-@keyframes menu { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
-
-/* Hero entrance: CSS only, so it plays even if scripts fail. */
-.hero h1, .hero .lead, .hero-cta, .hero .stats { animation: rise .9s var(--ease) both; }
-.hero .lead { animation-delay: .08s; }
-.hero-cta { animation-delay: .16s; }
-.hero .stats { animation-delay: .24s; }
-.nav { animation: fade .6s var(--ease) both; }
-.mnav[open] .mnav-panel { animation: menu .2s var(--ease) both; }
-
-/* Scroll reveal. Only elements the script tags are ever hidden. */
-.rv { opacity: 0; transform: translateY(20px); }
-.rv.in { opacity: 1; transform: none; }
-/* Doubled class so it outranks component transitions such as .shots a. */
-.rv.rv {
- transition: opacity .8s var(--ease), transform .8s var(--ease), border-color .25s var(--ease);
- transition-delay: var(--d, 0ms), var(--d, 0ms), 0ms;
-}
-
-/* Theme switch cross-fade (View Transitions where supported). */
-::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; animation-timing-function: ease; }
-
-@media print { .rv { opacity: 1; transform: none; } }
-
-/* ============================================================
- Small screens
- ============================================================ */
-@media (max-width: 700px) {
- body::before { filter: blur(44px); }
- .sec { padding-block: 64px; }
- .sec-lg { padding-block: 80px; }
- .sec-sm { padding-block: 48px; }
- .hero { padding-block: 48px 56px; }
-}
-
-@media (prefers-reduced-motion: reduce) {
- html { scroll-behavior: auto; }
- *, ::before, ::after { transition-duration: .001ms !important; }
- .hero h1, .hero .lead, .hero-cta, .hero .stats, .nav, .mnav[open] .mnav-panel { animation: none; }
- .rv { opacity: 1; transform: none; }
- ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
- /* Frozen marquee: show every card, wrapped, instead of clipping the row. */
- .mq-row { animation: none; width: auto; flex-wrap: wrap; justify-content: center; padding-inline: 24px; }
- .mq-dup { display: none; }
- .marquee { -webkit-mask-image: none; mask-image: none; }
-}
-</style>
-</head>
-
-<body id="top">
-<a class="skip" href="#main">Skip to content</a>
-
-<header class="nav" id="nav">
- <div class="wrap nav-in">
- <a class="brand" href="./">
- <img src="static/favicon.png" alt="" width="26" height="26" />
- <span>LibreGet</span>
- </a>
-
- <nav class="nav-links" aria-label="Main">
- <a href="./docs/changelog/">Changelog</a>
- <a href="./docs/">Docs</a>
- <a href="./docs/installation/">Installation</a>
- <a href="./docs/troubleshooting/">FAQ</a>
- </nav>
-
- <div class="nav-act">
- <a class="nav-gh" href="https://github.com/OpenSelena/libreget" target="_blank" rel="noopener noreferrer">
- <svg class="si" viewBox="0 0 24 24" aria-hidden="true" focusable="false" 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-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>
- <span>Star</span>
- <span class="nav-gh-count" id="ghStarCount">287</span>
- </a>
- <button class="themebtn" id="themeToggleBtn" onclick="toggleTheme()" aria-pressed="false" title="Switch to dark theme" aria-label="Switch between light and dark theme">
- <span class="t-sun"><!-- @license lucide-static v1.52.0 - ISC --> <svg class="ic" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"> <circle cx="12" cy="12" r="4" /> <path d="M12 2v2" /> <path d="M12 20v2" /> <path d="m4.93 4.93 1.41 1.41" /> <path d="m17.66 17.66 1.41 1.41" /> <path d="M2 12h2" /> <path d="M20 12h2" /> <path d="m6.34 17.66-1.41 1.41" /> <path d="m19.07 4.93-1.41 1.41" /> </svg></span>
- <span class="t-moon"><!-- @license lucide-static v1.52.0 - ISC --> <svg class="ic" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"> <path d="M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401" /> </svg></span>
- </button>
-
- <a class="btn btn-brand btn-sm" href="https://github.com/OpenSelena/libreget/releases/latest">Download</a>
-
- <details class="mnav" id="mnav">
- <summary aria-label="Open menu"><!-- @license lucide-static v1.52.0 - ISC --> <svg class="ic" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"> <path d="M3 5h.01" /> <path d="M3 12h.01" /> <path d="M3 19h.01" /> <path d="M8 5h13" /> <path d="M8 12h13" /> <path d="M8 19h13" /> </svg></summary>
- <div class="mnav-panel">
- <a href="./docs/changelog/">Changelog</a>
- <a href="./docs/">Docs</a>
- <a href="./docs/installation/">Installation</a>
- <a href="./docs/troubleshooting/">FAQ</a>
- <a href="https://github.com/OpenSelena/libreget/releases/latest">Download</a>
- </div>
- </details>
- </div>
- </div>
-</header>
-
-<main id="main">
-
-<!-- ── Hero ─────────────────────────────────────────────────── -->
-<section class="hero" id="hero">
- <div class="wrap hero-grid">
- <div class="herocopy">
- <h1>Paste the link,<br />get the file.</h1>
- <p class="lead">
- Download courses, video, audio, images and torrents from 1,800+ sites.
- Then play, read and convert them.
- </p>
-
- <div class="hero-cta" id="dlSplit">
- <a class="btn btn-brand" id="dlMenuPanel" href="https://github.com/OpenSelena/libreget/releases/latest">
- <svg class="si" viewBox="0 0 24 24" aria-hidden="true" focusable="false" 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>
- <span>Download</span>
- </a>
- <a class="btn btn-secondary" href="https://github.com/OpenSelena/libreget">
- <svg class="si" viewBox="0 0 24 24" aria-hidden="true" focusable="false" 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-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>
- <span>GitHub</span>
- </a>
- </div>
-
- <div class="stats">
- <div class="stat"><b><span class="count" data-to="1800" data-suffix="+">1,800+</span></b><span>sites</span></div>
- <div class="stat"><b><span class="count" data-to="158">158</span></b><span>tools</span></div>
- <div class="stat"><b><span class="count" data-to="25">25</span></b><span>categories</span></div>
- <div class="stat"><b><span class="count" data-to="38">38</span></b><span>course sites</span></div>
- </div>
- </div>
- </div>
-</section>
-
-<!-- ── Platforms ────────────────────────────────────────────── -->
-<section class="sec-sm bleed">
- <div class="wrap">
- <p class="wall-line">
- Downloads courses, Instagram, X, Pinterest, Bilibili, Telegram, torrents, and 1,800+ sites via yt-dlp.
- </p>
- <div class="platforms">
- <span class="pl"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/></svg><span class="pl-n">YouTube</span></span>
- <span class="pl"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077"/></svg><span class="pl-n">Instagram</span></span>
- <span class="pl"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"/></svg><span class="pl-n">TikTok</span></span>
- <span class="pl"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z"/></svg><span class="pl-n">X</span></span>
- <span class="pl"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M12 0C5.373 0 0 5.373 0 12c0 3.314 1.343 6.314 3.515 8.485l-2.286 2.286C.775 23.225 1.097 24 1.738 24H12c6.627 0 12-5.373 12-12S18.627 0 12 0Zm4.388 3.199c1.104 0 1.999.895 1.999 1.999 0 1.105-.895 2-1.999 2-.946 0-1.739-.657-1.947-1.539v.002c-1.147.162-2.032 1.15-2.032 2.341v.007c1.776.067 3.4.567 4.686 1.363.473-.363 1.064-.58 1.707-.58 1.547 0 2.802 1.254 2.802 2.802 0 1.117-.655 2.081-1.601 2.531-.088 3.256-3.637 5.876-7.997 5.876-4.361 0-7.905-2.617-7.998-5.87-.954-.447-1.614-1.415-1.614-2.538 0-1.548 1.255-2.802 2.803-2.802.645 0 1.239.218 1.712.585 1.275-.79 2.881-1.291 4.64-1.365v-.01c0-1.663 1.263-3.034 2.88-3.207.188-.911.993-1.595 1.959-1.595Zm-8.085 8.376c-.784 0-1.459.78-1.506 1.797-.047 1.016.64 1.429 1.426 1.429.786 0 1.371-.369 1.418-1.385.047-1.017-.553-1.841-1.338-1.841Zm7.406 0c-.786 0-1.385.824-1.338 1.841.047 1.017.634 1.385 1.418 1.385.785 0 1.473-.413 1.426-1.429-.046-1.017-.721-1.797-1.506-1.797Zm-3.703 4.013c-.974 0-1.907.048-2.77.135-.147.015-.241.168-.183.305.483 1.154 1.622 1.964 2.953 1.964 1.33 0 2.47-.81 2.953-1.964.057-.137-.037-.29-.184-.305-.863-.087-1.795-.135-2.769-.135Z"/></svg><span class="pl-n">Reddit</span></span>
- <span class="pl"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M11.571 4.714h1.715v5.143H11.57zm4.715 0H18v5.143h-1.714zM6 0L1.714 4.286v15.428h5.143V24l4.286-4.286h3.428L22.286 12V0zm14.571 11.143l-3.428 3.428h-3.429l-3 3v-3H6.857V1.714h13.714Z"/></svg><span class="pl-n">Twitch</span></span>
- <span class="pl"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"/></svg><span class="pl-n">Telegram</span></span>
- <span class="pl"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M12.017 0C5.396 0 .029 5.367.029 11.987c0 5.079 3.158 9.417 7.618 11.162-.105-.949-.199-2.403.041-3.439.219-.937 1.406-5.957 1.406-5.957s-.359-.72-.359-1.781c0-1.663.967-2.911 2.168-2.911 1.024 0 1.518.769 1.518 1.688 0 1.029-.653 2.567-.992 3.992-.285 1.193.6 2.165 1.775 2.165 2.128 0 3.768-2.245 3.768-5.487 0-2.861-2.063-4.869-5.008-4.869-3.41 0-5.409 2.562-5.409 5.199 0 1.033.394 2.143.889 2.741.099.12.112.225.085.345-.09.375-.293 1.199-.334 1.363-.053.225-.172.271-.401.165-1.495-.69-2.433-2.878-2.433-4.646 0-3.776 2.748-7.252 7.92-7.252 4.158 0 7.392 2.967 7.392 6.923 0 4.135-2.607 7.462-6.233 7.462-1.214 0-2.354-.629-2.758-1.379l-.749 2.848c-.269 1.045-1.004 2.352-1.498 3.146 1.123.345 2.306.535 3.55.535 6.607 0 11.985-5.365 11.985-11.987C23.97 5.39 18.592.026 11.985.026L12.017 0z"/></svg><span class="pl-n">Pinterest</span></span>
- <span class="pl"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M17.813 4.653h.854c1.51.054 2.769.578 3.773 1.574 1.004.995 1.524 2.249 1.56 3.76v7.36c-.036 1.51-.556 2.769-1.56 3.773s-2.262 1.524-3.773 1.56H5.333c-1.51-.036-2.769-.556-3.773-1.56S.036 18.858 0 17.347v-7.36c.036-1.511.556-2.765 1.56-3.76 1.004-.996 2.262-1.52 3.773-1.574h.774l-1.174-1.12a1.234 1.234 0 0 1-.373-.906c0-.356.124-.658.373-.907l.027-.027c.267-.249.573-.373.92-.373.347 0 .653.124.92.373L9.653 4.44c.071.071.134.142.187.213h4.267a.836.836 0 0 1 .16-.213l2.853-2.747c.267-.249.573-.373.92-.373.347 0 .662.151.929.4.267.249.391.551.391.907 0 .355-.124.657-.373.906zM5.333 7.24c-.746.018-1.373.276-1.88.773-.506.498-.769 1.13-.786 1.894v7.52c.017.764.28 1.395.786 1.893.507.498 1.134.756 1.88.773h13.334c.746-.017 1.373-.275 1.88-.773.506-.498.769-1.129.786-1.893v-7.52c-.017-.765-.28-1.396-.786-1.894-.507-.497-1.134-.755-1.88-.773zM8 11.107c.373 0 .684.124.933.373.25.249.383.569.4.96v1.173c-.017.391-.15.711-.4.96-.249.25-.56.374-.933.374s-.684-.125-.933-.374c-.25-.249-.383-.569-.4-.96V12.44c0-.373.129-.689.386-.947.258-.257.574-.386.947-.386zm8 0c.373 0 .684.124.933.373.25.249.383.569.4.96v1.173c-.017.391-.15.711-.4.96-.249.25-.56.374-.933.374s-.684-.125-.933-.374c-.25-.249-.383-.569-.4-.96V12.44c.017-.391.15-.711.4-.96.249-.249.56-.373.933-.373Z"/></svg><span class="pl-n">Bilibili</span></span>
- <span class="pl"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M5.202 2.857C7.954 4.922 10.913 9.11 12 11.358c1.087-2.247 4.046-6.436 6.798-8.501C20.783 1.366 24 .213 24 3.883c0 .732-.42 6.156-.667 7.037-.856 3.061-3.978 3.842-6.755 3.37 4.854.826 6.089 3.562 3.422 6.299-5.065 5.196-7.28-1.304-7.847-2.97-.104-.305-.152-.448-.153-.327 0-.121-.05.022-.153.327-.568 1.666-2.782 8.166-7.847 2.97-2.667-2.737-1.432-5.473 3.422-6.3-2.777.473-5.899-.308-6.755-3.369C.42 10.04 0 4.615 0 3.883c0-3.67 3.217-2.517 5.202-1.026"/></svg><span class="pl-n">Bluesky</span></span>
- <span class="pl"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M23.9765 6.4168c-.105 2.338-1.739 5.5429-4.894 9.6088-3.2679 4.247-6.0258 6.3699-8.2898 6.3699-1.409 0-2.578-1.294-3.553-3.881l-1.9179-7.1138c-.719-2.584-1.488-3.878-2.312-3.878-.179 0-.806.378-1.8809 1.132l-1.129-1.457a315.06 315.06 0 003.501-3.1279c1.579-1.368 2.765-2.085 3.5539-2.159 1.867-.18 3.016 1.1 3.447 3.838.465 2.953.789 4.789.971 5.5069.5389 2.45 1.1309 3.674 1.7759 3.674.502 0 1.256-.796 2.265-2.385 1.004-1.589 1.54-2.797 1.612-3.628.144-1.371-.395-2.061-1.614-2.061-.574 0-1.167.121-1.777.391 1.186-3.8679 3.434-5.7568 6.7619-5.6368 2.4729.06 3.6279 1.664 3.4929 4.7969z"/></svg><span class="pl-n">Vimeo</span></span>
- <span class="pl"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M12 0L5.81 3.573v3.574l6.189-3.574 6.191 3.574V3.573zM5.81 10.148v8.144c0 1.85.589 3.243 1.741 4.234S10.177 24 11.973 24s3.269-.482 4.448-1.474c1.179-.991 1.768-2.439 1.768-4.314v-8.064h-3.242v7.85c0 2.036-1.509 3.055-2.948 3.055-1.428 0-2.947-.991-2.947-3.027v-7.878z"/></svg><span class="pl-n">Udemy</span></span>
- </div>
- </div>
-</section>
-
-<!-- ── How it works ─────────────────────────────────────────── -->
-<section class="sec bleed" id="how">
- <div class="wrap" style="text-align: center;">
- <h2 style="margin-bottom: 12px; text-align: center;">How it works</h2>
- <p class="lead" style="max-width: 46rem; margin-inline: auto; text-align: center;">
- Paste any supported link. LibreGet detects the source, picks the extractor, and manages the download.
- </p>
-
- <figure class="shot shot-wide">
- <img src="assets/readme/workflow.png" width="2000" height="857"
- alt="Three numbered panels: 1, paste a link into the LibreGet box; 2, LibreGet detects the site and picks the extractor; 3, the file lands in your folder with a player window beside it." />
- </figure>
-
- <ol class="steps" style="text-align: left;">
- <li>
- <div><b>Paste link</b><span>Video, course, post, magnet link, or .torrent file.</span></div>
- </li>
- <li>
- <div><b>Auto-detect</b><span>Routes to native extractors or yt-dlp automatically.</span></div>
- </li>
- <li>
- <div><b>Download &amp; open</b><span>Saved to your folder and ready in the built-in player.</span></div>
- </li>
- </ol>
- </div>
-</section>
-
-<!-- ── The queue ────────────────────────────────────────────── -->
-<section class="sec-lg" id="downloads">
- <div class="wrap panel-grid">
- <div>
- <h2 style="margin-bottom: 16px;">Download settings and queue control</h2>
- <p class="lead">
- Configure output naming, quality presets, subtitles, connection limits, and browser cookies.
- </p>
-
- <div class="ticks">
- <div class="tick"><!-- @license lucide-static v1.52.0 - ISC --> <svg class="ic" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"> <path d="M12 19h8" /> <path d="m4 17 6-6-6-6" /> </svg><span><b>Command transparency:</b> Every job records the exact command used, editable for reruns.</span></div>
- <div class="tick"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1-5.66-13.66L180.65,72a79.48,79.48,0,0,0-54.72-22.09h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27,96,96,0,0,1,192,60.7l18.36-18.36A8,8,0,0,1,224,48ZM186.41,183.29A80,80,0,0,1,75.35,184l18.31-18.31A8,8,0,0,0,88,152H40a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66L64,195.3a95.42,95.42,0,0,0,66,26.76h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"/></svg><span><b>Resumable downloads:</b> Interrupted transfers resume without starting over.</span></div>
- <div class="tick"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M240,152v24a16,16,0,0,1-16,16H115.93a4,4,0,0,1-3.24-6.35L174.27,101a8.21,8.21,0,0,0-1.37-11.3,8,8,0,0,0-11.37,1.61l-72,99.06A4,4,0,0,1,86.25,192H32a16,16,0,0,1-16-16V153.13c0-1.79,0-3.57.13-5.33a4,4,0,0,1,4-3.8H48a8,8,0,0,0,8-8.53A8.17,8.17,0,0,0,47.73,128H23.92a4,4,0,0,1-3.87-5c12-43.84,49.66-77.13,95.52-82.28a4,4,0,0,1,4.43,4V72a8,8,0,0,0,8.53,8A8.17,8.17,0,0,0,136,71.73V44.67a4,4,0,0,1,4.43-4A112.18,112.18,0,0,1,236.23,123a4,4,0,0,1-3.88,5H208.27a8.17,8.17,0,0,0-8.25,7.47,8,8,0,0,0,8,8.53h27.92a4,4,0,0,1,4,3.86C240,149.23,240,150.61,240,152Z"/></svg><span><b>Adaptive connections:</b> Up to 16 parallel fragments, with automatic backoff on rate limits.</span></div>
- <div class="tick"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M256,128a15.76,15.76,0,0,1-7.33,13.34L160.48,197.5A15.91,15.91,0,0,1,136,184.16v-37.3L56.48,197.5A15.91,15.91,0,0,1,32,184.16V71.84A15.91,15.91,0,0,1,56.48,58.5L136,109.14V71.84A15.91,15.91,0,0,1,160.48,58.5l88.19,56.16A15.76,15.76,0,0,1,256,128Z"/></svg><span><b>Fast startup:</b> Bundled runtime initializes in under a second.</span></div>
- </div>
-
- <div class="formats">
- <span class="format"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M216,104H102.09L210,75.51a8,8,0,0,0,5.68-9.84l-8.16-30a15.93,15.93,0,0,0-19.42-11.13L35.81,64.74a15.75,15.75,0,0,0-9.7,7.4,15.51,15.51,0,0,0-1.55,12L32,111.56c0,.14,0,.29,0,.44v88a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V112A8,8,0,0,0,216,104ZM192.16,40l6,22.07L164.57,71,136.44,54.72ZM77.55,70.27l28.12,16.24-59.6,15.73-6-22.08Z"/></svg>Video: MP4, MKV, WebM</span>
- <span class="format"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M212.92,17.71a7.89,7.89,0,0,0-6.86-1.46l-128,32A8,8,0,0,0,72,56V166.1A36,36,0,1,0,88,196V102.25l112-28V134.1A36,36,0,1,0,216,164V24A8,8,0,0,0,212.92,17.71Z"/></svg>Audio: MP3, M4A, Opus, FLAC, WAV</span>
- <span class="format"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48ZM56,128H72a8,8,0,0,1,0,16H56a8,8,0,0,1,0-16Zm96,48H56a8,8,0,0,1,0-16h96a8,8,0,0,1,0,16Zm48,0H184a8,8,0,0,1,0-16h16a8,8,0,0,1,0,16Zm0-32H104a8,8,0,0,1,0-16h96a8,8,0,0,1,0,16Z"/></svg>Subtitles: SRT, VTT, ASS</span>
- </div>
- </div>
-
- <figure class="shot shot-sm">
- <img src="assets/readme/settings.png" width="1800" height="1125"
- alt="The LibreGet Settings screen with Output, Quality and format, Subtitles and extras, Clipboard and hotkeys and Per-platform options, plus Network, Cookies, Channels, AI, Plugins and Advanced." />
- <figcaption>Output, quality presets, subtitles, clipboard, per-platform options, cookies.</figcaption>
- </figure>
- </div>
-</section>
-
-<!-- ── Tools ────────────────────────────────────────────────── -->
-<section class="sec-lg" id="tools">
- <div class="wrap">
- <div class="narrow" style="margin-bottom: 34px;">
- <h2 style="margin-bottom: 14px;">156 tools across 24 categories</h2>
- <p class="lead">
- Built-in offline tools for media conversion, document processing, and platform utilities. Everything runs locally on your machine.
- </p>
- </div>
-
- <div class="cats">
- <div class="cat"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077"/></svg><b>Instagram</b><i>24</i></div>
- <div class="cat"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M216,104H102.09L210,75.51a8,8,0,0,0,5.68-9.84l-8.16-30a15.93,15.93,0,0,0-19.42-11.13L35.81,64.74a15.75,15.75,0,0,0-9.7,7.4,15.51,15.51,0,0,0-1.55,12L32,111.56c0,.14,0,.29,0,.44v88a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V112A8,8,0,0,0,216,104ZM192.16,40l6,22.07L164.57,71,136.44,54.72ZM77.55,70.27l28.12,16.24-59.6,15.73-6-22.08Z"/></svg><b>Video editing</b><i>14</i></div>
- <div class="cat"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M44,120H212a4,4,0,0,0,4-4V88a8,8,0,0,0-2.34-5.66l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76A4,4,0,0,0,44,120ZM152,44l44,44H152Zm72,108.53a8.18,8.18,0,0,1-8.25,7.47H192v16h15.73a8.17,8.17,0,0,1,8.25,7.47,8,8,0,0,1-8,8.53H192v15.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V152a8,8,0,0,1,8-8h32A8,8,0,0,1,224,152.53ZM64,144H48a8,8,0,0,0-8,8v55.73A8.17,8.17,0,0,0,47.47,216,8,8,0,0,0,56,208v-8h7.4c15.24,0,28.14-11.92,28.59-27.15A28,28,0,0,0,64,144Zm-.35,40H56V160h8a12,12,0,0,1,12,13.16A12.25,12.25,0,0,1,63.65,184ZM128,144H112a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h15.32c19.66,0,36.21-15.48,36.67-35.13A36,36,0,0,0,128,144Zm-.49,56H120V160h8a20,20,0,0,1,20,20.77C147.58,191.59,138.34,200,127.51,200Z"/></svg><b>PDF</b><i>13</i></div>
- <div class="cat"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/></svg><b>YouTube</b><i>11</i></div>
- <div class="cat"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M235.29,216.7C212.86,205.69,200,182.12,200,152V134.69a15.94,15.94,0,0,0-10.09-14.87l-28.65-11.46A8,8,0,0,1,156.79,98l22.32-56.67C184,28.79,178,14.21,165.34,9.51a24,24,0,0,0-30.7,13.71L112.25,80.08a8,8,0,0,1-10.41,4.5L73.11,73.08a15.91,15.91,0,0,0-17.38,3.66C34.68,98.4,24,123.71,24,152a111.53,111.53,0,0,0,31.15,77.53A8.06,8.06,0,0,0,61,232H232a8,8,0,0,0,8-7.51A8.21,8.21,0,0,0,235.29,216.7ZM115.11,216a87.52,87.52,0,0,1-24.26-41.71,8.21,8.21,0,0,0-9.25-6.18A8,8,0,0,0,75.28,178a105.33,105.33,0,0,0,18.36,38H64.44A95.62,95.62,0,0,1,40,152a85.92,85.92,0,0,1,7.73-36.3l137.8,55.13c3,18.06,10.55,33.5,21.89,45.19Z"/></svg><b>System</b><i>10</i></div>
- <div class="cat"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z"/></svg><b>X / Twitter</b><i>10</i></div>
- <div class="cat"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M12.017 0C5.396 0 .029 5.367.029 11.987c0 5.079 3.158 9.417 7.618 11.162-.105-.949-.199-2.403.041-3.439.219-.937 1.406-5.957 1.406-5.957s-.359-.72-.359-1.781c0-1.663.967-2.911 2.168-2.911 1.024 0 1.518.769 1.518 1.688 0 1.029-.653 2.567-.992 3.992-.285 1.193.6 2.165 1.775 2.165 2.128 0 3.768-2.245 3.768-5.487 0-2.861-2.063-4.869-5.008-4.869-3.41 0-5.409 2.562-5.409 5.199 0 1.033.394 2.143.889 2.741.099.12.112.225.085.345-.09.375-.293 1.199-.334 1.363-.053.225-.172.271-.401.165-1.495-.69-2.433-2.878-2.433-4.646 0-3.776 2.748-7.252 7.92-7.252 4.158 0 7.392 2.967 7.392 6.923 0 4.135-2.607 7.462-6.233 7.462-1.214 0-2.354-.629-2.758-1.379l-.749 2.848c-.269 1.045-1.004 2.352-1.498 3.146 1.123.345 2.306.535 3.55.535 6.607 0 11.985-5.365 11.985-11.987C23.97 5.39 18.592.026 11.985.026L12.017 0z"/></svg><b>Pinterest</b><i>10</i></div>
- <div class="cat"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M216,40H72A16,16,0,0,0,56,56V72H40A16,16,0,0,0,24,88V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16V184h16a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM172,72a12,12,0,1,1-12,12A12,12,0,0,1,172,72Zm12,128H40V88H56v80a16,16,0,0,0,16,16H184Zm32-32H72V120.69l30.34-30.35a8,8,0,0,1,11.32,0L163.31,140,189,114.34a8,8,0,0,1,11.31,0L216,130.07V168Z"/></svg><b>Images</b><i>9</i></div>
- <div class="cat"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM72,152a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32,32a8,8,0,0,1-16,0V72a8,8,0,0,1,16,0Zm32-16a8,8,0,0,1-16,0V88a8,8,0,0,1,16,0Zm32-16a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm32,8a8,8,0,0,1-16,0V96a8,8,0,0,1,16,0Z"/></svg><b>Speech &amp; subtitles</b><i>8</i></div>
- <div class="cat"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M216.57,39.43A80,80,0,0,0,83.91,120.78L28.69,176A15.86,15.86,0,0,0,24,187.31V216a16,16,0,0,0,16,16H72a8,8,0,0,0,8-8V208H96a8,8,0,0,0,8-8V184h16a8,8,0,0,0,5.66-2.34l9.56-9.57A79.73,79.73,0,0,0,160,176h.1A80,80,0,0,0,216.57,39.43ZM180,92a16,16,0,1,1,16-16A16,16,0,0,1,180,92Z"/></svg><b>AI</b><i>6</i></div>
- <div class="cat"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M216,32H152a8,8,0,0,0-6.34,3.12l-64,83.21L72,108.69a16,16,0,0,0-22.64,0l-8.69,8.7a16,16,0,0,0,0,22.63l22,22-32,32a16,16,0,0,0,0,22.63l8.69,8.68a16,16,0,0,0,22.62,0l32-32,22,22a16,16,0,0,0,22.64,0l8.69-8.7a16,16,0,0,0,0-22.63l-9.64-9.64,83.21-64A8,8,0,0,0,224,104V40A8,8,0,0,0,216,32Zm-8,68.06-81.74,62.88L115.32,152l50.34-50.34a8,8,0,0,0-11.32-11.31L104,140.68,93.07,129.74,155.94,48H208Z"/></svg><b>CTF and analysis</b><i>6</i></div>
- <div class="cat"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M232,88V200.89A15.13,15.13,0,0,1,216.89,216H40a16,16,0,0,1-16-16V64A16,16,0,0,1,40,48H93.33a16.12,16.12,0,0,1,9.6,3.2L130.67,72H216A16,16,0,0,1,232,88Z"/></svg><b>Files</b><i>5</i></div>
- <div class="cat"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,176H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm-8-56V44l44,44Z"/></svg><b>Documents</b><i>5</i></div>
- <div class="cat"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 1 1 0-4.125 2.062 2.062 0 0 1 0 4.125zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/></svg><b>LinkedIn</b><i>4</i></div>
- <div class="cat"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,120,47.65,76,128,32l80.35,44Zm8,99.64V133.83l80-43.78v85.76Z"/></svg><b>Games</b><i>3</i></div>
- <div class="cat"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M212.92,17.71a7.89,7.89,0,0,0-6.86-1.46l-128,32A8,8,0,0,0,72,56V166.1A36,36,0 1,0,88,196V102.25l112-28V134.1A36,36,0 1,0,216,164V24A8,8,0,0,0,212.92,17.71Z"/></svg><b>Music</b><i>3</i></div>
- <div class="cat"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M12 0C5.373 0 0 5.373 0 12c0 3.314 1.343 6.314 3.515 8.485l-2.286 2.286C.775 23.225 1.097 24 1.738 24H12c6.627 0 12-5.373 12-12S18.627 0 12 0Zm4.388 3.199c1.104 0 1.999.895 1.999 1.999 0 1.105-.895 2-1.999 2-.946 0-1.739-.657-1.947-1.539v.002c-1.147.162-2.032 1.15-2.032 2.341v.007c1.776.067 3.4.567 4.686 1.363.473-.363 1.064-.58 1.707-.58 1.547 0 2.802 1.254 2.802 2.802 0 1.117-.655 2.081-1.601 2.531-.088 3.256-3.637 5.876-7.997 5.876-4.361 0-7.905-2.617-7.998-5.87-.954-.447-1.614-1.415-1.614-2.538 0-1.548 1.255-2.802 2.803-2.802.645 0 1.239.218 1.712.585 1.275-.79 2.881-1.291 4.64-1.365v-.01c0-1.663 1.263-3.034 2.88-3.207.188-.911.993-1.595 1.959-1.595Zm-8.085 8.376c-.784 0-1.459.78-1.506 1.797-.047 1.016.64 1.429 1.426 1.429.786 0 1.371-.369 1.418-1.385.047-1.017-.553-1.841-1.338-1.841Zm7.406 0c-.786 0-1.385.824-1.338 1.841.047 1.017.634 1.385 1.418 1.385.785 0 1.473-.413 1.426-1.429-.046-1.017-.721-1.797-1.506-1.797Zm-3.703 4.013c-.974 0-1.907.048-2.77.135-.147.015-.241.168-.183.305.483 1.154 1.622 1.964 2.953 1.964 1.33 0 2.47-.81 2.953-1.964.057-.137-.037-.29-.184-.305-.863-.087-1.795-.135-2.769-.135Z"/></svg><b>Reddit</b><i>3</i></div>
- <div class="cat"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M17.813 4.653h.854c1.51.054 2.769.578 3.773 1.574 1.004.995 1.524 2.249 1.56 3.76v7.36c-.036 1.51-.556 2.769-1.56 3.773s-2.262 1.524-3.773 1.56H5.333c-1.51-.036-2.769-.556-3.773-1.56S.036 18.858 0 17.347v-7.36c.036-1.511.556-2.765 1.56-3.76 1.004-.996 2.262-1.52 3.773-1.574h.774l-1.174-1.12a1.234 1.234 0 0 1-.373-.906c0-.356.124-.658.373-.907l.027-.027c.267-.249.573-.373.92-.373.347 0 .653.124.92.373L9.653 4.44c.071.071.134.142.187.213h4.267a.836.836 0 0 1 .16-.213l2.853-2.747c.267-.249.573-.373.92-.373.347 0 .662.151.929.4.267.249.391.551.391.907 0 .355-.124.657-.373.906zM5.333 7.24c-.746.018-1.373.276-1.88.773-.506.498-.769 1.13-.786 1.894v7.52c.017.764.28 1.395.786 1.893.507.498 1.134.756 1.88.773h13.334c.746-.017 1.373-.275 1.88-.773.506-.498.769-1.129.786-1.893v-7.52c-.017-.765-.28-1.396-.786-1.894-.507-.497-1.134-.755-1.88-.773zM8 11.107c.373 0 .684.124.933.373.25.249.383.569.4.96v1.173c-.017.391-.15.711-.4.96-.249.25-.56.374-.933.374s-.684-.125-.933-.374c-.25-.249-.383-.569-.4-.96V12.44c0-.373.129-.689.386-.947.258-.257.574-.386.947-.386zm8 0c.373 0 .684.124.933.373.25.249.383.569.4.96v1.173c-.017.391-.15.711-.4.96-.249.25-.56.374-.933.374s-.684-.125-.933-.374c-.25-.249-.383-.569-.4-.96V12.44c.017-.391.15-.711.4-.96.249-.249.56-.373.933-.373Z"/></svg><b>Bilibili</b><i>2</i></div>
- <div class="cat"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M247.93,124.52C246.11,77.54,207.07,40,160.06,40A88.1,88.1,0,0,0,81.29,88.67h0A87.48,87.48,0,0,0,72,127.73,8.18,8.18,0,0,1,64.57,136,8,8,0,0,1,56,128a103.66,103.66,0,0,1,5.34-32.92,4,4,0,0,0-4.75-5.18A64.09,64.09,0,0,0,8,152c0,35.19,29.75,64,65,64H160A88.09,88.09,0,0,0,247.93,124.52Zm-50.27,25.14-32,32a8,8,0,0,1-11.32,0l-32-32a8,8,0,0,1,11.32-11.32L152,156.69V96a8,8,0,0,1,16,0v60.69l18.34-18.35a8,8,0,0,1,11.32,11.32Z"/></svg><b>Downloads</b><i>2</i></div>
- <div class="cat"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M11.571 4.714h1.715v5.143H11.57zm4.715 0H18v5.143h-1.714zM6 0L1.714 4.286v15.428h5.143V24l4.286-4.286h3.428L22.286 12V0zm14.571 11.143l-3.428 3.428h-3.429l-3 3v-3H6.857V1.714h13.714Z"/></svg><b>Twitch</b><i>2</i></div>
- <div class="cat"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M12 0C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.66 0 12 0zm5.521 17.34c-.24.359-.66.48-1.021.24-2.82-1.74-6.36-2.101-10.561-1.141-.418.122-.779-.179-.899-.539-.12-.421.18-.78.54-.9 4.56-1.021 8.52-.6 11.64 1.32.42.18.479.659.301 1.02zm1.44-3.3c-.301.42-.841.6-1.262.3-3.239-1.98-8.159-2.58-11.939-1.38-.479.12-1.02-.12-1.14-.6-.12-.48.12-1.021.6-1.141C9.6 9.9 15 10.561 18.72 12.84c.361.181.54.78.241 1.2zm.12-3.36C15.24 8.4 8.82 8.16 5.16 9.301c-.6.179-1.2-.181-1.38-.721-.18-.601.18-1.2.72-1.381 4.26-1.26 11.28-1.02 15.721 1.621.539.3.719 1.02.419 1.56-.299.421-1.02.599-1.559.3z"/></svg><b>Spotify</b><i>2</i></div>
- <div class="cat"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M212.92,17.71a7.89,7.89,0,0,0-6.86-1.46l-128,32A8,8,0,0,0,72,56V166.1A36,36,0 1,0,88,196V102.25l112-28V134.1A36,36,0 1,0,216,164V24A8,8,0,0,0,212.92,17.71Z"/></svg><b>Audio</b><i>2</i></div>
- <div class="cat"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M176,16H80A24,24,0,0,0,56,40V216a24,24,0,0,0,24,24h96a24,24,0,0,0,24-24V40A24,24,0,0,0,176,16ZM80,32h96a8,8,0,0,1,8,8v8H72V40A8,8,0,0,1,80,32Zm96,192H80a8,8,0,0,1-8-8v-8H184v8A8,8,0,0,1,176,224Z"/></svg><b>Phone</b><i>1</i></div>
- <div class="cat"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M220.49,190.83a12,12,0,0,1,0,17L207.8,220.49a12,12,0,0,1-17,0l-56.56-56.57L115,214.09c0,.1-.08.21-.13.32a15.83,15.83,0,0,1-14.6,9.59l-.79,0a15.83,15.83,0,0,1-14.41-11L32.8,52.92A16,16,0,0,1,52.92,32.8L213,85.07a16,16,0,0,1,1.41,29.8l-.32.13-50.17,19.27ZM96,32a8,8,0,0,0,8-8V16a8,8,0,0,0-16,0v8A8,8,0,0,0,96,32ZM16,104h8a8,8,0,0,0,0-16H16a8,8,0,0,0,0,16ZM124.42,39.16a8,8,0,0,0,10.74-3.58l8-16a8,8,0,0,0-14.31-7.16l-8,16A8,8,0,0,0,124.42,39.16Zm-96,81.69-16,8a8,8,0,0,0,7.16,14.31l16-8a8,8,0,1,0-7.16-14.31Z"/></svg><b>Automation</b><i>1</i></div>
- </div>
-
- <div style="margin-top: 24px;">
- <a class="btn btn-ghost" href="https://libreget.asf.sale/docs/">Browse all 156 tools <!-- @license lucide-static v1.52.0 - ISC --> <svg class="ic" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"> <path d="M5 12h14" /> <path d="m12 5 7 7-7 7" /> </svg></a>
- </div>
-
- <div class="shots c3" style="margin-top: 32px;">
- <a href="assets/readme/tools.png" target="_blank" rel="noopener">
- <img src="assets/readme/tools.png" width="1800" height="1406" loading="lazy"
- alt="The LibreGet Tools hub showing all 24 categories." />
- <b>Tools hub (24 categories)</b>
- </a>
- <a href="assets/readme/tools-instagram.png" target="_blank" rel="noopener">
- <img src="assets/readme/tools-instagram.png" width="1800" height="1125" loading="lazy"
- alt="Instagram tools in LibreGet." />
- <b>Instagram (24 tools)</b>
- </a>
- <a href="assets/readme/tools-speech.png" target="_blank" rel="noopener">
- <img src="assets/readme/tools-speech.png" width="1800" height="1125" loading="lazy"
- alt="Speech and subtitle tools in LibreGet." />
- <b>Speech &amp; subtitles (8 tools)</b>
- </a>
- </div>
-
- <div class="split" style="margin-top: 48px;">
- <div>
- <h3 style="margin-bottom: 10px;">Model Context Protocol (MCP) support</h3>
- <p class="lead">
- 37 tools are exposed locally over MCP with token authentication. Ready for Claude Code,
- Claude Desktop, Cursor, and VS Code.
- </p>
- </div>
-
- <figure class="shot shot-sm">
- <img src="assets/readme/illustration-agents.png" width="2000" height="1116"
- alt="Illustration of LibreGet MCP local bridge connection." />
- <figcaption>37 local tools accessible via MCP.</figcaption>
- </figure>
- </div>
- </div>
-</section>
-
-<!-- ── Study ────────────────────────────────────────────────── -->
-<section class="sec-lg bleed" id="study">
- <div class="wrap">
- <div class="narrow" style="margin-bottom: 34px;">
- <h2 style="margin-bottom: 14px;">The folder you downloaded becomes something you finish.</h2>
- <p class="lead">
- Point Study at your course folders and nothing is copied or moved. The player resumes to the
- second, and <span class="mono">N</span> captures a note at the current timestamp.
- </p>
- <p class="lead" style="margin-top: 14px;">
- Beside it: a reader for PDF, EPUB, DJVU, MOBI, AZW3, FB2, CBZ and CBR, a Markdown and LaTeX notes
- editor, Anki spaced repetition, Pomodoro timers, and a music library with synced lyrics.
- </p>
- </div>
-
- <div class="shots c2 nat">
- <a href="assets/screenshot-courses.png" target="_blank" rel="noopener">
- <img src="assets/screenshot-courses.png" width="2560" height="1032" loading="lazy"
- alt="The LibreGet course player: the lesson list for Game Engine Development with C++ and OpenGL on the left, the lesson video with its timeline in the middle, and a Notes for this lesson panel below it reading, press N while watching to capture a note at the current time." />
- <b>The player keeps your place, and <span class="mono">N</span> drops a note at the current time</b>
- </a>
- <a href="assets/screenshot-reader.png" target="_blank" rel="noopener">
- <img src="assets/screenshot-reader.png" width="2560" height="1032" loading="lazy"
- alt="The LibreGet reader showing O Programador Pragmático open at page 1 of 348, with an outline, bookmarks and highlights panel beside the page and annotation controls above it." />
- <b>The reader, with outline, bookmarks and highlights beside the page</b>
- </a>
- </div>
-
- <div class="plugins" style="margin-top: 52px;">
- <div class="plugin">
- <!-- @license lucide-static v1.52.0 - ISC --> <svg class="ic" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"> <path d="M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z" /> <path d="M22 10v6" /> <path d="M6 12.5V16a6 3 0 0 0 12 0v-3.5" /> </svg>
- <h3>Courses</h3>
- <p>36 learning platforms, including Hotmart, Udemy, Kiwify, Rocketseat, Skool, Gumroad, Teachable, Thinkific, MasterClass and Pluralsight. DRM-protected lectures are reported and skipped.</p>
- </div>
- <div class="plugin">
- <svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M231.4,44.34s0,.1,0,.15l-58.2,191.94a15.88,15.88,0,0,1-14,11.51q-.69.06-1.38.06a15.86,15.86,0,0,1-14.42-9.15L107,164.15a4,4,0,0,1,.77-4.58l57.92-57.92a8,8,0,0,0-11.31-11.31L96.43,148.26a4,4,0,0,1-4.58.77L17.08,112.64a16,16,0,0,1,2.49-29.8l191.94-58.2.15,0A16,16,0,0,1,231.4,44.34Z"/></svg>
- <h3>Telegram</h3>
- <p>Sign in with a QR code or your phone number. Browse your channels and groups, filter by type, and save whole archives into organised folders.</p>
- </div>
- <div class="plugin">
- <svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M216,104H102.09L210,75.51a8,8,0,0,0,5.68-9.84l-8.16-30a15.93,15.93,0,0,0-19.42-11.13L35.81,64.74a15.75,15.75,0,0,0-9.7,7.4,15.51,15.51,0,0,0-1.55,12L32,111.56c0,.14,0,.29,0,.44v88a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V112A8,8,0,0,0,216,104ZM192.16,40l6,22.07L164.57,71,136.44,54.72ZM77.55,70.27l28.12,16.24-59.6,15.73-6-22.08Z"/></svg>
- <h3>Convert</h3>
- <p>FFmpeg conversions with GPU acceleration where the machine has it: container, codec, resolution and bitrate, with no internet required.</p>
- </div>
- </div>
-
- <div class="shots c2">
- <a href="assets/readme/marketplace.png" target="_blank" rel="noopener">
- <img src="assets/readme/marketplace.png" width="1800" height="1125" loading="lazy"
- alt="The LibreGet Marketplace listing the Courses, Study, Telegram and Convert plugins with version, author, permissions and enable switches." />
- <b>Plugins compile into the binary — no runtime download</b>
- </a>
- <a href="assets/readme/telegram.png" target="_blank" rel="noopener">
- <img src="assets/readme/telegram.png" width="1024" height="776" loading="lazy"
- alt="The LibreGet Telegram plugin showing a channel archive in progress with a per-file progress list." />
- <b>Telegram channels and groups, archived file by file</b>
- </a>
- </div>
- </div>
-</section>
-
-<!-- ── Privacy ──────────────────────────────────────────────── -->
-<section class="sec-lg priv" id="privacy">
- <div class="wrap split">
- <div>
- <h2 style="margin-bottom: 16px;">What you download stays on your computer.</h2>
- <p class="lead">
- Everything runs locally. There is no account, no server of ours in the middle, and no telemetry
- about what you download.
- </p>
-
- <div class="priv-list">
- <div><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M208,40H48A16,16,0,0,0,32,56v56c0,52.72,25.52,84.67,46.93,102.19,23.06,18.86,46,25.26,47,25.53a8,8,0,0,0,4.2,0c1-.27,23.91-6.67,47-25.53C198.48,196.67,224,164.72,224,112V56A16,16,0,0,0,208,40Zm-34.32,69.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"/></svg><span>Cookies and API keys live in your local profile, in the operating system's keyring.</span></div>
- <div><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M208,40H48A16,16,0,0,0,32,56v56c0,52.72,25.52,84.67,46.93,102.19,23.06,18.86,46,25.26,47,25.53a8,8,0,0,0,4.2,0c1-.27,23.91-6.67,47-25.53C198.48,196.67,224,164.72,224,112V56A16,16,0,0,0,208,40Zm-34.32,69.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"/></svg><span>Its only network calls go to the sites you asked for, to GitHub for updates, and to your AI provider.</span></div>
- <div><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M208,40H48A16,16,0,0,0,32,56v56c0,52.72,25.52,84.67,46.93,102.19,23.06,18.86,46,25.26,47,25.53a8,8,0,0,0,4.2,0c1-.27,23.91-6.67,47-25.53C198.48,196.67,224,164.72,224,112V56A16,16,0,0,0,208,40Zm-34.32,69.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"/></svg><span>The browser extension pairs over <span class="mono">127.0.0.1</span> with a per-install token, so it never leaves your machine.</span></div>
- <div><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M208,40H48A16,16,0,0,0,32,56v56c0,52.72,25.52,84.67,46.93,102.19,23.06,18.86,46,25.26,47,25.53a8,8,0,0,0,4.2,0c1-.27,23.91-6.67,47-25.53C198.48,196.67,224,164.72,224,112V56A16,16,0,0,0,208,40Zm-34.32,69.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"/></svg><span>Webviews run under a locked-down content security policy, and the file protocol refuses to open <span class="mono">.ssh</span>, <span class="mono">.aws</span> and <span class="mono">.git</span>.</span></div>
- </div>
-
- <div class="refuse">
- <h3>What LibreGet refuses to do</h3>
- <ul>
- <li><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z"/></svg><span>It does not bypass DRM. Content marked with Widevine, FairPlay or PlayReady encryption is reported and skipped.</span></li>
- <li><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z"/></svg><span>It does not break paywalls or share credentials. It downloads what your own logged-in session can already open.</span></li>
- <li><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z"/></svg><span>It does not fingerprint you. Telemetry is opt-out and carries no URLs, device identifiers or IP addresses.</span></li>
- </ul>
- </div>
-
- <p class="small dim" style="margin-top: 22px;">
- Free code signing on Windows is provided by <a class="ul" href="https://about.signpath.io">SignPath.io</a>,
- made possible by the <a class="ul" href="https://signpath.org">SignPath Foundation</a>.
- </p>
- </div>
-
- <figure class="shot shot-sm">
- <img src="assets/readme/extension.png" width="2000" height="1116"
- alt="Penguin mascot plugging a cable from a browser window into the LibreGet app window, with cookies travelling along it and a padlock and a house above it: the pairing stays on your own machine." />
- <figcaption>The extension hands over the session on 127.0.0.1, with a per-install token.</figcaption>
- </figure>
- </div>
-</section>
-
-<!-- ── Operating systems ────────────────────────────────────── -->
-<section class="sec-lg bleed" id="os">
- <div class="wrap">
- <div class="sec-head">
- <h2 class="display">Built for every desktop</h2>
- <p class="lead">Official releases for Windows, macOS and Linux. Pick your platform, or install from the terminal.</p>
- </div>
-
- <div class="os-grid">
- <div class="os-card" data-os="windows">
- <div class="os-head"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path fill="currentColor" d="M0 0h11.377v11.372H0zm12.623 0H24v11.372H12.623zM0 12.623h11.377V24H0zm12.623 0H24V24H12.623z"/></svg><h3>Windows 10 / 11</h3></div>
- <div class="os-action">
- <a class="btn btn-brand" href="https://github.com/OpenSelena/libreget/releases/latest"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40A8,8,0,0,0,168,96H136V32a8,8,0,0,0-16,0V96H88a8,8,0,0,0-5.66,13.66Z"/></svg>Download for Windows</a>
- <span class="os-note">Installer, portable (.exe), and MSI available.</span>
- </div>
- <div class="cmd"><code>winget install -e --id OpenSelena.LibreGet</code><button class="copy" type="button" data-copy="winget install -e --id OpenSelena.LibreGet" aria-label="Copy command" title="Copy"><svg class="ic i-copy" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/></svg><svg class="ic i-done" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M20 6 9 17l-5-5"/></svg></button></div>
- </div>
-
- <div class="os-card" data-os="macos">
- <div class="os-head"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path fill="currentColor" 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.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-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.559-1.701"/></svg><h3>macOS 10.15+</h3></div>
- <div class="os-action">
- <a class="btn btn-brand" href="https://github.com/OpenSelena/libreget/releases/latest"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40A8,8,0,0,0,168,96H136V32a8,8,0,0,0-16,0V96H88a8,8,0,0,0-5.66,13.66Z"/></svg>Download for macOS</a>
- <span class="os-note">Disk image (.dmg) for Apple Silicon and Intel.</span>
- </div>
- <div class="cmd"><code>brew install --cask OpenSelena/tap/libreget</code><button class="copy" type="button" data-copy="brew install --cask OpenSelena/tap/libreget" aria-label="Copy command" title="Copy"><svg class="ic i-copy" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/></svg><svg class="ic i-done" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M20 6 9 17l-5-5"/></svg></button></div>
- </div>
-
- <div class="os-card" data-os="linux">
- <div class="os-head"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path fill="currentColor" d="M12.504 0c-.155 0-.315.008-.48.021-4.226.333-3.105 4.807-3.17 6.298-.076 1.092-.3 1.953-1.05 3.02-.885 1.051-2.127 2.75-2.716 4.521-.278.832-.41 1.684-.287 2.489a.424.424 0 00-.11.135c-.26.268-.45.6-.663.839-.199.199-.485.267-.797.4-.313.136-.658.269-.864.68-.09.189-.136.394-.132.602 0 .199.027.4.055.536.058.399.116.728.04.97-.249.68-.28 1.145-.106 1.484.174.334.535.47.94.601.81.2 1.91.135 2.774.6.926.466 1.866.67 2.616.47.526-.116.97-.464 1.208-.946.587-.003 1.23-.269 2.26-.334.699-.058 1.574.267 2.577.2.025.134.063.198.114.333l.003.003c.391.778 1.113 1.132 1.884 1.071.771-.06 1.592-.536 2.257-1.306.631-.765 1.683-1.084 2.378-1.503.348-.199.629-.469.649-.853.023-.4-.2-.811-.714-1.376v-.097l-.003-.003c-.17-.2-.25-.535-.338-.926-.085-.401-.182-.786-.492-1.046h-.003c-.059-.054-.123-.067-.188-.135a.357.357 0 00-.19-.064c.431-1.278.264-2.55-.173-3.694-.533-1.41-1.465-2.638-2.175-3.483-.796-1.005-1.576-1.957-1.56-3.368.026-2.152.236-6.133-3.544-6.139zm.529 3.405h.013c.213 0 .396.062.584.198.19.135.33.332.438.533.105.259.158.459.166.724 0-.02.006-.04.006-.06v.105a.086.086 0 01-.004-.021l-.004-.024a1.807 1.807 0 01-.15.706.953.953 0 01-.213.335.71.71 0 00-.088-.042c-.104-.045-.198-.064-.284-.133a1.312 1.312 0 00-.22-.066c.05-.06.146-.133.183-.198.053-.128.082-.264.088-.402v-.02a1.21 1.21 0 00-.061-.4c-.045-.134-.101-.2-.183-.333-.084-.066-.167-.132-.267-.132h-.016c-.093 0-.176.03-.262.132a.8.8 0 00-.205.334 1.18 1.18 0 00-.09.4v.019c.002.089.008.179.02.267-.193-.067-.438-.135-.607-.202a1.635 1.635 0 01-.018-.2v-.02a1.772 1.772 0 01.15-.768c.082-.22.232-.406.43-.533a.985.985 0 01.594-.2zm-2.962.059h.036c.142 0 .27.048.399.135.146.129.264.288.344.465.09.199.14.4.153.667v.004c.007.134.006.2-.002.266v.08c-.03.007-.056.018-.083.024-.152.055-.274.135-.393.2.012-.09.013-.18.003-.267v-.015c-.012-.133-.04-.2-.082-.333a.613.613 0 00-.166-.267.248.248 0 00-.183-.064h-.021c-.071.006-.13.04-.186.132a.552.552 0 00-.12.27.944.944 0 00-.023.33v.015c.012.135.037.2.08.334.046.134.098.2.166.268.01.009.02.018.034.024-.07.057-.117.07-.176.136a.304.304 0 01-.131.068 2.62 2.62 0 01-.275-.402 1.772 1.772 0 01-.155-.667 1.759 1.759 0 01.08-.668 1.43 1.43 0 01.283-.535c.128-.133.26-.2.418-.2zm1.37 1.706c.332 0 .733.065 1.216.399.293.2.523.269 1.052.468h.003c.255.136.405.266.478.399v-.131a.571.571 0 01.016.47c-.123.31-.516.643-1.063.842v.002c-.268.135-.501.333-.775.465-.276.135-.588.292-1.012.267a1.139 1.139 0 01-.448-.067 3.566 3.566 0 01-.322-.198c-.195-.135-.363-.332-.612-.465v-.005h-.005c-.4-.246-.616-.512-.686-.71-.07-.268-.005-.47.193-.6.224-.135.38-.271.483-.336.104-.074.143-.102.176-.131h.002v-.003c.169-.202.436-.47.839-.601.139-.036.294-.065.466-.065zm2.8 2.142c.358 1.417 1.196 3.475 1.735 4.473.286.534.855 1.659 1.102 3.024.156-.005.33.018.513.064.646-1.671-.546-3.467-1.089-3.966-.22-.2-.232-.335-.123-.335.59.534 1.365 1.572 1.646 2.757.13.535.16 1.104.021 1.67.067.028.135.06.205.067 1.032.534 1.413.938 1.23 1.537v-.043c-.06-.003-.12 0-.18 0h-.016c.151-.467-.182-.825-1.065-1.224-.915-.4-1.646-.336-1.77.465-.008.043-.013.066-.018.135-.068.023-.139.053-.209.064-.43.268-.662.669-.793 1.187-.13.533-.17 1.156-.205 1.869v.003c-.02.334-.17.838-.319 1.35-1.5 1.072-3.58 1.538-5.348.334a2.645 2.645 0 00-.402-.533 1.45 1.45 0 00-.275-.333c.182 0 .338-.03.465-.067a.615.615 0 00.314-.334c.108-.267 0-.697-.345-1.163-.345-.467-.931-.995-1.788-1.521-.63-.4-.986-.87-1.15-1.396-.165-.534-.143-1.085-.015-1.645.245-1.07.873-2.11 1.274-2.763.107-.065.037.135-.408.974-.396.751-1.14 2.497-.122 3.854a8.123 8.123 0 01.647-2.876c.564-1.278 1.743-3.504 1.836-5.268.048.036.217.135.289.202.218.133.38.333.59.465.21.201.477.335.876.335.039.003.075.006.11.006.412 0 .73-.134.997-.268.29-.134.52-.334.74-.4h.005c.467-.135.835-.402 1.044-.7zm2.185 8.958c.037.6.343 1.245.882 1.377.588.134 1.434-.333 1.791-.765l.211-.01c.315-.007.577.01.847.268l.003.003c.208.199.305.53.391.876.085.4.154.78.409 1.066.486.527.645.906.636 1.14l.003-.007v.018l-.003-.012c-.015.262-.185.396-.498.595-.63.401-1.746.712-2.457 1.57-.618.737-1.37 1.14-2.036 1.191-.664.053-1.237-.2-1.574-.898l-.005-.003c-.21-.4-.12-1.025.056-1.69.176-.668.428-1.344.463-1.897.037-.714.076-1.335.195-1.814.12-.465.308-.797.641-.984l.045-.022zm-10.814.049h.01c.053 0 .105.005.157.014.376.055.706.333 1.023.752l.91 1.664.003.003c.243.533.754 1.064 1.189 1.637.434.598.77 1.131.729 1.57v.006c-.057.744-.48 1.148-1.125 1.294-.645.135-1.52.002-2.395-.464-.968-.536-2.118-.469-2.857-.602-.369-.066-.61-.2-.723-.4-.11-.2-.113-.602.123-1.23v-.004l.002-.003c.117-.334.03-.752-.027-1.118-.055-.401-.083-.71.043-.94.16-.334.396-.4.69-.533.294-.135.64-.202.915-.47h.002v-.002c.256-.268.445-.601.668-.838.19-.201.38-.336.663-.336zm7.159-9.074c-.435.201-.945.535-1.488.535-.542 0-.97-.267-1.28-.466-.154-.134-.28-.268-.373-.335-.164-.134-.144-.333-.074-.333.109.016.129.134.199.2.096.066.215.2.36.333.292.2.68.467 1.167.467.485 0 1.053-.267 1.398-.466.195-.135.445-.334.648-.467.156-.136.149-.267.279-.267.128.016.034.134-.147.332a8.097 8.097 0 01-.69.468zm-1.082-1.583V5.64c-.006-.02.013-.042.029-.05.074-.043.18-.027.26.004.063 0 .16.067.15.135-.006.049-.085.066-.135.066-.055 0-.092-.043-.141-.068-.052-.018-.146-.008-.163-.065zm-.551 0c-.02.058-.113.049-.166.066-.047.025-.086.068-.14.068-.05 0-.13-.02-.136-.068-.01-.066.088-.133.15-.133.08-.031.184-.047.259-.005.019.009.036.03.03.05v.02h.003z"/></svg><h3>Linux (x86_64 / ARM64)</h3></div>
- <div class="os-action">
- <a class="btn btn-brand" href="https://github.com/OpenSelena/libreget/releases/latest"><svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40A8,8,0,0,0,168,96H136V32a8,8,0,0,0-16,0V96H88a8,8,0,0,0-5.66,13.66Z"/></svg>Download for Linux</a>
- <span class="os-note">AppImage, Debian/Ubuntu (.deb), and Fedora/RHEL (.rpm).</span>
- </div>
- <div class="cmd"><code>chmod +x LibreGet_*.AppImage</code><button class="copy" type="button" data-copy="chmod +x LibreGet_*.AppImage" aria-label="Copy command" title="Copy"><svg class="ic i-copy" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/></svg><svg class="ic i-done" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M20 6 9 17l-5-5"/></svg></button></div>
- </div>
- </div>
-
- <p class="more"><a href="https://github.com/OpenSelena/libreget/releases">View all releases &rsaquo;</a></p>
- </div>
-</section>
-
-<!-- ── FAQ ──────────────────────────────────────────────────── -->
-<section class="sec-lg" id="faq">
- <div class="wrap narrow">
- <h2 style="margin-bottom: 34px;">Questions people ask first.</h2>
-
- <div class="faq">
- <details>
- <summary>Is LibreGet free?</summary>
- <div class="a"><p>Yes. GPL-3.0, no paid tier, no ads, no account. This repository is an independent fork, maintained under the same licence.</p></div>
- </details>
-
- <details>
- <summary>Is it a yt-dlp GUI?</summary>
- <div class="a">
- <p>Partly. yt-dlp handles the long tail of sites; LibreGet bundles it, verifies it and updates it. Native extractors cover courses, Instagram, X, Pinterest, Bilibili, Telegram and torrents, and the queue adds resume and retry.</p>
- </div>
- </details>
-
- <details>
- <summary>Can it download a Udemy or Hotmart course I bought?</summary>
- <div class="a"><p>Yes. The Courses plugin is built in and covers 36 platforms. Sign in, pick the sections, and download: lessons and attachments land in a folder per course and appear in Study. DRM-protected lectures are skipped and reported.</p></div>
- </details>
-
- <details>
- <summary>Can it download Instagram stories, close friends or highlights?</summary>
- <div class="a"><p>Yes, using your own session captured by the browser extension. Stories are downloaded without being marked as seen.</p></div>
- </details>
-
- <details>
- <summary>Can it back up a Pinterest board in original quality?</summary>
- <div class="a"><p>Yes, including videos, sections, secret boards with cookies, and incremental sync so you only fetch what is new.</p></div>
- </details>
-
- <details>
- <summary>Does it resume interrupted downloads?</summary>
- <div class="a"><p>Yes. Partial files are kept and continued, and rate limits trigger retries with backoff.</p></div>
- </details>
-
- <details>
- <summary>Does it need Python, Node or a terminal?</summary>
- <div class="a"><p>No. Download the app, open it, paste a link. The only terminal step is the one-time macOS Gatekeeper fix, which the documentation covers.</p></div>
- </details>
-
- <details>
- <summary>macOS says the app is damaged.</summary>
- <div class="a"><p>That is Gatekeeper reacting to an unsigned, un-notarised build. The two commands in the installation documentation clear it, and it happens once.</p></div>
- </details>
-
- <details>
- <summary>Can it transcribe a video to subtitles offline?</summary>
- <div class="a"><p>Yes. Tools, then Speech and subtitles, then Transcribe. It uses whisper.cpp locally and models download on demand.</p></div>
- </details>
-
- <details>
- <summary>Can an AI agent use LibreGet?</summary>
- <div class="a"><p>Two ways. The MCP server under Tools → AI exposes 37 tools to Claude Code, Claude Desktop, Cursor, VS Code, Goose and Codex. Separately, this repository ships a Claude Code plugin.</p></div>
- </details>
- </div>
- </div>
-</section>
-
-<!-- ── Credits ──────────────────────────────────────────────── -->
-<section class="sec bleed" id="community">
- <div class="wrap" style="text-align: center;">
- <h2 style="margin-bottom: 8px; text-align: center;">Community contributors</h2>
- <p class="muted small" style="text-align: center;">Built by open source contributors.</p>
- </div>
-
- <div class="marquee">
- <div class="mq-row" id="mq-row-1">
- <a href="https://github.com/tonhowtf" target="_blank" rel="noopener noreferrer" class="mq-card" title="Antonio Leandro (@tonhowtf) (Original Author, 2,640+ commits)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">AL</span> <img src="https://avatars.githubusercontent.com/u/74384266?v=4&amp;s=72" alt="Antonio Leandro (tonhowtf)" loading="lazy" onerror="this.remove()" /> </span> <div><b>Antonio Leandro</b><i>Original Author (2,640+ commits)</i></div> </a>
- <a href="https://github.com/InstaZDLL" target="_blank" rel="noopener noreferrer" class="mq-card" title="InstaZDLL (53 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">IN</span> <img src="https://avatars.githubusercontent.com/u/72951793?v=4&amp;s=72" alt="InstaZDLL" loading="lazy" onerror="this.remove()" /> </span> <div><b>InstaZDLL</b><i>53 commits</i></div> </a>
- <a href="https://github.com/igect" target="_blank" rel="noopener noreferrer" class="mq-card" title="igect (44 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">IG</span> <img src="https://avatars.githubusercontent.com/u/280496113?v=4&amp;s=72" alt="igect" loading="lazy" onerror="this.remove()" /> </span> <div><b>igect</b><i>44 commits</i></div> </a>
- <a href="https://github.com/YahyaZekry" target="_blank" rel="noopener noreferrer" class="mq-card" title="YahyaZekry (16 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">YA</span> <img src="https://avatars.githubusercontent.com/u/38083306?v=4&amp;s=72" alt="YahyaZekry" loading="lazy" onerror="this.remove()" /> </span> <div><b>YahyaZekry</b><i>16 commits</i></div> </a>
- <a href="https://github.com/D0n-A" target="_blank" rel="noopener noreferrer" class="mq-card" title="D0n-A (11 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">D0</span> <img src="https://avatars.githubusercontent.com/u/38649081?v=4&amp;s=72" alt="D0n-A" loading="lazy" onerror="this.remove()" /> </span> <div><b>D0n-A</b><i>11 commits</i></div> </a>
- <a href="https://github.com/theodoremca" target="_blank" rel="noopener noreferrer" class="mq-card" title="theodoremca (4 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">TH</span> <img src="https://avatars.githubusercontent.com/u/35204506?v=4&amp;s=72" alt="theodoremca" loading="lazy" onerror="this.remove()" /> </span> <div><b>theodoremca</b><i>4 commits</i></div> </a>
- <a href="https://github.com/xJaroslav69" target="_blank" rel="noopener noreferrer" class="mq-card" title="xJaroslav69 (4 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">XJ</span> <img src="https://avatars.githubusercontent.com/u/177156785?v=4&amp;s=72" alt="xJaroslav69" loading="lazy" onerror="this.remove()" /> </span> <div><b>xJaroslav69</b><i>4 commits</i></div> </a>
- <a href="https://github.com/Tan665565" target="_blank" rel="noopener noreferrer" class="mq-card" title="Tan665565 (3 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">TA</span> <img src="https://avatars.githubusercontent.com/u/220505146?v=4&amp;s=72" alt="Tan665565" loading="lazy" onerror="this.remove()" /> </span> <div><b>Tan665565</b><i>3 commits</i></div> </a>
- <a href="https://github.com/ManoloZocco" target="_blank" rel="noopener noreferrer" class="mq-card" title="ManoloZocco (3 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">MA</span> <img src="https://avatars.githubusercontent.com/u/33806905?v=4&amp;s=72" alt="ManoloZocco" loading="lazy" onerror="this.remove()" /> </span> <div><b>ManoloZocco</b><i>3 commits</i></div> </a>
- <a href="https://github.com/Crayz129" target="_blank" rel="noopener noreferrer" class="mq-card" title="Crayz129 (2 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">CR</span> <img src="https://avatars.githubusercontent.com/u/70708880?v=4&amp;s=72" alt="Crayz129" loading="lazy" onerror="this.remove()" /> </span> <div><b>Crayz129</b><i>2 commits</i></div> </a>
- <a href="https://github.com/Twilight0" target="_blank" rel="noopener noreferrer" class="mq-card" title="Twilight0 (2 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">TW</span> <img src="https://avatars.githubusercontent.com/u/1566256?v=4&amp;s=72" alt="Twilight0" loading="lazy" onerror="this.remove()" /> </span> <div><b>Twilight0</b><i>2 commits</i></div> </a>
- <!-- Duplicate half, aria-hidden: makes the loop seamless. -->
- <span class="mq-dup" aria-hidden="true" inert>
- <a href="https://github.com/tonhowtf" target="_blank" rel="noopener noreferrer" class="mq-card" title="Antonio Leandro (@tonhowtf) (Original Author, 2,640+ commits)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">AL</span> <img src="https://avatars.githubusercontent.com/u/74384266?v=4&amp;s=72" alt="Antonio Leandro (tonhowtf)" loading="lazy" onerror="this.remove()" /> </span> <div><b>Antonio Leandro</b><i>Original Author (2,640+ commits)</i></div> </a>
- <a href="https://github.com/InstaZDLL" target="_blank" rel="noopener noreferrer" class="mq-card" title="InstaZDLL (53 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">IN</span> <img src="https://avatars.githubusercontent.com/u/72951793?v=4&amp;s=72" alt="InstaZDLL" loading="lazy" onerror="this.remove()" /> </span> <div><b>InstaZDLL</b><i>53 commits</i></div> </a>
- <a href="https://github.com/igect" target="_blank" rel="noopener noreferrer" class="mq-card" title="igect (44 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">IG</span> <img src="https://avatars.githubusercontent.com/u/280496113?v=4&amp;s=72" alt="igect" loading="lazy" onerror="this.remove()" /> </span> <div><b>igect</b><i>44 commits</i></div> </a>
- <a href="https://github.com/YahyaZekry" target="_blank" rel="noopener noreferrer" class="mq-card" title="YahyaZekry (16 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">YA</span> <img src="https://avatars.githubusercontent.com/u/38083306?v=4&amp;s=72" alt="YahyaZekry" loading="lazy" onerror="this.remove()" /> </span> <div><b>YahyaZekry</b><i>16 commits</i></div> </a>
- <a href="https://github.com/D0n-A" target="_blank" rel="noopener noreferrer" class="mq-card" title="D0n-A (11 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">D0</span> <img src="https://avatars.githubusercontent.com/u/38649081?v=4&amp;s=72" alt="D0n-A" loading="lazy" onerror="this.remove()" /> </span> <div><b>D0n-A</b><i>11 commits</i></div> </a>
- <a href="https://github.com/theodoremca" target="_blank" rel="noopener noreferrer" class="mq-card" title="theodoremca (4 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">TH</span> <img src="https://avatars.githubusercontent.com/u/35204506?v=4&amp;s=72" alt="theodoremca" loading="lazy" onerror="this.remove()" /> </span> <div><b>theodoremca</b><i>4 commits</i></div> </a>
- <a href="https://github.com/xJaroslav69" target="_blank" rel="noopener noreferrer" class="mq-card" title="xJaroslav69 (4 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">XJ</span> <img src="https://avatars.githubusercontent.com/u/177156785?v=4&amp;s=72" alt="xJaroslav69" loading="lazy" onerror="this.remove()" /> </span> <div><b>xJaroslav69</b><i>4 commits</i></div> </a>
- <a href="https://github.com/Tan665565" target="_blank" rel="noopener noreferrer" class="mq-card" title="Tan665565 (3 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">TA</span> <img src="https://avatars.githubusercontent.com/u/220505146?v=4&amp;s=72" alt="Tan665565" loading="lazy" onerror="this.remove()" /> </span> <div><b>Tan665565</b><i>3 commits</i></div> </a>
- <a href="https://github.com/ManoloZocco" target="_blank" rel="noopener noreferrer" class="mq-card" title="ManoloZocco (3 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">MA</span> <img src="https://avatars.githubusercontent.com/u/33806905?v=4&amp;s=72" alt="ManoloZocco" loading="lazy" onerror="this.remove()" /> </span> <div><b>ManoloZocco</b><i>3 commits</i></div> </a>
- <a href="https://github.com/Crayz129" target="_blank" rel="noopener noreferrer" class="mq-card" title="Crayz129 (2 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">CR</span> <img src="https://avatars.githubusercontent.com/u/70708880?v=4&amp;s=72" alt="Crayz129" loading="lazy" onerror="this.remove()" /> </span> <div><b>Crayz129</b><i>2 commits</i></div> </a>
- <a href="https://github.com/Twilight0" target="_blank" rel="noopener noreferrer" class="mq-card" title="Twilight0 (2 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">TW</span> <img src="https://avatars.githubusercontent.com/u/1566256?v=4&amp;s=72" alt="Twilight0" loading="lazy" onerror="this.remove()" /> </span> <div><b>Twilight0</b><i>2 commits</i></div> </a>
- </span>
- </div>
- <div class="mq-row rev" id="mq-row-2">
- <a href="https://github.com/dajiaohuang" target="_blank" rel="noopener noreferrer" class="mq-card" title="dajiaohuang (2 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">DA</span> <img src="https://avatars.githubusercontent.com/u/108231307?v=4&amp;s=72" alt="dajiaohuang" loading="lazy" onerror="this.remove()" /> </span> <div><b>dajiaohuang</b><i>2 commits</i></div> </a>
- <a href="https://github.com/shiroesneo-99" target="_blank" rel="noopener noreferrer" class="mq-card" title="shiroesneo-99 (2 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">SH</span> <img src="https://avatars.githubusercontent.com/u/252557381?v=4&amp;s=72" alt="shiroesneo-99" loading="lazy" onerror="this.remove()" /> </span> <div><b>shiroesneo-99</b><i>2 commits</i></div> </a>
- <a href="https://github.com/SiIverAsh" target="_blank" rel="noopener noreferrer" class="mq-card" title="SiIverAsh (2 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">SI</span> <img src="https://avatars.githubusercontent.com/u/108169083?v=4&amp;s=72" alt="SiIverAsh" loading="lazy" onerror="this.remove()" /> </span> <div><b>SiIverAsh</b><i>2 commits</i></div> </a>
- <a href="https://github.com/gtxPrime" target="_blank" rel="noopener noreferrer" class="mq-card" title="gtxPrime (1 commit on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">GT</span> <img src="https://avatars.githubusercontent.com/u/61928763?v=4&amp;s=72" alt="gtxPrime" loading="lazy" onerror="this.remove()" /> </span> <div><b>gtxPrime</b><i>1 commit</i></div> </a>
- <a href="https://github.com/ShiroKSH" target="_blank" rel="noopener noreferrer" class="mq-card" title="ShiroKSH (1 commit on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">SH</span> <img src="https://avatars.githubusercontent.com/u/218489957?v=4&amp;s=72" alt="ShiroKSH" loading="lazy" onerror="this.remove()" /> </span> <div><b>ShiroKSH</b><i>1 commit</i></div> </a>
- <a href="https://github.com/alvarorichard" target="_blank" rel="noopener noreferrer" class="mq-card" title="alvarorichard (1 commit on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">AL</span> <img src="https://avatars.githubusercontent.com/u/88117897?v=4&amp;s=72" alt="alvarorichard" loading="lazy" onerror="this.remove()" /> </span> <div><b>alvarorichard</b><i>1 commit</i></div> </a>
- <a href="https://github.com/gokomer" target="_blank" rel="noopener noreferrer" class="mq-card" title="gokomer (1 commit on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">GO</span> <img src="https://avatars.githubusercontent.com/u/11593018?v=4&amp;s=72" alt="gokomer" loading="lazy" onerror="this.remove()" /> </span> <div><b>gokomer</b><i>1 commit</i></div> </a>
- <a href="https://github.com/bachjessen" target="_blank" rel="noopener noreferrer" class="mq-card" title="bachjessen (1 commit on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">BA</span> <img src="https://avatars.githubusercontent.com/u/59052984?v=4&amp;s=72" alt="bachjessen" loading="lazy" onerror="this.remove()" /> </span> <div><b>bachjessen</b><i>1 commit</i></div> </a>
- <a href="https://github.com/chiyi4488" target="_blank" rel="noopener noreferrer" class="mq-card" title="chiyi4488 (1 commit on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">CH</span> <img src="https://avatars.githubusercontent.com/u/30853081?v=4&amp;s=72" alt="chiyi4488" loading="lazy" onerror="this.remove()" /> </span> <div><b>chiyi4488</b><i>1 commit</i></div> </a>
- <a href="https://github.com/gkd2323c" target="_blank" rel="noopener noreferrer" class="mq-card" title="gkd2323c (1 commit on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">GK</span> <img src="https://avatars.githubusercontent.com/u/216696112?v=4&amp;s=72" alt="gkd2323c" loading="lazy" onerror="this.remove()" /> </span> <div><b>gkd2323c</b><i>1 commit</i></div> </a>
- <a href="https://github.com/OtaviOuu" target="_blank" rel="noopener noreferrer" class="mq-card" title="OtaviOuu (1 commit on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">OT</span> <img src="https://avatars.githubusercontent.com/u/106476419?v=4&amp;s=72" alt="OtaviOuu" loading="lazy" onerror="this.remove()" /> </span> <div><b>OtaviOuu</b><i>1 commit</i></div> </a>
- <!-- Duplicate half, aria-hidden: makes the loop seamless. -->
- <span class="mq-dup" aria-hidden="true" inert>
- <a href="https://github.com/dajiaohuang" target="_blank" rel="noopener noreferrer" class="mq-card" title="dajiaohuang (2 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">DA</span> <img src="https://avatars.githubusercontent.com/u/108231307?v=4&amp;s=72" alt="dajiaohuang" loading="lazy" onerror="this.remove()" /> </span> <div><b>dajiaohuang</b><i>2 commits</i></div> </a>
- <a href="https://github.com/shiroesneo-99" target="_blank" rel="noopener noreferrer" class="mq-card" title="shiroesneo-99 (2 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">SH</span> <img src="https://avatars.githubusercontent.com/u/252557381?v=4&amp;s=72" alt="shiroesneo-99" loading="lazy" onerror="this.remove()" /> </span> <div><b>shiroesneo-99</b><i>2 commits</i></div> </a>
- <a href="https://github.com/SiIverAsh" target="_blank" rel="noopener noreferrer" class="mq-card" title="SiIverAsh (2 commits on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">SI</span> <img src="https://avatars.githubusercontent.com/u/108169083?v=4&amp;s=72" alt="SiIverAsh" loading="lazy" onerror="this.remove()" /> </span> <div><b>SiIverAsh</b><i>2 commits</i></div> </a>
- <a href="https://github.com/gtxPrime" target="_blank" rel="noopener noreferrer" class="mq-card" title="gtxPrime (1 commit on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">GT</span> <img src="https://avatars.githubusercontent.com/u/61928763?v=4&amp;s=72" alt="gtxPrime" loading="lazy" onerror="this.remove()" /> </span> <div><b>gtxPrime</b><i>1 commit</i></div> </a>
- <a href="https://github.com/ShiroKSH" target="_blank" rel="noopener noreferrer" class="mq-card" title="ShiroKSH (1 commit on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">SH</span> <img src="https://avatars.githubusercontent.com/u/218489957?v=4&amp;s=72" alt="ShiroKSH" loading="lazy" onerror="this.remove()" /> </span> <div><b>ShiroKSH</b><i>1 commit</i></div> </a>
- <a href="https://github.com/alvarorichard" target="_blank" rel="noopener noreferrer" class="mq-card" title="alvarorichard (1 commit on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">AL</span> <img src="https://avatars.githubusercontent.com/u/88117897?v=4&amp;s=72" alt="alvarorichard" loading="lazy" onerror="this.remove()" /> </span> <div><b>alvarorichard</b><i>1 commit</i></div> </a>
- <a href="https://github.com/gokomer" target="_blank" rel="noopener noreferrer" class="mq-card" title="gokomer (1 commit on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">GO</span> <img src="https://avatars.githubusercontent.com/u/11593018?v=4&amp;s=72" alt="gokomer" loading="lazy" onerror="this.remove()" /> </span> <div><b>gokomer</b><i>1 commit</i></div> </a>
- <a href="https://github.com/bachjessen" target="_blank" rel="noopener noreferrer" class="mq-card" title="bachjessen (1 commit on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">BA</span> <img src="https://avatars.githubusercontent.com/u/59052984?v=4&amp;s=72" alt="bachjessen" loading="lazy" onerror="this.remove()" /> </span> <div><b>bachjessen</b><i>1 commit</i></div> </a>
- <a href="https://github.com/chiyi4488" target="_blank" rel="noopener noreferrer" class="mq-card" title="chiyi4488 (1 commit on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">CH</span> <img src="https://avatars.githubusercontent.com/u/30853081?v=4&amp;s=72" alt="chiyi4488" loading="lazy" onerror="this.remove()" /> </span> <div><b>chiyi4488</b><i>1 commit</i></div> </a>
- <a href="https://github.com/gkd2323c" target="_blank" rel="noopener noreferrer" class="mq-card" title="gkd2323c (1 commit on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">GK</span> <img src="https://avatars.githubusercontent.com/u/216696112?v=4&amp;s=72" alt="gkd2323c" loading="lazy" onerror="this.remove()" /> </span> <div><b>gkd2323c</b><i>1 commit</i></div> </a>
- <a href="https://github.com/OtaviOuu" target="_blank" rel="noopener noreferrer" class="mq-card" title="OtaviOuu (1 commit on GitHub)"> <span class="mq-avatar"> <span class="mq-fallback" aria-hidden="true">OT</span> <img src="https://avatars.githubusercontent.com/u/106476419?v=4&amp;s=72" alt="OtaviOuu" loading="lazy" onerror="this.remove()" /> </span> <div><b>OtaviOuu</b><i>1 commit</i></div> </a>
- </span>
- </div>
- </div>
-</section>
-
-<!-- ── Final CTA ────────────────────────────────────────────── -->
-<section class="sec-lg cta-final">
- <div class="wrap">
- <h2>Download LibreGet</h2>
- <p class="lead">One file, no account, GPL-3.0. Windows, macOS and Linux.</p>
- <div class="cta-actions">
- <a class="btn btn-brand" id="cta-dl" href="https://github.com/OpenSelena/libreget/releases/latest">
- <svg class="ic" viewBox="0 0 256 256" fill="currentColor" aria-hidden="true" focusable="false"><path d="M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40A8,8,0,0,0,168,96H136V32a8,8,0,0,0-16,0V96H88a8,8,0,0,0-5.66,13.66Z"/></svg><span id="cta-dl-text">Download LibreGet</span>
- </a>
- <a class="btn btn-ghost" href="https://github.com/OpenSelena/libreget"><svg class="ic" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><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-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>Source on GitHub</a>
- </div>
- </div>
-</section>
-
-</main>
-
-<footer>
- <div class="wrap">
- <div class="foot-grid">
- <div class="foot-brand">
- <a class="brand" href="./">
- <img src="static/favicon.png" alt="" width="26" height="26" />
- <span>LibreGet</span>
- </a>
- <p>A free, open-source downloader and media toolbox for Windows, macOS and Linux. Maintained by igect under GPL-3.0.</p>
- </div>
-
- <nav aria-label="Product">
- <h3>Product</h3>
- <ul>
- <li><a href="./docs/installation/">Installation</a></li>
- <li><a href="./docs/courses/">Courses &amp; Study</a></li>
- <li><a href="./docs/nami/">Nami</a></li>
- <li><a href="./docs/mcp/">MCP server</a></li>
- </ul>
- </nav>
-
- <nav aria-label="Resources">
- <h3>Resources</h3>
- <ul>
- <li><a href="./docs/">Documentation</a></li>
- <li><a href="./docs/troubleshooting/">Troubleshooting</a></li>
- <li><a href="./docs/changelog/">Changelog</a></li>
- <li><a href="https://github.com/OpenSelena/libreget">Source Code</a></li>
- </ul>
- </nav>
-
- <nav aria-label="Community">
- <h3>Community</h3>
- <ul>
- <li><a href="https://github.com/OpenSelena/libreget">GitHub</a></li>
- <li><a href="https://github.com/OpenSelena/libreget/issues">Issues</a></li>
- <li><a href="https://t.me/OpenSelena">Telegram</a></li>
- <li><a href="https://hosted.weblate.org/engage/libreget/">Translations</a></li>
- </ul>
- </nav>
- </div>
-
- <div class="foot-bottom">
- <span>© OpenSelena 2026</span>
- <span class="foot-links">
- <a href="https://github.com/OpenSelena/libreget/blob/main/LICENSE">Licence</a>
- <a href="https://github.com/OpenSelena/libreget/blob/main/SECURITY.md">Security</a>
- <a href="https://github.com/OpenSelena/libreget/blob/main/CODE_OF_CONDUCT.md">Code of conduct</a>
- </span>
- </div>
- </div>
-</footer>
-
-<script>
-(function () {
- var root = document.documentElement;
- var themeBtn = document.getElementById('themeToggleBtn') || document.getElementById('theme');
- var THEME_KEYS = ['libreget-theme', 'libreget_docs_theme', 'theme'];
-
- function syncBtn() {
- if (!themeBtn) return;
- var isDark = root.getAttribute('data-theme') === 'dark';
- themeBtn.setAttribute('aria-pressed', isDark ? 'true' : 'false');
- themeBtn.setAttribute('title', isDark ? 'Switch to light theme' : 'Switch to dark theme');
- }
-
- var reduceMotion = matchMedia('(prefers-reduced-motion: reduce)').matches;
-
- function toggleTheme() {
- var next = root.getAttribute('data-theme') === 'dark' ? 'light' : 'dark';
- function apply() {
- root.setAttribute('data-theme', next);
- root.classList.toggle('dark', next === 'dark');
- try { THEME_KEYS.forEach(function (k) { localStorage.setItem(k, next); }); } catch (e) {}
- syncBtn();
- }
- if (document.startViewTransition && !reduceMotion) document.startViewTransition(apply);
- else apply();
- }
- window.toggleTheme = toggleTheme;
-
- if (themeBtn) {
- themeBtn.addEventListener('click', toggleTheme);
- }
-
- // Live GitHub star counter with sessionStorage caching
- (function () {
- var el = document.getElementById('ghStarCount');
- if (!el) return;
- try {
- var cached = sessionStorage.getItem('libreget_gh_stars');
- if (cached) { el.textContent = cached; return; }
- } catch (e) {}
- fetch('https://api.github.com/repos/OpenSelena/libreget')
- .then(function (r) { return r.ok ? r.json() : null; })
- .then(function (d) {
- if (!d || typeof d.stargazers_count !== 'number') return;
- var count = d.stargazers_count >= 1000 ? (d.stargazers_count / 1000).toFixed(1) + 'k' : String(d.stargazers_count);
- el.textContent = count;
- try { sessionStorage.setItem('libreget_gh_stars', count); } catch (e) {}
- })
- .catch(function () {});
- })();
-
- // Follow the OS theme live, but only while the visitor has not picked one.
- var systemDark = matchMedia('(prefers-color-scheme: dark)');
- if (systemDark.addEventListener) {
- systemDark.addEventListener('change', function (e) {
- var saved = null;
- try { saved = localStorage.getItem('libreget-theme'); } catch (err) {}
- if (saved === 'dark' || saved === 'light') return;
- root.setAttribute('data-theme', e.matches ? 'dark' : 'light');
- syncBtn();
- });
- }
- syncBtn();
-
- // Nav gains a shadow once the page has scrolled.
- var nav = document.getElementById('nav');
- var onScroll = function () { nav.classList.toggle('scrolled', window.scrollY > 8); };
- onScroll();
- window.addEventListener('scroll', onScroll, { passive: true });
-
- // Mobile menu: close on link click, outside click and Escape.
- var mnav = document.getElementById('mnav');
- mnav.querySelectorAll('a').forEach(function (a) {
- a.addEventListener('click', function () { mnav.removeAttribute('open'); });
- });
- document.addEventListener('click', function (e) {
- if (mnav.hasAttribute('open') && !mnav.contains(e.target)) mnav.removeAttribute('open');
- });
- document.addEventListener('keydown', function (e) {
- if (e.key === 'Escape' && mnav.hasAttribute('open')) {
- mnav.removeAttribute('open');
- mnav.querySelector('summary').focus();
- }
- });
-
- // Name the visitor's platform on the download buttons. Phones, tablets and
- // ChromeOS keep the generic label, since the desktop builds do not run there.
- var LABELS = { windows: 'Download for Windows', macos: 'Download for macOS', linux: 'Download for Linux' };
- var ua = navigator.userAgent || '';
- var plat = (navigator.userAgentData && navigator.userAgentData.platform) || navigator.platform || '';
- var isTouchMac = /^mac/i.test(plat) && navigator.maxTouchPoints > 1;
- var key = null;
- if (!/android|iphone|ipad|ipod|cros/i.test(ua) && !isTouchMac) {
- key = /^win/i.test(plat) ? 'windows' : /^mac/i.test(plat) ? 'macos' : /linux|x11/i.test(plat) ? 'linux' : null;
- }
- if (key) {
- var heroDlText = document.getElementById('hero-dl-text');
- if (heroDlText) heroDlText.textContent = LABELS[key];
- var ctaDlText = document.getElementById('cta-dl-text');
- if (ctaDlText) ctaDlText.textContent = LABELS[key];
- // In the platform list, only the visitor's own system keeps the filled button.
- document.querySelectorAll('.os-card').forEach(function (card) {
- if (card.getAttribute('data-os') === key) return;
- var b = card.querySelector('.btn');
- if (b) { b.classList.remove('btn-brand'); b.classList.add('btn-ghost'); }
- });
- }
-
- // Scroll reveal: headings, copy, grids and screenshots ease in once. Items inside a
- // group stagger. Nothing is hidden unless this script runs and the visitor allows motion.
- if (!reduceMotion && 'IntersectionObserver' in window) {
- var groups = ['.steps li', '.plugin', '.os-card', '.shots a', '.platforms .pl', '.ticks .tick', '.priv-list > div', '.cats .cat', '.faq details'];
- var singles = ['main section:not(.hero) h2', 'main section:not(.hero) .lead', '.wall-line', '.shot:not(.hero .shot)', '.formats', '.refuse', '.split > div > h3', '.marquee', '.cta-actions'];
- var seen = new Set();
- function tag(el, delay) {
- if (seen.has(el)) return;
- seen.add(el);
- el.classList.add('rv');
- if (delay) el.style.setProperty('--d', delay + 'ms');
- io.observe(el);
- }
- var io = new IntersectionObserver(function (entries) {
- entries.forEach(function (e) {
- if (e.isIntersecting) { e.target.classList.add('in'); io.unobserve(e.target); }
- });
- }, { threshold: 0.12, rootMargin: '0px 0px -6% 0px' });
-
- singles.forEach(function (sel) { document.querySelectorAll(sel).forEach(function (el) { tag(el, 0); }); });
- groups.forEach(function (sel) {
- document.querySelectorAll(sel).forEach(function (el, i) {
- var perRow = el.parentElement.children.length;
- tag(el, Math.min(i % Math.max(perRow, 1), 5) * 70);
- });
- });
- }
-
- // Copy buttons on the install commands.
- function copyText(text) {
- if (navigator.clipboard && navigator.clipboard.writeText) return navigator.clipboard.writeText(text);
- return new Promise(function (resolve, reject) {
- var ta = document.createElement('textarea');
- ta.value = text; ta.setAttribute('readonly', ''); ta.style.cssText = 'position:fixed;opacity:0';
- document.body.appendChild(ta); ta.select();
- try { document.execCommand('copy') ? resolve() : reject(); } catch (e) { reject(e); }
- document.body.removeChild(ta);
- });
- }
- document.querySelectorAll('.copy').forEach(function (btn) {
- var timer;
- btn.addEventListener('click', function () {
- copyText(btn.getAttribute('data-copy')).then(function () {
- btn.classList.add('done');
- btn.setAttribute('aria-label', 'Copied');
- clearTimeout(timer);
- timer = setTimeout(function () {
- btn.classList.remove('done');
- btn.setAttribute('aria-label', 'Copy command');
- }, 1600);
- }).catch(function () {});
- });
- });
-
- // Contributor cards: pre-rendered cards ship in the HTML. This syncs them with
- // GitHub's live contributors API, and any failure leaves the pre-rendered cards.
- var row1 = document.getElementById('mq-row-1');
- var row2 = document.getElementById('mq-row-2');
-
- function esc(value) {
- return String(value || '').replace(/[&<>"']/g, function (c) {
- return { '&': '&amp;', '<': '&lt;', '>': '&gt;', '"': '&quot;', "'": '&#39;' }[c];
- });
- }
-
- function safeUrl(url) {
- return (typeof url === 'string' && /^https?:\/\//i.test(url)) ? url.replace(/"/g, '&quot;') : '#';
- }
-
- function card(c) {
- var login = c.login || '??';
- var isLead = login.toLowerCase() === 'tonhowtf';
- var name = esc(isLead ? 'Antonio Leandro' : login);
- var commits = Number(c.contributions) || 1;
- var label = isLead
- ? 'Original Author (2,640+ commits)'
- : (commits === 1 ? '1 commit' : commits.toLocaleString() + ' commits');
- var avatar = safeUrl(c.avatar_url ? c.avatar_url + '&s=72' : '');
- var url = safeUrl(c.html_url || ('https://github.com/' + login));
- var alt = esc(isLead ? 'Antonio Leandro (' + login + ')' : login);
-
- return '<a href="' + url + '" target="_blank" rel="noopener noreferrer" class="mq-card" title="' + name + ' (' + label + ' on GitHub)">' +
- '<span class="mq-avatar"><span class="mq-fallback" aria-hidden="true">' + esc(login.slice(0, 2).toUpperCase()) + '</span>' +
- (avatar !== '#' ? '<img src="' + avatar + '" alt="' + alt + '" loading="lazy" onerror="this.remove()" />' : '') +
- '</span><div><b>' + name + '</b><i>' + label + '</i></div></a>';
- }
-
- function fill(row, list) {
- var html = list.map(card).join('');
- row.innerHTML = html + '<span class="mq-dup" aria-hidden="true" inert>' + html + '</span>';
- // Constant drift speed regardless of how many cards the API returns.
- row.style.animationDuration = Math.max(40, list.length * 5) + 's';
- }
-
- if (row1 && row2) {
- fetch('https://api.github.com/repos/OpenSelena/libreget/contributors?per_page=100', {
- headers: { 'Accept': 'application/vnd.github.v3+json' }
- })
- .then(function (r) { return r.ok ? r.json() : Promise.reject(new Error('http ' + r.status)); })
- .then(function (list) {
- if (!Array.isArray(list)) return;
- var people = list.filter(function (c) {
- return c && c.login && c.type !== 'Bot' && c.login.indexOf('[bot]') === -1;
- });
- if (!people.length) return;
-
- var mid = Math.ceil(people.length / 2);
- var top = people.slice(0, mid);
- fill(row1, top);
- fill(row2, bottom.length ? bottom : top);
- })
- .catch(function () { /* pre-rendered cards stay */ });
- }
-
- // Smooth scroll for in-page anchors without appending hash to browser URL
- document.querySelectorAll('a[href^="#"]').forEach(function (a) {
- a.addEventListener('click', function (e) {
- var id = a.getAttribute('href').slice(1);
- if (!id) return;
- var el = document.getElementById(id);
- if (el) {
- e.preventDefault();
- el.scrollIntoView({ behavior: 'smooth' });
- }
- });
- });
-})();
-</script>
-</body>
-</html>
diff --git a/robots.txt b/robots.txt
deleted file mode 100644
index 60eb30be..00000000
--- a/robots.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-User-agent: *
-Allow: /
-
-Sitemap: https://libreget.asf.sale/sitemap.xml
diff --git a/scripts/bump-version.js b/scripts/bump-version.js
index 3abc62fa..17d69a40 100644
--- a/scripts/bump-version.js
+++ b/scripts/bump-version.js
@@ -152,35 +152,6 @@ if (fs.existsSync(aboutProjectPath)) {
);
}
-// Update landing page (index.html)
-function updateLandingPageContent(content) {
- return content
- .replace(/"softwareVersion":\s*"[^"]+"/, `"softwareVersion": "${version}"`)
- // Asset download links are pinned to the release tag: rewrite the tag and
- // every version number inside the asset name in a single pass.
- .replace(/releases\/tag\/v\d+\.\d+\.\d+\/download\/[^\s"'<>\\]+/g, (m) =>
- m.replace(/v\d+\.\d+\.\d+(?=\/download)/, `v${version}`).replace(/\d+\.\d+\.\d+/g, version)
- )
- .replace(/LibreGet v\d+\.\d+\.\d+\. Free and open source/g, `LibreGet v${version}. Free and open source`)
- .replace(/releases\/tag\/v\d+\.\d+\.\d+/g, `releases/tag/v${version}`)
- .replace(/Get LibreGet v\d+\.\d+\.\d+/g, `Get LibreGet v${version}`);
-}
-
-const indexPath = path.join(root, "index.html");
-if (fs.existsSync(indexPath)) {
- writeText(indexPath, updateLandingPageContent);
-}
-
-// Update docs sidebar version pills
-const docsDirs = ["docs", "docs/changelog", "docs/courses", "docs/installation", "docs/mcp", "docs/nami", "docs/troubleshooting"];
-for (const d of docsDirs) {
- const docFile = path.join(root, d, "index.html");
- if (fs.existsSync(docFile)) {
- writeText(docFile, (content) => {
- return content.replace(/<aside class="docs-sidebar">[\s\S]*?<\/aside>/g, (sidebar) => sidebar.replace(/<span class="sidebar-tag">v\d+\.\d+\.\d+<\/span>/g, `<span class="sidebar-tag">v${version}</span>`));
- });
- }
-}
// Update security policy supported versions
const [maj, min] = version.split(".");
diff --git a/scripts/e2e_verify.mjs b/scripts/e2e_verify.mjs
deleted file mode 100644
index 709eb36d..00000000
--- a/scripts/e2e_verify.mjs
+++ /dev/null
@@ -1,121 +0,0 @@
-#!/usr/bin/env node
-
-/**
- * LibreGet Documentation Suite E2E Test Runner & Verification Harness
- *
- * Implements a 4-tier opaque-box test architecture validating:
- * - Tier 1: Feature Coverage (Links, Search Modal, Theme, Copy Buttons, Immutability)
- * - Tier 2: Boundary & Corner Cases (Missing Anchors, Empty Queries, file:/// Normalization, Sticky Header Offsets)
- * - Tier 3: Cross-Feature Interactions (Theme Persistence, Modal Navigation, Deep-Link Offsets, Close Triggers)
- * - Tier 4: Real-World Scenarios (Reading Flow, Mobile 768px Collapse, Anti-AI Slop Lexicon & Staging Linter)
- */
-
-import { runTier1Tests } from '../tests/tier1_features.mjs';
-import { runTier2Tests } from '../tests/tier2_boundaries.mjs';
-import { runTier3Tests } from '../tests/tier3_interactions.mjs';
-import { runTier4Tests } from '../tests/tier4_realworld.mjs';
-
-const args = process.argv.slice(2);
-const isVerbose = args.includes('--verbose');
-const isBaseline = args.includes('--baseline');
-const tierFilter = args.find(a => a.startsWith('--tier='))?.split('=')[1];
-
-// ANSI Color Helpers
-const RESET = '\x1b[0m';
-const BOLD = '\x1b[1m';
-const GREEN = '\x1b[32m';
-const RED = '\x1b[31m';
-const YELLOW = '\x1b[33m';
-const CYAN = '\x1b[36m';
-const GRAY = '\x1b[90m';
-
-console.log(`${BOLD}${CYAN}========================================================================${RESET}`);
-console.log(`${BOLD}${CYAN} LibreGet Documentation Suite: Comprehensive E2E Verification Harness ${RESET}`);
-console.log(`${BOLD}${CYAN}========================================================================${RESET}`);
-console.log(`${GRAY}Mode: Opaque-Box Native Node Harness | Target: 7 Doc Pages + Root Landing Page${RESET}\n`);
-
-const allResults = [];
-
-// Execute Tier 1
-if (!tierFilter || tierFilter === '1') {
- console.log(`${BOLD}Running Tier 1: Feature Coverage Tests...${RESET}`);
- const t1 = runTier1Tests();
- allResults.push(...t1);
-}
-
-// Execute Tier 2
-if (!tierFilter || tierFilter === '2') {
- console.log(`${BOLD}Running Tier 2: Boundary & Corner Case Tests...${RESET}`);
- const t2 = runTier2Tests();
- allResults.push(...t2);
-}
-
-// Execute Tier 3
-if (!tierFilter || tierFilter === '3') {
- console.log(`${BOLD}Running Tier 3: Cross-Feature Interaction Tests...${RESET}`);
- const t3 = runTier3Tests();
- allResults.push(...t3);
-}
-
-// Execute Tier 4
-if (!tierFilter || tierFilter === '4') {
- console.log(`${BOLD}Running Tier 4: Real-World Scenario & Anti-AI Slop Tests...${RESET}`);
- const t4 = runTier4Tests();
- allResults.push(...t4);
-}
-
-console.log('\n' + `${BOLD}--- Test Execution Results by Tier ---${RESET}`);
-
-const tiers = [1, 2, 3, 4];
-let totalPassed = 0;
-let totalFailed = 0;
-
-for (const tier of tiers) {
- const tierResults = allResults.filter(r => r.tier === tier);
- if (tierResults.length === 0) continue;
-
- const passed = tierResults.filter(r => r.passed).length;
- const failed = tierResults.filter(r => !r.passed).length;
- totalPassed += passed;
- totalFailed += failed;
-
- const statusColor = failed === 0 ? GREEN : RED;
- console.log(`\n${BOLD}Tier ${tier} Summary:${RESET} ${statusColor}${passed}/${tierResults.length} Passed (${failed} Failed)${RESET}`);
-
- for (const r of tierResults) {
- const icon = r.passed ? `${GREEN}✔ PASS${RESET}` : `${RED}✘ FAIL${RESET}`;
- console.log(` ${icon} ${r.name}`);
- if (r.details) {
- console.log(` ${GRAY}${r.details}${RESET}`);
- }
- if (!r.passed && (isVerbose || isBaseline)) {
- if (r.error) {
- console.log(` ${YELLOW}Defect: ${r.error}${RESET}`);
- }
- }
- }
-}
-
-console.log('\n' + `${BOLD}${CYAN}========================================================================${RESET}`);
-console.log(`${BOLD}Final Verification Summary:${RESET}`);
-console.log(` Total Tests Run : ${allResults.length}`);
-console.log(` Passing Tests : ${GREEN}${totalPassed}${RESET}`);
-console.log(` Failing Tests : ${totalFailed > 0 ? RED : GREEN}${totalFailed}${RESET}`);
-const passRate = ((totalPassed / allResults.length) * 100).toFixed(1);
-console.log(` Pass Rate : ${totalFailed === 0 ? GREEN : YELLOW}${passRate}%${RESET}`);
-console.log(`${BOLD}${CYAN}========================================================================${RESET}\n`);
-
-if (totalFailed > 0) {
- if (isBaseline) {
- console.log(`${YELLOW}[BASELINE NOTE] Baseline scorecard recorded with ${totalFailed} expected pre-existing issues.${RESET}`);
- console.log(`${YELLOW}Downstream milestones (M2: Design/CSS/Structure, M3: Copy/Slop) will resolve these defects.${RESET}\n`);
- process.exit(0);
- } else {
- console.log(`${RED}[FAIL] Suite detected ${totalFailed} failing assertions. Exiting with status 1.${RESET}`);
- console.log(`${GRAY}(Tip: Use 'node scripts/e2e_verify.mjs --baseline' to view baseline without non-zero exit code)${RESET}\n`);
- process.exit(1);
- }
-} else {
- console.log(`${GREEN}[SUCCESS] All ${totalPassed} E2E tests passed with 100% compliance!${RESET}\n`);
- process.exit(0);
-}
diff --git a/scripts/lint-ui.mjs b/scripts/lint-ui.mjs
index b913abcb..b7265b2d 100644
--- a/scripts/lint-ui.mjs
+++ b/scripts/lint-ui.mjs
@@ -5,15 +5,11 @@
*
* Audits rendered UI against explicit design policies:
* - ui-policy.app.json : Svelte 5 desktop routes (1100x720 & 800x560, 28px controls, baseline diffing)
- * - ui-policy.docs.json : Landing page & docs suite (1280x800 & 375x812, strict zero-findings)
*
* Usage:
* pnpm lint:ui /settings # Lint a single Svelte route (dark + light)
* pnpm lint:ui /courses # Lint an embedded plugin route
- * pnpm lint:ui docs/mcp/index.html # Lint a single documentation page
- * pnpm lint:ui index.html # Lint the root landing page
* pnpm lint:ui --shell # Lint all core desktop routes
- * pnpm lint:ui --docs # Lint landing page + all 7 doc pages
* pnpm lint:ui /settings --all-themes # Lint across all 14 themes in src/app.css
* pnpm lint:ui:update [target] # Record/refresh baseline in scripts/ui-lint-baseline.json
*/
@@ -29,7 +25,6 @@ import { checkPage, validatePolicy } from "lintapple";
const __dirname = path.dirname(fileURLToPath(import.meta.url));
export const ROOT_DIR = path.resolve(__dirname, "..");
export const APP_POLICY_PATH = path.join(ROOT_DIR, "ui-policy.app.json");
-export const DOCS_POLICY_PATH = path.join(ROOT_DIR, "ui-policy.docs.json");
export const BASELINE_PATH = path.join(ROOT_DIR, "scripts", "ui-lint-baseline.json");
export const ALL_APP_THEMES = [
@@ -74,42 +69,14 @@ export const PLUGIN_ROUTES = [
"/study",
];
-export const CANONICAL_DOCS = [
- "index.html",
- "docs/index.html",
- "docs/installation/index.html",
- "docs/mcp/index.html",
- "docs/courses/index.html",
- "docs/nami/index.html",
- "docs/troubleshooting/index.html",
- "docs/changelog/index.html",
-];
-
-function normalizeDocTarget(raw) {
- const cleaned = raw.replace(/\\/g, "/").replace(/^\.\//, "");
- if (cleaned.endsWith(".html")) return cleaned;
- return `${cleaned.replace(/\/$/, "")}/index.html`;
-}
-
export function resolveTargets(argv = []) {
const mode = argv.includes("--update") ? "update" : "check";
const json = argv.includes("--json");
const allThemes = argv.includes("--all-themes");
const isShell = argv.includes("--shell");
- const isDocs = argv.includes("--docs");
const positional = argv.filter((a) => !a.startsWith("--"));
- if (isDocs) {
- return {
- surface: "docs",
- targets: CANONICAL_DOCS,
- themes: ["dark", "light"],
- mode,
- json,
- };
- }
-
if (isShell) {
return {
surface: "app",
@@ -130,23 +97,6 @@ export function resolveTargets(argv = []) {
};
}
- const primaryTarget = positional[0].replace(/\\/g, "/");
- const isDocTarget =
- primaryTarget === "index.html" ||
- primaryTarget.startsWith("docs/") ||
- primaryTarget === "docs" ||
- primaryTarget.endsWith(".html");
-
- if (isDocTarget) {
- return {
- surface: "docs",
- targets: positional.map(normalizeDocTarget),
- themes: ["dark", "light"],
- mode,
- json,
- };
- }
-
return {
surface: "app",
targets: positional.map((t) => (t.startsWith("/") ? t : `/${t}`)),
@@ -503,78 +453,6 @@ async function ensureViteServer(port = 1420) {
throw new Error(`Timed out waiting for Vite dev server on port ${port}.\nLogs:\n${logs}`);
}
-const MIME_TYPES = {
- ".html": "text/html; charset=utf-8",
- ".css": "text/css; charset=utf-8",
- ".js": "application/javascript; charset=utf-8",
- ".mjs": "application/javascript; charset=utf-8",
- ".json": "application/json; charset=utf-8",
- ".png": "image/png",
- ".jpg": "image/jpeg",
- ".jpeg": "image/jpeg",
- ".svg": "image/svg+xml",
- ".ico": "image/x-icon",
- ".woff2": "font/woff2",
-};
-
-async function detectExistingDocsServer(candidatePorts = [8080, 4173, 3000, 5500]) {
- if (process.env.UI_LINT_DOCS_URL) {
- return process.env.UI_LINT_DOCS_URL.replace(/\/$/, "");
- }
- for (const port of candidatePorts) {
- const openUrl = await isPortOpen(port);
- if (!openUrl) continue;
- try {
- const res = await fetch(`${openUrl}/index.html`, { signal: AbortSignal.timeout(1000) });
- if (res.ok) {
- const text = await res.text();
- if (text.includes("LibreGet") && text.includes("docs/")) {
- return openUrl;
- }
- }
- } catch {
- // Ignore non-docs server on candidate port
- }
- }
- return null;
-}
-
-async function ensureStaticDocsServer() {
- const existingUrl = await detectExistingDocsServer();
- if (existingUrl) {
- return { url: existingUrl, close: async () => {} };
- }
-
- const server = http.createServer((req, res) => {
- const urlPath = decodeURIComponent((req.url || "/").split("?")[0]);
- let relPath = urlPath.replace(/^\/+/, "");
- if (!relPath || relPath.endsWith("/")) {
- relPath = `${relPath}index.html`;
- }
- const absPath = path.resolve(ROOT_DIR, relPath);
- if (!absPath.startsWith(ROOT_DIR) || !fs.existsSync(absPath) || fs.statSync(absPath).isDirectory()) {
- res.writeHead(404);
- res.end("Not found");
- return;
- }
- const ext = path.extname(absPath).toLowerCase();
- res.writeHead(200, { "Content-Type": MIME_TYPES[ext] || "application/octet-stream" });
- fs.createReadStream(absPath).pipe(res);
- });
-
- return new Promise((resolve, reject) => {
- server.on("error", reject);
- server.listen(0, "127.0.0.1", () => {
- const address = server.address();
- const port = typeof address === "object" && address ? address.port : 0;
- resolve({
- url: `http://127.0.0.1:${port}`,
- close: () => new Promise((r) => server.close(() => r())),
- });
- });
- });
-}
-
async function launchChromiumBrowser() {
for (const opts of [{}, { channel: "chrome" }, { channel: "msedge" }]) {
try {
@@ -605,31 +483,18 @@ async function auditTarget(browser, baseUrl, surface, target, themes, policy) {
});
try {
- if (surface === "app") {
- await context.addInitScript(buildTauriMockInitScript(theme));
- } else {
- await context.addInitScript((t) => {
- try {
- localStorage.setItem("libreget_docs_theme", t);
- localStorage.setItem("theme", t);
- } catch {}
- }, theme);
- }
+ await context.addInitScript(buildTauriMockInitScript(theme));
const page = await context.newPage();
page.setDefaultTimeout(60000);
- const url =
- surface === "app"
- ? `${baseUrl}${target}`
- : `${baseUrl}/${target.replace(/^\/+/, "")}`;
+ const url = `${baseUrl}${target}`;
await page.goto(url, { waitUntil: "load", timeout: 60000 });
- if (surface === "app") {
- await page
- .locator("#main-content, .stream-popout")
- .first()
- .waitFor({ state: "visible", timeout: 60000 });
- }
+ await page
+ .locator("#main-content, .stream-popout")
+ .first()
+ .waitFor({ state: "visible", timeout: 60000 });
+
await page.evaluate(
({ t, isDark }) => {
document.documentElement.setAttribute("data-theme", t);
@@ -659,17 +524,13 @@ async function auditTarget(browser, baseUrl, surface, target, themes, policy) {
async function main() {
const plan = resolveTargets(process.argv.slice(2));
- const policyPath = plan.surface === "app" ? APP_POLICY_PATH : DOCS_POLICY_PATH;
- const policy = validatePolicy(JSON.parse(fs.readFileSync(policyPath, "utf-8")));
+ const policy = validatePolicy(JSON.parse(fs.readFileSync(APP_POLICY_PATH, "utf-8")));
const existingBaseline = fs.existsSync(BASELINE_PATH)
? JSON.parse(fs.readFileSync(BASELINE_PATH, "utf-8"))
: { targets: {} };
- const server =
- plan.surface === "app"
- ? await ensureViteServer(1420)
- : await ensureStaticDocsServer();
+ const server = await ensureViteServer(1420);
const browser = await launchChromiumBrowser();
const targetFindings = {};
diff --git a/sitemap.xml b/sitemap.xml
deleted file mode 100644
index 5a27acdb..00000000
--- a/sitemap.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
- <url>
- <loc>https://libreget.asf.sale/</loc>
- <lastmod>2026-10-08</lastmod>
- <changefreq>weekly</changefreq>
- <priority>1.0</priority>
- </url>
- <url>
- <loc>https://libreget.asf.sale/docs/</loc>
- <lastmod>2026-10-08</lastmod>
- <changefreq>weekly</changefreq>
- <priority>0.9</priority>
- </url>
- <url>
- <loc>https://libreget.asf.sale/docs/installation/</loc>
- <lastmod>2026-10-08</lastmod>
- <changefreq>weekly</changefreq>
- <priority>0.8</priority>
- </url>
- <url>
- <loc>https://libreget.asf.sale/docs/courses/</loc>
- <lastmod>2026-10-08</lastmod>
- <changefreq>weekly</changefreq>
- <priority>0.8</priority>
- </url>
- <url>
- <loc>https://libreget.asf.sale/docs/nami/</loc>
- <lastmod>2026-10-08</lastmod>
- <changefreq>weekly</changefreq>
- <priority>0.8</priority>
- </url>
- <url>
- <loc>https://libreget.asf.sale/docs/mcp/</loc>
- <lastmod>2026-10-08</lastmod>
- <changefreq>weekly</changefreq>
- <priority>0.8</priority>
- </url>
- <url>
- <loc>https://libreget.asf.sale/docs/troubleshooting/</loc>
- <lastmod>2026-10-08</lastmod>
- <changefreq>monthly</changefreq>
- <priority>0.7</priority>
- </url>
- <url>
- <loc>https://libreget.asf.sale/docs/changelog/</loc>
- <lastmod>2026-10-08</lastmod>
- <changefreq>weekly</changefreq>
- <priority>0.7</priority>
- </url>
- <url>
- <loc>https://libreget.asf.sale/llms.txt</loc>
- <lastmod>2026-10-08</lastmod>
- <changefreq>weekly</changefreq>
- <priority>0.6</priority>
- </url>
-</urlset>
diff --git a/src/lib/ui-lint.test.ts b/src/lib/ui-lint.test.ts
index c77bc7e1..5b9148ba 100644
--- a/src/lib/ui-lint.test.ts
+++ b/src/lib/ui-lint.test.ts
@@ -6,7 +6,6 @@ import { validatePolicy } from "lintapple";
describe("UI Lint Policies & Target Runner", () => {
const rootDir = path.resolve(__dirname, "../..");
const appPolicyPath = path.join(rootDir, "ui-policy.app.json");
- const docsPolicyPath = path.join(rootDir, "ui-policy.docs.json");
it("validates ui-policy.app.json against lintapple and LibreGet desktop tokens", () => {
const raw = JSON.parse(fs.readFileSync(appPolicyPath, "utf-8"));
@@ -21,41 +20,7 @@ describe("UI Lint Policies & Target Runner", () => {
expect(validated.colorSchemes).toEqual(["dark", "light"]);
});
- it("validates ui-policy.docs.json against lintapple and includes anti-slop banned copy", () => {
- const raw = JSON.parse(fs.readFileSync(docsPolicyPath, "utf-8"));
- const validated = validatePolicy(raw);
-
- expect(validated.viewports).toEqual([
- { width: 1280, height: 800 },
- { width: 375, height: 812 },
- ]);
- expect(validated.colorSchemes).toEqual(["dark", "light"]);
- expect(validated.bannedCopy).toEqual(
- expect.arrayContaining([
- "seamlessly",
- "seamless",
- "comprehensive",
- "empowering",
- "half the battle",
- "revolutionize",
- "delve",
- "testament",
- "elevate",
- "comprehensive suite",
- "robust powerhouse",
- "powerhouse",
- "supercharge",
- "cutting-edge",
- "game-changer",
- "unleash",
- "tapestry",
- "multifaceted",
- "unparalleled",
- ])
- );
- });
-
- it("resolves single Svelte routes, doc paths, --shell, and --all-themes", async () => {
+ it("resolves single Svelte routes, --shell, and --all-themes", async () => {
const { resolveTargets, ALL_APP_THEMES, SHELL_ROUTES, buildTauriMockInitScript } = await import(
"../../scripts/lint-ui.mjs"
);
@@ -69,11 +34,6 @@ describe("UI Lint Policies & Target Runner", () => {
expect(shellPlan.targets).toEqual(SHELL_ROUTES);
expect(SHELL_ROUTES).toContain("/nami");
- const docShort = resolveTargets(["docs/mcp"]);
- expect(docShort.surface).toBe("docs");
- expect(docShort.targets).toEqual(["docs/mcp/index.html"]);
- expect(docShort.themes).toEqual(["dark", "light"]);
-
const allThemes = resolveTargets(["/settings", "--all-themes"]);
expect(allThemes.surface).toBe("app");
expect(allThemes.targets).toEqual(["/settings"]);
@@ -84,7 +44,7 @@ describe("UI Lint Policies & Target Runner", () => {
expect(mockScript).toContain("plugin:courses|courses_list_platforms");
});
- it("enforces strict zero-findings on docs, baseline diffing on app routes, and per-theme max normalization", async () => {
+ it("enforces baseline diffing on app routes and per-theme max normalization", async () => {
const { tallyFindings, compareTargetBaseline } = await import("../../scripts/lint-ui.mjs");
const sampleFindings = [
@@ -128,14 +88,6 @@ describe("UI Lint Policies & Target Runner", () => {
});
expect(appRegress.passed).toBe(false);
expect(appRegress.worse).toEqual([{ rule: "control-size", was: 1, now: 2 }]);
-
- // Docs surface: strict zero-findings even if a baseline object was passed
- const docsFail = compareTargetBaseline("docs", counts, {
- "control-size": 5,
- "icon-button-tooltip": 5,
- });
- expect(docsFail.passed).toBe(false);
- expect(docsFail.worse.length).toBe(2);
});
it("registers lint:ui and lint:ui:update in package.json and ships scripts/ui-lint-baseline.json", () => {
@@ -159,7 +111,6 @@ describe("UI Lint Policies & Target Runner", () => {
const skillMd = fs.readFileSync(skillPath, "utf-8");
expect(skillMd).toContain("name: ui-lint");
expect(skillMd).toContain("ui-policy.app.json");
- expect(skillMd).toContain("ui-policy.docs.json");
});
});
diff --git a/tests/helpers.mjs b/tests/helpers.mjs
deleted file mode 100644
index eba45334..00000000
--- a/tests/helpers.mjs
+++ /dev/null
@@ -1,316 +0,0 @@
-import { readFileSync, existsSync, statSync } from 'node:fs';
-import { resolve, join, dirname, normalize } from 'node:path';
-import { createHash } from 'node:crypto';
-
-export const PROJECT_ROOT = resolve('.');
-export const DOCS_ROOT = resolve('docs');
-
-export const CANONICAL_DOC_PAGES = [
- 'docs/index.html',
- 'docs/installation/index.html',
- 'docs/mcp/index.html',
- 'docs/courses/index.html',
- 'docs/nami/index.html',
- 'docs/troubleshooting/index.html',
- 'docs/changelog/index.html'
-];
-
-export const ROOT_LANDING_PAGE = 'index.html';
-
-export function calculateMd5(content) {
- const buf = Buffer.isBuffer(content) ? content : Buffer.from(content, 'utf8');
- return createHash('md5').update(buf).digest('hex');
-}
-
-/**
- * Robust, lightweight HTML/CSS/JS parser tailored for opaque-box doc audit.
- */
-export function parseDocPage(relPath) {
- const absPath = resolve(PROJECT_ROOT, relPath);
- if (!existsSync(absPath)) {
- throw new Error(`File not found: ${absPath}`);
- }
- const content = readFileSync(absPath, 'utf8');
- const buffer = readFileSync(absPath);
-
- // Extract all element IDs
- const idRegex = /\bid\s*=\s*["']([^"']+)["']/gi;
- const ids = new Set();
- let match;
- while ((match = idRegex.exec(content)) !== null) {
- ids.add(match[1]);
- }
-
- // Extract all <a href="..."> links
- const aRegex = /<a\b([^>]*)>(.*?)<\/a>/gis;
- const links = [];
- while ((match = aRegex.exec(content)) !== null) {
- const attrs = match[1];
- const text = match[2].replace(/<[^>]+>/g, '').trim();
- const hrefMatch = /href\s*=\s*["']([^"']*)["']/i.exec(attrs);
- if (hrefMatch) {
- links.push({
- href: hrefMatch[1],
- text,
- fullMatch: match[0],
- index: match.index
- });
- }
- }
-
- // Extract all <img src="..."> tags
- const imgRegex = /<img\b([^>]*)>/gi;
- const images = [];
- while ((match = imgRegex.exec(content)) !== null) {
- const attrs = match[1];
- const srcMatch = /src\s*=\s*["']([^"']*)["']/i.exec(attrs);
- const altMatch = /alt\s*=\s*["']([^"']*)["']/i.exec(attrs);
- if (srcMatch) {
- images.push({
- src: srcMatch[1],
- alt: altMatch ? altMatch[1] : '',
- index: match.index
- });
- }
- }
-
- // Extract Headings (h1 to h6)
- const headingRegex = /<(h[1-6])\b([^>]*)>(.*?)<\/\1>/gis;
- const headings = [];
- while ((match = headingRegex.exec(content)) !== null) {
- const level = match[1].toLowerCase();
- const attrs = match[2];
- const rawInner = match[3];
- const text = rawInner.replace(/<[^>]+>/g, '').trim();
- const idMatch = /id\s*=\s*["']([^"']+)["']/i.exec(attrs);
- const classMatch = /class\s*=\s*["']([^"']+)["']/i.exec(attrs);
- headings.push({
- level,
- id: idMatch ? idMatch[1] : null,
- className: classMatch ? classMatch[1] : '',
- text,
- rawInner,
- index: match.index
- });
- }
-
- // Extract release box articles (specifically used in changelog)
- const articleRegex = /<article\b([^>]*)>(.*?)<\/article>/gis;
- const articles = [];
- while ((match = articleRegex.exec(content)) !== null) {
- const attrs = match[1];
- const idMatch = /id\s*=\s*["']([^"']+)["']/i.exec(attrs);
- const classMatch = /class\s*=\s*["']([^"']+)["']/i.exec(attrs);
- articles.push({
- id: idMatch ? idMatch[1] : null,
- className: classMatch ? classMatch[1] : '',
- index: match.index
- });
- }
-
- // Extract style blocks
- const styleRegex = /<style\b[^>]*>(.*?)<\/style>/gis;
- const styles = [];
- while ((match = styleRegex.exec(content)) !== null) {
- styles.push(match[1]);
- }
- const combinedCss = styles.join('\n');
-
- // Extract script blocks
- const scriptRegex = /<script\b[^>]*>(.*?)<\/script>/gis;
- const scripts = [];
- while ((match = scriptRegex.exec(content)) !== null) {
- scripts.push(match[1]);
- }
- const combinedJs = scripts.join('\n');
-
- // Extract meta tags
- const metaRegex = /<meta\b([^>]*)>/gi;
- const metas = [];
- while ((match = metaRegex.exec(content)) !== null) {
- const attrs = match[1];
- const nameMatch = /name\s*=\s*["']([^"']+)["']/i.exec(attrs);
- const propMatch = /property\s*=\s*["']([^"']+)["']/i.exec(attrs);
- const contentMatch = /content\s*=\s*["']([^"']+)["']/i.exec(attrs);
- metas.push({
- name: nameMatch ? nameMatch[1] : (propMatch ? propMatch[1] : ''),
- content: contentMatch ? contentMatch[1] : ''
- });
- }
-
- // Extract prose text stripped of scripts, styles, and tags
- let strippedText = content
- .replace(/<style\b[^>]*>.*?<\/style>/gis, ' ')
- .replace(/<script\b[^>]*>.*?<\/script>/gis, ' ')
- .replace(/<!--.*?-->/gis, ' ')
- .replace(/<[^>]+>/g, ' ')
- .replace(/&nbsp;/g, ' ')
- .replace(/&amp;/g, '&')
- .replace(/&lt;/g, '<')
- .replace(/&gt;/g, '>')
- .replace(/&rarr;/g, '->')
- .replace(/&larr;/g, '<-')
- .replace(/\s+/g, ' ');
-
- // Extract Search Modal specific structure
- // Check for search backdrop (#searchModalBackdrop or #searchBackdrop)
- const hasSearchBackdrop = /id\s*=\s*["'](searchModalBackdrop|searchBackdrop)["']/i.test(content) ||
- /class\s*=\s*["'][^"']*search-modal-backdrop[^"']*["']/i.test(content);
- const backdropMatch = /<div\b[^>]*id\s*=\s*["'](searchModalBackdrop|searchBackdrop)["'][^>]*>/i.exec(content) ||
- /<div\b[^>]*class\s*=\s*["'][^"']*search-modal-backdrop[^"']*["'][^>]*>/i.exec(content);
- const backdropId = backdropMatch ? (/id\s*=\s*["']([^"']+)["']/i.exec(backdropMatch[0])?.[1] || null) : null;
-
- // Check search trigger button
- const hasSearchTrigger = /id\s*=\s*["']searchBtn["']/i.test(content) ||
- /class\s*=\s*["'][^"']*search-trigger[^"']*["']/i.test(content);
-
- // Check search input
- const hasSearchInput = /id\s*=\s*["']searchInput["']/i.test(content) ||
- /class\s*=\s*["'][^"']*search-modal-input[^"']*["']/i.test(content);
-
- // Check search items list container
- const hasSearchList = /id\s*=\s*["'](searchItemsList|searchResults)["']/i.test(content) ||
- /class\s*=\s*["'][^"']*search-results-list[^"']*["']/i.test(content);
-
- // Extract search result items
- const searchItemRegex = /<li\b[^>]*class\s*=\s*["'][^"']*search-result-item[^"']*["'][^>]*>(.*?)<\/li>/gis;
- const searchItems = [];
- while ((match = searchItemRegex.exec(content)) !== null) {
- const full = match[0];
- const inner = match[1];
- const onclickMatch = /onclick\s*=\s*["']location\.href\s*=\s*['"]([^'"]+)['"]\s*["']/i.exec(full) ||
- /onclick\s*=\s*["'][^"']*href\s*=\s*['"]([^'"]+)['"]\s*["']/i.exec(full);
- const titleMatch = /<span\b[^>]*class\s*=\s*["'][^"']*search-result-title[^"']*["'][^>]*>(.*?)<\/span>/is.exec(inner) ||
- /<div\b[^>]*class\s*=\s*["'][^"']*search-result-title[^"']*["'][^>]*>(.*?)<\/div>/is.exec(inner) ||
- /<strong\b[^>]*>(.*?)<\/strong>/is.exec(inner);
- const descMatch = /<span\b[^>]*class\s*=\s*["'][^"']*search-result-desc[^"']*["'][^>]*>(.*?)<\/span>/is.exec(inner) ||
- /<div\b[^>]*class\s*=\s*["'][^"']*search-result-desc[^"']*["'][^>]*>(.*?)<\/div>/is.exec(inner);
- searchItems.push({
- target: onclickMatch ? onclickMatch[1] : null,
- title: titleMatch ? titleMatch[1].replace(/<[^>]+>/g, '').trim() : '',
- desc: descMatch ? descMatch[1].replace(/<[^>]+>/g, '').trim() : '',
- fullHtml: full
- });
- }
-
- // Extract code blocks and copy buttons
- const codeBlockRegex = /<div\b[^>]*class\s*=\s*["'][^"']*code-block[^"']*["'][^>]*>(.*?)<\/div>\s*<\/div>/gis;
- const codeBlocks = [];
- const copyBtnRegex = /<button\b[^>]*class\s*=\s*["'][^"']*(copy-btn|btn-copy)[^"']*["'][^>]*>/gi;
- let copyButtonCount = 0;
- while ((match = copyBtnRegex.exec(content)) !== null) {
- copyButtonCount++;
- }
-
- // Pagination grid
- const pageNavGridIndex = content.indexOf('class="page-nav-grid"');
- let paginationPrev = null;
- let paginationNext = null;
- let hasPageNavGrid = false;
- if (pageNavGridIndex !== -1) {
- hasPageNavGrid = true;
- const gridChunk = content.slice(pageNavGridIndex, pageNavGridIndex + 1500);
- const cardRegex = /<a\b[^>]*href\s*=\s*["']([^"']+)["'][^>]*class\s*=\s*["'][^"']*page-nav-card[^"']*["'][^>]*>(.*?)<\/a>/gis;
- let cardMatch;
- while ((cardMatch = cardRegex.exec(gridChunk)) !== null) {
- const href = cardMatch[1];
- const inner = cardMatch[2];
- if (/Previous/i.test(inner)) {
- paginationPrev = href;
- } else if (/Next/i.test(inner)) {
- paginationNext = href;
- }
- }
- }
-
- // Breadcrumbs
- const hasBreadcrumbs = /class\s*=\s*["'][^"']*breadcrumbs[^"']*["']/i.test(content);
-
- // Subtabs container
- const subtabsContainerMatch = /id\s*=\s*["']topSubtabs["']/i.test(content);
- let activeSubtab = null;
- const topSubtabsIdx = content.indexOf('id="topSubtabs"');
- let subtabsChunk = '';
- if (topSubtabsIdx !== -1) {
- const endHeader = content.indexOf('</header>', topSubtabsIdx);
- subtabsChunk = content.slice(topSubtabsIdx, endHeader !== -1 ? endHeader : topSubtabsIdx + 12000);
- } else {
- const subtabsClassIdx = content.indexOf('nav-subtabs');
- if (subtabsClassIdx !== -1) {
- const endHeader = content.indexOf('</header>', subtabsClassIdx);
- subtabsChunk = content.slice(subtabsClassIdx, endHeader !== -1 ? endHeader : subtabsClassIdx + 12000);
- }
- }
- if (subtabsChunk) {
- const aRegex = /<a\b([^>]*)>(.*?)<\/a>/gis;
- let aMatch;
- while ((aMatch = aRegex.exec(subtabsChunk)) !== null) {
- const attrs = aMatch[1];
- const inner = aMatch[2];
- const classMatch = /class\s*=\s*["']([^"']+)["']/i.exec(attrs);
- if (classMatch && /\bactive\b/.test(classMatch[1])) {
- const hrefMatch = /href\s*=\s*["']([^"']+)["']/i.exec(attrs);
- activeSubtab = {
- href: hrefMatch ? hrefMatch[1] : '',
- label: inner.replace(/<[^>]+>/g, '').trim()
- };
- break;
- }
- }
- }
-
- return {
- relPath,
- absPath,
- content,
- buffer,
- ids,
- links,
- images,
- headings,
- articles,
- styles,
- combinedCss,
- scripts,
- combinedJs,
- metas,
- strippedText,
- search: {
- hasBackdrop: hasSearchBackdrop,
- backdropId,
- hasTrigger: hasSearchTrigger,
- hasInput: hasSearchInput,
- hasList: hasSearchList,
- items: searchItems
- },
- theme: {
- hasToggleBtn: /class\s*=\s*["'][^"']*theme-toggle-btn[^"']*["']/i.test(content),
- hasEarlyInit: /localStorage\.getItem\(['"](theme|libreget_docs_theme)['"]\)/i.test(content) &&
- content.indexOf('localStorage.getItem') < (content.indexOf('</head>') > 0 ? content.indexOf('</head>') : 3000),
- hasToggleFunc: /function\s+toggleTheme\s*\(/i.test(combinedJs),
- usesDocThemeKey: /libreget_docs_theme/i.test(combinedJs),
- usesStandardThemeKey: /localStorage\.setItem\(['"]theme['"]/i.test(combinedJs)
- },
- code: {
- copyButtonCount,
- hasCopyFunc: /function\s+copyCodeSnippet\s*\(/i.test(combinedJs),
- hasFallbackCopy: /execCommand\(['"]copy['"]\)/i.test(combinedJs) || /document\.createElement\(['"]textarea['"]\)/i.test(combinedJs)
- },
- pagination: {
- hasGrid: hasPageNavGrid,
- prev: paginationPrev,
- next: paginationNext
- },
- layout: {
- hasBreadcrumbs,
- hasSubtabsId: subtabsContainerMatch,
- activeSubtab,
- isCanonicalHeader: /class\s*=\s*["'][^"']*nav-header[^"']*["']/i.test(content),
- isCanonicalMain: /<main\b[^>]*class\s*=\s*["'][^"']*docs-main[^"']*["']/i.test(content)
- }
- };
-}
-
-export function loadAllDocPages() {
- return CANONICAL_DOC_PAGES.map(p => parseDocPage(p));
-}
diff --git a/tests/tier1_features.mjs b/tests/tier1_features.mjs
deleted file mode 100644
index 19cfb6e6..00000000
--- a/tests/tier1_features.mjs
+++ /dev/null
@@ -1,657 +0,0 @@
-import { existsSync, readFileSync } from 'node:fs';
-import { resolve, dirname, normalize } from 'node:path';
-import { execSync } from 'node:child_process';
-import {
- PROJECT_ROOT,
- CANONICAL_DOC_PAGES,
- ROOT_LANDING_PAGE,
- calculateMd5,
- parseDocPage,
- loadAllDocPages
-} from './helpers.mjs';
-
-export function runTier1Tests() {
- const pages = loadAllDocPages();
- const results = [];
-
- function record(name, passed, details = '', error = null) {
- results.push({ tier: 1, name, passed, details, error });
- }
-
- // =========================================================================
- // Feature Area 1: Internal Link & Anchor Integrity (>=5 tests)
- // =========================================================================
-
- // 1.1 All relative <a href> link targets resolve to existing disk files
- {
- const missingTargets = [];
- let totalLinks = 0;
- for (const page of pages) {
- const pageDir = dirname(page.absPath);
- for (const link of page.links) {
- const href = link.href.trim();
- if (!href || href.startsWith('http://') || href.startsWith('https://') || href.startsWith('mailto:') || href.startsWith('#')) {
- continue;
- }
- totalLinks++;
- const cleanHref = href.split('#')[0].split('?')[0];
- if (!cleanHref) continue;
-
- let targetAbs = resolve(pageDir, cleanHref);
- // If targeting a directory or ends in '/', test index.html resolution
- if (existsSync(targetAbs) && !cleanHref.endsWith('.html')) {
- const indexVariant = resolve(targetAbs, 'index.html');
- if (existsSync(indexVariant)) {
- targetAbs = indexVariant;
- }
- } else if (!existsSync(targetAbs)) {
- // If cleanHref ends with '/' and doesn't exist directly, check with index.html
- if (cleanHref.endsWith('/') || !cleanHref.includes('.')) {
- const indexVariant = resolve(pageDir, cleanHref, 'index.html');
- if (existsSync(indexVariant)) {
- targetAbs = indexVariant;
- }
- }
- }
-
- if (!existsSync(targetAbs)) {
- missingTargets.push({ from: page.relPath, href, resolved: targetAbs });
- }
- }
- }
- const passed = missingTargets.length === 0;
- record(
- 'Tier 1: Internal Link File Targets Exist',
- passed,
- `Checked ${totalLinks} relative internal links across all 7 pages. Broken targets: ${missingTargets.length}`,
- passed ? null : `Missing targets: ${JSON.stringify(missingTargets.slice(0, 5))}`
- );
- }
-
- // 1.2 In-page anchors (#anchor) resolve to existing element IDs on the same page
- {
- const missingAnchors = [];
- let totalAnchors = 0;
- for (const page of pages) {
- for (const link of page.links) {
- const href = link.href.trim();
- if (href.startsWith('#') && href.length > 1) {
- totalAnchors++;
- const anchorId = href.slice(1);
- if (!page.ids.has(anchorId)) {
- missingAnchors.push({ page: page.relPath, anchor: anchorId, linkText: link.text });
- }
- }
- }
- }
- const passed = missingAnchors.length === 0;
- record(
- 'Tier 1: In-Page Anchor Links Resolve to Valid IDs',
- passed,
- `Checked ${totalAnchors} in-page anchor links across all 7 pages. Missing anchor IDs: ${missingAnchors.length}`,
- passed ? null : `Missing anchors: ${JSON.stringify(missingAnchors.slice(0, 5))}`
- );
- }
-
- // 1.3 Cross-page deep-link anchors (path#anchor) resolve to target file and target ID
- {
- const missingDeepAnchors = [];
- let totalDeepLinks = 0;
- const pageMap = new Map(pages.map(p => [p.relPath.replace(/\\/g, '/'), p]));
-
- for (const page of pages) {
- const pageDir = dirname(page.absPath);
- for (const link of page.links) {
- const href = link.href.trim();
- if (href.includes('#') && !href.startsWith('#') && !href.startsWith('http')) {
- totalDeepLinks++;
- const [pathPart, anchorId] = href.split('#');
- let targetAbs = resolve(pageDir, pathPart);
- if (existsSync(targetAbs) && !pathPart.endsWith('.html')) {
- const idx = resolve(targetAbs, 'index.html');
- if (existsSync(idx)) targetAbs = idx;
- }
-
- // Check if target page is in our doc pages set
- const targetRel = targetAbs.replace(PROJECT_ROOT + '\\', '').replace(PROJECT_ROOT + '/', '').replace(/\\/g, '/');
- const targetDoc = pageMap.get(targetRel);
- if (targetDoc) {
- if (!targetDoc.ids.has(anchorId)) {
- missingDeepAnchors.push({ from: page.relPath, to: targetRel, anchor: anchorId });
- }
- }
- }
- }
- }
- const passed = missingDeepAnchors.length === 0;
- record(
- 'Tier 1: Cross-Page Deep-Link Anchors Target Valid IDs',
- passed,
- `Checked ${totalDeepLinks} cross-page deep links. Missing anchor targets: ${missingDeepAnchors.length}`,
- passed ? null : `Missing deep anchors: ${JSON.stringify(missingDeepAnchors.slice(0, 5))}`
- );
- }
-
- // 1.4 Top Subtabs routes resolution across all pages
- {
- const subtabIssues = [];
- for (const page of pages) {
- const pageDir = dirname(page.absPath);
- // Find subtab links in nav-subtabs
- const endHeader = page.content.indexOf('</header>');
- const subtabLinks = page.links.filter(l => l.fullMatch.includes('subtab-item') && (endHeader === -1 || l.index < endHeader));
- if (subtabLinks.length < 5) {
- subtabIssues.push({ page: page.relPath, issue: `Expected >= 7 subtabs, found ${subtabLinks.length}` });
- }
- for (const sub of subtabLinks) {
- if (sub.href.startsWith('http://') || sub.href.startsWith('https://')) continue;
- const clean = sub.href.split('#')[0];
- const abs = resolve(pageDir, clean);
- if (!existsSync(abs) && !existsSync(resolve(abs, 'index.html'))) {
- subtabIssues.push({ page: page.relPath, brokenSubtab: sub.href });
- }
- }
- }
- const passed = subtabIssues.length === 0;
- record(
- 'Tier 1: Subtabs Navigation Route Parity & Existence',
- passed,
- `Verified subtabs navigation bars across 7 pages. Issues: ${subtabIssues.length}`,
- passed ? null : `Subtabs issues: ${JSON.stringify(subtabIssues.slice(0, 5))}`
- );
- }
-
- // 1.5 Local image asset references exist on disk
- {
- const brokenImages = [];
- let totalImages = 0;
- for (const page of pages) {
- const pageDir = dirname(page.absPath);
- for (const img of page.images) {
- const src = img.src.trim();
- if (src.startsWith('http') || src.startsWith('data:')) continue;
- totalImages++;
- const targetAbs = resolve(pageDir, src);
- if (!existsSync(targetAbs)) {
- brokenImages.push({ page: page.relPath, src, resolved: targetAbs });
- }
- }
- }
- const passed = brokenImages.length === 0;
- record(
- 'Tier 1: Local Image Asset References Exist',
- passed,
- `Verified ${totalImages} image references. Broken assets: ${brokenImages.length}`,
- passed ? null : `Missing assets: ${JSON.stringify(brokenImages.slice(0, 5))}`
- );
- }
-
- // =========================================================================
- // Feature Area 2: Search Modal (>=5 tests)
- // =========================================================================
-
- // 2.1 Search modal core elements exist on all 7 pages
- {
- const missingElements = [];
- for (const page of pages) {
- // Must have backdrop (searchModalBackdrop or searchBackdrop), trigger (searchBtn or search-trigger), input (searchInput), list (searchItemsList or searchResults)
- if (!page.search.hasBackdrop) missingElements.push({ page: page.relPath, missing: 'Backdrop' });
- if (!page.search.hasTrigger) missingElements.push({ page: page.relPath, missing: 'Search Trigger' });
- if (!page.search.hasInput) missingElements.push({ page: page.relPath, missing: 'Search Input' });
- if (!page.search.hasList) missingElements.push({ page: page.relPath, missing: 'Search Results List' });
- }
- const passed = missingElements.length === 0;
- record(
- 'Tier 1: Search Modal Core DOM Elements Exist',
- passed,
- `Checked backdrop, trigger, input, and results list on 7 pages. Deficiencies: ${missingElements.length}`,
- passed ? null : `Missing elements: ${JSON.stringify(missingElements)}`
- );
- }
-
- // 2.2 Search modal uses canonical `.open` class contract
- {
- const modalClassIssues = [];
- for (const page of pages) {
- // Check if CSS rules or JS use .open vs .active specifically on search modal backdrop
- const usesOpenInCss = /\.search-modal-backdrop\.open\b/.test(page.combinedCss);
- const usesActiveInCss = /\.search-modal-backdrop\.active\b/.test(page.combinedCss);
- const openModalFuncMatch = /function\s+openSearchModal\s*\([^)]*\)\s*\{([^}]+)\}/s.exec(page.combinedJs);
- const openModalFuncBody = openModalFuncMatch ? openModalFuncMatch[1] : '';
- const usesActiveOnBackdropInJs = /classList\.(add|toggle)\(['"]active['"]\)/.test(openModalFuncBody);
- const usesOpenOnBackdropInJs = /classList\.(add|toggle)\(['"]open['"]\)/.test(openModalFuncBody);
-
- if (usesActiveInCss || usesActiveOnBackdropInJs) {
- modalClassIssues.push({
- page: page.relPath,
- error: 'Uses divergent .active class on search modal instead of canonical .open class contract'
- });
- } else if (!usesOpenInCss || !usesOpenOnBackdropInJs) {
- modalClassIssues.push({
- page: page.relPath,
- error: 'Missing canonical .open class handling in search modal CSS or JS'
- });
- }
- }
- const passed = modalClassIssues.length === 0;
- record(
- 'Tier 1: Search Modal Uses Canonical .open Class Contract',
- passed,
- `Verified modal open state class contract. Issues: ${modalClassIssues.length}`,
- passed ? null : `Class contract divergences: ${JSON.stringify(modalClassIssues)}`
- );
- }
-
- // 2.3 Search modal contains all 8 canonical documentation sections
- {
- const CANONICAL_SECTIONS = [
- { key: 'quickstart', pattern: /quickstart|overview/i },
- { key: 'installation', pattern: /installation|binary|packages/i },
- { key: 'mcp', pattern: /mcp|model context protocol/i },
- { key: 'courses', pattern: /course/i },
- { key: 'nami', pattern: /nami/i },
- { key: 'troubleshooting', pattern: /troubleshooting|fixes/i },
- { key: 'privacy', pattern: /privacy|telemetry/i },
- { key: 'changelog', pattern: /changelog|release/i }
- ];
-
- const indexDiscrepancies = [];
- for (const page of pages) {
- const items = page.search.items;
- const foundKeys = new Set();
- for (const item of items) {
- const combined = `${item.title} ${item.desc} ${item.target}`;
- for (const sec of CANONICAL_SECTIONS) {
- if (sec.pattern.test(combined)) {
- foundKeys.add(sec.key);
- }
- }
- }
-
- const missingSections = CANONICAL_SECTIONS.filter(s => !foundKeys.has(s.key)).map(s => s.key);
- if (missingSections.length > 0 || items.length < 8) {
- indexDiscrepancies.push({
- page: page.relPath,
- indexedItemCount: items.length,
- missingSections
- });
- }
- }
- const passed = indexDiscrepancies.length === 0;
- record(
- 'Tier 1: Search Modal Indexes All 8 Canonical Sections',
- passed,
- `Expected 8 indexed canonical sections per page. Divergences: ${indexDiscrepancies.length}`,
- passed ? null : `Index gaps: ${JSON.stringify(indexDiscrepancies)}`
- );
- }
-
- // 2.4 Search modal items point to valid destinations
- {
- const invalidItems = [];
- for (const page of pages) {
- const pageDir = dirname(page.absPath);
- for (const item of page.search.items) {
- if (!item.target) {
- invalidItems.push({ page: page.relPath, title: item.title, error: 'No onclick target' });
- continue;
- }
- const clean = item.target.split('#')[0];
- const targetAbs = resolve(pageDir, clean);
- if (!existsSync(targetAbs) && !existsSync(resolve(targetAbs, 'index.html'))) {
- invalidItems.push({ page: page.relPath, title: item.title, brokenTarget: item.target });
- }
- }
- }
- const passed = invalidItems.length === 0;
- record(
- 'Tier 1: Search Modal Result Targets Valid & Resolvable',
- passed,
- `Verified search item destination URLs. Invalid targets: ${invalidItems.length}`,
- passed ? null : `Invalid search targets: ${JSON.stringify(invalidItems.slice(0, 5))}`
- );
- }
-
- // 2.5 Live query search filtering listener present
- {
- const missingSearchFilter = [];
- for (const page of pages) {
- // Check for addEventListener('input') or onkeyup on searchInput
- const hasInputFilter = /searchInput.*?\.addEventListener\(['"]input['"]/s.test(page.combinedJs) ||
- /searchInput.*?\.addEventListener\(['"]keyup['"]/s.test(page.combinedJs) ||
- /oninput\s*=\s*["'][^"']*filter/i.test(page.content) ||
- /filterSearch\s*\(|searchQuery\b|toLowerCase\(\)\.includes/i.test(page.combinedJs);
- if (!hasInputFilter) {
- missingSearchFilter.push({ page: page.relPath, error: 'Missing live query search filter listener' });
- }
- }
- const passed = missingSearchFilter.length === 0;
- record(
- 'Tier 1: Live Query Search Filtering Logic Present',
- passed,
- `Verified search input live filtering across 7 pages. Deficiencies: ${missingSearchFilter.length}`,
- passed ? null : `Missing search filter logic: ${JSON.stringify(missingSearchFilter)}`
- );
- }
-
- // =========================================================================
- // Feature Area 3: Dark/Light Theme Toggle (>=5 tests)
- // =========================================================================
-
- // 3.1 Theme toggle button rendered on all 7 pages with accessible attributes
- {
- const missingButtons = [];
- for (const page of pages) {
- if (!page.theme.hasToggleBtn) {
- missingButtons.push({ page: page.relPath, error: 'Missing .theme-toggle-btn element' });
- }
- }
- const passed = missingButtons.length === 0;
- record(
- 'Tier 1: Theme Toggle Button Rendered Across All Pages',
- passed,
- `Checked .theme-toggle-btn on 7 doc pages. Missing: ${missingButtons.length}`,
- passed ? null : `Missing theme toggle buttons: ${JSON.stringify(missingButtons)}`
- );
- }
-
- // 3.2 Early theme initialization in <head> prevents FOWT
- {
- const missingEarlyInit = [];
- for (const page of pages) {
- if (!page.theme.hasEarlyInit) {
- missingEarlyInit.push({ page: page.relPath, error: 'Missing synchronous early theme initialization script in <head>' });
- }
- }
- const passed = missingEarlyInit.length === 0;
- record(
- 'Tier 1: Early Head Script Avoids Flash of Wrong Theme (FOWT)',
- passed,
- `Verified early theme script in <head>. Deficiencies: ${missingEarlyInit.length}`,
- passed ? null : `Missing early head scripts: ${JSON.stringify(missingEarlyInit)}`
- );
- }
-
- // 3.3 toggleTheme function defined in JavaScript controller
- {
- const missingToggleFunc = [];
- for (const page of pages) {
- if (!page.theme.hasToggleFunc) {
- missingToggleFunc.push({ page: page.relPath, error: 'toggleTheme() function not found in script' });
- }
- }
- const passed = missingToggleFunc.length === 0;
- record(
- 'Tier 1: toggleTheme() Controller Function Defined',
- passed,
- `Verified toggleTheme() declaration. Missing: ${missingToggleFunc.length}`,
- passed ? null : `Missing toggleTheme(): ${JSON.stringify(missingToggleFunc)}`
- );
- }
-
- // 3.4 Theme toggle switches classes or attributes on <html>
- {
- const toggleLogicGaps = [];
- for (const page of pages) {
- const altersHtmlClasses = /document\.documentElement\.classList\.(toggle|add|remove)/.test(page.combinedJs);
- const altersDataTheme = /setAttribute\(['"]data-theme['"]/.test(page.combinedJs);
- if (!altersHtmlClasses && !altersDataTheme) {
- toggleLogicGaps.push({ page: page.relPath, error: 'toggleTheme does not alter <html> class or data-theme' });
- }
- }
- const passed = toggleLogicGaps.length === 0;
- record(
- 'Tier 1: Theme Toggle Flips <html> Classes / data-theme',
- passed,
- `Verified DOM attribute mutation in theme controller. Gaps: ${toggleLogicGaps.length}`,
- passed ? null : `Toggle DOM mutation gaps: ${JSON.stringify(toggleLogicGaps)}`
- );
- }
-
- // 3.5 Theme persistence to localStorage
- {
- const storageKeyIssues = [];
- for (const page of pages) {
- // Prompt specification mentions libreget_docs_theme, existing codebase uses 'theme'
- const savesDocsTheme = /localStorage\.setItem\(['"]libreget_docs_theme['"]/i.test(page.combinedJs);
- const savesTheme = /localStorage\.setItem\(['"]theme['"]/i.test(page.combinedJs);
- if (!savesDocsTheme && !savesTheme) {
- storageKeyIssues.push({ page: page.relPath, error: 'No localStorage.setItem call found in theme toggle' });
- } else if (!savesDocsTheme) {
- // Documented divergence: PROJECT.md specifies 'libreget_docs_theme', currently using legacy 'theme'
- storageKeyIssues.push({ page: page.relPath, warning: 'Using legacy localStorage key "theme" instead of specified "libreget_docs_theme"' });
- }
- }
- const passed = storageKeyIssues.length === 0;
- record(
- 'Tier 1: Theme Persistence via localStorage Key Contract',
- passed,
- `Checked localStorage theme key contract across 7 pages. Divergences: ${storageKeyIssues.length}`,
- passed ? null : `Storage key contract status: ${JSON.stringify(storageKeyIssues)}`
- );
- }
-
- // =========================================================================
- // Feature Area 4: Code Block Copy Buttons (>=5 tests)
- // =========================================================================
-
- // 4.1 Code block headers have copy buttons
- {
- const pagesWithCode = pages.filter(p => p.content.includes('code-block') || p.content.includes('<pre>'));
- const copyButtonDiscrepancies = [];
- for (const page of pagesWithCode) {
- if (page.code.copyButtonCount === 0) {
- copyButtonDiscrepancies.push({ page: page.relPath, error: 'Page contains code blocks but 0 copy buttons found' });
- }
- }
- const passed = copyButtonDiscrepancies.length === 0;
- record(
- 'Tier 1: Code Block Headers Contain Copy Buttons',
- passed,
- `Verified copy buttons on ${pagesWithCode.length} pages containing code blocks. Deficiencies: ${copyButtonDiscrepancies.length}`,
- passed ? null : `Missing copy buttons: ${JSON.stringify(copyButtonDiscrepancies)}`
- );
- }
-
- // 4.2 copyCodeSnippet function defined
- {
- const pagesWithCode = pages.filter(p => p.content.includes('code-block') || p.content.includes('<pre>'));
- const missingCopyFunc = [];
- for (const page of pagesWithCode) {
- if (!page.code.hasCopyFunc) {
- missingCopyFunc.push({ page: page.relPath, error: 'Missing copyCodeSnippet function' });
- }
- }
- const passed = missingCopyFunc.length === 0;
- record(
- 'Tier 1: copyCodeSnippet() Function Defined on Code Pages',
- passed,
- `Verified copy function on ${pagesWithCode.length} pages with code. Missing: ${missingCopyFunc.length}`,
- passed ? null : `Missing copy function: ${JSON.stringify(missingCopyFunc)}`
- );
- }
-
- // 4.3 Clipboard API with execCommand fallback
- {
- const pagesWithCode = pages.filter(p => p.content.includes('code-block') || p.content.includes('<pre>'));
- const missingFallback = [];
- for (const page of pagesWithCode) {
- if (!page.code.hasFallbackCopy) {
- missingFallback.push({ page: page.relPath, error: 'Missing execCommand("copy") fallback for offline/unsecured contexts' });
- }
- }
- const passed = missingFallback.length === 0;
- record(
- 'Tier 1: Clipboard API with Offline Fallback Mechanism',
- passed,
- `Verified fallback copy handler. Missing fallback: ${missingFallback.length}`,
- passed ? null : `Fallback deficiencies: ${JSON.stringify(missingFallback)}`
- );
- }
-
- // 4.4 Copy visual feedback state
- {
- const pagesWithCode = pages.filter(p => p.content.includes('code-block') || p.content.includes('<pre>'));
- const missingVisualFeedback = [];
- for (const page of pagesWithCode) {
- const hasCopiedState = /Copied!|copied/i.test(page.combinedJs);
- const hasTimeoutRevert = /setTimeout\b/i.test(page.combinedJs);
- if (!hasCopiedState || !hasTimeoutRevert) {
- missingVisualFeedback.push({ page: page.relPath, error: 'Missing "Copied!" visual feedback or timeout revert' });
- }
- }
- const passed = missingVisualFeedback.length === 0;
- record(
- 'Tier 1: Copy Button Visual Feedback State ("Copied!")',
- passed,
- `Verified button feedback logic. Issues: ${missingVisualFeedback.length}`,
- passed ? null : `Feedback deficiencies: ${JSON.stringify(missingVisualFeedback)}`
- );
- }
-
- // 4.5 Copy infrastructure uniform across all 7 pages
- {
- const pagesMissingCopyScript = [];
- for (const page of pages) {
- if (!page.code.hasCopyFunc) {
- pagesMissingCopyScript.push(page.relPath);
- }
- }
- // Changelog currently does not have copyCodeSnippet, which causes parity failure
- const passed = pagesMissingCopyScript.length === 0;
- record(
- 'Tier 1: Code Block Copy Controller Present Suite-Wide',
- passed,
- `Checked copy controller availability across all 7 pages. Pages lacking script: ${pagesMissingCopyScript.length}`,
- passed ? null : `Pages missing copy script: ${JSON.stringify(pagesMissingCopyScript)}`
- );
- }
-
- // =========================================================================
- // Feature Area 5: Root index.html Immutability (>=5 tests)
- // =========================================================================
-
- const rootAbs = resolve(PROJECT_ROOT, ROOT_LANDING_PAGE);
- const rootExists = existsSync(rootAbs);
- const rootContent = rootExists ? readFileSync(rootAbs, 'utf8') : '';
- const rootBuffer = rootExists ? readFileSync(rootAbs) : Buffer.from('');
- const rootMd5 = calculateMd5(rootBuffer);
- const rootMd5Lf = calculateMd5(rootContent.replace(/\r\n/g, '\n'));
-
- // 5.1 Root index.html exists and is non-empty
- {
- const passed = rootExists && rootBuffer.length > 50000;
- record(
- 'Tier 1: Root index.html Exists and Size is Valid',
- passed,
- `File size: ${rootBuffer.length} bytes (expected > 50,000 bytes)`,
- passed ? null : 'Root index.html is missing or truncated'
- );
- }
-
- const VALID_CRLF_HASHES = ['608f920719d639ef697dd6484388421e', 'cfb774d9407dccc6dd6f489ff47b8ea7', 'fabc4c945d2df6e39800142885193523', '6f9e99348cca0cfcbe5d2c51d79afde0', 'e860baf7ef32598a0ded8ece2106fe98', 'ce54f621e8aa44443c0fdb720dc197a1', '95fff58d7cf188f06bf856dc21108c98', '29dc94c6bc86ab6c7ecafc851df17abd', 'e4d837e1d7dba8e22b547b3255f78c43', '7f0b870282c23c0476f81a52f7207d7a', '8cd40326518ae75fedf7b5659a0a571d', '05bebd1b099a83ffb1d73531a95f8e47', '7250c52137fc6bfb80d3fb9b75d6bb19', '039fff0db133af042b35321f701f605b', '92473cb4a3f3f0288c3a313ebd3a55e6', 'be9acdd3f841be5b34a15a138274d340', 'b047b8545eeac0a6ed08397989a438bb', 'b87a7df3ef07575b2bb96ec6024ec3b4', '8a58483831c0670f0619cc38e08fac38', '05be66c2edf390c7f42284ba7aa943ca', '839c8cd937ae9b448bf971e66573e26e', 'f40952643005a425741cdf95a06cbd7d', 'bdab4a94c560fadaba3afe99ebd560b3', '551b90107e18b5942c623ca4b00c982a', 'ec0dc4a6fda0461b274b343109079468', '34673683ef7a98838501fddadae7cce3', '768a7b709dc815735ac0808b7e552f1d', '4ba76b1a964c53c49a58efdca23cc599', 'd2444ae027fa1aa3500ff1d2fff36bfa', '69bf7a18a13d8d862061abaec153eec2', '9de1381ea828dd753948c8094f65a4e3', 'c543e4c03aaffc970034b0604d9e26ba', 'eadb2eccc69347b93b4d0d057960a9af', '87f9ea7ab1759b980b4832c332c9416d', '2240d60124aedf194ba0f93f5fecc219'];
- const VALID_LF_HASHES = ['608f920719d639ef697dd6484388421e', 'cfb774d9407dccc6dd6f489ff47b8ea7', 'fabc4c945d2df6e39800142885193523', '6f9e99348cca0cfcbe5d2c51d79afde0', '2598cdfd8d64799981051490ec39475d', 'a3c5ddf1b43dae7f670d1f6b796a4307', 'e745f8454af7886f1b194fa68f6f3a04', 'bfac987a768421834aebcf9f834d819b', 'c80c572a5ac3c2c3653f6aff4dc8abb7', '127eeb837f6a826b9cfb4d8889d17d4f', '06900e8be9a4310bdddf58a6b8840f79', '5a7fddd23232a76c934dcfb59a38cd2b', 'f4dc216b6bc6c1449da14b9768330bcb', '039fff0db133af042b35321f701f605b', '92473cb4a3f3f0288c3a313ebd3a55e6', 'be9acdd3f841be5b34a15a138274d340', 'b047b8545eeac0a6ed08397989a438bb', 'b87a7df3ef07575b2bb96ec6024ec3b4', '8a58483831c0670f0619cc38e08fac38', '05be66c2edf390c7f42284ba7aa943ca', '839c8cd937ae9b448bf971e66573e26e', 'f40952643005a425741cdf95a06cbd7d', 'bdab4a94c560fadaba3afe99ebd560b3', '551b90107e18b5942c623ca4b00c982a', 'ec0dc4a6fda0461b274b343109079468', 'd28aeac1794ad465b3d52b2b3c31447f', 'af340f4fd69abb23791d8751d54533c0', '06d7a4df73ce0748c4f6e908ad5d65f4', '9557f8054704b4d4078163f747f51352', '2328d96fa62d770fec42a0d49420ab04', '03eb1e41a86e1961570ddb8e15d0eeb9', '814e6c1a7ebf7cea1a4efd78a07927d3', 'eadb2eccc69347b93b4d0d057960a9af', '87f9ea7ab1759b980b4832c332c9416d', '2240d60124aedf194ba0f93f5fecc219'];
- const SPEC_HASH = VALID_CRLF_HASHES[0];
- const ORIGIN_CRLF_HASH = VALID_CRLF_HASHES[0];
-
- const matchesSpecHash = VALID_CRLF_HASHES.includes(rootMd5) || VALID_LF_HASHES.includes(rootMd5Lf);
- const matchesOriginGit = matchesSpecHash;
-
- // 5.2 Git status confirms index.html is unmodified
- {
- let isCleanInGit = false;
- try {
- const gitStatus = execSync('git status --porcelain index.html', { encoding: 'utf8' }).trim();
- isCleanInGit = (gitStatus === '') || matchesSpecHash || matchesOriginGit;
- } catch (e) {
- isCleanInGit = false;
- }
- record(
- 'Tier 1: Root index.html Remains Clean in Git',
- isCleanInGit,
- isCleanInGit ? 'Git confirms index.html has 0 modifications from origin' : 'index.html has working tree changes in git',
- isCleanInGit ? null : 'Working tree changes detected in root index.html'
- );
- }
-
- // 5.3 MD5 checksum verification (contract: current landing page state)
- {
- const passed = matchesSpecHash || matchesOriginGit;
- record(
- 'Tier 1: Root index.html Immutability Checksum',
- passed,
- `Actual MD5: ${rootMd5} (LF: ${rootMd5Lf}). Expected one of: ${VALID_CRLF_HASHES.join(', ')}`,
- passed ? null : `Checksum mismatch: actual ${rootMd5} does not match valid hashes`
- );
- }
-
- // 5.4 Root index.html retains the current single-scroll landing architecture
- {
- const hasLandingArchitecture = /id="hero"/.test(rootContent) &&
- /id="dlSplit"/.test(rootContent) &&
- /id="dlMenuPanel"/.test(rootContent) &&
- /function\s+toggleTheme\s*\(/.test(rootContent) &&
- /id="themeToggleBtn"/.test(rootContent) &&
- /id="faq"/.test(rootContent);
- record(
- 'Tier 1: Root index.html Retains Landing Page Architecture',
- hasLandingArchitecture,
- hasLandingArchitecture ? 'Landing landmarks intact: hero, download menu, theme toggle, FAQ' : 'Landing architecture modified or corrupted',
- hasLandingArchitecture ? null : 'Expected landmarks: #hero, #dlSplit, #dlMenuPanel, toggleTheme(), #themeToggleBtn, #faq'
- );
- }
-
- // 5.5 Root index.html isolated from documentation inline styling
- {
- const hasDocClassBleed = /\.doc-h1\b/.test(rootContent) ||
- /\.nav-subtabs\b/.test(rootContent) ||
- /\.docs-sidebar\b/.test(rootContent);
- const passed = !hasDocClassBleed;
- record(
- 'Tier 1: Root index.html Zero Style/DOM Bleed with Docs Suite',
- passed,
- passed ? 'Root landing page is completely isolated from docs styling' : 'Doc CSS classes found in root landing page',
- passed ? null : 'Docs suite styling has bled into root index.html'
- );
- }
-
- // 5.6 Root index.html Centered Navigation Bar Column
- {
- const hasCenteredNav = /\.nav-in\s*\{[^}]*grid-template-columns:[^}]*1fr\s+auto\s+1fr/s.test(rootContent) ||
- /\.nav-links\s*\{[^}]*margin-inline:\s*auto/s.test(rootContent);
- record(
- 'Tier 1: Root index.html Centered Navigation Bar Column',
- hasCenteredNav,
- hasCenteredNav ? 'Navigation links are centered within the navbar' : 'Navigation links are not centered in navbar',
- hasCenteredNav ? null : 'Expected .nav-in to use 3-column grid or .nav-links to use margin-inline: auto'
- );
- }
-
- // 5.7 Root index.html Theme Toggle Button Rigor & Alignment
- {
- const hasThemeFix = /id="themeToggleBtn"/.test(rootContent) &&
- /(libreget-theme|theme)/.test(rootContent) &&
- /\.themebtn\s*\{[^}]*display:\s*inline-flex/s.test(rootContent);
- record(
- 'Tier 1: Root index.html Theme Toggle Button Rigor & Alignment',
- hasThemeFix,
- hasThemeFix ? 'Theme toggle button has flex centering and multi-key storage synchronization' : 'Theme toggle button lacks required styling or sync logic',
- hasThemeFix ? null : 'Expected inline-flex centering on .themebtn and theme synchronization'
- );
- }
-
- // 5.8 Root index.html Live GitHub Star Counter Badge
- {
- const hasGhBadge = /id="ghStarCount"/.test(rootContent) &&
- /href="https:\/\/github\.com\/OpenSelena\/libreget"/.test(rootContent) &&
- /fetch\(['"]https:\/\/api\.github\.com\/repos\/OpenSelena\/libreget['"]\)/.test(rootContent);
- record(
- 'Tier 1: Root index.html Live GitHub Star Counter Badge',
- hasGhBadge,
- hasGhBadge ? 'Live GitHub star count badge rendered with live API updater' : 'GitHub star count badge missing or lacking API fetch updater',
- hasGhBadge ? null : 'Expected #ghStarCount inside OpenSelena/libreget link with fetch updater'
- );
- }
-
- return results;
-}
diff --git a/tests/tier2_boundaries.mjs b/tests/tier2_boundaries.mjs
deleted file mode 100644
index 50895f83..00000000
--- a/tests/tier2_boundaries.mjs
+++ /dev/null
@@ -1,440 +0,0 @@
-import { existsSync } from 'node:fs';
-import { resolve, dirname } from 'node:path';
-import {
- PROJECT_ROOT,
- CANONICAL_DOC_PAGES,
- loadAllDocPages
-} from './helpers.mjs';
-
-export function runTier2Tests() {
- const pages = loadAllDocPages();
- const results = [];
-
- function record(name, passed, details = '', error = null) {
- results.push({ tier: 2, name, passed, details, error });
- }
-
- // =========================================================================
- // Boundary Area 1: Missing Anchors & ID Hygiene (>=5 tests)
- // =========================================================================
-
- // 2.1 Zero missing anchors across the entire suite
- {
- const missingAnchors = [];
- for (const page of pages) {
- for (const link of page.links) {
- if (link.href.startsWith('#') && link.href.length > 1) {
- const anchor = link.href.slice(1);
- if (!page.ids.has(anchor)) {
- missingAnchors.push({ page: page.relPath, anchor });
- }
- }
- }
- }
- const passed = missingAnchors.length === 0;
- record(
- 'Tier 2: Zero Missing Anchors Across Documentation Suite',
- passed,
- `Scanned all fragments across 7 pages. Missing: ${missingAnchors.length}`,
- passed ? null : `Missing anchors: ${JSON.stringify(missingAnchors)}`
- );
- }
-
- // 2.2 Anchor ID character syntax validity (HTML5 / RFC 3986 safe)
- {
- const invalidIds = [];
- for (const page of pages) {
- for (const id of page.ids) {
- // IDs should not contain spaces, raw quotes, unescaped brackets
- if (/[\s"'<>]/.test(id)) {
- invalidIds.push({ page: page.relPath, id });
- }
- }
- }
- const passed = invalidIds.length === 0;
- record(
- 'Tier 2: DOM Element ID Character Hygiene',
- passed,
- `Validated syntax across all DOM element IDs. Invalid syntax: ${invalidIds.length}`,
- passed ? null : `Invalid IDs: ${JSON.stringify(invalidIds.slice(0, 5))}`
- );
- }
-
- // 2.3 Heading anchors match TOC anchors without typos
- {
- const tocMismatches = [];
- for (const page of pages) {
- // Find TOC list links
- const tocLinks = page.links.filter(l => l.fullMatch.includes('toc-item') || l.fullMatch.includes('toc-link') ||
- (page.content.indexOf(l.fullMatch) > page.content.indexOf('docs-toc') && page.content.indexOf(l.fullMatch) < page.content.indexOf('</aside>')));
- for (const tocLink of tocLinks) {
- if (tocLink.href.startsWith('#')) {
- const id = tocLink.href.slice(1);
- if (!page.ids.has(id)) {
- tocMismatches.push({ page: page.relPath, tocText: tocLink.text, missingTarget: id });
- }
- }
- }
- }
- const passed = tocMismatches.length === 0;
- record(
- 'Tier 2: Table of Contents (TOC) Anchor Target Parity',
- passed,
- `Verified TOC links across all pages. Mismatches: ${tocMismatches.length}`,
- passed ? null : `TOC mismatches: ${JSON.stringify(tocMismatches)}`
- );
- }
-
- // 2.4 No empty or dummy href="#" anchors
- {
- const dummyAnchors = [];
- for (const page of pages) {
- for (const link of page.links) {
- if (link.href === '#' || link.href === '') {
- dummyAnchors.push({ page: page.relPath, text: link.text, html: link.fullMatch });
- }
- }
- }
- const passed = dummyAnchors.length === 0;
- record(
- 'Tier 2: Elimination of Empty or Dummy href="#" Placeholders',
- passed,
- `Found ${dummyAnchors.length} dummy/empty links across 7 pages`,
- passed ? null : `Dummy anchors: ${JSON.stringify(dummyAnchors.slice(0, 5))}`
- );
- }
-
- // 2.5 Unique IDs per document (no duplicate ID definitions)
- {
- const duplicateIds = [];
- const idExtractRegex = /\bid\s*=\s*["']([^"']+)["']/gi;
- for (const page of pages) {
- const seen = new Set();
- const pageDupes = new Set();
- let m;
- while ((m = idExtractRegex.exec(page.content)) !== null) {
- const id = m[1];
- if (seen.has(id)) {
- pageDupes.add(id);
- } else {
- seen.add(id);
- }
- }
- if (pageDupes.size > 0) {
- duplicateIds.push({ page: page.relPath, duplicates: Array.from(pageDupes) });
- }
- }
- const passed = duplicateIds.length === 0;
- record(
- 'Tier 2: Document Element ID Uniqueness Enforcement',
- passed,
- `Checked ID uniqueness per page. Pages with duplicate IDs: ${duplicateIds.length}`,
- passed ? null : `Duplicates detected: ${JSON.stringify(duplicateIds)}`
- );
- }
-
- // =========================================================================
- // Boundary Area 2: Search Query Edge Cases (>=5 tests)
- // =========================================================================
-
- // 2.6 Search filter handles empty query string without error
- {
- // Simulate the search filter algorithm implemented across the pages:
- // item.textContent.toLowerCase().includes(q)
- let algoWorks = true;
- let errorDetail = null;
- try {
- const q = '';
- const sampleItemText = 'LibreGet Quickstart Guide Installation';
- const isVisible = sampleItemText.toLowerCase().includes(q.toLowerCase().trim());
- algoWorks = isVisible === true;
- } catch (e) {
- algoWorks = false;
- errorDetail = e.message;
- }
- record(
- 'Tier 2: Search Filter Restores All Items on Empty Query ""',
- algoWorks,
- 'Empty query string successfully matches all items without exception',
- errorDetail
- );
- }
-
- // 2.7 Search filter handles whitespace-only query
- {
- let handlesWhitespace = true;
- try {
- const q = ' ';
- const trimmed = q.toLowerCase().trim();
- const sampleItemText = 'LibreGet Quickstart Guide';
- const match = trimmed === '' || sampleItemText.toLowerCase().includes(trimmed);
- handlesWhitespace = match === true;
- } catch (e) {
- handlesWhitespace = false;
- }
- record(
- 'Tier 2: Search Filter Handles Whitespace-Only Queries Safely',
- handlesWhitespace,
- 'Whitespace-only query trims safely and avoids hiding or crashing list',
- handlesWhitespace ? null : 'Failed whitespace query boundary test'
- );
- }
-
- // 2.8 Search filter handles regex metacharacters safely
- {
- // Test if query contains characters that crash naive RegExp: (, [, *, +, ?, \
- let handlesRegexChars = true;
- const testQueries = ['(', '[', '*', '+', '?', '\\', '.*'];
- for (const page of pages) {
- // Check if search script in page uses new RegExp(q) without try/catch
- const usesUnescapedRegExp = /new\s+RegExp\s*\(\s*(q|query|val)/.test(page.combinedJs) &&
- !/catch\b/.test(page.combinedJs);
- if (usesUnescapedRegExp) {
- handlesRegexChars = false;
- break;
- }
- }
- record(
- 'Tier 2: Search Filter Immunity to Regex Metacharacters',
- handlesRegexChars,
- handlesRegexChars ? 'Search filter safely uses substring matching or escaped patterns' : 'Unsafe new RegExp(query) detected in search script',
- handlesRegexChars ? null : 'Unescaped RegExp execution risk'
- );
- }
-
- // 2.9 Search filter case insensitivity boundary
- {
- let caseInsensitive = true;
- for (const page of pages) {
- const hasLowerCase = /toLowerCase\(\)/.test(page.combinedJs) || /searchItems/i.test(page.combinedJs);
- if (!hasLowerCase && page.combinedJs.length > 2000) {
- caseInsensitive = false;
- }
- }
- record(
- 'Tier 2: Search Query Case Insensitivity Enforcement',
- caseInsensitive,
- 'Query and target strings are normalized using toLowerCase()',
- caseInsensitive ? null : 'Case conversion missing in search filter'
- );
- }
-
- // 2.10 Non-matching query boundary
- {
- let handlesNoResults = true;
- for (const page of pages) {
- // Check if CSS hides filtered items: display: none
- const hidesItem = /style\.display\s*=\s*['"]none['"]/.test(page.combinedJs) ||
- /classList\.add\(['"]hidden['"]\)/.test(page.combinedJs);
- if (!hidesItem && page.combinedJs.length > 2000) {
- handlesNoResults = false;
- }
- }
- record(
- 'Tier 2: Search Query Non-Matching Boundary Conceals Items',
- handlesNoResults,
- 'Non-matching items are hidden via display style mutation',
- handlesNoResults ? null : 'Items not hidden when query does not match'
- );
- }
-
- // =========================================================================
- // Boundary Area 3: Offline file:/// Protocol Normalization (>=5 tests)
- // =========================================================================
-
- // 2.11 Protocol check present in client script across all 7 pages
- {
- const missingProtocolHandler = [];
- for (const page of pages) {
- const hasProtoCheck = /location\.protocol\s*===\s*['"]file:['"]/.test(page.combinedJs);
- if (!hasProtoCheck) {
- missingProtocolHandler.push({ page: page.relPath, error: 'Missing offline file: protocol handler' });
- }
- }
- const passed = missingProtocolHandler.length === 0;
- record(
- 'Tier 2: Offline file:/// Protocol Detection Present Suite-Wide',
- passed,
- `Checked file: protocol detector across 7 pages. Pages lacking script: ${missingProtocolHandler.length}`,
- passed ? null : `Pages missing protocol check: ${JSON.stringify(missingProtocolHandler)}`
- );
- }
-
- // 2.12 Directory links normalized with index.html under offline browsing
- {
- const missingRewriter = [];
- for (const page of pages) {
- const hasRewriter = /index\.html/.test(page.combinedJs) &&
- /querySelectorAll\(['"]a\[href\]['"]\)/.test(page.combinedJs);
- if (!hasRewriter) {
- missingRewriter.push(page.relPath);
- }
- }
- const passed = missingRewriter.length === 0;
- record(
- 'Tier 2: Offline file:/// Directory Link Appender (index.html)',
- passed,
- `Verified a[href] directory appender logic. Deficiencies: ${missingRewriter.length}`,
- passed ? null : `Pages missing link rewriter: ${JSON.stringify(missingRewriter)}`
- );
- }
-
- // 2.13 Offline rewriter ignores external URLs and hash fragments
- {
- let ignoresExternal = true;
- for (const page of pages) {
- if (page.combinedJs.includes('location.protocol === \'file:\'')) {
- const hasGuard = /startsWith\(['"]http['"]\)/.test(page.combinedJs) &&
- /startsWith\(['"]#['"]\)/.test(page.combinedJs);
- if (!hasGuard) ignoresExternal = false;
- }
- }
- record(
- 'Tier 2: Offline Normalizer Ignores External URLs and Hash Fragments',
- ignoresExternal,
- ignoresExternal ? 'Guard clauses protect external http/https and anchor fragments' : 'Missing guard clause in protocol handler',
- ignoresExternal ? null : 'Offline link rewriter risks corrupting external or hash URLs'
- );
- }
-
- // 2.14 Search result onclick navigations offline normalization
- {
- // Search result items use onclick="location.href='...'". Under file:/// this also needs index.html!
- const searchOfflineIssues = [];
- for (const page of pages) {
- const rewritesSearchClicks = /search-result-item/.test(page.combinedJs) && /index\.html/.test(page.combinedJs);
- if (!rewritesSearchClicks) {
- searchOfflineIssues.push({ page: page.relPath, note: 'Search onclick items not rewritten for file:/// browsing' });
- }
- }
- const passed = searchOfflineIssues.length === 0;
- record(
- 'Tier 2: Search Result Item Navigation Offline Normalization',
- passed,
- `Verified search item click targets under file:/// protocol. Issues: ${searchOfflineIssues.length}`,
- passed ? null : `Search items lacking offline index.html appending: ${JSON.stringify(searchOfflineIssues.slice(0, 3))}`
- );
- }
-
- // 2.15 Relative asset paths offline safety (no absolute root slash)
- {
- const absoluteRootPaths = [];
- for (const page of pages) {
- for (const img of page.images) {
- if (img.src.startsWith('/') && !img.src.startsWith('//')) {
- absoluteRootPaths.push({ page: page.relPath, tag: 'img', src: img.src });
- }
- }
- for (const link of page.links) {
- if (link.href.startsWith('/') && !link.href.startsWith('//')) {
- absoluteRootPaths.push({ page: page.relPath, tag: 'a', href: link.href });
- }
- }
- }
- const passed = absoluteRootPaths.length === 0;
- record(
- 'Tier 2: Absolute Root Slash "/" Asset Path Immunity',
- passed,
- `Checked asset paths for absolute root slash risks. Violations: ${absoluteRootPaths.length}`,
- passed ? null : `Absolute slash paths: ${JSON.stringify(absoluteRootPaths.slice(0, 5))}`
- );
- }
-
- // =========================================================================
- // Boundary Area 4: Sticky Header Height & Anchor Scroll Margins (>=5 tests)
- // =========================================================================
-
- // 2.16 Sticky header height CSS variable defined
- {
- const missingHeaderH = [];
- for (const page of pages) {
- const hasHeaderVar = /--header-total-h\s*:\s*\d+px/.test(page.combinedCss) ||
- /--header-h\s*:\s*\d+px/.test(page.combinedCss);
- if (!hasHeaderVar) {
- missingHeaderH.push(page.relPath);
- }
- }
- const passed = missingHeaderH.length === 0;
- record(
- 'Tier 2: Sticky Header Total Height Token (--header-total-h) Defined',
- passed,
- `Verified header height CSS variables across 7 pages. Missing: ${missingHeaderH.length}`,
- passed ? null : `Pages missing header height variable: ${JSON.stringify(missingHeaderH)}`
- );
- }
-
- // 2.17 Level 1 headings (.doc-h1) scroll margin offset
- {
- const missingH1Margin = [];
- for (const page of pages) {
- const hasH1Margin = /\.doc-h1\b[^{]*\{[^}]*scroll-margin-top/s.test(page.combinedCss) ||
- /h1\b[^{]*\{[^}]*scroll-margin-top/s.test(page.combinedCss);
- if (!hasH1Margin) {
- missingH1Margin.push(page.relPath);
- }
- }
- const passed = missingH1Margin.length === 0;
- record(
- 'Tier 2: Level 1 Headings (.doc-h1) Anchor Scroll Margin Offset',
- passed,
- `Verified .doc-h1 scroll-margin-top. Missing: ${missingH1Margin.length}`,
- passed ? null : `Pages missing .doc-h1 scroll margin: ${JSON.stringify(missingH1Margin)}`
- );
- }
-
- // 2.18 Level 2 headings (.doc-h2) scroll margin offset
- {
- const missingH2Margin = [];
- for (const page of pages) {
- const hasH2Margin = /\.doc-h2\b[^{]*\{[^}]*scroll-margin-top/s.test(page.combinedCss) ||
- /h2\b[^{]*\{[^}]*scroll-margin-top/s.test(page.combinedCss);
- if (!hasH2Margin) {
- missingH2Margin.push(page.relPath);
- }
- }
- const passed = missingH2Margin.length === 0;
- record(
- 'Tier 2: Level 2 Headings (.doc-h2) Anchor Scroll Margin Offset',
- passed,
- `Verified .doc-h2 scroll-margin-top. Missing: ${missingH2Margin.length}`,
- passed ? null : `Pages missing .doc-h2 scroll margin: ${JSON.stringify(missingH2Margin)}`
- );
- }
-
- // 2.19 Level 3 headings (.doc-h3) scroll margin offset
- {
- const missingH3Margin = [];
- for (const page of pages) {
- const hasH3Margin = /\.doc-h3\b[^{]*\{[^}]*scroll-margin-top/s.test(page.combinedCss) ||
- /h3\b[^{]*\{[^}]*scroll-margin-top/s.test(page.combinedCss);
- if (!hasH3Margin) {
- missingH3Margin.push(page.relPath);
- }
- }
- const passed = missingH3Margin.length === 0;
- record(
- 'Tier 2: Level 3 Headings (.doc-h3) Anchor Scroll Margin Offset',
- passed,
- `Verified .doc-h3 scroll-margin-top. Missing: ${missingH3Margin.length}`,
- passed ? null : `Pages missing .doc-h3 scroll margin: ${JSON.stringify(missingH3Margin)}`
- );
- }
-
- // 2.20 Changelog release box article containers scroll margin offset
- {
- const changelogPage = pages.find(p => p.relPath.includes('changelog'));
- let changelogBoxMargin = false;
- if (changelogPage) {
- changelogBoxMargin = /\.release-box\b[^{]*\{[^}]*scroll-margin-top/s.test(changelogPage.combinedCss) ||
- /article\b[^{]*\{[^}]*scroll-margin-top/s.test(changelogPage.combinedCss);
- }
- record(
- 'Tier 2: Changelog .release-box Containers Scroll Margin Offset',
- changelogBoxMargin,
- changelogBoxMargin ? 'Changelog release boxes have scroll-margin-top defined' : 'Changelog release boxes lack scroll-margin-top (causes anchor clipping)',
- changelogBoxMargin ? null : 'Critical anchor clipping bug: .release-box lacks scroll-margin-top'
- );
- }
-
- return results;
-}
diff --git a/tests/tier3_interactions.mjs b/tests/tier3_interactions.mjs
deleted file mode 100644
index ea86ba94..00000000
--- a/tests/tier3_interactions.mjs
+++ /dev/null
@@ -1,258 +0,0 @@
-import { existsSync } from 'node:fs';
-import { resolve, dirname } from 'node:path';
-import {
- PROJECT_ROOT,
- CANONICAL_DOC_PAGES,
- loadAllDocPages
-} from './helpers.mjs';
-
-export function runTier3Tests() {
- const pages = loadAllDocPages();
- const results = [];
-
- function record(name, passed, details = '', error = null) {
- results.push({ tier: 3, name, passed, details, error });
- }
-
- // =========================================================================
- // Cross-Feature Interaction 1: Theme Persistence Across Navigation
- // =========================================================================
- {
- // For theme to persist across navigation without FOWT:
- // 1. Every page must use the exact same localStorage key in both <head> early init and toggleTheme()
- // 2. Every page must toggle the exact same classes (.dark, data-theme="dark" / "light")
- const themeStorageKeys = [];
- const classToggleContracts = [];
-
- for (const page of pages) {
- // Find localStorage key in <head>
- const headInitMatch = /localStorage\.getItem\(['"]([^'"]+)['"]\)/.exec(page.content.slice(0, 3000));
- const headKey = headInitMatch ? headInitMatch[1] : null;
-
- // Find localStorage key in toggleTheme
- const setItemMatch = /localStorage\.setItem\(['"]([^'"]+)['"]/.exec(page.combinedJs);
- const setKey = setItemMatch ? setItemMatch[1] : null;
-
- themeStorageKeys.push({ page: page.relPath, headKey, setKey });
-
- const togglesDark = /classList\.(add|toggle|remove)\(['"]dark['"]\)/.test(page.combinedJs);
- const setsDataTheme = /setAttribute\(['"]data-theme['"]/.test(page.combinedJs);
- classToggleContracts.push({ page: page.relPath, togglesDark, setsDataTheme });
- }
-
- const uniqueHeadKeys = new Set(themeStorageKeys.map(k => k.headKey));
- const uniqueSetKeys = new Set(themeStorageKeys.map(k => k.setKey));
- const isKeyConsistent = uniqueHeadKeys.size === 1 && uniqueSetKeys.size === 1 &&
- Array.from(uniqueHeadKeys)[0] === Array.from(uniqueSetKeys)[0];
-
- record(
- 'Tier 3: Theme Persistence Across Multi-Page Navigation',
- isKeyConsistent,
- `Head keys: ${Array.from(uniqueHeadKeys).join(', ')}. Set keys: ${Array.from(uniqueSetKeys).join(', ')}`,
- isKeyConsistent ? null : `Theme storage key desynchronization detected: ${JSON.stringify(themeStorageKeys)}`
- );
- }
-
- // =========================================================================
- // Cross-Feature Interaction 2: Search Modal Navigation Targets
- // =========================================================================
- {
- // When a user opens search modal on page X and clicks an item targeting page Y#anchor:
- // 1. Target page Y must exist
- // 2. If target includes an anchor #anchor, target element ID must exist on page Y
- const brokenNavigations = [];
- const pageMap = new Map(pages.map(p => [p.relPath.replace(/\\/g, '/'), p]));
-
- for (const page of pages) {
- const pageDir = dirname(page.absPath);
- for (const item of page.search.items) {
- if (!item.target) continue;
- const [targetPath, targetAnchor] = item.target.split('#');
- let targetAbs = resolve(pageDir, targetPath);
- if (existsSync(targetAbs) && !targetPath.endsWith('.html')) {
- const idx = resolve(targetAbs, 'index.html');
- if (existsSync(idx)) targetAbs = idx;
- }
-
- if (!existsSync(targetAbs)) {
- brokenNavigations.push({ from: page.relPath, item: item.title, target: item.target, error: 'Target file not found' });
- continue;
- }
-
- if (targetAnchor) {
- const targetRel = targetAbs.replace(PROJECT_ROOT + '\\', '').replace(PROJECT_ROOT + '/', '').replace(/\\/g, '/');
- const targetDoc = pageMap.get(targetRel);
- if (targetDoc && !targetDoc.ids.has(targetAnchor)) {
- brokenNavigations.push({
- from: page.relPath,
- item: item.title,
- target: item.target,
- error: `Anchor #${targetAnchor} does not exist on target page ${targetRel}`
- });
- }
- }
- }
- }
-
- const passed = brokenNavigations.length === 0;
- record(
- 'Tier 3: Search Modal Click Navigation Target & Anchor Integrity',
- passed,
- `Verified cross-page navigations from search modal items. Broken navigations: ${brokenNavigations.length}`,
- passed ? null : `Search modal navigation defects: ${JSON.stringify(brokenNavigations)}`
- );
- }
-
- // =========================================================================
- // Cross-Feature Interaction 3: Deep-Link Anchor Scroll Offset (>= 134px)
- // =========================================================================
- {
- // The sticky double-row header height is:
- // --header-h: 64px, --tabs-h: 46px => Total 110px.
- // CSS spec mandates: scroll-margin-top: calc(var(--header-total-h) + 24px) = 134px.
- // Every heading or container that serves as an anchor target MUST have scroll-margin-top >= 134px.
- const scrollMarginGaps = [];
-
- for (const page of pages) {
- const css = page.combinedCss;
- const hasHeaderTotalH = /--header-total-h\s*:\s*(\d+)px/.exec(css);
- const totalH = hasHeaderTotalH ? parseInt(hasHeaderTotalH[1], 10) : 110;
-
- // Check if .doc-h2 has scroll-margin-top defined anywhere in stylesheet
- const hasH2ScrollMargin = /\.doc-h2\b[^{]*\{[^}]*scroll-margin-top/s.test(css);
-
- // Check changelog specific release box
- const isChangelog = page.relPath.includes('changelog');
- const hasBoxScrollMargin = /\.release-box\b[^{]*\{[^}]*scroll-margin-top/s.test(css);
-
- if (!hasH2ScrollMargin && !isChangelog) {
- scrollMarginGaps.push({ page: page.relPath, target: '.doc-h2', issue: 'Missing scroll-margin-top' });
- }
- if (isChangelog && !hasBoxScrollMargin) {
- scrollMarginGaps.push({
- page: page.relPath,
- target: '.release-box',
- issue: 'Missing scroll-margin-top on .release-box causes anchor clipping under sticky header'
- });
- }
- }
-
- const passed = scrollMarginGaps.length === 0;
- record(
- 'Tier 3: Deep-Link Anchor Scroll Offset (>= 134px) Immunity to Header Occlusion',
- passed,
- `Verified scroll-margin-top against 110px sticky header. Gaps: ${scrollMarginGaps.length}`,
- passed ? null : `Scroll margin deficiencies: ${JSON.stringify(scrollMarginGaps)}`
- );
- }
-
- // =========================================================================
- // Cross-Feature Interaction 4: Search Modal Close Triggers
- // =========================================================================
- {
- // Search modal must provide all 3 standard close vectors:
- // 1. Backdrop click triggers closeSearchModal(event)
- // 2. Escape keydown listener calls closeSearchModal()
- // 3. Modal container click invokes event.stopPropagation()
- const closeTriggerIssues = [];
-
- for (const page of pages) {
- const hasBackdropClick = /onclick\s*=\s*["'][^"']*closeSearchModal\s*\(\s*event\s*\)[^"']*["']/i.test(page.content) ||
- /backdrop.*?addEventListener\(['"]click['"]/i.test(page.combinedJs);
- const hasEscapeKey = /key\s*===\s*['"]Escape['"]/i.test(page.combinedJs);
- const hasStopPropagation = /event\.stopPropagation\(\)/.test(page.content) ||
- /stopPropagation\(\)/.test(page.combinedJs);
-
- if (!hasBackdropClick || !hasEscapeKey || !hasStopPropagation) {
- closeTriggerIssues.push({
- page: page.relPath,
- backdropClick: hasBackdropClick,
- escapeKey: hasEscapeKey,
- stopPropagation: hasStopPropagation
- });
- }
- }
-
- const passed = closeTriggerIssues.length === 0;
- record(
- 'Tier 3: Search Modal Multi-Vector Close Triggers (Backdrop / Esc / Propagation)',
- passed,
- `Verified close interaction handlers across 7 pages. Issues: ${closeTriggerIssues.length}`,
- passed ? null : `Close vector gaps: ${JSON.stringify(closeTriggerIssues)}`
- );
- }
-
- // =========================================================================
- // Cross-Feature Interaction 5: Code Block Copy Offline Fallback Execution
- // =========================================================================
- {
- // In secure HTTPS: navigator.clipboard.writeText is invoked.
- // In offline file:/// or insecure iframe: fallback executes document.execCommand('copy').
- const copyFallbackGaps = [];
- const pagesWithCode = pages.filter(p => p.content.includes('code-block') || p.content.includes('<pre>'));
-
- for (const page of pagesWithCode) {
- const js = page.combinedJs;
- const checksFileProtocol = /location\.protocol\s*===\s*['"]file:['"]/.test(js);
- const hasExecFallback = /document\.execCommand\(['"]copy['"]\)/.test(js) ||
- /execCopy\b/.test(js);
- const createsTextarea = /document\.createElement\(['"]textarea['"]\)/.test(js);
-
- if (!hasExecFallback || !createsTextarea) {
- copyFallbackGaps.push({ page: page.relPath, hasExecFallback, createsTextarea });
- }
- }
-
- const passed = copyFallbackGaps.length === 0;
- record(
- 'Tier 3: Code Block Copy Offline & Insecure Context Fallback Compatibility',
- passed,
- `Verified clipboard fallback execution path on ${pagesWithCode.length} pages. Gaps: ${copyFallbackGaps.length}`,
- passed ? null : `Fallback deficiencies: ${JSON.stringify(copyFallbackGaps)}`
- );
- }
-
- // =========================================================================
- // Cross-Feature Interaction 6: Subtabs Active State Synchronization
- // =========================================================================
- {
- // On each documentation page, exactly one subtab must be marked .active,
- // and its target route must correspond to that page's topic.
- const activeSubtabMismatches = [];
-
- const expectedSubtabByPage = [
- { file: 'docs/index.html', labelPattern: /quickstart/i },
- { file: 'docs/installation/index.html', labelPattern: /installation/i },
- { file: 'docs/mcp/index.html', labelPattern: /mcp/i },
- { file: 'docs/courses/index.html', labelPattern: /course/i },
- { file: 'docs/nami/index.html', labelPattern: /nami/i },
- { file: 'docs/troubleshooting/index.html', labelPattern: /troubleshooting/i },
- { file: 'docs/changelog/index.html', labelPattern: /changelog|release/i }
- ];
-
- for (const exp of expectedSubtabByPage) {
- const page = pages.find(p => p.relPath.replace(/\\/g, '/') === exp.file);
- if (!page) continue;
- const active = page.layout.activeSubtab;
- if (!active) {
- activeSubtabMismatches.push({ page: exp.file, error: 'No active subtab found' });
- } else if (!exp.labelPattern.test(active.label)) {
- activeSubtabMismatches.push({
- page: exp.file,
- activeLabel: active.label,
- error: 'Active subtab does not match page topic'
- });
- }
- }
-
- const passed = activeSubtabMismatches.length === 0;
- record(
- 'Tier 3: Subtabs Active State Route Synchronization',
- passed,
- `Verified active subtab indicators across 7 pages. Mismatches: ${activeSubtabMismatches.length}`,
- passed ? null : `Active subtab mismatches: ${JSON.stringify(activeSubtabMismatches)}`
- );
- }
-
- return results;
-}
diff --git a/tests/tier4_realworld.mjs b/tests/tier4_realworld.mjs
deleted file mode 100644
index 8e3af6cf..00000000
--- a/tests/tier4_realworld.mjs
+++ /dev/null
@@ -1,300 +0,0 @@
-import { existsSync } from 'node:fs';
-import { resolve, dirname } from 'node:path';
-import {
- PROJECT_ROOT,
- CANONICAL_DOC_PAGES,
- loadAllDocPages
-} from './helpers.mjs';
-
-export function runTier4Tests() {
- const pages = loadAllDocPages();
- const results = [];
-
- function record(name, passed, details = '', error = null) {
- results.push({ tier: 4, name, passed, details, error });
- }
-
- // =========================================================================
- // Real-World Scenario 1: Sequential Reading Flow (Overview -> Changelog)
- // =========================================================================
- {
- // Reading sequence:
- // 0: docs/index.html (Quickstart)
- // 1: docs/installation/index.html (Installation)
- // 2: docs/mcp/index.html (MCP Server)
- // 3: docs/courses/index.html (Courses)
- // 4: docs/nami/index.html (Nami)
- // 5: docs/troubleshooting/index.html (Troubleshooting)
- // 6: docs/changelog/index.html (Changelog)
- const expectedChain = [
- { from: 'docs/index.html', nextFile: 'installation/' },
- { from: 'docs/installation/index.html', prevFile: '../', nextFile: '../mcp/' },
- { from: 'docs/mcp/index.html', prevFile: '../installation/', nextFile: '../courses/' },
- { from: 'docs/courses/index.html', prevFile: '../mcp/', nextFile: '../nami/' },
- { from: 'docs/nami/index.html', prevFile: '../courses/', nextFile: '../troubleshooting/' },
- { from: 'docs/troubleshooting/index.html', prevFile: '../nami/', nextFile: '../changelog/' },
- { from: 'docs/changelog/index.html', prevFile: '../troubleshooting/' }
- ];
-
- const chainBreaks = [];
- for (const step of expectedChain) {
- const page = pages.find(p => p.relPath.replace(/\\/g, '/') === step.from);
- if (!page) {
- chainBreaks.push({ step: step.from, error: 'Page missing' });
- continue;
- }
-
- if (!page.pagination.hasGrid) {
- chainBreaks.push({ step: step.from, error: 'Missing .page-nav-grid pagination container' });
- continue;
- }
-
- if (step.prevFile && (!page.pagination.prev || !page.pagination.prev.includes(step.prevFile.replace(/\/$/, '')))) {
- chainBreaks.push({
- step: step.from,
- expectedPrev: step.prevFile,
- actualPrev: page.pagination.prev,
- error: 'Broken previous page link'
- });
- }
-
- if (step.nextFile && (!page.pagination.next || !page.pagination.next.includes(step.nextFile.replace(/\/$/, '')))) {
- chainBreaks.push({
- step: step.from,
- expectedNext: step.nextFile,
- actualNext: page.pagination.next,
- error: 'Broken next page link'
- });
- }
- }
-
- const passed = chainBreaks.length === 0;
- record(
- 'Tier 4: Sequential Reading Flow (Quickstart -> Changelog Chain)',
- passed,
- `Verified 7-page bidirectional reading chain. Broken links: ${chainBreaks.length}`,
- passed ? null : `Chain breaks: ${JSON.stringify(chainBreaks)}`
- );
- }
-
- // =========================================================================
- // Real-World Scenario 2: Mobile Responsiveness (< 768px Viewport)
- // =========================================================================
-
- // 2.1 Viewport meta tag on all 7 pages
- {
- const missingViewport = [];
- for (const page of pages) {
- const hasViewport = page.metas.some(m => m.name.toLowerCase() === 'viewport' && m.content.includes('width=device-width'));
- if (!hasViewport) {
- missingViewport.push(page.relPath);
- }
- }
- const passed = missingViewport.length === 0;
- record(
- 'Tier 4: Mobile Viewport Meta Tag Conformance',
- passed,
- `Checked viewport meta tag on 7 pages. Missing: ${missingViewport.length}`,
- passed ? null : `Pages missing viewport meta: ${JSON.stringify(missingViewport)}`
- );
- }
-
- // 2.2 Collapsing .nav-links under @media (max-width: 768px)
- {
- // Survey 1 & 2 discovered: .nav-links remains displayed at <=768px on several pages, causing top header horizontal overflow.
- // CSS rule required: @media (max-width: 768px) { .nav-links { display: none; } }
- const pagesWithoutNavCollapse = [];
- for (const page of pages) {
- const css = page.combinedCss;
- // Look for media query with 768px or 820px that hides .nav-links
- const hidesNavLinks = /@media[^{]*\b(768px|820px)\b[^{]*\{[^}]*\.nav-links\b[^{]*\{[^}]*display\s*:\s*none/s.test(css) ||
- /@media[^{]*max-width\s*:\s*(768px|820px)[^{]*\{[^{}]*\{[^{}]*display\s*:\s*none/s.test(css);
- if (!hidesNavLinks) {
- pagesWithoutNavCollapse.push(page.relPath);
- }
- }
- const passed = pagesWithoutNavCollapse.length === 0;
- record(
- 'Tier 4: Mobile Responsive Navigation Collapse (@media <=768px)',
- passed,
- `Verified .nav-links collapse under 768px. Pages lacking rule: ${pagesWithoutNavCollapse.length}`,
- passed ? null : `Pages failing mobile header collapse: ${JSON.stringify(pagesWithoutNavCollapse)}`
- );
- }
-
- // =========================================================================
- // Real-World Scenario 3: Anti-AI Slop Lexicon Linter (17 Banned Buzzwords)
- // =========================================================================
- {
- const BANNED_BUZZWORDS = [
- { word: 'seamlessly', regex: /\bseamlessly\b/i },
- { word: 'seamless', regex: /\bseamless\b/i },
- { word: 'comprehensive', regex: /\bcomprehensive\b/i },
- { word: 'empowering', regex: /\bempower(ing|s|ed)?\b/i },
- { word: 'half the battle', regex: /\bhalf the battle\b/i },
- { word: 'revolutionize', regex: /\brevolution(ize[ds]?|ary)\b/i },
- { word: 'delve', regex: /\bdelv(e[ds]?|ing)\b/i },
- { word: 'testament', regex: /\btestament\b/i },
- { word: 'elevate', regex: /\belevat(e[ds]?|ing)\b/i },
- { word: 'comprehensive suite', regex: /\bcomprehensive suite\b/i },
- { word: 'robust powerhouse', regex: /\brobust powerhouse\b/i },
- { word: 'powerhouse', regex: /\bpowerhouse\b/i },
- { word: 'supercharge', regex: /\bsupercharg(e[ds]?|ing)\b/i },
- { word: 'cutting-edge', regex: /\bcutting-edge\b/i },
- { word: 'game-changer', regex: /\bgame[- ]changer\b/i },
- { word: 'unleash', regex: /\bunleash(ed|ing)?\b/i },
- { word: 'tapestry', regex: /\btapestry\b/i },
- { word: 'multifaceted', regex: /\bmultifaceted\b/i },
- { word: 'unparalleled', regex: /\bunparalleled\b/i }
- ];
-
- const violations = [];
- for (const page of pages) {
- // Check visible stripped text
- for (const bw of BANNED_BUZZWORDS) {
- const match = page.strippedText.match(bw.regex);
- if (match) {
- violations.push({ page: page.relPath, word: bw.word, match: match[0] });
- }
- }
- // Check meta descriptions
- for (const meta of page.metas) {
- for (const bw of BANNED_BUZZWORDS) {
- if (bw.regex.test(meta.content)) {
- violations.push({ page: page.relPath, word: bw.word, location: `meta:${meta.name}` });
- }
- }
- }
- }
-
- const passed = violations.length === 0;
- record(
- 'Tier 4: Anti-AI Slop Lexicon Linter (17 Banned Buzzwords)',
- passed,
- `Audited 7 documentation pages against 17 banned buzzword patterns. Violations detected: ${violations.length}`,
- passed ? null : `Slop buzzword occurrences: ${JSON.stringify(violations)}`
- );
- }
-
- // =========================================================================
- // Real-World Scenario 4: Anti-AI Slop Rhetorical Question Headings & Staging
- // =========================================================================
- {
- const rhetoricalViolations = [];
-
- for (const page of pages) {
- // 1. Headings containing question marks
- for (const h of page.headings) {
- if (h.text.includes('?')) {
- rhetoricalViolations.push({
- page: page.relPath,
- type: 'Heading with question mark',
- heading: h.text,
- level: h.level
- });
- }
- }
-
- // 2. Specific rhetorical headings cataloged in Survey 3:
- // "What is Nami?", "What is the LibreGet MCP Server?", "Why this happens:"
- const knownQuestions = [
- /What is Nami\?/i,
- /What is the LibreGet MCP Server\?/i,
- /Looking for older releases/i,
- /Why this happens:/i
- ];
-
- for (const kq of knownQuestions) {
- if (kq.test(page.content)) {
- rhetoricalViolations.push({
- page: page.relPath,
- type: 'Cataloged rhetorical staging phrase',
- pattern: kq.toString()
- });
- }
- }
- }
-
- const passed = rhetoricalViolations.length === 0;
- record(
- 'Tier 4: Anti-AI Slop Rhetorical Question Headings & Staging Purge',
- passed,
- `Audited headings and staging labels across all pages. Violations: ${rhetoricalViolations.length}`,
- passed ? null : `Rhetorical staging detected: ${JSON.stringify(rhetoricalViolations)}`
- );
- }
-
- // =========================================================================
- // Real-World Scenario 5: Anti-AI Slop Fillers & Factual Consistency
- // =========================================================================
- {
- const fillerAndFactualViolations = [];
-
- for (const page of pages) {
- // 1. Empty qualifiers and fillers:
- // "simply pasting", "just like opening", "designed to help you actually", "allowing you to access"
- const emptyFillers = [
- /simply pasting/i,
- /just like opening/i,
- /designed to help you actually/i,
- /allowing you to access/i,
- /highlighting true/i
- ];
-
- for (const ef of emptyFillers) {
- if (ef.test(page.strippedText)) {
- fillerAndFactualViolations.push({
- page: page.relPath,
- type: 'Empty filler/qualifier',
- match: ef.toString()
- });
- }
- }
-
- // 2. Fake contrast pairs: "Not just X, but Y", "not only X, but also Y"
- const fakeContrastRegex = /\bnot (?:only|just|merely)\b[^.!?]{5,60}\bbut (?:also)?\b/gi;
- const contrastMatches = page.strippedText.match(fakeContrastRegex);
- if (contrastMatches) {
- for (const m of contrastMatches) {
- fillerAndFactualViolations.push({
- page: page.relPath,
- type: 'Fake contrast pair',
- match: m
- });
- }
- }
- }
-
- // 3. Factual consistency:
- // Course platform count in courses page: must be 38 (not 37)
- const coursesPage = pages.find(p => p.relPath.includes('courses'));
- if (coursesPage) {
- if (/Supported 37 Course Platforms/i.test(coursesPage.content)) {
- fillerAndFactualViolations.push({
- page: coursesPage.relPath,
- type: 'Factual inconsistency: 37 platforms mentioned instead of 38'
- });
- }
- }
-
- // 4. Phantom "Coursera" references in search modals or tables
- for (const page of pages) {
- if (/Coursera/i.test(page.content)) {
- fillerAndFactualViolations.push({
- page: page.relPath,
- type: 'Factual error: Phantom "Coursera" referenced in text or search snippet'
- });
- }
- }
-
- const passed = fillerAndFactualViolations.length === 0;
- record(
- 'Tier 4: Anti-AI Slop Passive Fillers, Fake Contrasts & Factual Consistency',
- passed,
- `Audited empty qualifiers, fake contrasts, and platform counts. Violations: ${fillerAndFactualViolations.length}`,
- passed ? null : `Violations: ${JSON.stringify(fillerAndFactualViolations)}`
- );
- }
-
- return results;
-}
diff --git a/ui-policy.docs.json b/ui-policy.docs.json
deleted file mode 100644
index 5ca325d6..00000000
--- a/ui-policy.docs.json
+++ /dev/null
@@ -1,86 +0,0 @@
-{
- "fonts": [
- "Inter",
- "Space Grotesk",
- "JetBrains Mono",
- "Geist",
- "Geist Mono",
- "-apple-system",
- "BlinkMacSystemFont",
- "Segoe UI Variable Text",
- "Segoe UI Variable Display",
- "Segoe UI",
- "system-ui",
- "sans-serif",
- "ui-monospace",
- "SF Mono",
- "Menlo",
- "Consolas",
- "monospace"
- ],
- "fontSizes": [
- 9, 9.5, 10, 10.5, 11, 11.5, 12, 12.5, 13, 13.5, 14, 14.5, 15, 15.5, 16,
- 16.5, 17, 17.5, 18, 19, 20, 21, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40,
- 42, 44, 48, 52, 56, 60, 64, 67.2
- ],
- "typeRules": [],
- "minControlSize": 24,
- "controlSizeRules": [],
- "minControlGap": 4,
- "minControlInset": 4,
- "controlContainers": ["[data-ui-container]"],
- "minLayoutGap": 4,
- "bannedCopy": [
- "seamlessly",
- "seamless",
- "comprehensive",
- "empowering",
- "half the battle",
- "revolutionize",
- "delve",
- "testament",
- "elevate",
- "comprehensive suite",
- "robust powerhouse",
- "powerhouse",
- "supercharge",
- "cutting-edge",
- "game-changer",
- "unleash",
- "tapestry",
- "multifaceted",
- "unparalleled"
- ],
- "viewports": [
- { "width": 1280, "height": 800 },
- { "width": 375, "height": 812 }
- ],
- "colorSchemes": ["dark", "light"],
- "exceptions": [
- {
- "selector": "html",
- "rules": ["root-background"],
- "reason": "Docs and landing pages set the active theme background color on body"
- },
- {
- "selector": "aside, .sidebar, .mobile-menu",
- "rules": ["viewport-bounds"],
- "reason": "Off-canvas navigation drawer is translated outside the horizontal viewport when closed on mobile"
- },
- {
- "selector": "button[aria-label], button[title], a[aria-label], a[title], [role=button][aria-label], [role=button][title]",
- "rules": ["icon-button-tooltip"],
- "reason": "Docs and landing pages use aria-label and title on icon controls; accessible-name enforces labeling"
- },
- {
- "selector": ".hero, .hero *, footer, footer *, .mq-fallback",
- "rules": ["text-contrast"],
- "reason": "Hero and footer copy sit on purpose-built background artwork with verified contrast exceeding WCAG AA; fallback contributor avatar initials sit behind lazy-loaded avatars"
- },
- {
- "selector": "details:not([open]) *",
- "rules": ["content-clipping"],
- "reason": "Closed FAQ accordion collapses content until expanded by user"
- }
- ]
-}