चाँडै आउँदैछ · Open Source · Modified MIT
मानिस र AI agents दुवैका लागि spreadsheet।
Rust मा पुनर्निर्मित open-source spreadsheet engine। Dynamic arrays, pivot tables, XLOOKUP — AI का लागि बनाइएका Python र Node.js SDKs सहित।
SDK packages लन्चमा प्रकाशित हुनेछन्। अपडेटका लागि फलो गर्नुहोस्
WebAssembly मार्फत तपाईंको browser मा सिधै चलिरहेको live spreadsheet — screenshot होइन।
प्रयोगका क्षेत्रहरू
developers र agents का लागि निर्मित
App मा embed गर्नुहोस्
एउटै React component सँग जुनसुकै web app मा पूर्ण spreadsheet थप्नुहोस्। Dynamic arrays, pivot tables, र 582 functions out of the box।
Server मा चलाउनुहोस्
Node.js वा Python SDK सँग server-side मा XLSX files process गर्नुहोस्, formulas evaluate गर्नुहोस्, र reports generate गर्नुहोस्। Browser आवश्यक छैन।
AI agents लाई सशक्त बनाउनुहोस्
LLMs लाई spreadsheet operations मा structured पहुँच दिनुहोस्। SDK को typed API tool-use का लागि डिजाइन गरिएको छ — screen scraping वा prompt engineering छैन।
Mog किन?
सम्पूर्ण spreadsheet engine — केवल UI component होइन।
मानिस र agents दुवैका लागि निर्मित
LLMs ले सिधै call गर्न सक्ने structured API। AI agent workflows का लागि डिजाइन गरिएका Python र Node.js SDKs — screen scraping वा macro hack छैन।
- AI agent workflows का लागि PyO3 मार्फत Python SDK
- Native performance सहित N-API मार्फत Node.js SDK
- Batch processing का लागि headless server
- Tool-use-ready API (structured input/output)
पूर्ण Excel compatibility, Rust मा पुनर्निर्मित
582 functions, dynamic arrays, pivot tables, XLOOKUP, conditional formatting, र structured references। Subset होइन — असली कुरा।
- Excel-compatible 582 functions
- Dynamic arrays, XLOOKUP, LAMBDA
- Pivot tables, conditional formatting, data validation
- Native XLSX parsing र writing (पूर्ण OOXML spec)
Real-time, offline-first, conflict-free
Yrs द्वारा संचालित CRDT-based collaboration। Offline काम गर्छ, connect हुँदा sync हुन्छ, डेटा कहिल्यै गुम्दैन। Operational transform को झञ्झट छैन।
- Yrs (Rust) मार्फत CRDT collaboration
- Conflict-free formulas का लागि 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 मा चल्छ। Computation का लागि कुनै server round-trip छैन।
Node.js
N-API
macOS, Linux र Windows का लागि native binaries। WASM overhead छैन।
Python
PyO3
Native Python bindings। Spreadsheet formulas लाई pandas सँगै प्रयोग गर्नुहोस्।
Rust compute core
Formulas, dependency graph, pivot tables, conditional formatting, र XLSX parser — सबै Rust मा। एउटै annotated API ले हरेक target का लागि bindings generate गर्छ।
compute-core
parser, functions, graph, formats,
schema, stats, charts, cf, pivot,
table, fill, solver, collab, wire
Binary wire protocol
Viewport data JSON होइन, compact binary buffers मा। प्रति cell शून्य allocation। ठूला sheets मा 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 पहुँच
एउटै 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 agents देखि SaaS products र data pipelines सम्म। Mog सँग निर्माण गर्ने पहिलो मध्येको एक बन्नुहोस्।
AI agents
LLM tool-use का लागि structured spreadsheet API। Screen scraping छैन।
SaaS products
एउटै React component मा पूर्ण spreadsheet। Dynamic arrays र सबै कुरा सहित।
Data pipelines
Python वा Node.js मा server-side XLSX processing। Excel आवश्यक छैन।
बारम्बार सोधिने प्रश्नहरू
Mog के हो?
Mog Rust मा शुरुदेखि पुनर्निर्मित open-source spreadsheet engine हो। यसले सम्पूर्ण spreadsheet runtime प्रदान गर्छ — formula evaluation, dependency tracking, XLSX parsing, canvas rendering, र real-time collaboration — जुन तपाईं web apps मा embed गर्न, servers मा चलाउन, वा Python र Node.js बाट प्रयोग गर्न सक्नुहुन्छ।
Rust किन?
Rust ले native performance, memory safety, र एउटै codebase बाट WebAssembly (browser), N-API (Node.js), र PyO3 (Python) मा compile गर्ने क्षमता दिन्छ। एउटै engine, हरेक platform, garbage collection pause शून्य।
Mog निःशुल्क छ?
हो। Mog Modified MIT लाइसेन्स अन्तर्गत open source छ। व्यक्तिगत projects, commercial products, वा SaaS platforms मा प्रयोग गर्न सकिन्छ।
Mog अन्य spreadsheet libraries भन्दा कसरी भिन्न छ?
धेरैजसो spreadsheet libraries या त UI rendering वा file parsing मा मात्र focus गर्छन्। Mog पूरै stack प्रदान गर्छ: 582 functions सहित Rust compute engine, canvas rendering, CRDT collaboration, र native SDKs। विस्तृत feature matrix का लागि comparison page हेर्नुहोस्।
Mog production-ready छ?
Mog सक्रिय विकासमा छ। Core engine (formulas, rendering, collaboration, XLSX) functional छ र testing अन्तर्गत छ। हामी open-source release तर्फ काम गर्दैछौं — अपडेटका लागि फलो गर्नुहोस्।
अझ प्रश्नहरू छन्? Mog बारे थप पढ्नुहोस्
Mog सँग निर्माण गर्न इच्छुक हुनुहुन्छ?
Mog Modified MIT लाइसेन्स अन्तर्गत open source हुनेछ।
Get notified when Mog launches