From c3048cd266375b1365b2c6b6ab1a6f5fe027b483 Mon Sep 17 00:00:00 2001 From: yetone Date: Mon, 2 Nov 2026 07:08:45 +0800 Subject: [PATCH] site: a sitemap, robots rules, a searchable title and canonical docs pages usemagpie.ai had no sitemap, a robots.txt with Cloudflare's comments only, a home page titled just "magpie" in every language, and docs pages with no canonical or x-default. - public/sitemap.xml lists the home page in en, zh, ja and de and every docs page by its clean URL. A test fails when a docs page on disk is missing from it, or it lists one that isn't there. - public/robots.txt names the sitemap and keeps crawlers off /api/, /go/, /r/ and /download, so a crawler's fetch isn't counted as a download or a partner click. - The home , og:title and twitter:title name the agents ("magpie: one model switcher for Claude Code, Codex and Gemini CLI"), translated by worker.js like the rest (meta.title, meta.locale in i18n.js). og:type, og:site_name and og:locale are added, plus JSON-LD for a free, MIT-licensed SoftwareApplication and the WebSite. - Each docs page has rel=canonical to its own clean URL and an x-default alternate to the English page, plus og:site_name. A test checks each one, and that every hreflang alternate is a listed page. Run: on mote, node --test worker.test.mjs install.test.mjs from site/ at this tree: 54 of 54 pass. Broken by hand in a copy: a docs page without its canonical, and the sitemap without docs/zh/docker, each turns the sitemap test red. Not tried: Google's Rich Results test; the live check is after deploy. --- site/i18n.js | 6 ++++ site/public/docs/contributors.html | 3 ++ site/public/docs/docker.html | 3 ++ site/public/docs/import.html | 3 ++ site/public/docs/integrate.html | 3 ++ site/public/docs/intent.html | 3 ++ site/public/docs/ja/contributors.html | 3 ++ site/public/docs/ja/docker.html | 3 ++ site/public/docs/ja/import.html | 3 ++ site/public/docs/ja/intent.html | 3 ++ site/public/docs/ja/masking.html | 3 ++ site/public/docs/ja/mcp-router.html | 3 ++ site/public/docs/ja/plugins.html | 3 ++ site/public/docs/ja/privacy.html | 3 ++ site/public/docs/ja/remote.html | 3 ++ site/public/docs/ja/start.html | 3 ++ site/public/docs/masking.html | 3 ++ site/public/docs/mcp-router.html | 3 ++ site/public/docs/plugins.html | 3 ++ site/public/docs/privacy.html | 3 ++ site/public/docs/remote.html | 3 ++ site/public/docs/start.html | 3 ++ site/public/docs/zh/contributors.html | 3 ++ site/public/docs/zh/docker.html | 3 ++ site/public/docs/zh/import.html | 3 ++ site/public/docs/zh/integrate.html | 3 ++ site/public/docs/zh/intent.html | 3 ++ site/public/docs/zh/masking.html | 3 ++ site/public/docs/zh/mcp-router.html | 3 ++ site/public/docs/zh/plugins.html | 3 ++ site/public/docs/zh/privacy.html | 3 ++ site/public/docs/zh/remote.html | 3 ++ site/public/docs/zh/start.html | 3 ++ site/public/index.html | 15 +++++++-- site/public/robots.txt | 7 +++++ site/public/sitemap.xml | 39 ++++++++++++++++++++++++ site/worker.test.mjs | 44 +++++++++++++++++++++++++++ 37 files changed, 204 insertions(+), 3 deletions(-) create mode 100644 site/public/robots.txt create mode 100644 site/public/sitemap.xml diff --git a/site/i18n.js b/site/i18n.js index 947dd0c1a..3db4c1f2b 100644 --- a/site/i18n.js +++ b/site/i18n.js @@ -16,6 +16,8 @@ const zh = { "meta.tagline": "每个 Agent 的模型,一处搞定。", "meta.ogalt": "magpie:每个 Agent 的模型,一处搞定", "meta.url": "https://usemagpie.ai/zh/", + "meta.title": "magpie:Claude Code、Codex、Gemini CLI 的模型一处切换", + "meta.locale": "zh_CN", "alt.picker": "magpie 里 Codex 的模型选择器,列出了 DeepSeek、Kimi 和 GLM 的模型", "alt.panel": "magpie 菜单栏面板:每个 Agent 各用一家厂商的模型", "alt.providers": "magpie 的供应商页:DeepSeek、Kimi、GLM、Qwen、MiniMax、OpenRouter、Anthropic 和 Gemini,各自列出在用它的 Agent", @@ -167,6 +169,8 @@ const ja = { "meta.tagline": "すべてのエージェントのモデルを、一か所で。", "meta.ogalt": "magpie:すべてのエージェントのモデルを、一か所で", "meta.url": "https://usemagpie.ai/ja/", + "meta.title": "magpie:Claude Code・Codex・Gemini CLI のモデルを一か所で切り替え", + "meta.locale": "ja_JP", "alt.picker": "magpie を通した Codex のモデル選択。DeepSeek、Kimi、GLM のモデルが並ぶ", "alt.panel": "magpie のメニューバーパネル:エージェントごとに別のベンダーのモデル", "alt.providers": "magpie のプロバイダ画面:DeepSeek、Kimi、GLM、Qwen、MiniMax、OpenRouter、Anthropic、Gemini と、それぞれを使っているエージェント", @@ -318,6 +322,8 @@ const de = { "meta.tagline": "Das Modell jedes Agenten. An einem Ort.", "meta.ogalt": "magpie: das Modell jedes Agenten, an einem Ort", "meta.url": "https://usemagpie.ai/de/", + "meta.title": "magpie: ein Modellwechsler für Claude Code, Codex und Gemini CLI", + "meta.locale": "de_DE", "alt.picker": "Die Modellauswahl von Codex in magpie mit Modellen von DeepSeek, Kimi und GLM", "alt.panel": "Das Menüleisten-Panel von magpie: jeder Agent mit dem Modell eines anderen Anbieters", "alt.providers": "Der Reiter „Anbieter“ in magpie: DeepSeek, Kimi, GLM, Qwen, MiniMax, OpenRouter, Anthropic und Gemini, jeweils mit den Agenten, die sie nutzen", diff --git a/site/public/docs/contributors.html b/site/public/docs/contributors.html index 4b9ea79fc..536d16013 100644 --- a/site/public/docs/contributors.html +++ b/site/public/docs/contributors.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/contributors"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/contributors"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/contributors"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/contributors"> +<link rel="canonical" href="https://usemagpie.ai/docs/contributors"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="Contributors"> <meta property="og:description" content="Who helped make magpie, release by release."> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/docker.html b/site/public/docs/docker.html index cab4c6892..445f75f32 100644 --- a/site/public/docs/docker.html +++ b/site/public/docs/docker.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/docker"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/docker"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/docker"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/docker"> +<link rel="canonical" href="https://usemagpie.ai/docs/docker"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="magpie in Docker"> <meta property="og:description" content="Run magpie's gateway on a server or a NAS and manage it from the browser."> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/import.html b/site/public/docs/import.html index 2ad3bb39c..cb8deb548 100644 --- a/site/public/docs/import.html +++ b/site/public/docs/import.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/import"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/import"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/import"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/import"> +<link rel="canonical" href="https://usemagpie.ai/docs/import"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="Add to magpie"> <meta property="og:description" content="One link puts your models in every agent your users run."> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/integrate.html b/site/public/docs/integrate.html index 6757c4112..b94bb3a2f 100644 --- a/site/public/docs/integrate.html +++ b/site/public/docs/integrate.html @@ -29,7 +29,10 @@ <link rel="apple-touch-icon" href="/img/icon-256.png"> <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/integrate"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/integrate"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/integrate"> +<link rel="canonical" href="https://usemagpie.ai/docs/integrate"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="Integrate your app"> <meta property="og:description" content="Use magpie's gateway from your app, or get a row on its Agents page."> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/intent.html b/site/public/docs/intent.html index 0ec1586e0..56cf4428a 100644 --- a/site/public/docs/intent.html +++ b/site/public/docs/intent.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/intent"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/intent"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/intent"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/intent"> +<link rel="canonical" href="https://usemagpie.ai/docs/intent"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="Intent routing"> <meta property="og:description" content="Send each turn to a model by what it asks for."> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/ja/contributors.html b/site/public/docs/ja/contributors.html index 6a348efdd..d3364af68 100644 --- a/site/public/docs/ja/contributors.html +++ b/site/public/docs/ja/contributors.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/contributors"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/contributors"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/contributors"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/contributors"> +<link rel="canonical" href="https://usemagpie.ai/docs/ja/contributors"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="コントリビューター"> <meta property="og:description" content="magpie を手伝ってくれた人たち、リリースごとに。"> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/ja/docker.html b/site/public/docs/ja/docker.html index e9c4cc7f5..3ec2eb5dd 100644 --- a/site/public/docs/ja/docker.html +++ b/site/public/docs/ja/docker.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/docker"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/docker"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/docker"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/docker"> +<link rel="canonical" href="https://usemagpie.ai/docs/ja/docker"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="Docker で magpie を動かす"> <meta property="og:description" content="サーバーや NAS で magpie のゲートウェイを動かし、ブラウザから管理します。"> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/ja/import.html b/site/public/docs/ja/import.html index 813ac48fe..a56747f49 100644 --- a/site/public/docs/ja/import.html +++ b/site/public/docs/ja/import.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/import"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/import"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/import"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/import"> +<link rel="canonical" href="https://usemagpie.ai/docs/ja/import"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="Add to magpie"> <meta property="og:description" content="リンク 1 つで、あなたのモデルをユーザーのすべてのエージェントへ。"> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/ja/intent.html b/site/public/docs/ja/intent.html index c7db79cda..d544fdd66 100644 --- a/site/public/docs/ja/intent.html +++ b/site/public/docs/ja/intent.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/intent"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/intent"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/intent"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/intent"> +<link rel="canonical" href="https://usemagpie.ai/docs/ja/intent"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="インテントルーティング"> <meta property="og:description" content="求められていることに応じて、ターンごとに送るモデルを決めます。"> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/ja/masking.html b/site/public/docs/ja/masking.html index a4856bf1a..f86c52664 100644 --- a/site/public/docs/ja/masking.html +++ b/site/public/docs/ja/masking.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/masking"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/masking"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/masking"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/masking"> +<link rel="canonical" href="https://usemagpie.ai/docs/ja/masking"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="プライバシーマスキング"> <meta property="og:description" content="キー、パスワード、個人情報をコンピュータに留める:送る前にマスクし、応答で元に戻します。"> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/ja/mcp-router.html b/site/public/docs/ja/mcp-router.html index b8ceb440a..4d0a9a750 100644 --- a/site/public/docs/ja/mcp-router.html +++ b/site/public/docs/ja/mcp-router.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/mcp-router"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/mcp-router"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/mcp-router"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/mcp-router"> +<link rel="canonical" href="https://usemagpie.ai/docs/ja/mcp-router"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="MCP ルーター"> <meta property="og:description" content="MCP サーバーを magpie のライブラリで一度設定し、一つのアドレスですべてのエージェントとアプリに。"> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/ja/plugins.html b/site/public/docs/ja/plugins.html index f0ac1425e..d08353114 100644 --- a/site/public/docs/ja/plugins.html +++ b/site/public/docs/ja/plugins.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/plugins"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/plugins"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/plugins"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/plugins"> +<link rel="canonical" href="https://usemagpie.ai/docs/ja/plugins"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="プラグインの作り方"> <meta property="og:description" content="OpenCode プラグインか pi パッケージひとつで、どんなサービスも magpie のプロバイダにできます。"> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/ja/privacy.html b/site/public/docs/ja/privacy.html index 757fa6f3d..337b424e1 100644 --- a/site/public/docs/ja/privacy.html +++ b/site/public/docs/ja/privacy.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/privacy"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/privacy"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/privacy"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/privacy"> +<link rel="canonical" href="https://usemagpie.ai/docs/ja/privacy"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="プライバシー"> <meta property="og:description" content="magpie が自分から送るものすべてと、その止め方。"> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/ja/remote.html b/site/public/docs/ja/remote.html index 9a81eb51b..fa20e5e9f 100644 --- a/site/public/docs/ja/remote.html +++ b/site/public/docs/ja/remote.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/remote"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/remote"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/remote"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/remote"> +<link rel="canonical" href="https://usemagpie.ai/docs/ja/remote"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="リモート magpie"> <meta property="og:description" content="1 つの magpie のプロバイダ、アカウント、ルーティンググループを、使うすべてのコンピューターで。"> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/ja/start.html b/site/public/docs/ja/start.html index d1df9aeba..41628819b 100644 --- a/site/public/docs/ja/start.html +++ b/site/public/docs/ja/start.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/start"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/start"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/start"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/start"> +<link rel="canonical" href="https://usemagpie.ai/docs/ja/start"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="magpie をはじめる"> <meta property="og:description" content="手持ちのプロバイダを追加し、エージェントごとにモデルを選ぶ。セットアップを順を追って解説します。"> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/masking.html b/site/public/docs/masking.html index 00a078afe..66ce1e186 100644 --- a/site/public/docs/masking.html +++ b/site/public/docs/masking.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/masking"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/masking"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/masking"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/masking"> +<link rel="canonical" href="https://usemagpie.ai/docs/masking"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="Privacy masking"> <meta property="og:description" content="Keep keys, passwords and personal data on your computer: masked before a request leaves it, restored in the reply."> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/mcp-router.html b/site/public/docs/mcp-router.html index b9c95b5cd..c85f9fee2 100644 --- a/site/public/docs/mcp-router.html +++ b/site/public/docs/mcp-router.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/mcp-router"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/mcp-router"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/mcp-router"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/mcp-router"> +<link rel="canonical" href="https://usemagpie.ai/docs/mcp-router"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="MCP router"> <meta property="og:description" content="Set up each MCP server once in magpie's Library and serve it to every agent and app through one address."> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/plugins.html b/site/public/docs/plugins.html index 10cf14380..9f16777d9 100644 --- a/site/public/docs/plugins.html +++ b/site/public/docs/plugins.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/plugins"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/plugins"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/plugins"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/plugins"> +<link rel="canonical" href="https://usemagpie.ai/docs/plugins"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="Writing plugins"> <meta property="og:description" content="Turn any service into a magpie provider with an OpenCode plugin or a pi package."> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/privacy.html b/site/public/docs/privacy.html index db0c2e976..cc23d45c5 100644 --- a/site/public/docs/privacy.html +++ b/site/public/docs/privacy.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/privacy"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/privacy"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/privacy"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/privacy"> +<link rel="canonical" href="https://usemagpie.ai/docs/privacy"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="Privacy"> <meta property="og:description" content="Everything magpie sends by itself, and how to turn it off."> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/remote.html b/site/public/docs/remote.html index 147423f8a..fca2d9f0c 100644 --- a/site/public/docs/remote.html +++ b/site/public/docs/remote.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/remote"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/remote"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/remote"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/remote"> +<link rel="canonical" href="https://usemagpie.ai/docs/remote"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="Remote magpie"> <meta property="og:description" content="One magpie's providers, accounts and routing groups, on every computer you use."> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/start.html b/site/public/docs/start.html index 935d110e1..5a87519d6 100644 --- a/site/public/docs/start.html +++ b/site/public/docs/start.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/start"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/start"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/start"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/start"> +<link rel="canonical" href="https://usemagpie.ai/docs/start"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="Get started with magpie"> <meta property="og:description" content="Add the providers you have, pick a model for each agent. The setup, step by step."> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/zh/contributors.html b/site/public/docs/zh/contributors.html index 718ed685f..626a0be57 100644 --- a/site/public/docs/zh/contributors.html +++ b/site/public/docs/zh/contributors.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/contributors"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/contributors"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/contributors"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/contributors"> +<link rel="canonical" href="https://usemagpie.ai/docs/zh/contributors"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="贡献墙"> <meta property="og:description" content="谁帮助了 magpie,按版本列出。"> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/zh/docker.html b/site/public/docs/zh/docker.html index 8b754bbb9..7dbf184d5 100644 --- a/site/public/docs/zh/docker.html +++ b/site/public/docs/zh/docker.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/docker"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/docker"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/docker"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/docker"> +<link rel="canonical" href="https://usemagpie.ai/docs/zh/docker"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="在 Docker 里运行 magpie"> <meta property="og:description" content="在服务器或 NAS 上运行 magpie 的网关,在浏览器里管理它。"> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/zh/import.html b/site/public/docs/zh/import.html index a6d4d11e3..e2b7f7f4c 100644 --- a/site/public/docs/zh/import.html +++ b/site/public/docs/zh/import.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/import"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/import"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/import"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/import"> +<link rel="canonical" href="https://usemagpie.ai/docs/zh/import"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="Add to magpie"> <meta property="og:description" content="一个链接,把你的模型送进用户的每个 Agent。"> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/zh/integrate.html b/site/public/docs/zh/integrate.html index 9b7e516af..a08889fc4 100644 --- a/site/public/docs/zh/integrate.html +++ b/site/public/docs/zh/integrate.html @@ -29,7 +29,10 @@ <link rel="apple-touch-icon" href="/img/icon-256.png"> <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/integrate"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/integrate"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/integrate"> +<link rel="canonical" href="https://usemagpie.ai/docs/zh/integrate"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="接入你的应用"> <meta property="og:description" content="在你的应用里使用 magpie 的网关,或在 Agents 页面拥有自己的一行。"> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/zh/intent.html b/site/public/docs/zh/intent.html index 1ccddbc65..745038d76 100644 --- a/site/public/docs/zh/intent.html +++ b/site/public/docs/zh/intent.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/intent"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/intent"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/intent"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/intent"> +<link rel="canonical" href="https://usemagpie.ai/docs/zh/intent"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="意图路由"> <meta property="og:description" content="按用户想做什么,把每一轮交给合适的模型。"> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/zh/masking.html b/site/public/docs/zh/masking.html index 9e7eb52df..e683515d2 100644 --- a/site/public/docs/zh/masking.html +++ b/site/public/docs/zh/masking.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/masking"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/masking"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/masking"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/masking"> +<link rel="canonical" href="https://usemagpie.ai/docs/zh/masking"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="本地脱敏"> <meta property="og:description" content="密钥、密码和个人信息留在你的电脑上:请求发出前脱敏,回复里还原。"> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/zh/mcp-router.html b/site/public/docs/zh/mcp-router.html index ee8306327..83dd84da2 100644 --- a/site/public/docs/zh/mcp-router.html +++ b/site/public/docs/zh/mcp-router.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/mcp-router"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/mcp-router"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/mcp-router"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/mcp-router"> +<link rel="canonical" href="https://usemagpie.ai/docs/zh/mcp-router"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="MCP 路由"> <meta property="og:description" content="MCP 服务器在 magpie 资源库里配一次,通过一个地址给所有 Agent 和应用使用。"> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/zh/plugins.html b/site/public/docs/zh/plugins.html index 55d0de926..2a25a0cd3 100644 --- a/site/public/docs/zh/plugins.html +++ b/site/public/docs/zh/plugins.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/plugins"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/plugins"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/plugins"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/plugins"> +<link rel="canonical" href="https://usemagpie.ai/docs/zh/plugins"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="插件开发"> <meta property="og:description" content="用一个 OpenCode 插件或 pi 扩展包,把任何服务变成 magpie 的供应商。"> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/zh/privacy.html b/site/public/docs/zh/privacy.html index 4195f639a..47d4260ff 100644 --- a/site/public/docs/zh/privacy.html +++ b/site/public/docs/zh/privacy.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/privacy"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/privacy"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/privacy"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/privacy"> +<link rel="canonical" href="https://usemagpie.ai/docs/zh/privacy"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="隐私"> <meta property="og:description" content="magpie 自己发出的所有内容,以及怎么关掉。"> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/zh/remote.html b/site/public/docs/zh/remote.html index bca091bbf..669a0fe2b 100644 --- a/site/public/docs/zh/remote.html +++ b/site/public/docs/zh/remote.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/remote"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/remote"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/remote"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/remote"> +<link rel="canonical" href="https://usemagpie.ai/docs/zh/remote"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="远程 magpie"> <meta property="og:description" content="一个 magpie 的供应商、账号和路由组,用在你的每台电脑上。"> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/docs/zh/start.html b/site/public/docs/zh/start.html index 4a1649471..539bc1251 100644 --- a/site/public/docs/zh/start.html +++ b/site/public/docs/zh/start.html @@ -30,7 +30,10 @@ <link rel="alternate" hreflang="en" href="https://usemagpie.ai/docs/start"> <link rel="alternate" hreflang="zh" href="https://usemagpie.ai/docs/zh/start"> <link rel="alternate" hreflang="ja" href="https://usemagpie.ai/docs/ja/start"> +<link rel="alternate" hreflang="x-default" href="https://usemagpie.ai/docs/start"> +<link rel="canonical" href="https://usemagpie.ai/docs/zh/start"> <link rel="stylesheet" href="/docs.css"> +<meta property="og:site_name" content="magpie"> <meta property="og:title" content="magpie 快速上手"> <meta property="og:description" content="添加你已有的供应商,给每个 Agent 选模型。一步步配置。"> <meta property="og:image" content="https://usemagpie.ai/img/og.png"> diff --git a/site/public/index.html b/site/public/index.html index 7c44cbb80..6e2600ef0 100644 --- a/site/public/index.html +++ b/site/public/index.html @@ -3,7 +3,7 @@ <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> -<title>magpie +magpie: one model switcher for Claude Code, Codex and Gemini CLI @@ -34,13 +34,16 @@ window.themeTitle = (m) => T("Theme: " + m, "主题:" + { system: "跟随系 - + + + + - + @@ -51,6 +54,12 @@ window.themeTitle = (m) => T("Theme: " + m, "主题:" + { system: "跟随系 +