Materializr
開源參數式 3D CAD 給創客 — 受限草圖、實體建模、螺紋、SVG 與文字雕刻、STL/STEP 匯出。Android、iPad、Linux、Mac、Windows。Vibe 編碼。
AI 翻譯
✒️ Lobe Editor - a modern, extensible rich text editor built on Meta's Lexical framework with dual-architecture design, featuring both a powerful kernel and React integration. Optimized for AI applications and chat interfaces.
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
A modern, extensible rich text editor built on Meta's Lexical framework with dual-architecture design, featuring both a powerful kernel and React integration. Optimized for AI applications and chat interfaces. [README 설치·사용 부분 발췌] Setup You can use Github Codespaces for online development:檢視完整 README ↗
A rich text editor for React, built on Meta's Lexical, for developers building AI apps: chat composers, Markdown documents and agent-driven editing.
Lobe Editor (@lobehub/editor) is a drop-in rich text editor for React apps that talk to AI, from chat input boxes to full documents.
@ mentions, attachments and a send button, ready to drop inskills.md and llms.txt let coding agents use the editor correctly$ bun add @lobehub/editor
# or
$ pnpm add @lobehub/editor
Requires React 19 and the peer dependencies react, react-dom, @lobehub/ui and motion.
A minimal editor with lists, links and code blocks:
import { ReactCodeblockPlugin, ReactLinkPlugin, ReactListPlugin } from '@lobehub/editor';
import { Editor, useEditor } from '@lobehub/editor/react';
export default function MyEditor() {
const editor = useEditor();
return (
<Editor
editor={editor}
placeholder="Type / for commands..."
plugins={[ReactListPlugin, ReactLinkPlugin, ReactCodeblockPlugin]}
onTextChange={(editor) => {
console.log(editor.getDocument('markdown'));
}}
/>
);
}
Next steps:
Lobe Editor is built for AI-assisted development. The docs site publishes machine-readable references, so agents use real props and APIs instead of guessing.
| Resource | What it does |
|---|---|
| Agent Skills | editor.lobehub.com/skills.md — setup, workflow and an index of every component and plugin. Give this URL to your agent in Cursor, Claude Code, Codex and others |
| llms.txt | editor.lobehub.com/llms.txt — structured page index with descriptions and outlines for LLMs |
| Markdown docs | Every docs page has a .md version, e.g. Editor and ChatInput |
Copy this prompt to your agent:
Read https://editor.lobehub.com/skills.md and follow it to add @lobehub/editor.
Works with Cursor, Claude Code, Windsurf, GitHub Copilot and any tool that can read llms.txt or fetch a URL.
| Entry | Use it for |
|---|---|
@lobehub/editor | Plugins, commands and the editor kernel |
@lobehub/editor/react | Editor, ChatInput, SendButton and hooks |
@lobehub/editor/headless | Reading and writing documents on the server, without a DOM |
@lobehub/editor/renderer | Read-only, SSR-safe rendering and diffs of saved content |
Full guides, API tables and live demos are at editor.lobehub.com:
You can use Github Codespaces for online development:
Or clone it for local development:
$ git clone https://github.com/lobehub/lobe-editor.git
$ cd lobe-editor
$ pnpm install
$ pnpm dev
pnpm dev starts the docs site with live demos. Run pnpm test for tests and pnpm ci for lint and type checks.
Contributions of all types are more than welcome, if you are interested in contributing code, feel free to check out our GitHub Issues to get stuck in to show us what you're made of.
If you work on the docs site with an AI agent, the repo ships agent skills in .agents/skills (using-docs-kit, building-landing-home).