Implementation:24kchengYe MemoMind Build PPT ZH
| Knowledge Sources | |
|---|---|
| Domains | Documentation, Presentation |
| Last Updated | 2026-10-28 00:00 GMT |
Overview
Chinese version of the MemoMind PowerPoint presentation generator using pptxgenjs with a dark tech theme.
Description
The build-ppt-zh.js script generates a Chinese-language presentation deck about MemoMind using pptxgenjs. Uses a dark tech theme with color-coded fact types (world=green, experience=purple, observation=gold, mental model=blue). Includes 23 slides covering MemoMind's architecture, retain/recall/reflect pipelines, and demo screenshots. Supports Chinese text with Microsoft YaHei font.
Usage
Run via Node.js: `node build-ppt-zh.js`. Requires pptxgenjs npm package and demo screenshots in `docs/demos/`.
Code Reference
Source Location
- Repository: MemoMind
- File: build-ppt-zh.js
- Lines: L1-1076
Signature
const pptxgen = require("pptxgenjs");
const C = {
bg: "0D1117", bgCard: "161B22", accent: "4ADEAB",
worldGreen: "4ADE80", expPurple: "C084FC",
obsGold: "FBBF24", mentalBlue: "60A5FA",
// ...
};
async function buildPresentation(): void { ... }
Import
# Run directly with Node.js
node build-ppt-zh.js
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| docs/demos/ | directory | Yes | Demo screenshots |
| pptxgenjs | npm package | Yes │ PowerPoint generation library |
Outputs
| Name | Type | Description |
|---|---|---|
| MemoMind_zh.pptx | file | Chinese presentation deck (23 slides) |
Usage Examples
Generating the Chinese Presentation
# Install dependencies
npm install pptxgenjs
# Generate Chinese presentation
node build-ppt-zh.js
# Output: MemoMind_zh.pptx