မကြာမီဖွင့်လှစ်မည် · Open Source · Modified MIT
လူသားများနှင့် AI agent များအတွက် spreadsheet တစ်ခု။
Rust ဖြင့်ပြန်လည်တည်ဆောက်ထားသော open-source spreadsheet engine။ Dynamic arrays၊ pivot tables၊ XLOOKUP — AI အတွက်ရည်ရွယ်သည့် Python နှင့် Node.js SDK များပါဝင်သည်။
SDK package များကို ဖွင့်လှစ်ချိန်တွင် ထုတ်ဝေမည်။ အသစ်အဆန်းများအတွက် ဆက်ကြည့်ရန်
WebAssembly မှတစ်ဆင့် သင်၏ browser တွင် တိုက်ရိုက်လည်ပတ်နေသော spreadsheet — screenshot မဟုတ်ပါ။
အသုံးပြုမှုနမူနာများ
Developer များနှင့် agent များအတွက် တည်ဆောက်ထားသည်
App တွင်ထည့်သွင်းရန်
React component တစ်ခုတည်းဖြင့် web app မည်သည့်တစ်ခုတွင်မဆို spreadsheet အပြည့်အစုံကိုထည့်သွင်းနိုင်သည်။ Dynamic arrays၊ pivot tables နှင့် function ၅၈၂ ခု ပါသင့်ပါပြီ။
Server ပေါ်တွင်လည်ပတ်ရန်
Node.js သို့မဟုတ် Python SDK ဖြင့် XLSX ဖိုင်များပြုပြင်ခြင်း၊ formula များတွက်ချက်ခြင်းနှင့် report များထုတ်ခြင်းကို server-side တွင်ဆောင်ရွက်နိုင်သည်။ Browser မလိုအပ်ပါ။
AI agent များကိုနှိုးဆွရန်
LLM များကို spreadsheet operation များကို structured access ပေးသည်။ SDK ၏ typed API သည် tool-use အတွက်ဒီဇိုင်းဆွဲထားသည် — screen scraping နှင့် prompt engineering မလိုအပ်ပါ။
Mog ကိုဘာကြောင့်ရွေးချယ်သနည်း
UI component တစ်ခုသာမကဘဲ ပြည့်စုံသော spreadsheet engine တစ်ခု။
လူသားများနှင့် agent များအတွက် တည်ဆောက်ထားသည်
LLM များ တိုက်ရိုက်ခေါ်နိုင်သော structured API တစ်ခု။ AI agent workflow များအတွက် ဒီဇိုင်းဆွဲထားသော Python နှင့် Node.js SDK များ — screen scraping နှင့် macro hack များမလိုအပ်ပါ။
- AI agent workflow များအတွက် PyO3 မှတစ်ဆင့် Python SDK
- Native performance ပါသော N-API မှတစ်ဆင့် Node.js SDK
- Batch processing အတွက် headless server
- Tool-use-ready API (structured input/output)
Excel compatibility အပြည့်အစုံ၊ Rust ဖြင့်ပြန်လည်တည်ဆောက်ထားသည်
Function ၅၈၂ ခု၊ dynamic arrays၊ pivot tables၊ XLOOKUP၊ conditional formatting နှင့် structured reference များ။ subset တစ်ခုမဟုတ်ဘဲ အစစ်အမှန်ဖြစ်သည်။
- Excel-compatible function ၅၈၂ ခု
- Dynamic arrays၊ XLOOKUP၊ LAMBDA
- Pivot tables၊ conditional formatting၊ data validation
- Native XLSX ဖတ်ခြင်းနှင့်ရေးခြင်း (OOXML spec အပြည့်အစုံ)
Real-time၊ offline-first၊ conflict မဖြစ်နိုင်သော
Yrs ဖြင့်မောင်းနှင်သော CRDT-based collaboration။ Offline တွင်လည်ပတ်သည်၊ ချိတ်ဆက်မိသောအခါ sync ပြုလုပ်သည်၊ data ဆုံးရှုံးခြင်းမရှိ။ Operational transform ၏ ရှုပ်ထွေးမှုမရှိပါ။
- Yrs (Rust) မှတစ်ဆင့် CRDT collaboration
- Conflict-free formula များအတွက် cell identity model
- Automatic sync ပါသော offline-first
- Binary wire protocol မှတစ်ဆင့် 60fps canvas rendering
Architecture
Rust engine တစ်ခု၊ platform တိုင်းအတွက်
Rust ဖြင့်တစ်ကြိမ်တည်းရေးသား၍ target သုံးခုသို့ compile ပြုလုပ်ထားသည်။ Browser တွင်၊ server ပေါ်တွင်နှင့် Python notebook တွင် တူညီသော code ဖြစ်သည်။
Browser
WebAssembly
Web Worker တွင်လည်ပတ်သည်။ တွက်ချက်မှုအတွက် server သို့ round-trip မလိုအပ်ပါ။
Node.js
N-API
macOS၊ Linux နှင့် Windows အတွက် native binary များ။ WASM overhead မရှိပါ။
Python
PyO3
Native Python bindings။ pandas နှင့်အတူ spreadsheet formula များကိုအသုံးပြုနိုင်သည်။
Rust compute core
Formula များ၊ dependency graph၊ pivot tables၊ conditional formatting နှင့် XLSX parser — အားလုံး Rust ဖြင့်ရေးသားထားသည်။ Annotation တပ်ထားသော API တစ်ခုသည် target တိုင်းအတွက် binding များကိုထုတ်ပေးသည်။
compute-core
parser, functions, graph, formats,
schema, stats, charts, cf, pivot,
table, fill, solver, collab, wire
Binary wire protocol
Viewport data ကို JSON မဟုတ်ဘဲ compact binary buffer များဖြင့်ပို့သည်။ Cell တစ်ခုချင်းစီအတွက် memory allocation မလိုအပ်ပါ။ ကြီးမားသော sheet များတွင် 60fps ရသည်။
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 access ဖြင့်
Rust engine တစ်ခု၊ SDK တိုင်းအတွက်။ Python နှင့် TypeScript တွင် တူညီသော API ဖြစ်သည်။
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"]]);
});Mog ဖြင့်တည်ဆောက်ထားသည်
သင်၏ project အတွက် အဆင်သင့်ဖြစ်ပြီ
AI agent များမှ SaaS product များ၊ data pipeline များအထိ။ Mog ဖြင့် ပထမဆုံးတည်ဆောက်သူများထဲတွင်ပါဝင်ပါ။
AI agent များ
LLM tool-use အတွက် structured spreadsheet API။ Screen scraping မလိုပါ။
SaaS product များ
React component တစ်ခုတည်းဖြင့် spreadsheet အပြည့်အစုံ။ Dynamic array များနှင့်အတူပါသည်။
Data pipeline များ
Python သို့မဟုတ် Node.js ဖြင့် server-side တွင် XLSX ဖိုင်များကိုပြုပြင်သည်။ Excel မလိုအပ်ပါ။
မကြာခဏမေးလေ့ရှိသောမေးခွန်းများ
Mog ဆိုတာဘာလဲ?
Mog သည် Rust ဖြင့် အစမှပြန်လည်တည်ဆောက်ထားသော open-source spreadsheet engine တစ်ခုဖြစ်သည်။ Formula evaluation၊ dependency tracking၊ XLSX parsing၊ canvas rendering နှင့် real-time collaboration ပါဝင်သော spreadsheet runtime အပြည့်အစုံကို web app များတွင်ထည့်သွင်းနိုင်၊ server များပေါ်တွင်လည်ပတ်နိုင်၊ သို့မဟုတ် Python နှင့် Node.js မှအသုံးပြုနိုင်သည်။
ဘာကြောင့် Rust ကိုအသုံးပြုသနည်း?
Rust သည် native performance၊ memory safety နှင့် codebase တစ်ခုတည်းမှ WebAssembly (browser)၊ N-API (Node.js) နှင့် PyO3 (Python) သို့ compile ပြုလုပ်နိုင်မှုတို့ကိုပေးသည်။ Engine တစ်ခုတည်းဖြင့် platform တိုင်းကို၊ garbage collection ဖြစ်ပေါ်ခြင်းမရှိဘဲ။
Mog ကိုအခမဲ့သုံးနိုင်သလား?
ဟုတ်သည်။ Mog သည် Modified MIT license အောက်တွင် open source ဖြစ်သည်။ ကိုယ်ရေးကိုယ်တာ project များ၊ ကုန်သွယ်ရေး product များ သို့မဟုတ် SaaS platform များတွင် အသုံးပြုနိုင်သည်။
Mog သည် ရှိနှင့်ပြီးသော spreadsheet library များနှင့် မည်သို့ကွာခြားသနည်း?
Spreadsheet library အများစုသည် UI rendering သို့မဟုတ် file parsing တစ်ခုခုကိုသာ အာရုံစိုက်သည်။ Mog သည် stack အပြည့်အစုံကိုပေးသည် — function ၅၈၂ ခုပါသော Rust compute engine၊ canvas rendering၊ CRDT collaboration နှင့် native SDK များ။ အသေးစိတ် feature matrix အတွက် comparison page ကိုကြည့်ရှုပါ။
Mog ကို production တွင်အသုံးပြုနိုင်ပြီလား?
Mog သည် တက်ကြွစွာ ဖွံ့ဖြိုးတိုးတက်နေဆဲဖြစ်သည်။ Core engine (formula များ၊ rendering၊ collaboration၊ XLSX) သည် functional ဖြစ်ပြီး testing ပြုလုပ်နေဆဲဖြစ်သည်။ Open-source release တစ်ခုဆီသို့ ကျွန်ုပ်တို့ ဆောင်ရွက်နေသည် — ဖွင့်လှစ်မှုသတင်းများအတွက် ကျွန်ုပ်တို့ကိုဆက်ကြည့်ပါ။
မေးခွန်းများထပ်ရှိသေးသလား? Mog အကြောင်းပိုမိုဖတ်ရှုရန်
Mog ဖြင့်တည်ဆောက်ရန် စိတ်ဝင်စားသလား?
Mog သည် Modified MIT လိုင်စင်အောက်တွင် open source ဖြစ်မည်။
Get notified when Mog launches