Malapit na · Open Source · Modified MIT
Ang spreadsheet para sa tao at mga agent.
Isang open-source spreadsheet engine na muling ginawa sa Rust. Dynamic arrays, pivot tables, XLOOKUP — na may Python at Node.js SDK na dinisenyo para sa AI.
Ilalabas ang SDK packages sa oras ng launch. Sundan para sa mga update
Live na spreadsheet na tumatakbo sa browser mo sa pamamagitan ng WebAssembly — hindi screenshot ito.
Mga Use Case
Ginawa para sa mga developer at agent
I-embed sa iyong app
Maglagay ng kumpletong spreadsheet sa anumang web app gamit ang isang React component. Dynamic arrays, pivot tables, at 582 na function agad sa simula.
Patakbuhin sa server
Mag-process ng XLSX file, mag-evaluate ng formula, at gumawa ng ulat sa server gamit ang Node.js o Python SDK. Hindi kailangan ng browser.
Palakasin ang AI agent
Bigyan ng structured access ang mga LLM sa spreadsheet operations. Ang typed API ng SDK ay dinisenyo para sa tool-use — walang screen scraping o prompt engineering.
Bakit Mog
Kumpletong spreadsheet engine, hindi lang UI component.
Para sa tao at mga agent
Isang structured API na direktang matawagan ng mga LLM. Python at Node.js SDK na dinisenyo para sa AI agent workflow — walang screen scraping o macro hack.
- Python SDK via PyO3 para sa AI agent workflow
- Node.js SDK via N-API na may native performance
- Headless server para sa batch processing
- Tool-use-ready API (structured input/output)
Buong Excel compatibility, muling ginawa sa Rust
582 na function, dynamic arrays, pivot tables, XLOOKUP, conditional formatting, at structured references. Hindi subset — buo at kumpleto.
- 582 Excel-compatible na function
- Dynamic arrays, XLOOKUP, LAMBDA
- Pivot tables, conditional formatting, data validation
- Native XLSX parsing at pagsulat (buong OOXML spec)
Real-time, offline-first, walang conflict
CRDT-based na collaboration na pinapagana ng Yrs. Gumagana offline, nagsi-sync kapag nakakonekta, hindi nawawala ang data. Walang kumplikadong operational transform.
- CRDT collaboration via Yrs (Rust)
- Cell identity model para sa conflict-free na formula
- Offline-first na may automatic sync
- Canvas rendering sa 60fps via binary wire protocol
Architecture
Isang Rust engine, bawat platform
Isang beses lang isulat sa Rust, na-compile sa tatlong target. Parehong code sa browser, sa server, at sa Python notebook.
Browser
WebAssembly
Tumatakbo sa Web Worker. Walang server round-trip para sa computation.
Node.js
N-API
Native binary para sa macOS, Linux, at Windows. Walang WASM overhead.
Python
PyO3
Native Python bindings. Gamitin ang spreadsheet formulas kasama ang pandas.
Rust compute core
Formulas, dependency graph, pivot tables, conditional formatting, at XLSX parser — pawang Rust. Isang annotated API ang gumagawa ng bindings para sa bawat target.
compute-core
parser, functions, graph, formats,
schema, stats, charts, cf, pivot,
table, fill, solver, collab, wire
Binary wire protocol
Viewport data bilang compact binary buffer, hindi JSON. Zero allocations bawat cell. 60fps kahit sa malalaking sheet.
Viewport buffer
36B header + N × 32B cell records
+ string pool + format palette
Mutation patches
Spliced directly into the viewport
buffer — no deserialization step
SDK
Programmatic na access sa lahat
Isang Rust engine, bawat SDK. Parehong API sa Python at TypeScript.
Python
import mog
wb = mog.create_workbook()
ws = wb.active_sheet()
# Set values and formulas
ws.set_cell("A1", "Revenue")
ws.set_cell("A2", 150000)
ws.set_cell("A3", "=A2 * 1.15")
# Dynamic arrays just work
ws.set_cell("B1", '=FILTER(A1:A3, A1:A3>100000)')
# Convert to pandas DataFrame
wb.calculate()
df = ws.to_dataframe()
wb.save("forecast.xlsx")Node.js
import { createWorkbook } from "@mog-sdk/node";
const wb = await createWorkbook();
const ws = wb.getActiveSheet();
// Set values and formulas
await ws.setCell("A1", "Revenue");
await ws.setCell("A2", 150000);
await ws.setCell("A3", "=A2 * 1.15");
// Structured table references
await ws.tables.add({ range: "A1:A3", name: "Forecast" });
await ws.setCell("B1", "=Forecast[@Revenue]");
// Batch operations into a single undo step
await wb.batch(async () => {
await ws.setRange("C1:C3", [["Q2"], [170000], ["=C2*1.15"]]);
});Ginawa Gamit ang Mog
Handa na para sa iyong proyekto
Mula sa AI agent hanggang SaaS product hanggang data pipeline. Maging isa sa mga unang mag-build gamit ang Mog.
AI agents
Structured spreadsheet API para sa LLM tool-use. Walang screen scraping.
SaaS na produkto
Kumpletong spreadsheet sa isang React component. Dynamic arrays at lahat.
Mga data pipeline
I-process ang XLSX sa server gamit ang Python o Node.js. Hindi kailangan ng Excel.
Mga madalas na tanong
Ano ang Mog?
Ang Mog ay isang open-source spreadsheet engine na muling ginawa mula sa simula sa Rust. Nagbibigay ito ng kumpletong spreadsheet runtime — formula evaluation, dependency tracking, XLSX parsing, canvas rendering, at real-time collaboration — na maaaring i-embed sa web app, patakbuhin sa server, o gamitin mula sa Python at Node.js.
Bakit Rust?
Binibigyan kami ng Rust ng native performance, memory safety, at kakayahang mag-compile sa WebAssembly (browser), N-API (Node.js), at PyO3 (Python) mula sa isang codebase. Isang engine, bawat platform, walang garbage collection pause.
Libre ba ang Mog?
Oo. Ang Mog ay open source sa ilalim ng Modified MIT license. Gamitin ito sa personal na proyekto, komersyal na produkto, o SaaS platform.
Paano nagkakaiba ang Mog sa mga kasalukuyang spreadsheet library?
Karamihan sa mga spreadsheet library ay nakatuon sa UI rendering o file parsing lamang. Ang Mog ay nagbibigay ng buong stack: isang Rust compute engine na may 582 na function, canvas rendering, CRDT collaboration, at native SDK. Tingnan ang comparison page para sa detalyadong feature matrix.
Handa na ba ang Mog para sa production?
Aktibo pa ring pinauunlad ang Mog. Gumagana na ang core engine (formula, rendering, collaboration, XLSX) at kasalukuyang sinusubukan. Nagtatrabaho kami patungo sa open-source release — sundan kami para sa launch updates.
May iba pang tanong? Basahin pa tungkol sa Mog
Interesadong mag-build gamit ang Mog?
Magiging open source ang Mog sa ilalim ng Modified MIT na lisensya.
Get notified when Mog launches