Yuav Muaj Soon · Open Source · Modified MIT
Lub spreadsheet rau neeg thiab AI agents.
Ib lub spreadsheet engine open source tsim dua tshiab hauv Rust. Dynamic arrays, pivot tables, XLOOKUP — nrog Python thiab Node.js SDKs tsim rau AI.
SDK packages yuav tso tawm thaum launch. Raws kom paub tshiab
Spreadsheet khiav nyob rau hauv koj lub browser los ntawm WebAssembly — tsis yog duab nkaus xwb.
Siv Tau Li Cas
Tsim rau cov developers thiab AI agents
Ntxig rau hauv koj lub app
Tso ib lub spreadsheet tag nrho rau hauv web app twg los ntawm ib qho React component. Dynamic arrays, pivot tables, thiab 582 functions txhij siv.
Khiav ntawm server
Txiav txim XLSX files, xam formulas, thiab tsim reports ntawm server nrog Node.js lossis Python SDK. Tsis tas muaj browser.
Txhawb AI agents
Muab LLMs txoj kev nkag structured rau spreadsheet operations. SDK txoj API muaj type tsim rau tool-use — tsis tas scrape screen lossis prompt engineering.
Vim Li Cas Mog
Ib lub spreadsheet engine tag nrho, tsis yog ib qho UI component xwb.
Tsim rau neeg thiab AI agents
Ib qho structured API uas LLMs nkag tau ncaj qha. Python thiab Node.js SDKs tsim rau AI agent workflows — tsis tas scrape screen lossis hacks.
- Python SDK los ntawm PyO3 rau AI agent workflows
- Node.js SDK los ntawm N-API nrog native performance
- Headless server rau kev ua hauj lwm ua pab
- Tool-use-ready API (structured input/output)
Sib xws tag nrho nrog Excel, tsim dua hauv Rust
582 functions, dynamic arrays, pivot tables, XLOOKUP, conditional formatting, thiab structured references. Tsis yog ib feem xwb — tag nrho tiag.
- 582 functions sib xws nrog Excel
- Dynamic arrays, XLOOKUP, LAMBDA
- Pivot tables, conditional formatting, data validation
- Native XLSX parsing thiab writing (full OOXML spec)
Real-time, offline-first, tsis sib tsoo
Kev koom tes siv CRDT powered by Yrs. Siv tau thaum offline, sync thaum muaj internet, tsis poob data. Tsis muaj operational transform complexity.
- CRDT collaboration los ntawm Yrs (Rust)
- Cell identity model rau formulas tsis sib tsoo
- Offline-first nrog automatic sync
- Canvas rendering ntawm 60fps los ntawm binary wire protocol
Architecture
Ib lub Rust engine, txhua platform
Sau ib zaug hauv Rust, compile rau peb qho. Tib lub code hauv browser, ntawm server, thiab hauv Python notebook.
Browser
WebAssembly
Khiav hauv Web Worker. Tsis tas mus server rau kev xam.
Node.js
N-API
Native binaries rau macOS, Linux, thiab Windows. Tsis muaj WASM overhead.
Python
PyO3
Native Python bindings. Siv spreadsheet formulas nrog pandas.
Rust compute core
Formulas, dependency graph, pivot tables, conditional formatting, thiab XLSX parser — tag nrho Rust. Ib qho API annotated tsim bindings rau txhua platform.
compute-core
parser, functions, graph, formats,
schema, stats, charts, cf, pivot,
table, fill, solver, collab, wire
Binary wire protocol
Viewport data ua binary buffers qis nqes, tsis yog JSON. Tsis muaj allocations rau txhua cell. 60fps ntawm cov sheets loj.
Viewport buffer
36B header + N × 32B cell records
+ string pool + format palette
Mutation patches
Spliced directly into the viewport
buffer — no deserialization step
SDK
Nkag tau txhua yam los ntawm kev sau code
Ib lub Rust engine, txhua SDK. Tib lub API hauv Python thiab 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"]]);
});Tsim Nrog Mog
Npaj rau koj project
Los ntawm AI agents mus rau SaaS products mus rau data pipelines. Ua thawj tus los tsim nrog Mog.
AI agents
Structured spreadsheet API rau LLM tool-use. Tsis tas scrape screen.
SaaS products
Spreadsheet tag nrho hauv ib qho React component. Dynamic arrays thiab txhua yam.
Data pipelines
Txiav txim XLSX ntawm server hauv Python lossis Node.js. Tsis tas muaj Excel.
Cov Lus Nug Ntau Npaum Li Cas
Mog yog dab tsi?
Mog yog ib lub spreadsheet engine open source tsim dua tshiab hauv Rust. Nws muab ib lub spreadsheet runtime tag nrho — xam formulas, raws qhov sib txuam, XLSX parsing, canvas rendering, thiab kev koom tes real-time — uas koj ntxig tau hauv web apps, khiav ntawm servers, lossis siv los ntawm Python thiab Node.js.
Vim li cas siv Rust?
Rust muab native performance, kev nyab xeeb ntawm memory, thiab peev xwm compile mus rau WebAssembly (browser), N-API (Node.js), thiab PyO3 (Python) los ntawm ib lub codebase. Ib lub engine, txhua platform, tsis muaj garbage collection pauses.
Mog puas dawb?
Yog. Mog yog open source raws Modified MIT license. Siv tau rau cov project tus kheej, khoom lag luam, lossis SaaS platforms.
Mog piv li cas rau lwm cov spreadsheet libraries?
Feem ntau cov spreadsheet libraries tsom mus rau UI rendering lossis file parsing xwb. Mog muab tag nrho: ib lub Rust compute engine nrog 582 functions, canvas rendering, CRDT collaboration, thiab native SDKs. Saib nplooj piv ntawd rau cov feature matrix kom meej.
Mog puas npaj siv hauv production?
Mog tseem tab tom tsim. Core engine (formulas, rendering, collaboration, XLSX) ua hauj lwm tau lawm thiab tab tom sim. Peb tab tom npaj tso tawm raws open source — raws peb kom paub tshiab.
Muaj lus nug ntxiv? Nyeem ntxiv txog Mog
Xav tsim nrog Mog?
Mog yuav yog open source raws Modified MIT daim ntawv tso cai.
Get notified when Mog launches