Skip to content
Mog is in active development. The GitHub repo, SDK packages, and community channels are not yet available. Follow for launch updates

เร็วๆ นี้ · Open Source · Modified MIT

Spreadsheet สำหรับมนุษย์และ AI agents

Spreadsheet engine แบบ open source ที่สร้างใหม่ด้วย Rust รองรับ dynamic arrays, pivot tables และ XLOOKUP พร้อม SDK สำหรับ Python และ Node.js ที่ออกแบบมาเพื่อ AI

SDK packages จะเผยแพร่เมื่อเปิดตัว ติดตามเพื่อรับข่าวสาร

Spreadsheet แบบ live ที่รันในเบราว์เซอร์ผ่าน WebAssembly — ไม่ใช่ภาพ screenshot

Loading Mog engine...

กรณีการใช้งาน

สร้างมาสำหรับนักพัฒนาและ AI agents

ฝังในแอปของคุณ

เพิ่ม spreadsheet เต็มรูปแบบในเว็บแอปด้วย React component เดียว พร้อม dynamic arrays, pivot tables และฟังก์ชันครบ 582 รายการ ใช้งานได้ทันที

รันบนเซิร์ฟเวอร์

ประมวลผลไฟล์ XLSX คำนวณสูตร และสร้างรายงานบนเซิร์ฟเวอร์ด้วย Node.js หรือ Python SDK ไม่ต้องใช้เบราว์เซอร์

ขับเคลื่อน AI agents

ให้ LLM เข้าถึง spreadsheet operations ผ่าน API ที่มีโครงสร้างชัดเจน typed API ของ SDK ออกแบบมาสำหรับ tool-use ไม่ต้องดึงข้อมูลจากหน้าจอหรือ prompt engineering

ทำไมต้อง Mog

Spreadsheet engine ครบครัน ไม่ใช่แค่ UI component

Agentic

สร้างมาสำหรับมนุษย์และ AI agents

API ที่มีโครงสร้างชัดเจน LLM เรียกใช้ได้โดยตรง SDK สำหรับ Python และ Node.js ออกแบบมาสำหรับ AI agent workflows โดยเฉพาะ ไม่ต้องดึงข้อมูลจากหน้าจอหรือแฮ็ก macro

  • Python SDK ผ่าน PyO3 สำหรับ AI agent workflows
  • Node.js SDK ผ่าน N-API ด้วยประสิทธิภาพระดับ native
  • Headless server สำหรับการประมวลผลแบบ batch
  • API พร้อมสำหรับ tool-use (input/output มีโครงสร้างชัดเจน)
ทรงพลัง

รองรับ Excel ได้อย่างสมบูรณ์ สร้างใหม่ด้วย Rust

ฟังก์ชัน 582 รายการ, dynamic arrays, pivot tables, XLOOKUP, conditional formatting และ structured references ครบครัน ไม่ใช่แค่ subset

  • ฟังก์ชันที่รองรับ Excel ครบ 582 รายการ
  • Dynamic arrays, XLOOKUP, LAMBDA
  • Pivot tables, conditional formatting, data validation
  • อ่านและเขียนไฟล์ XLSX แบบ native (ตาม OOXML spec ครบถ้วน)
ทำงานร่วมกัน

Real-time, offline-first และไม่มี conflict

ระบบ collaboration แบบ CRDT ที่ขับเคลื่อนด้วย Yrs ทำงานได้แม้ไม่มีอินเทอร์เน็ต sync อัตโนมัติเมื่อออนไลน์ ไม่มีข้อมูลสูญหาย ไม่ต้องยุ่งกับ operational transform

  • CRDT collaboration ผ่าน Yrs (Rust)
  • Cell identity model สำหรับสูตรที่ไม่มี conflict
  • Offline-first พร้อม sync อัตโนมัติ
  • Canvas rendering ที่ 60fps ผ่าน binary wire protocol

สถาปัตยกรรม

Rust engine เดียว ทุก platform

เขียนครั้งเดียวด้วย Rust คอมไพล์ได้สามเป้าหมาย ใช้โค้ดเดียวกันทั้งในเบราว์เซอร์ บนเซิร์ฟเวอร์ และใน Python notebook

Browser

WebAssembly

รันใน Web Worker ไม่ต้องส่งข้อมูลไปเซิร์ฟเวอร์เพื่อคำนวณ

Node.js

N-API

Native binaries สำหรับ macOS, Linux และ Windows ไม่มี overhead จาก WASM

Python

PyO3

Native Python bindings ใช้สูตร spreadsheet ควบคู่กับ pandas ได้เลย

Rust compute core

สูตรคำนวณ dependency graph, pivot tables, conditional formatting และ XLSX parser — ล้วนเป็น Rust API เดียวที่ annotate แล้วสร้าง bindings ได้ทุกเป้าหมาย

compute-core

parser, functions, graph, formats,

schema, stats, charts, cf, pivot,

table, fill, solver, collab, wire

Binary wire protocol

ส่งข้อมูล viewport เป็น binary buffers ที่กระชับ ไม่ใช่ JSON ไม่มีการ allocate memory ต่อเซลล์ รองรับ 60fps บน 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

เข้าถึงทุกฟังก์ชันด้วยโปรแกรม

Rust engine เดียว ทุก SDK API เดียวกันทั้งใน Python และ 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"]]);
});

สร้างด้วย Mog

พร้อมสำหรับโปรเจกต์ของคุณ

ตั้งแต่ AI agents ไปจนถึง SaaS และ data pipelines เป็นหนึ่งในกลุ่มแรกที่สร้างด้วย Mog

AI agents

API สำหรับ spreadsheet ที่มีโครงสร้างชัดเจน เหมาะสำหรับ LLM tool-use ไม่ต้องดึงข้อมูลจากหน้าจอ

SaaS products

Spreadsheet เต็มรูปแบบในหนึ่ง React component พร้อม dynamic arrays ครบทุกฟีเจอร์

Data pipelines

ประมวลผลไฟล์ XLSX บนเซิร์ฟเวอร์ด้วย Python หรือ Node.js ไม่ต้องติดตั้ง Excel

คำถามที่พบบ่อย

Mog คืออะไร?

Mog คือ spreadsheet engine แบบ open source ที่สร้างขึ้นใหม่ตั้งแต่ต้นด้วย Rust ประกอบด้วย runtime ครบชุด ทั้งการประมวลผลสูตร, dependency tracking, XLSX parsing, canvas rendering และ real-time collaboration ที่สามารถฝังในเว็บแอป รันบนเซิร์ฟเวอร์ หรือใช้ผ่าน Python และ Node.js

ทำไมต้องใช้ Rust?

Rust มอบประสิทธิภาพระดับ native ความปลอดภัยของหน่วยความจำ และความสามารถในการคอมไพล์เป็น WebAssembly (browser), N-API (Node.js) และ PyO3 (Python) จาก codebase เดียว หนึ่ง engine ทุก platform ไม่มีการหยุดชะงักจาก garbage collection

Mog ใช้ฟรีไหม?

ใช่ Mog เป็น open source ภายใต้ Modified MIT license ใช้ในโปรเจกต์ส่วนตัว ผลิตภัณฑ์เชิงพาณิชย์ หรือ SaaS ได้เลย

Mog ต่างจาก spreadsheet library อื่นอย่างไร?

ส่วนใหญ่ spreadsheet library มุ่งเน้นที่การ render UI หรือการอ่านไฟล์เท่านั้น แต่ Mog มีครบทั้ง stack: Rust compute engine พร้อมฟังก์ชัน 582 รายการ, canvas rendering, CRDT collaboration และ native SDKs ดูรายละเอียดการเปรียบเทียบได้ในหน้า Compare

Mog พร้อมใช้งาน production แล้วหรือยัง?

Mog ยังอยู่ระหว่างการพัฒนา core engine (สูตรคำนวณ, rendering, collaboration, XLSX) ทำงานได้แล้วและอยู่ระหว่างการทดสอบ เรากำลังมุ่งสู่การ release แบบ open source ติดตามเราเพื่อรับข่าวการเปิดตัว

มีคำถามเพิ่มเติม? อ่านเพิ่มเติมเกี่ยวกับ Mog

สนใจสร้างโปรเจกต์ด้วย Mog?

Mog จะเปิดเป็น open source ภายใต้ลิขสิทธิ์ Modified MIT

Get notified when Mog launches