一个完全在浏览器里的 AI 文本编辑器,用 WebGPU 在访问者本地运行 AI 模型。数据不会离开设备。
A text editor that runs entirely in your browser, using WebGPU to run AI models locally. Your data never leaves your device.
将你输入的文本进行结构化处理,包含导语等内容,并优化你的整体语法、语序,处理文本内容。
Structure your input text, including elements like the lead paragraph, and optimize your overall grammar and sentence structure.
- 完全本地运行,不需要 API Key,不需要联网
- 数据不出设备,隐私保障
- 第一次下载模型后,后续使用不需要网络
- 流式输出,边生成边显示
- Runs completely locally, no API keys or internet required
- Your data stays on your device
- After the initial model download, works offline
- Streaming output - see results as they're generated
- WebLLM:在浏览器里运行大模型
- WebGPU:用显卡加速推理
- Marked.js:渲染 Markdown
- WebLLM: Run LLMs in the browser
- WebGPU: GPU-accelerated inference
- Marked.js: Markdown rendering
需要支持 WebGPU 的浏览器:
- Chrome/Edge 113 或更新
- Safari 18+ (macOS/iOS)
- Firefox 110+ (实验性支持)
还需要一块支持 WebGPU 的显卡,以及约 1GB 的磁盘空间(首次下载模型用)。
You need a browser with WebGPU support:
- Chrome/Edge 113 or newer
- Safari 18+ (macOS/iOS)
- Firefox 110+ (experimental)
Also need a GPU with WebGPU drivers and ~1GB disk space for the initial model download.
- 用主流浏览器打开
index.html - 等模型加载完成(第一次需要下载,可能需要几分钟)
- 在左边输入框粘贴你的草稿
- 点 "Start Rewrite" 开始生成
- 右边会实时显示格式化后的 Markdown,可以复制
- Open
index.htmlin a WebGPU-compatible browser - Wait for the model to load (first time will download, may take a few minutes)
- Paste your draft in the left input box
- Click "Start Rewrite" to begin
- Formatted Markdown appears on the right in real-time, ready to copy
生成的内容会包含:
- 标题(H1)
- 摘要(Blockquote)
- 正文章节(H2 + 列表)
The output includes:
- Title (H1)
- Summary (Blockquote)
- Content sections (H2 + bullet points)
- MapleGCM @楓零Matthew.X(枫语云团队)
- MapleGCM @Jonny.L(枫义GCM团队)
- MapleGCM @伊语Ivan.Y(枫义GCM团队)
- @楓零Matthew.X (MapleIDC Team)
- @Jonny.L (MapleGCM Team)
- @伊语Ivan.Y (MapleGCM Team)
MIT License,详见 LICENSE 文件。
MIT License, see LICENSE file for details.