[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116637":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":15,"stars30d":15,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":16,"rankGlobal":10,"rankLanguage":10,"license":17,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":20,"hasPages":20,"topics":21,"createdAt":10,"pushedAt":32,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":15,"starSnapshotCount":15,"syncStatus":36,"lastSyncTime":37,"discoverSource":38},116637,"MROffice","XinaTian\u002FMROffice","XinaTian","MR Office — the open-source editors of the AI office suite closest to Microsoft Office: documents, spreadsheets, presentations, PDF and code in the browser. Copilot in every editor edits real Word, Excel and PowerPoint files with you; an MCP server lets Claude, ChatGPT, Cursor and Codex create and edit them; embed it in your app with one line.","https:\u002F\u002Fmroffice.ai",null,"TypeScript",3413,387,164,0,59.5,"GNU Affero General Public License v3.0",false,"main",true,[22,23,24,25,26,27,28,29,30,31],"agpl","document-editor","excel","office-suite","open-source","pdf-editor","powerpoint","spreadsheet","typescript","word","2026-11-23 15:43:55","2026-11-23 20:47:40","# MR Office\n\n\u003Cp align=\"center\">\u003Csub>🌐 \u003Ca href=\"README.md\">English\u003C\u002Fa> · \u003Ca href=\"i18n\u002FREADME.en-GB.md\">English (UK)\u003C\u002Fa> · \u003Ca href=\"i18n\u002FREADME.zh.md\">简体中文\u003C\u002Fa> · \u003Ca href=\"i18n\u002FREADME.zh-TW.md\">繁體中文\u003C\u002Fa> · \u003Ca href=\"i18n\u002FREADME.ja.md\">日本語\u003C\u002Fa> · \u003Ca href=\"i18n\u002FREADME.ko.md\">한국어\u003C\u002Fa> · \u003Ca href=\"i18n\u002FREADME.de.md\">Deutsch\u003C\u002Fa> · \u003Ca href=\"i18n\u002FREADME.fr.md\">Français\u003C\u002Fa> · \u003Ca href=\"i18n\u002FREADME.es.md\">Español\u003C\u002Fa> · \u003Ca href=\"i18n\u002FREADME.es-419.md\">Español (Latinoamérica)\u003C\u002Fa> · \u003Ca href=\"i18n\u002FREADME.pt-BR.md\">Português (Brasil)\u003C\u002Fa> · \u003Ca href=\"i18n\u002FREADME.it.md\">Italiano\u003C\u002Fa> · \u003Ca href=\"i18n\u002FREADME.nl.md\">Nederlands\u003C\u002Fa> · \u003Ca href=\"i18n\u002FREADME.sv.md\">Svenska\u003C\u002Fa> · \u003Ca href=\"i18n\u002FREADME.da.md\">Dansk\u003C\u002Fa> · \u003Ca href=\"i18n\u002FREADME.no.md\">Norsk\u003C\u002Fa> · \u003Ca href=\"i18n\u002FREADME.fi.md\">Suomi\u003C\u002Fa> · \u003Ca href=\"i18n\u002FREADME.id.md\">Bahasa Indonesia\u003C\u002Fa> · \u003Ca href=\"i18n\u002FREADME.th.md\">ไทย\u003C\u002Fa> · \u003Ca href=\"i18n\u002FREADME.vi.md\">Tiếng Việt\u003C\u002Fa>\u003C\u002Fsub>\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Cb>The open-source editors of MR Office, the editor closest to Microsoft Office — documents, spreadsheets, presentations, PDF, handwriting and code — running in the browser.\u003C\u002Fb>\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Ca href=\"https:\u002F\u002Fmroffice.ai\u002Fen\">\u003Cb>▶ Try online\u003C\u002Fb>\u003C\u002Fa> · \u003Ca href=\"https:\u002F\u002Fmroffice.ai\u002Fen\u002Foffice\u002Fdownload\">\u003Cb>⬇ Download\u003C\u002Fb>\u003C\u002Fa> · \u003Ca href=\"https:\u002F\u002Fmroffice.ai\">🌐 mroffice.ai\u003C\u002Fa>\u003Cbr>\u003Ca href=\"https:\u002F\u002Fmroffice.ai\u002Fen\u002Fdevelopers\">🧑‍💻 Developers\u003C\u002Fa> · \u003Ca href=\"https:\u002F\u002Fmroffice.ai\u002Fen\u002Fdevelopers\u002Fembed\">🧩 Embed\u003C\u002Fa> · \u003Ca href=\"https:\u002F\u002Fmroffice.ai\u002Fen\u002Fdevelopers\u002Fmcp\">🤖 MCP for AI apps\u003C\u002Fa> · \u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fmroffice-embed\">📦 npm SDK\u003C\u002Fa> · \u003Ca href=\"https:\u002F\u002Fmroffice.ai\u002Fen\u002Fdevelopers\u002Foauth\">🔑 Sign in with MR Office\u003C\u002Fa>\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Ca href=\"LICENSE\">\u003Cimg alt=\"AGPL-3.0\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-AGPL--3.0-blue\">\u003C\u002Fa> \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FXinaTian\u002FMROffice\u002Freleases\">\u003Cimg alt=\"release\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002FXinaTian\u002FMROffice\">\u003C\u002Fa> \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FXinaTian\u002FMROffice\u002Factions\u002Fworkflows\u002Fci.yml\">\u003Cimg alt=\"CI\" src=\"https:\u002F\u002Fgithub.com\u002FXinaTian\u002FMROffice\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg\">\u003C\u002Fa> \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FXinaTian\u002FMROffice\u002Fstargazers\">\u003Cimg alt=\"GitHub stars\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002FXinaTian\u002FMROffice?style=social\">\u003C\u002Fa>\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Ca href=\"https:\u002F\u002Fmroffice.ai\u002Fen\">\u003Cimg src=\"docs\u002Fmedia\u002Fmr-office-demo.webp\" alt=\"The open-source editors of MR Office, the editor closest to Microsoft Office — documents, spreadsheets, presentations, PDF, handwriting and code — running in the browser.\" width=\"100%\">\u003C\u002Fa>\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Ca href=\"https:\u002F\u002Fdemo.mroffice.ai\u002Fmedia\u002Fmr-office-demo.mp4\">🔊 Watch the 50-second tour with sound\u003C\u002Fa>\u003C\u002Fp>\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd align=\"center\" width=\"50%\">\u003Ca href=\"https:\u002F\u002Fmroffice.ai\u002Fen\">\u003Cimg src=\"docs\u002Fscreenshots\u002Fdocs.png\" alt=\"Documents\" width=\"100%\">\u003C\u002Fa>\u003Cbr>\u003Cb>Documents\u003C\u002Fb>\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"50%\">\u003Ca href=\"https:\u002F\u002Fmroffice.ai\u002Fen\">\u003Cimg src=\"docs\u002Fscreenshots\u002Fsheets.png\" alt=\"Spreadsheets\" width=\"100%\">\u003C\u002Fa>\u003Cbr>\u003Cb>Spreadsheets\u003C\u002Fb>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd align=\"center\" width=\"50%\">\u003Ca href=\"https:\u002F\u002Fmroffice.ai\u002Fen\">\u003Cimg src=\"docs\u002Fscreenshots\u002Fslides.png\" alt=\"Presentations\" width=\"100%\">\u003C\u002Fa>\u003Cbr>\u003Cb>Presentations\u003C\u002Fb>\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"50%\">\u003Ca href=\"https:\u002F\u002Fmroffice.ai\u002Fen\">\u003Cimg src=\"docs\u002Fscreenshots\u002Fpdf.png\" alt=\"PDF\" width=\"100%\">\u003C\u002Fa>\u003Cbr>\u003Cb>PDF\u003C\u002Fb>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd align=\"center\" width=\"50%\">\u003Ca href=\"https:\u002F\u002Fmroffice.ai\u002Fen\">\u003Cimg src=\"docs\u002Fscreenshots\u002Fink.png\" alt=\"Handwriting\" width=\"100%\">\u003C\u002Fa>\u003Cbr>\u003Cb>Handwriting\u003C\u002Fb>\u003C\u002Ftd>\n\u003Ctd align=\"center\" width=\"50%\">\u003Ca href=\"https:\u002F\u002Fmroffice.ai\u002Fen\">\u003Cimg src=\"docs\u002Fscreenshots\u002Fcode.png\" alt=\"Code\" width=\"100%\">\u003C\u002Fa>\u003Cbr>\u003Cb>Code\u003C\u002Fb>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\nMR Office is a workspace for notes, AI and real files. This repository publishes the source code of its editors: the same editors MR Office runs, which you can build, run and embed on your own. They are open-source editors, not a complete open-source office suite: the reading and writing of Microsoft Office files stays in MR Office (see below).\n\n## For developers\n\nEverything for developers is at **[MR Office Developers](https:\u002F\u002Fmroffice.ai\u002Fen\u002Fdevelopers)** — self-serve, no application: sign in with any MR Office account and start.\n\n### Embed the editors in your web app (recommended)\n\nMR Office hosts the editors; your server signs a short-lived session token and your page opens the editor. It edits real Word, Excel, PowerPoint and PDF files (.docx, .xlsx, .pptx, .pdf), with co-editing, uploads, every export format, printing, and saves sent back to your server in a signed callback. Free plan: 1,000 sessions a month on localhost, 100 on your own domains, up to 2 apps. It is a hosted commercial service, so your own app is not bound by this repository's AGPL license.\n\n1. In your project's folder run `npx mroffice-embed init` (or create an app in the developer console): one \"Allow\" in the browser, and the app's keys are written to `.env.local` \u002F `.env`.\n2. Your server mints a session token with `createSessionToken` from `mroffice-embed\u002Fserver`; the secret key never leaves the server.\n3. Your page opens the editor with `open()` from `mroffice-embed` (or the script `https:\u002F\u002Fmroffice.ai\u002Fembed\u002Fv1\u002Fembed.js`).\n\n```js\n\u002F\u002F server: GET \u002Fapi\u002Fmroffice\u002Fsession (check who is signed in first)\nimport { createSessionToken } from \"mroffice-embed\u002Fserver\";\nconst token = await createSessionToken({\n  appId: process.env.MROFFICE_APP_ID,\n  secretKey: process.env.MROFFICE_SECRET_KEY, \u002F\u002F mro_sk_..., server only\n  file: { key: \"contract-42\", name: \"contract.docx\", url: signedUrlToTheFile },\n  user: { id: user.id, name: user.name },\n  mode: \"edit\",\n});\n\n\u002F\u002F page\nimport { open } from \"mroffice-embed\";\nopen({ container: \"#editor\", token: () => fetch(\"\u002Fapi\u002Fmroffice\u002Fsession\").then((r) => r.json()).then((b) => b.token) });\n```\n\n[Embed guide](https:\u002F\u002Fmroffice.ai\u002Fen\u002Fdevelopers\u002Fembed) · [The guide as Markdown (for AI agents)](https:\u002F\u002Fmroffice.ai\u002Fdevelopers\u002Fembed.md) · [Pricing and limits](https:\u002F\u002Fmroffice.ai\u002Fen\u002Fdevelopers\u002Fpricing) · [Developer console](https:\u002F\u002Fmroffice.ai\u002Fen\u002Fdevelopers\u002Fconsole) · [Live demo](https:\u002F\u002Fmroffice.ai\u002Fen\u002Fdevelopers\u002Fembed\u002Fdemo)\n\n### AI apps: the MCP server\n\nAI apps open, read, edit and export documents in the real MR Office editor through its MCP server: connect the hosted endpoint `https:\u002F\u002Fmcp.mroffice.ai\u002Fmcp` (sign in with your MR Office account, no key), or run `npx -y mroffice-mcp` on your own computer. Its source is in `apps\u002Fmcp`. [MCP guide →](https:\u002F\u002Fmroffice.ai\u002Fen\u002Fdevelopers\u002Fmcp)\n\n### Sign in with MR Office (OAuth)\n\nMR Office is an OAuth 2.1 authorization server (PKCE, client ID metadata documents, dynamic registration): your app can sign people in with their MR Office account and act with the scopes they allow. [OAuth guide →](https:\u002F\u002Fmroffice.ai\u002Fen\u002Fdevelopers\u002Foauth)\n\n### Self-host the open-source editors\n\nThe six editors in this repository can be built into your own product under the AGPL-3.0: if people use a modified version over a network, you must offer them its complete source code, and keep the \"MR Office\" attribution (NOTICE.md). They open their own formats, CSV, HTML, Markdown and PDF; Word, Excel and PowerPoint files are not part of the open-source editors (the hosted embed above has them). A commercial license is available from support@mr-note.com. [Open-source guide →](https:\u002F\u002Fmroffice.ai\u002Fen\u002Fdevelopers\u002Fopen-source)\n\nThe editors are on npm as React components: `npm i mroffice-docs mroffice-core` (and `mroffice-sheets`, `mroffice-slides`, `mroffice-pdf`, `mroffice-ink`, `mroffice-code`); each package's README shows how to embed it.\n\n## The editors\n\nWhat each editor does in this repository:\n\n- **Documents** — a paged word processor: styles, fonts, lists, tables, headers and footers, sections and columns, shapes and equations, cover pages and tables of contents, comments and tracked changes, and pen ink on the page. Saves its own format (.mrdoc); opens HTML, Markdown and plain text.\n- **Spreadsheets** — cells and formulas, number formats, conditional formatting, sorting and filtering, frozen panes and several sheets, with sums and averages of the selection. Arithmetic between cells (=A1*B1+10) is calculated in the browser as you type; formulas with functions (SUM, IF, VLOOKUP …) are kept as written. Saves its own format (.mrsheet); opens and saves CSV and TSV.\n- **Presentations** — slides with eight themes of its own, layouts, slide master and layout views, text, shapes, text boxes, tables, WordArt and equations, comments, sections, transitions and animations with preview, and a slide show. Saves its own format (.mrslides).\n- **PDF** — read, search, present and print PDF files, copy and read aloud their text, and mark up selected text (highlight, underline, strikethrough, squiggly) with notes and a comments panel while a file is open; saving hands back the file as it was opened.\n- **Handwriting** — handwritten notes with pressure-sensitive pens, highlighters, erasers, lasso and ruler, and ink turned into shapes. Saves its own format (.mrink).\n- **Code** — a lightweight code editor with syntax highlighting for many languages, an outline, and find and replace; JavaScript\u002FTypeScript, Python, SQL, Lua and shell run right in the browser.\n\nCalculating formulas with functions, drawing charts and laying out SmartArt run in MR Office's own engine, in the MR Office desktop app: the open-source editors keep the formulas, charts and SmartArt a file holds, and show SmartArt as it was saved.\n\n## Run the editors\n\n**▶ [Try the live demo — no install](https:\u002F\u002Fmroffice.ai\u002Fen)**\n\nThe six editors are in `packages\u002F` (`@mrnote\u002Fdocs`, `sheets`, `slides`, `pdf`, `ink`, `code`, sharing `@mrnote\u002Fcore`) and run together in `apps\u002Fplayground`:\n\n```bash\nnpm install\nnpm run fonts     # the open substitutes for Office's fonts\nnpm run build\nnpm run preview   # http:\u002F\u002Flocalhost:5178\n```\n\n`npm run dev` starts a development server at the same address, and `npm run smoke` checks a build. Each package's README lists what it does in detail and shows how to embed it.\n\n## Desktop app\n\n[`apps\u002Fdesktop`](apps\u002Fdesktop) holds **MR Office Editors**: the source of the MR Office desktop app's shell (Electron), under an identity of its own. With the free MR Office component from Releases, it is the MR Office desktop app, with Word, Excel, PowerPoint and PDF files, sign-in and AI. Without the component, it runs the open-source editors on their own, which open .mrdoc, .mrsheet, .mrslides and .mrink files, CSV, HTML, Markdown and PDF. The shell and the editors are AGPL source code; the component is compiled, free to use and not open source. After `npm run build`, start it with:\n\n```bash\nnpm run desktop\n```\n\n## For the full experience, install the MR Office desktop app (free)\n\nThe MR Office desktop app is free, has these editors and the full service, and works offline on your own computer. It adds what the open-source editors leave out:\n\n- Opening and saving Word, Excel and PowerPoint files (.docx, .xlsx, .pptx)\n- Formulas with functions (SUM, IF, VLOOKUP …), calculated\n- Charts\n- SmartArt editing\n- Saving PDF edits back into the file\n\n**[Download MR Office (free) →](https:\u002F\u002Fmroffice.ai\u002Fen\u002Foffice\u002Fdownload)**\n\n### Word, Excel, PowerPoint and PDF files\n\nOpening and saving Word, Excel and PowerPoint files (.docx, .xlsx, .pptx), and saving PDF edits back into the file, are provided by the MR Office desktop app (free), which has all of these editors and works offline on your own computer:\n\n## How the pieces fit\n\n```mermaid\nflowchart LR\n  subgraph OSS[\"Open source · AGPL-3.0\"]\n    direction LR\n    core[\"@mrnote\u002Fcore\"] --> E[\"The six editors\u003Cbr\u002F>Documents · Spreadsheets · Presentations · PDF · Handwriting · Code\"]\n    E --> PG[\"apps\u002Fplayground\u003Cbr\u002F>Browser\"]\n    E --> DS[\"apps\u002Fdesktop\u003Cbr\u002F>Desktop shell\"]\n    MCP[\"apps\u002Fmcp\u003Cbr\u002F>MCP server for AI apps\"]\n  end\n  COMP[\"MR Office component: Word, Excel and PowerPoint files · free, not open source\"] -.-> DS\n```\n\n## License\n\nOpen source under the GNU Affero General Public License v3.0 (LICENSE), with the additional terms in NOTICE.md: keep the \"MR Office\" attribution and link to https:\u002F\u002Fmroffice.ai, and no rights to the MR Office name or logo. A commercial license is available from support@mr-note.com. Third-party software and data are listed in THIRD_PARTY_NOTICES.md. Contributions: see CONTRIBUTING.md.\n\n## More\n\nWebsite and the full product: **https:\u002F\u002Fmroffice.ai** · Questions and feedback: support@mr-note.com\n\n\u003Cp align=\"center\">If MR Office is useful to you, a ⭐ on GitHub helps other people find it.\u003C\u002Fp>\n","MR Office 是一个开源的浏览器端办公套件，提供文档、电子表格、演示文稿、PDF、手写笔记和代码编辑器。核心功能包括多格式兼容（类 Word\u002FExcel\u002FPowerPoint）、PDF 标注与编辑、手写笔迹支持、轻量级代码编辑，以及通过 Web Embed SDK 供第三方集成；基于 TypeScript 构建，遵循 AGPL-3.0 许可，支持多语言界面。适用于需私有化部署、数据本地化处理或嵌入自研系统的教育机构、企业内部协作平台及开发者工具链。",2,"2026-11-24 04:54:08","CREATED_QUERY"]