Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

feat: prepare web clipper for Chrome Web Store

tianma-iffcb1cc9a9e9b
diff --git a/apps/extension/STORE_LISTING.md b/apps/extension/STORE_LISTING.md
new file mode 100644
index 00000000..8edc3dcb
--- /dev/null
+++ b/apps/extension/STORE_LISTING.md
@@ -0,0 +1,65 @@
+# Chrome Web Store listing
+
+## Product details
+
+- Name: `EdgeEver Web Clipper`
+- Primary language: `中文(简体)`
+- Category: `Workflow & Planning`
+- Homepage: `https://edgeever.org/`
+- Support URL: `https://github.com/tianma-if/edgeever/issues`
+- Privacy policy: `https://edgeever.org/privacy`
+
+## Upload files
+
+- Package: `store-assets/edgeever-web-clipper-v0.1.0.zip`
+- Store icon: `public/icons/icon-128.png`
+- Screenshot: `store-assets/screenshot-options-1280x800.jpg`
+- Small promo tile: `store-assets/promo-small-440x280.jpg`
+
+### Summary
+
+将当前网页或选中内容保存到你自托管的 EdgeEver 实例。
+
+### Detailed description
+
+EdgeEver Web Clipper 可以把当前网页或你选中的内容保存到自托管的 EdgeEver 实例。
+
+主要功能:
+
+- 自动提取文章正文,并转换为便于搜索和编辑的 Markdown。
+- 优先保存你在页面中选中的内容。
+- 在笔记中保留原始标题、来源网址和剪藏时间。
+- 可选择默认笔记本,并自动添加 `web-clip` 标签。
+- 网页内容直接发送到你配置的 EdgeEver 实例,不经过开发者的中转服务器。
+
+使用前,请在插件设置中填写 EdgeEver 实例地址和 API Token。插件只会在你点击“保存当前网页”后读取当前标签页,并仅向你授权的 EdgeEver 实例申请网络访问权限。
+
+EdgeEver 是开源、自托管的现代笔记工作区。项目主页与源代码:https://github.com/tianma-if/edgeever
+
+## Privacy practices
+
+### Single purpose
+
+Save the current webpage or user-selected content to the self-hosted EdgeEver instance explicitly configured by the user.
+
+### Permission justifications
+
+- `activeTab`: Read the active page only after the user clicks the extension's save action.
+- `scripting`: Inject the packaged content extraction script into the active page after the user initiates a capture.
+- `storage`: Store the user's EdgeEver instance URL, API token, and default notebook ID locally.
+- Optional host permissions: Send API requests only to the EdgeEver instance origin configured and approved by the user.
+
+### Data disclosures
+
+The extension handles authentication information, website content, and web browsing activity. These data are used only for the user-triggered clipping feature. Page content is processed locally and sent directly to the user's configured EdgeEver instance. The developer does not receive or retain it.
+
+- Data is not sold or transferred to third parties outside the approved use case.
+- Data is not used for purposes unrelated to the extension's single purpose.
+- Data is not used for creditworthiness or lending.
+- No remote code is used.
+
+## Distribution
+
+- Visibility: Public
+- Regions: All regions supported by the Chrome Web Store
+- Defer publish: Off, unless a manual launch date is desired
diff --git a/apps/extension/options.html b/apps/extension/options.html
index 7fea1dd5..24e9b71b 100644
--- a/apps/extension/options.html
+++ b/apps/extension/options.html
@@ -8,7 +8,6 @@
<body>
<main class="options-shell">
<h1>EdgeEver Web Clipper</h1>
- <p class="hint">配置你自己的 EdgeEver 实例。插件不会把网页内容发送到第三方服务器。</p>
<form id="settings-form">
<label>
EdgeEver 实例地址
@@ -30,6 +29,9 @@
</div>
<p id="status" class="status" role="status"></p>
</form>
+ <p class="privacy-link">
+ <a href="https://edgeever.org/privacy" target="_blank" rel="noopener noreferrer">隐私政策</a>
+ </p>
</main>
<script type="module" src="/src/options.ts"></script>
</body>
diff --git a/apps/extension/popup.html b/apps/extension/popup.html
index 8eae4685..7d38fc69 100644
--- a/apps/extension/popup.html
+++ b/apps/extension/popup.html
@@ -7,11 +7,29 @@
</head>
<body>
<main class="popup-shell">
- <h1>EdgeEver</h1>
- <p class="hint">保存当前网页或选中内容</p>
- <button id="save" type="button">保存当前网页</button>
+ <header class="popup-header">
+ <img src="/icons/icon-32.png" width="32" height="32" alt="" />
+ <div>
+ <h1>EdgeEver</h1>
+ <p class="hint">网页剪藏</p>
+ </div>
+ </header>
+ <p class="popup-description">保存当前网页或选中的内容到你的 EdgeEver。</p>
+ <button id="save" class="save-button" type="button">
+ <svg aria-hidden="true" viewBox="0 0 24 24" width="18" height="18">
+ <path d="M5 4.75A1.75 1.75 0 0 1 6.75 3h8.836c.464 0 .91.184 1.238.513l1.663 1.663c.329.328.513.774.513 1.238v12.836A1.75 1.75 0 0 1 17.25 21H6.75A1.75 1.75 0 0 1 5 19.25V4.75Z" />
+ <path d="M8 3v5h7V3M8 21v-7h8v7" />
+ </svg>
+ <span>保存当前网页</span>
+ </button>
<p id="status" class="status" role="status"></p>
- <button id="settings" class="link-button" type="button">打开插件设置</button>
+ <button id="settings" class="settings-button" type="button">
+ <svg aria-hidden="true" viewBox="0 0 24 24" width="17" height="17">
+ <path d="M12 15.25A3.25 3.25 0 1 0 12 8.75a3.25 3.25 0 0 0 0 6.5Z" />
+ <path d="M19.4 15a1.7 1.7 0 0 0 .34 1.88l.06.06-2.86 2.86-.06-.06A1.7 1.7 0 0 0 15 19.4a1.7 1.7 0 0 0-1 .6 1.7 1.7 0 0 0-.4 1.1V21h-4v-.1A1.7 1.7 0 0 0 8.6 19.4a1.7 1.7 0 0 0-1.88.34l-.06.06L3.8 16.94l.06-.06A1.7 1.7 0 0 0 4.2 15a1.7 1.7 0 0 0-.6-1 1.7 1.7 0 0 0-1.1-.4H2.4v-4h.1A1.7 1.7 0 0 0 4.2 8.6a1.7 1.7 0 0 0-.34-1.88L3.8 6.66 6.66 3.8l.06.06A1.7 1.7 0 0 0 8.6 4.2a1.7 1.7 0 0 0 1-.6 1.7 1.7 0 0 0 .4-1.1v-.1h4v.1a1.7 1.7 0 0 0 1 1.7 1.7 1.7 0 0 0 1.88-.34l.06-.06 2.86 2.86-.06.06A1.7 1.7 0 0 0 19.4 8.6a1.7 1.7 0 0 0 .6 1 1.7 1.7 0 0 0 1.1.4h.1v4h-.1a1.7 1.7 0 0 0-1.7 1Z" />
+ </svg>
+ <span>插件设置</span>
+ </button>
</main>
<script type="module" src="/src/popup.ts"></script>
</body>
diff --git a/apps/extension/public/icons/icon-128.png b/apps/extension/public/icons/icon-128.png
new file mode 100644
index 00000000..c051ac07
Binary files /dev/null and b/apps/extension/public/icons/icon-128.png differ
diff --git a/apps/extension/public/icons/icon-16.png b/apps/extension/public/icons/icon-16.png
new file mode 100644
index 00000000..52dc3c50
Binary files /dev/null and b/apps/extension/public/icons/icon-16.png differ
diff --git a/apps/extension/public/icons/icon-32.png b/apps/extension/public/icons/icon-32.png
new file mode 100644
index 00000000..6e919799
Binary files /dev/null and b/apps/extension/public/icons/icon-32.png differ
diff --git a/apps/extension/public/icons/icon-48.png b/apps/extension/public/icons/icon-48.png
new file mode 100644
index 00000000..6510b106
Binary files /dev/null and b/apps/extension/public/icons/icon-48.png differ
diff --git a/apps/extension/public/manifest.json b/apps/extension/public/manifest.json
index f63b7c66..ce190e33 100644
--- a/apps/extension/public/manifest.json
+++ b/apps/extension/public/manifest.json
@@ -3,10 +3,20 @@
"name": "EdgeEver Web Clipper",
"version": "0.1.0",
"description": "Save the current webpage or selected content to your self-hosted EdgeEver instance.",
+ "icons": {
+ "16": "icons/icon-16.png",
+ "32": "icons/icon-32.png",
+ "48": "icons/icon-48.png",
+ "128": "icons/icon-128.png"
+ },
"permissions": ["activeTab", "scripting", "storage"],
"optional_host_permissions": ["https://*/*", "http://localhost/*", "http://127.0.0.1/*"],
"action": {
"default_title": "Save to EdgeEver",
+ "default_icon": {
+ "16": "icons/icon-16.png",
+ "32": "icons/icon-32.png"
+ },
"default_popup": "popup.html"
},
"background": {
diff --git a/apps/extension/src/styles.css b/apps/extension/src/styles.css
index 84cc4dd7..67d91af1 100644
--- a/apps/extension/src/styles.css
+++ b/apps/extension/src/styles.css
@@ -18,6 +18,86 @@ body {
.popup-shell {
width: 320px;
+ padding: 20px;
+ background: #f8fafc;
+}
+
+.popup-header {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+}
+
+.popup-header img {
+ border-radius: 8px;
+ box-shadow: 0 1px 2px rgb(15 23 42 / 12%);
+}
+
+.popup-header h1 {
+ margin: 0;
+ font-size: 18px;
+ line-height: 1.2;
+}
+
+.popup-header .hint {
+ margin: 2px 0 0;
+ font-size: 12px;
+ line-height: 1.4;
+}
+
+.popup-description {
+ margin: 18px 0 14px;
+ color: #475569;
+ font-size: 13px;
+ line-height: 1.55;
+}
+
+.save-button {
+ display: inline-flex;
+ width: 100%;
+ align-items: center;
+ justify-content: center;
+ gap: 8px;
+ min-height: 42px;
+ box-shadow: 0 1px 2px rgb(15 118 110 / 18%);
+}
+
+.save-button svg,
+.settings-button svg {
+ fill: none;
+ stroke: currentcolor;
+ stroke-linecap: round;
+ stroke-linejoin: round;
+ stroke-width: 1.8;
+}
+
+.popup-shell .status:empty {
+ display: none;
+}
+
+.popup-shell .status {
+ min-height: 0;
+ margin: 12px 0 0;
+}
+
+.settings-button {
+ display: flex;
+ width: 100%;
+ align-items: center;
+ justify-content: center;
+ gap: 7px;
+ margin-top: 16px;
+ border-top: 1px solid #e2e8f0;
+ border-radius: 0;
+ background: transparent;
+ color: #0f766e;
+ padding: 15px 0 0;
+ font-size: 13px;
+}
+
+.settings-button:hover {
+ background: transparent;
+ color: #115e59;
}
.options-shell {
@@ -116,3 +196,12 @@ button:disabled {
.status[data-kind="success"] {
color: #047857;
}
+
+.privacy-link {
+ margin: 20px 0 0;
+ font-size: 12px;
+}
+
+.privacy-link a {
+ color: #0f766e;
+}
diff --git a/apps/extension/store-assets/edgeever-web-clipper-v0.1.0.zip b/apps/extension/store-assets/edgeever-web-clipper-v0.1.0.zip
new file mode 100644
index 00000000..463f2b1e
Binary files /dev/null and b/apps/extension/store-assets/edgeever-web-clipper-v0.1.0.zip differ
diff --git a/apps/extension/store-assets/promo-small-440x280.jpg b/apps/extension/store-assets/promo-small-440x280.jpg
new file mode 100644
index 00000000..8a4bae0e
Binary files /dev/null and b/apps/extension/store-assets/promo-small-440x280.jpg differ
diff --git a/apps/extension/store-assets/promo.html b/apps/extension/store-assets/promo.html
new file mode 100644
index 00000000..612e3c9a
--- /dev/null
+++ b/apps/extension/store-assets/promo.html
@@ -0,0 +1,46 @@
+<!doctype html>
+<html lang="zh-CN">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>EdgeEver Web Clipper</title>
+ <style>
+ * { box-sizing: border-box; }
+ html, body { width: 440px; height: 280px; margin: 0; overflow: hidden; }
+ body {
+ display: grid;
+ place-items: center;
+ color: #f8fafc;
+ background:
+ radial-gradient(circle at 84% 18%, rgba(94, 234, 212, 0.24), transparent 32%),
+ linear-gradient(145deg, #064e3b, #0f766e 62%, #115e59);
+ font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
+ }
+ main { width: 100%; padding: 32px 36px; }
+ .brand { display: flex; align-items: center; gap: 18px; }
+ .icon {
+ width: 76px;
+ height: 76px;
+ border-radius: 18px;
+ box-shadow: 0 14px 32px rgba(6, 78, 59, 0.35);
+ }
+ h1 { margin: 0; font-size: 27px; line-height: 1.1; letter-spacing: -0.02em; }
+ .eyebrow { margin: 7px 0 0; color: #99f6e4; font-size: 14px; font-weight: 700; }
+ .tagline { margin: 26px 0 0; max-width: 350px; font-size: 17px; font-weight: 650; line-height: 1.5; }
+ .detail { margin: 8px 0 0; color: #ccfbf1; font-size: 12px; }
+ </style>
+ </head>
+ <body>
+ <main>
+ <div class="brand">
+ <img class="icon" src="/icons/icon-128.png" alt="" />
+ <div>
+ <h1>EdgeEver</h1>
+ <p class="eyebrow">Web Clipper</p>
+ </div>
+ </div>
+ <p class="tagline">一键保存网页正文或选中内容<br />到你自己的 EdgeEver 实例</p>
+ <p class="detail">本地提取 · Markdown · 自托管</p>
+ </main>
+ </body>
+</html>
diff --git a/apps/extension/store-assets/screenshot-options-1280x800.jpg b/apps/extension/store-assets/screenshot-options-1280x800.jpg
new file mode 100644
index 00000000..75fd3daa
Binary files /dev/null and b/apps/extension/store-assets/screenshot-options-1280x800.jpg differ
diff --git a/apps/site/src/components/footer.astro b/apps/site/src/components/footer.astro
index d95b87cd..15337ae1 100644
--- a/apps/site/src/components/footer.astro
+++ b/apps/site/src/components/footer.astro
@@ -12,6 +12,10 @@ const copy = siteCopy[locale].nav;
<a href={getLocalizedPath(locale, "/contact")} class="hover:underline">
{copy.contact}
</a>
+ |
+ <a href={getLocalizedPath(locale, "/privacy")} class="hover:underline">
+ {copy.privacy}
+ </a>
</p>
<p class="text-center text-xs text-slate-500 mt-1">
Open source on <a
diff --git a/apps/site/src/i18n.ts b/apps/site/src/i18n.ts
index 6e2edb7d..6e1e161b 100644
--- a/apps/site/src/i18n.ts
+++ b/apps/site/src/i18n.ts
@@ -45,6 +45,7 @@ export const siteCopy = {
advancedPlay: "搭配AI Agent的玩法",
blog: "博客",
contact: "联系我们",
+ privacy: "隐私政策",
demo: "在线演示",
language: "语言",
languageMenu: "切换语言",
@@ -167,6 +168,7 @@ export const siteCopy = {
advancedPlay: "AI Agent plays",
blog: "Blog",
contact: "Contact",
+ privacy: "Privacy",
demo: "Demo",
language: "Language",
languageMenu: "Change language",
diff --git a/apps/site/src/pages/en/privacy.astro b/apps/site/src/pages/en/privacy.astro
new file mode 100644
index 00000000..07cef1df
--- /dev/null
+++ b/apps/site/src/pages/en/privacy.astro
@@ -0,0 +1,65 @@
+---
+import Container from "@/components/container.astro";
+import Layout from "@/layouts/Layout.astro";
+---
+
+<Layout
+ title="Privacy Policy"
+ description="EdgeEver Web Clipper privacy policy covering webpage content, URLs, API tokens, and locally stored settings."
+>
+ <Container>
+ <main class="mx-auto max-w-3xl py-12 text-slate-700 md:py-20">
+ <article class="rounded-lg border border-slate-200 bg-white p-8 shadow-sm md:p-10">
+ <h1 class="text-3xl font-bold text-slate-950">EdgeEver Web Clipper Privacy Policy</h1>
+ <p class="mt-3 text-sm text-slate-500">Effective: July 17, 2026</p>
+
+ <div class="mt-8 space-y-8 leading-7">
+ <section>
+ <h2 class="text-xl font-bold text-slate-900">Single purpose</h2>
+ <p class="mt-3">EdgeEver Web Clipper only converts the current webpage or selected content that the user explicitly chooses to save into Markdown and sends it to the user's configured EdgeEver instance.</p>
+ </section>
+
+ <section>
+ <h2 class="text-xl font-bold text-slate-900">Data handled</h2>
+ <ul class="mt-3 list-disc space-y-2 pl-6">
+ <li>EdgeEver instance URL, API token, and default notebook ID are stored in Chrome's local extension storage so the extension can connect to the instance chosen by the user.</li>
+ <li>The current page title and URL, plus selected content or the article body extracted from the page, are processed only after the user clicks “Save current page.”</li>
+ <li>The capture time is added to the saved note for source traceability.</li>
+ </ul>
+ </section>
+
+ <section>
+ <h2 class="text-xl font-bold text-slate-900">Use and transmission</h2>
+ <p class="mt-3">Page content is extracted and converted to Markdown locally in the browser, then sent directly over the network to the EdgeEver instance configured by the user. The extension developer operates no relay service and does not receive, store, or view the content, URLs, or API token.</p>
+ <p class="mt-3">The extension includes no advertising, analytics, tracking, or telemetry. Data is not sold or shared with advertising platforms, data brokers, or other third parties.</p>
+ </section>
+
+ <section>
+ <h2 class="text-xl font-bold text-slate-900">Permission use</h2>
+ <ul class="mt-3 list-disc space-y-2 pl-6">
+ <li><strong>activeTab</strong>: accesses the current tab only after the user invokes the extension to save it.</li>
+ <li><strong>scripting</strong>: runs the content extraction script in the current page.</li>
+ <li><strong>storage</strong>: stores the instance URL, API token, and default notebook settings locally.</li>
+ <li><strong>Optional host permissions</strong>: grants network access only to the EdgeEver instance configured by the user.</li>
+ </ul>
+ </section>
+
+ <section>
+ <h2 class="text-xl font-bold text-slate-900">Security and retention</h2>
+ <p class="mt-3">Users should use an HTTPS EdgeEver instance and protect their API token. Extension settings remain in local Chrome extension storage until the user changes them, clears extension data, or uninstalls the extension. Clipped content is retained by the user's own EdgeEver instance and can be edited or deleted there.</p>
+ </section>
+
+ <section>
+ <h2 class="text-xl font-bold text-slate-900">Chrome Web Store Limited Use</h2>
+ <p class="mt-3">Information received from Chrome APIs is used only to provide the user-facing web clipping feature described above. Its use complies with the Chrome Web Store User Data Policy, including the Limited Use requirements.</p>
+ </section>
+
+ <section>
+ <h2 class="text-xl font-bold text-slate-900">Contact</h2>
+ <p class="mt-3">For questions about this policy or the extension's data practices, contact the project maintainers through <a class="text-teal-700 underline" href="https://github.com/tianma-if/edgeever/issues" target="_blank" rel="noopener noreferrer">GitHub Issues</a>.</p>
+ </section>
+ </div>
+ </article>
+ </main>
+ </Container>
+</Layout>
diff --git a/apps/site/src/pages/privacy.astro b/apps/site/src/pages/privacy.astro
new file mode 100644
index 00000000..b3d5929d
--- /dev/null
+++ b/apps/site/src/pages/privacy.astro
@@ -0,0 +1,65 @@
+---
+import Container from "@/components/container.astro";
+import Layout from "@/layouts/Layout.astro";
+---
+
+<Layout
+ title="隐私政策"
+ description="EdgeEver Web Clipper 隐私政策:说明插件如何处理网页内容、网址、API Token 与本地设置。"
+>
+ <Container>
+ <main class="mx-auto max-w-3xl py-12 text-slate-700 md:py-20">
+ <article class="rounded-lg border border-slate-200 bg-white p-8 shadow-sm md:p-10">
+ <h1 class="text-3xl font-bold text-slate-950">EdgeEver Web Clipper 隐私政策</h1>
+ <p class="mt-3 text-sm text-slate-500">生效日期:2026 年 7 月 17 日</p>
+
+ <div class="mt-8 space-y-8 leading-7">
+ <section>
+ <h2 class="text-xl font-bold text-slate-900">插件的单一用途</h2>
+ <p class="mt-3">EdgeEver Web Clipper 仅用于把用户明确选择保存的当前网页或选中内容,转换为 Markdown 并保存到用户自行配置的 EdgeEver 实例。</p>
+ </section>
+
+ <section>
+ <h2 class="text-xl font-bold text-slate-900">处理的数据</h2>
+ <ul class="mt-3 list-disc space-y-2 pl-6">
+ <li>EdgeEver 实例地址、API Token 和默认笔记本 ID:保存在 Chrome 的本地扩展存储中,用于连接用户指定的实例。</li>
+ <li>当前页面的标题、网址,以及用户选中的内容或从页面提取的正文:仅在用户点击“保存当前网页”后处理。</li>
+ <li>保存时间:随剪藏内容一同写入笔记,方便用户追溯来源。</li>
+ </ul>
+ </section>
+
+ <section>
+ <h2 class="text-xl font-bold text-slate-900">数据如何使用和传输</h2>
+ <p class="mt-3">网页内容先在浏览器本地提取并转换为 Markdown,然后直接通过网络发送到用户配置的 EdgeEver 实例。插件开发者不运营中转服务,不接收、保存或查看这些内容、网址或 API Token。</p>
+ <p class="mt-3">插件不包含广告、分析、追踪或遥测功能,不出售数据,也不与广告平台、数据经纪商或其他第三方共享数据。</p>
+ </section>
+
+ <section>
+ <h2 class="text-xl font-bold text-slate-900">权限说明</h2>
+ <ul class="mt-3 list-disc space-y-2 pl-6">
+ <li><strong>activeTab</strong>:仅在用户主动点击插件并保存时访问当前标签页。</li>
+ <li><strong>scripting</strong>:在当前页面运行内容提取脚本。</li>
+ <li><strong>storage</strong>:在本地保存实例地址、API Token 和默认笔记本设置。</li>
+ <li><strong>可选主机权限</strong>:只为用户配置的 EdgeEver 实例申请网络访问权限。</li>
+ </ul>
+ </section>
+
+ <section>
+ <h2 class="text-xl font-bold text-slate-900">安全与保留</h2>
+ <p class="mt-3">建议始终使用 HTTPS EdgeEver 实例并妥善保管 API Token。插件设置会保留在本机 Chrome 扩展存储中,直到用户修改、清除扩展数据或卸载插件。已经剪藏到 EdgeEver 的内容由用户自己的实例保存,用户可在该实例中编辑或删除。</p>
+ </section>
+
+ <section>
+ <h2 class="text-xl font-bold text-slate-900">Chrome Web Store Limited Use</h2>
+ <p class="mt-3">通过 Chrome API 获取的信息仅用于提供上述面向用户的网页剪藏功能。对这些信息的使用遵守 Chrome Web Store User Data Policy,包括 Limited Use 要求。</p>
+ </section>
+
+ <section>
+ <h2 class="text-xl font-bold text-slate-900">联系我们</h2>
+ <p class="mt-3">如对本政策或数据处理方式有疑问,请通过 <a class="text-teal-700 underline" href="https://github.com/tianma-if/edgeever/issues" target="_blank" rel="noopener noreferrer">GitHub Issues</a> 联系项目维护者。</p>
+ </section>
+ </div>
+ </article>
+ </main>
+ </Container>
+</Layout>