WeltAn_X on X: the source updates come from sits in Settings › Network and sharing, though it is an update setting. Update source (Automatic, usemagpie.ai only, GitHub only) is now the row right under Download source in Settings › About, with Automatic updates, Update channel and the other update rows. Same menu, same updateSource value, same save; the Network page loses the row. App updates' proxy stays on Network, beside the other proxies. No new tab, label or line. It goes under Download source rather than above it: placed above, the About page scrolled at update-mirror's 420px window, and Use a mirror… then slid Download source 2-10px. That slide is on main too in a shorter window (#6739), not fixed here. Docs: the Mirrors page (en, zh, ja) and reference.md say About › Update source; llms-full.txt and the search indexes are regenerated. Run at60ebaea03+ this change, on mica; rebased since onto02f1cee79, which touches only internal/plugin, internal/provider, internal/cli and a subsystem page: - gofmt -l internal: clean. go test -tags nogui ./internal/gui/...: ok (TestCoreScriptBudget included). node --test site/*.test.mjs: 132/132. - GUI, chromium and webkit: settings-update-source (en, zh, zh-TW, ja, de at 1100 and 420px; now opens About, the row is under Download source, none on Network), update-mirror, update-channel, update-auto, update-restart, settings-search, settings-sections, settings-places, settings-general, settings-update-proxy, settings-plugin-proxy, about-log, about-notices, about-report, about-website, cli-path, uninstall-settings, click-scroll, i18n-keys, i18n-en-no-cjk: all ok. - Reds that fail the same on origin/main2e1c0a377, run there on mote: old-webkit's two (#6030, #5919), settings-hints ja/de 420px (#6107), settings-lines-wrap chromium de 440px (#6353). - The new settings-update-source is red 20/20 on origin/main2e1c0a377. Not tried: the real app; the GUI tests stand in for it.
282 lines
21 KiB
HTML
282 lines
21 KiB
HTML
<!doctype html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
<title>magpie mirrors in China: faster plugin, Bun and update downloads (npmmirror, jsDelivr) · magpie</title>
|
||
<meta name="description" content="Plugins, Bun or updates slow or failing to download in China? The Plugins page's Mirrors in China switch asks npmmirror and jsDelivr first; the installer and magpie update take --proxy and --mirror, and every file is still checked against the official checksum.">
|
||
<meta name="color-scheme" content="light dark">
|
||
<meta name="theme-color" content="#fafafa">
|
||
<script>
|
||
(() => {
|
||
let mode = "system";
|
||
try { mode = localStorage.getItem("theme") || "system"; } catch {}
|
||
const q = matchMedia("(prefers-color-scheme: dark)");
|
||
const apply = () => {
|
||
const t = mode === "system" ? (q.matches ? "dark" : "light") : mode;
|
||
document.documentElement.dataset.theme = t;
|
||
document.querySelector('meta[name="theme-color"]').content = t === "dark" ? "#0b0b0c" : "#fafafa";
|
||
document.querySelectorAll("button.theme").forEach((b) => { b.dataset.mode = mode; b.title = "Theme: " + mode; });
|
||
};
|
||
q.addEventListener("change", () => mode === "system" && apply());
|
||
window.setTheme = (m) => { mode = m; try { m === "system" ? localStorage.removeItem("theme") : localStorage.setItem("theme", m); } catch {} apply(); };
|
||
window.themeMode = () => mode;
|
||
apply();
|
||
})();
|
||
</script>
|
||
<script>try{if(/Linux/.test(navigator.userAgent)&&!/Android/.test(navigator.userAgent)||localStorage.getItem("omarchy")||/[?&]omarchy=/.test(location.search))document.write('<script src="/omarchy.js"><\/script>')}catch(e){}</script>
|
||
<link rel="icon" href="/favicon.png" type="image/png">
|
||
<link rel="apple-touch-icon" href="/img/icon-256.png">
|
||
<link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/mirrors">
|
||
<link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/mirrors">
|
||
<link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/mirrors">
|
||
<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/mirrors">
|
||
<link rel="canonical" href="https://usemagpie.ai/docs/mirrors">
|
||
<link rel="stylesheet" href="/docs.css">
|
||
<meta property="og:site_name" content="magpie">
|
||
<meta property="og:title" content="Mirrors in China: faster magpie plugin, Bun and update downloads">
|
||
<meta property="og:description" content="Plugins, Bun or updates slow or failing to download in China? The Plugins page's Mirrors in China switch asks npmmirror and jsDelivr first; the installer and magpie update take --proxy and --mirror, and every file is still checked against the official checksum.">
|
||
<meta property="og:image" content="https://usemagpie.ai/img/og.png">
|
||
<meta property="og:url" content="https://usemagpie.ai/docs/mirrors">
|
||
<meta name="twitter:card" content="summary_large_image">
|
||
<script type="application/ld+json">
|
||
{
|
||
"@context": "https://schema.org",
|
||
"@graph": [
|
||
{
|
||
"@type": "TechArticle",
|
||
"headline": "Mirrors in China: faster magpie plugin, Bun and update downloads",
|
||
"description": "Plugins, Bun or updates slow or failing to download in China? The Plugins page's Mirrors in China switch asks npmmirror and jsDelivr first; the installer and magpie update take --proxy and --mirror, and every file is still checked against the official checksum.",
|
||
"inLanguage": "en",
|
||
"url": "https://usemagpie.ai/docs/mirrors",
|
||
"about": {
|
||
"@type": "SoftwareApplication",
|
||
"name": "magpie",
|
||
"applicationCategory": "DeveloperApplication",
|
||
"operatingSystem": "macOS, Windows, Linux"
|
||
},
|
||
"publisher": {
|
||
"@type": "Organization",
|
||
"name": "magpie",
|
||
"url": "https://usemagpie.ai/"
|
||
}
|
||
},
|
||
{
|
||
"@type": "FAQPage",
|
||
"mainEntity": [
|
||
{
|
||
"@type": "Question",
|
||
"name": "Plugins install slowly in magpie. What helps?",
|
||
"acceptedAnswer": {
|
||
"@type": "Answer",
|
||
"text": "Turn on Mirrors in China on the Plugins page. The plugin list comes from jsDelivr, npm packages and Bun from npmmirror, and the official address after."
|
||
}
|
||
},
|
||
{
|
||
"@type": "Question",
|
||
"name": "A magpie update fails to download. What do I do?",
|
||
"acceptedAnswer": {
|
||
"@type": "Answer",
|
||
"text": "Run magpie update --mirror <prefix>, or magpie update mirror <prefix> to keep it for every update; --proxy goes through a proxy. The checksum always comes from usemagpie.ai."
|
||
}
|
||
},
|
||
{
|
||
"@type": "Question",
|
||
"name": "Can a mirror see my API keys?",
|
||
"acceptedAnswer": {
|
||
"@type": "Answer",
|
||
"text": "No. Requests carrying Authorization, a cookie, an API key or a URL token never use a mirror; they go to the official source alone."
|
||
}
|
||
},
|
||
{
|
||
"@type": "Question",
|
||
"name": "How is MAGPIE_MIRRORS different from the Mirrors in China switch?",
|
||
"acceptedAnswer": {
|
||
"@type": "Answer",
|
||
"text": "The switch has the Plugins page ask a mirror in China first. MAGPIE_MIRRORS=on asks the official source first and a mirror only after a network error, 429, 5xx or GitHub's rate limit."
|
||
}
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"@type": "BreadcrumbList",
|
||
"itemListElement": [
|
||
{
|
||
"@type": "ListItem",
|
||
"position": 1,
|
||
"name": "magpie",
|
||
"item": "https://usemagpie.ai/"
|
||
},
|
||
{
|
||
"@type": "ListItem",
|
||
"position": 2,
|
||
"name": "Docs",
|
||
"item": "https://usemagpie.ai/docs/start"
|
||
},
|
||
{
|
||
"@type": "ListItem",
|
||
"position": 3,
|
||
"name": "Mirrors in China: faster magpie plugin, Bun and update downloads",
|
||
"item": "https://usemagpie.ai/docs/mirrors"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
</script>
|
||
</head>
|
||
<body>
|
||
|
||
<nav><div class="wrap">
|
||
<a class="brand" href="/"><img class="bird" src="/img/magpie-small.svg" alt="">magpie <small>Docs</small></a>
|
||
<div class="links">
|
||
<a href="/">Home</a>
|
||
<a href="/docs/start">Get started</a>
|
||
<a href="/docs/intent">Intent routing</a>
|
||
<a href="/docs/plugins">Plugins</a>
|
||
<a class="toc-only" href="/docs/remote">Remote magpie</a>
|
||
<a class="toc-only" href="/docs/docker">Docker</a>
|
||
<a class="toc-only" href="/docs/privacy">Privacy</a>
|
||
<a class="toc-only" href="/docs/masking">Privacy masking</a>
|
||
<a class="toc-only" href="/docs/mcp-router">MCP router</a>
|
||
<a class="toc-only" href="/docs/library">Library</a>
|
||
<a class="toc-only" href="/docs/claude-code-models">Models in Claude Code</a>
|
||
<a class="toc-only" href="/docs/codex-models">Models in Codex</a>
|
||
<a class="toc-only" href="/docs/gemini-cli-models">Models in Gemini CLI</a>
|
||
<a class="toc-only" href="/docs/subscriptions">Subscriptions in any agent</a>
|
||
<a class="toc-only" href="/docs/local-models">Local models</a>
|
||
<a class="toc-only" href="/docs/opencode-models">Models in OpenCode</a>
|
||
<a class="toc-only" href="/docs/alternatives">magpie vs CC Switch vs CCR</a>
|
||
<a href="/docs/import">Add to magpie</a>
|
||
<a href="/docs/integrate">Integrate</a>
|
||
<a href="https://github.com/yetone/magpie-releases/releases">Releases</a>
|
||
</div>
|
||
<div class="langs">
|
||
<button class="icon-btn lang" type="button" aria-label="Language" title="Language" aria-haspopup="true" aria-expanded="false" aria-controls="langs"><svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true"><circle cx="8" cy="8" r="6.25"/><path d="M1.75 8h12.5M8 1.75c1.7 1.75 2.55 3.83 2.55 6.25S9.7 12.5 8 14.25M8 1.75C6.3 3.5 5.45 5.58 5.45 8S6.3 12.5 8 14.25"/></svg></button>
|
||
<div class="lang-menu" id="langs" hidden>
|
||
<a href="/docs/mirrors" hreflang="en" lang="en">English</a>
|
||
<a href="/docs/zh/mirrors" hreflang="zh" lang="zh">中文</a>
|
||
<a href="/docs/ja/mirrors" hreflang="ja" lang="ja">日本語</a>
|
||
</div>
|
||
</div>
|
||
<a class="icon-btn" href="https://discord.gg/vGSnD3ZKQF" aria-label="magpie on Discord" title="Join us on Discord"><svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"/></svg></a>
|
||
<a class="icon-btn" href="https://github.com/yetone/magpie" aria-label="magpie on GitHub" title="Source on GitHub"><svg viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8Z"/></svg></a>
|
||
<button class="icon-btn theme" type="button" aria-label="Theme" title="Theme: system"><svg class="i-system" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5"><rect x="1.75" y="2.75" width="12.5" height="8.5" rx="1.5"/><path d="M5.5 14h5M8 11.25V14"/></svg><svg class="i-light" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"><circle cx="8" cy="8" r="3"/><path d="M8 1v1.5M8 13.5V15M1 8h1.5M13.5 8H15M3 3l1 1M12 12l1 1M3 13l1-1M12 4l1-1"/></svg><svg class="i-dark" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round"><path d="M13.5 9.5A5.5 5.5 0 0 1 6.5 2.5a5.5 5.5 0 1 0 7 7Z"/></svg></button>
|
||
<a class="btn small" href="/#get">Download</a>
|
||
</div></nav>
|
||
|
||
<main class="wrap doc">
|
||
<aside class="toc">
|
||
<p>Mirrors</p>
|
||
<a href="#overview">What it is</a>
|
||
<a href="#plugins">The Plugins page's Mirrors in China</a>
|
||
<a href="#update">Installs and updates through a mirror or proxy</a>
|
||
<a href="#settings">Download source and Update source</a>
|
||
<a href="#fallback">MAGPIE_MIRRORS: a mirror after a failure</a>
|
||
<a href="#safe">Is a mirror safe</a>
|
||
</aside>
|
||
|
||
<article>
|
||
<p class="eyebrow" id="overview">Docs · Guide</p>
|
||
<h1>Mirrors in China: faster magpie plugin, Bun and update downloads</h1>
|
||
<p class="lede">From China, npm and GitHub are often slow or unreachable when installing plugins. magpie can have those downloads asked of a mirror in China first; the mirror's file is the very same, checked the same way.</p>
|
||
<h2 id="plugins"><a class="anchor" href="#plugins">The Plugins page's Mirrors in China</a></h2>
|
||
<ol class="steps">
|
||
<li><b>Open the <span class="ui">Plugins</span> page.</b></li>
|
||
<li><b>Turn on <span class="ui">Mirrors in China</span>.</b>The page's downloads then ask a mirror in China first and the official address after.</li>
|
||
</ol>
|
||
<ul><li><strong>npm</strong> (plugin packages, versions and search): <code>registry.npmmirror.com</code>.</li><li><strong>Bun</strong>: npmmirror's binary mirror.</li><li><strong>The plugin list</strong>: jsDelivr (<code>cdn.jsdelivr.net/gh/magpie-community/plugins</code>).</li></ul>
|
||
<p>What the mirror hasn't copied yet is asked of the official address. npm's weekly download counts stay npmjs's own. <code>bun add</code> is pointed at npmmirror too, unless <code>BUN_CONFIG_REGISTRY</code> or <code>NPM_CONFIG_REGISTRY</code> names a registry already. The switch never sends anything through a proxy such as gh-proxy.</p>
|
||
<h2 id="update"><a class="anchor" href="#update">Installs and updates through a mirror or proxy</a></h2>
|
||
<p>Both the installer and <code>magpie update</code> take <code>--proxy</code> (http, https, socks5, socks5h; or <code>MAGPIE_PROXY</code>, <code>HTTPS_PROXY</code>, <code>ALL_PROXY</code>) and <code>--mirror</code>, a GitHub download mirror put before the release's github.com URL (or <code>MAGPIE_MIRROR</code>).</p>
|
||
<div class="code"><span class="lang">Terminal</span><button class="copy" data-copy="mi-update">Copy</button><pre id="mi-update">curl -fsSL https://usemagpie.ai/install.sh | sh -s -- --proxy http://127.0.0.1:7890
|
||
magpie update --mirror https://mirror.example/
|
||
magpie update mirror https://mirror.example/ # every update, the app's too
|
||
magpie update mirror off</pre></div>
|
||
<p>In the app, Settings' <span class="ui">Download source</span> row has <span class="ui">Use a mirror…</span> for a <span class="ui">Mirror address</span>, and <span class="ui">Remove mirror</span> to go back. No mirror is used unless you give one. On a network that lets GitHub through and not usemagpie.ai, nothing needs setting: the update comes from GitHub, its signature checked.</p>
|
||
<h2 id="settings"><a class="anchor" href="#settings">Download source and Update source in Settings</a></h2>
|
||
<p>Two rows in the app's Settings decide where an update comes from. Neither needs changing on a network that reaches usemagpie.ai.</p>
|
||
<div class="table-wrap"><table class="loose">
|
||
<tr><th>Setting</th><th>Choice</th><th>What the update is downloaded from</th></tr>
|
||
<tr><td><span class="ui">About › Download source</span></td><td><code>usemagpie.ai</code> (the default)</td><td>usemagpie.ai, and github.com when that fails.</td></tr>
|
||
<tr><td></td><td><span class="ui">Use a mirror…</span></td><td>usemagpie.ai, and the mirror when that fails, in place of github.com. <span class="ui">Remove mirror</span> goes back.</td></tr>
|
||
<tr><td><span class="ui">About › Update source</span></td><td><span class="ui">Automatic</span> (the default)</td><td>usemagpie.ai's release list and files, and GitHub's when the site can't be reached.</td></tr>
|
||
<tr><td></td><td><span class="ui">usemagpie.ai only</span></td><td>usemagpie.ai alone, never GitHub, so a mirror is never used.</td></tr>
|
||
<tr><td></td><td><span class="ui">GitHub only</span></td><td>github.com alone (through the mirror when one is set), never usemagpie.ai.</td></tr>
|
||
</table></div>
|
||
<h3>What a mirror's address is</h3>
|
||
<p>A mirror here is a GitHub download proxy: a site that fetches any github.com link put after its own address, as in <code>https://mirror.example/https://github.com/yetone/magpie-releases/releases/download/…</code>. Type only the part before <code>https://github.com</code>, a full <code>https://</code> address such as <code>https://mirror.example/</code>. Public GitHub download proxies work this way; <code>gh-proxy.com</code>, the one <code>MAGPIE_MIRRORS</code> falls back to, is one of them. magpie names no mirror of its own and vouches for none: whichever you use, the file is checked against usemagpie.ai's checksum and the release's signature, and one that doesn't match is not installed.</p>
|
||
<h3>When to use one</h3>
|
||
<ul><li>An update stalls or fails with a timeout or <code>EOF</code>, and both usemagpie.ai and github.com are slow or blocked where you are (often in mainland China): set a mirror.</li><li>usemagpie.ai is slow and GitHub is fast: pick <span class="ui">GitHub only</span>, no mirror needed.</li><li>You have a proxy: put it in <span class="ui">Network and sharing › App updates</span> instead; a mirror is for when you have none.</li><li>A download that failed through the mirror says so, and offers to download from GitHub instead, which removes the mirror.</li></ul>
|
||
<h2 id="fallback"><a class="anchor" href="#fallback">MAGPIE_MIRRORS: a mirror after a failure</a></h2>
|
||
<p>Another way is off by default. With <code>MAGPIE_MIRRORS=on</code>, the official source is tried first, and a mirror only after a network error, HTTP 429, HTTP 5xx or GitHub's rate-limit 403. The defaults are <code>registry.npmmirror.com</code> for npm and <code>gh-proxy.com</code> for GitHub; <code>MAGPIE_NPM_REGISTRY</code> and <code>MAGPIE_GITHUB_MIRROR</code> replace them:</p>
|
||
<div class="code"><span class="lang">Terminal</span><button class="copy" data-copy="mi-env">Copy</button><pre id="mi-env">MAGPIE_MIRRORS=on \
|
||
MAGPIE_NPM_REGISTRY=https://registry.example.com \
|
||
MAGPIE_GITHUB_MIRROR=https://gh.example magpie serve</pre></div>
|
||
<p>The official source and the mirror share one request budget, so a hanging official source doesn't make the wait twice as long.</p>
|
||
<h2 id="safe"><a class="anchor" href="#safe">Is a mirror safe</a></h2>
|
||
<ul><li>magpie's own update files are checked against a SHA-256 from usemagpie.ai, never from the mirror; a file that doesn't match is not installed.</li><li>Bun's zip is checked against Bun's SHA-256s, and a plugin package against the integrity npm gave.</li><li>Requests that carry credentials (<code>Authorization</code>, a cookie, an API key, a token in the URL) never use a mirror; they go to the official source alone.</li><li>Skill tarballs always use the official source.</li><li>npm metadata, plugin READMEs and search results and version checks are not checksummed; a mirror can report a different version.</li></ul>
|
||
|
||
<h2 id="faq"><a class="anchor" href="#faq">FAQ</a></h2>
|
||
<h3>Plugins install slowly in magpie. What helps?</h3>
|
||
<p>Turn on Mirrors in China on the Plugins page. The plugin list comes from jsDelivr, npm packages and Bun from npmmirror, and the official address after.</p>
|
||
<h3>A magpie update fails to download. What do I do?</h3>
|
||
<p>Run magpie update --mirror <prefix>, or magpie update mirror <prefix> to keep it for every update; --proxy goes through a proxy. The checksum always comes from usemagpie.ai.</p>
|
||
<h3>Can a mirror see my API keys?</h3>
|
||
<p>No. Requests carrying Authorization, a cookie, an API key or a URL token never use a mirror; they go to the official source alone.</p>
|
||
<h3>How is MAGPIE_MIRRORS different from the Mirrors in China switch?</h3>
|
||
<p>The switch has the Plugins page ask a mirror in China first. MAGPIE_MIRRORS=on asks the official source first and a mirror only after a network error, 429, 5xx or GitHub's rate limit.</p>
|
||
|
||
<p style="margin-top:48px">Related: <a href="/docs/start">Get started</a>, <a href="/docs/troubleshooting">Fixing common errors: 401, 429, 502, 504 and more</a>. Questions go to <a href="https://discord.gg/vGSnD3ZKQF">Discord</a>.</p>
|
||
</article>
|
||
</main>
|
||
|
||
<footer><div class="wrap">
|
||
<span>© 2026 magpie · MIT</span>
|
||
<div class="links">
|
||
<a href="/">Home</a>
|
||
<a href="/docs/intent">Intent routing</a>
|
||
<a href="/docs/plugins">Plugins</a>
|
||
<a href="/docs/remote">Remote magpie</a>
|
||
<a href="/docs/docker">Docker</a>
|
||
<a href="/docs/privacy">Privacy</a>
|
||
<a href="/docs/masking">Privacy masking</a>
|
||
<a href="/docs/mcp-router">MCP router</a>
|
||
<a href="/docs/library">Library</a>
|
||
<a href="/docs/claude-code-models">Models in Claude Code</a>
|
||
<a href="/docs/codex-models">Models in Codex</a>
|
||
<a href="/docs/gemini-cli-models">Models in Gemini CLI</a>
|
||
<a href="/docs/subscriptions">Subscriptions in any agent</a>
|
||
<a href="/docs/local-models">Local models</a>
|
||
<a href="/docs/opencode-models">Models in OpenCode</a>
|
||
<a href="/docs/alternatives">magpie vs CC Switch vs CCR</a>
|
||
<a href="/docs/import">Add to magpie</a>
|
||
<a href="/docs/integrate">Integrate</a>
|
||
<a href="https://github.com/yetone/magpie">GitHub</a>
|
||
<a href="https://discord.gg/vGSnD3ZKQF">Discord</a>
|
||
<a href="/docs/contributors">Contributors</a>
|
||
<a href="https://github.com/yetone/magpie-releases/releases">Releases</a>
|
||
</div>
|
||
</div></footer>
|
||
|
||
<script>
|
||
(() => {
|
||
const next = { system: "light", light: "dark", dark: "system" };
|
||
document.querySelectorAll("button.theme").forEach((b) => {
|
||
b.dataset.mode = themeMode();
|
||
b.title = "Theme: " + themeMode();
|
||
b.addEventListener("click", () => setTheme(next[themeMode()]));
|
||
});
|
||
|
||
document.querySelectorAll(".copy").forEach((b) => b.addEventListener("click", async () => {
|
||
try {
|
||
await navigator.clipboard.writeText(document.getElementById(b.dataset.copy).textContent);
|
||
b.textContent = "Copied"; setTimeout(() => (b.textContent = "Copy"), 1400);
|
||
} catch {}
|
||
}));
|
||
})();
|
||
</script>
|
||
<script src="/docs.js"></script>
|
||
</body>
|
||
</html>
|