Malapit na · Open Source · Modified MIT
Ang spreadsheet para sa mga tao at agent.
Isang open-source na spreadsheet engine na muling ginawa sa Rust. Dynamic arrays, pivot tables, XLOOKUP — kasama ang Python at Node.js SDKs na dinisenyo para sa AI.
Ilalabas ang SDK packages sa oras ng paglulunsad. Sundan para sa mga update
Live na spreadsheet na tumatakbo sa iyong browser gamit ang WebAssembly — hindi screenshot.
Mga Gamit
Ginawa para sa mga developer at agent
I-embed sa iyong app
Maglagay ng buong spreadsheet sa kahit anong web app gamit ang isang React component. Dynamic arrays, pivot tables, at 582 na function agad-agad.
Patakbuhin sa server
Mag-process ng XLSX file, mag-evaluate ng formula, at gumawa ng mga ulat server-side gamit ang Node.js o Python SDK. Hindi kailangan ng browser.
Palakasin ang mga AI agent
Bigyan ang mga LLM ng structured na access sa mga spreadsheet na operasyon. Ang typed na API ng SDK ay dinisenyo para sa tool-use — walang screen scraping o prompt engineering.
Bakit Mog
Kumpletong spreadsheet engine, hindi lang UI component.
Ginawa para sa mga tao at agent
Isang structured na API na direktang matatawagan ng mga LLM. Mga Python at Node.js SDK na dinisenyo para sa AI agent workflows — walang screen scraping o macro hack.
- Python SDK gamit ang PyO3 para sa AI agent workflows
- Node.js SDK gamit ang N-API na may native na performance
- Headless server para sa batch processing
- Tool-use-ready na API (structured na input/output)
Buong Excel compatibility, muling ginawa sa Rust
582 na function, dynamic arrays, pivot tables, XLOOKUP, conditional formatting, at structured references. Hindi subset — ang tunay na bagay.
- 582 na Excel-compatible na function
- Dynamic arrays, XLOOKUP, LAMBDA
- Pivot tables, conditional formatting, data validation
- Native na pag-parse at pagsulat ng XLSX (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 gamit ang Yrs (Rust)
- Cell identity model para sa conflict-free na mga formula
- Offline-first na may awtomatikong sync
- Canvas rendering sa 60fps gamit ang binary wire protocol
Arkitektura
Isang Rust engine, lahat ng platform
Isang beses lang sinulat sa Rust, na-compile sa tatlong target. Parehong code sa browser, sa server, at sa Python notebook.
Browser
WebAssembly
Tumatakbo sa Web Worker. Zero server round-trips para sa computation.
Node.js
N-API
Native binaries para sa macOS, Linux, at Windows. Walang WASM overhead.
Python
PyO3
Native Python bindings. Gamitin ang mga spreadsheet formula kasabay ng pandas.
Rust compute core
Mga formula, dependency graph, pivot tables, conditional formatting, at XLSX parser — lahat Rust. Isang annotated na API ang bumubuo 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 na binary buffers, 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 mga AI agent hanggang SaaS na produkto at data pipeline. Maging kabilang sa mga unang magtatayo gamit ang Mog.
Mga AI agent
Structured na spreadsheet API para sa LLM tool-use. Walang screen scraping.
Mga SaaS na produkto
Buong spreadsheet sa iisang React component. Kasama na ang dynamic arrays at lahat.
Mga data pipeline
I-process ang XLSX server-side sa Python o Node.js. Hindi kailangan ng Excel.
Mga madalas itanong
Ano ang Mog?
Ang Mog ay isang open-source na 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 mga web app, patakbuhin sa mga server, o gamitin mula sa Python at Node.js.
Bakit Rust?
Binibigyan kami ng Rust ng native na performance, memory safety, at kakayahang mag-compile sa WebAssembly (browser), N-API (Node.js), at PyO3 (Python) mula sa iisang codebase. Isang engine, lahat ng platform, zero garbage collection pauses.
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 na platform.
Paano nakikipantay ang Mog sa mga kasalukuyang spreadsheet library?
Karamihan sa mga spreadsheet library ay nakatutok sa UI rendering o file parsing lamang. Ang Mog ay nagbibigay ng buong stack: Rust compute engine na may 582 na function, canvas rendering, CRDT collaboration, at native SDKs. Tingnan ang pahina ng paghahambing para sa detalyadong feature matrix.
Handa na ba ang Mog para sa production?
Aktibo pa ring pinagtatrabahuhan ang Mog. Ang core engine (mga formula, rendering, collaboration, XLSX) ay gumagana na at nasa ilalim ng pagsubok. Nagtatrabaho kami patungo sa open-source na release — sundan kami para sa mga update sa paglulunsad.
May iba pang tanong? Basahin pa tungkol sa Mog
Interesadong magtayo gamit ang Mog?
Magiging open source ang Mog sa ilalim ng lisensiyang Modified MIT.
Get notified when Mog launches