mulmocast 2.19.0 → 2.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/schemas/mulmo_script.json +169 -0
- package/lib/cli/bin.js +0 -0
- package/lib/mcp/server.js +0 -0
- package/lib/types/schema.d.ts +264 -0
- package/lib/utils/beat_html/chart.d.ts +7 -11
- package/lib/utils/beat_html/chart.js +7 -18
- package/lib/utils/beat_html/index.js +2 -2
- package/lib/utils/beat_html/mermaid.d.ts +3 -6
- package/lib/utils/beat_html/mermaid.js +4 -10
- package/lib/utils/beat_html/slide.d.ts +8 -6
- package/lib/utils/beat_html/slide.js +10 -8
- package/lib/utils/beat_html/type.d.ts +4 -3
- package/lib/utils/context.d.ts +62 -0
- package/lib/utils/image_plugins/chart_html.d.ts +0 -10
- package/lib/utils/image_plugins/chart_html.js +5 -31
- package/package.json +24 -24
- package/scripts/test/test_captions_2.json~ +278 -0
- package/scripts/test/test_en_portrait.json~ +31 -0
- package/scripts/test/test_slide_image_ref_gemini_en.json~ +289 -0
- package/scripts/test/test_vertexai.json~ +21 -0
|
@@ -69,11 +69,12 @@ export type BeatHtmlOptions = {
|
|
|
69
69
|
*/
|
|
70
70
|
idPrefix: string;
|
|
71
71
|
/**
|
|
72
|
-
* The deck-level slide theme, for
|
|
73
|
-
* and the built-in `corporate` theme is the
|
|
72
|
+
* The deck-level slide theme, for the beats deck draws: `slide`, `chart` and `mermaid`.
|
|
73
|
+
* A slide beat's own `image.theme` wins over it, and the built-in `corporate` theme is the
|
|
74
|
+
* fallback — the same order
|
|
74
75
|
* `MulmoPresentationStyleMethods.getResolvedSlideTheme` uses on the Node side.
|
|
75
76
|
*
|
|
76
|
-
* Optional because only
|
|
77
|
+
* Optional because only those beats read it, and because the host may not have a deck
|
|
77
78
|
* theme to give.
|
|
78
79
|
*/
|
|
79
80
|
slideTheme?: SlideTheme;
|
package/lib/utils/context.d.ts
CHANGED
|
@@ -2132,6 +2132,37 @@ export declare const createStudioData: (_mulmoScript: MulmoScript, fileName: str
|
|
|
2132
2132
|
subtitleSize?: "default" | "big" | "lead" | undefined;
|
|
2133
2133
|
intro?: "fade" | "fade-up" | "fade-down" | "slide-left" | "slide-right" | "zoom-in" | undefined;
|
|
2134
2134
|
staggerMs?: number | undefined;
|
|
2135
|
+
} | {
|
|
2136
|
+
title: string;
|
|
2137
|
+
figure: {
|
|
2138
|
+
type: "chart";
|
|
2139
|
+
chartData: Record<string, unknown>;
|
|
2140
|
+
title?: string | undefined;
|
|
2141
|
+
} | {
|
|
2142
|
+
type: "mermaid";
|
|
2143
|
+
code: string;
|
|
2144
|
+
title?: string | undefined;
|
|
2145
|
+
};
|
|
2146
|
+
layout: "figure";
|
|
2147
|
+
stepLabel?: string | undefined;
|
|
2148
|
+
subtitle?: string | undefined;
|
|
2149
|
+
accentColor?: "success" | "info" | "primary" | "accent" | "warning" | "danger" | "highlight" | undefined;
|
|
2150
|
+
style?: {
|
|
2151
|
+
bgColor?: string | undefined;
|
|
2152
|
+
bgGradient?: string | undefined;
|
|
2153
|
+
decorations?: boolean | undefined;
|
|
2154
|
+
bgOpacity?: number | undefined;
|
|
2155
|
+
footer?: string | undefined;
|
|
2156
|
+
} | undefined;
|
|
2157
|
+
eyebrow?: {
|
|
2158
|
+
label: string;
|
|
2159
|
+
color?: "success" | "info" | "primary" | "accent" | "warning" | "danger" | "highlight" | undefined;
|
|
2160
|
+
} | undefined;
|
|
2161
|
+
density?: "default" | "compact" | undefined;
|
|
2162
|
+
titleSize?: "default" | "small" | "large" | "hero" | undefined;
|
|
2163
|
+
subtitleSize?: "default" | "big" | "lead" | undefined;
|
|
2164
|
+
intro?: "fade" | "fade-up" | "fade-down" | "slide-left" | "slide-right" | "zoom-in" | undefined;
|
|
2165
|
+
staggerMs?: number | undefined;
|
|
2135
2166
|
};
|
|
2136
2167
|
theme?: {
|
|
2137
2168
|
colors: {
|
|
@@ -4787,6 +4818,37 @@ export declare const initializeContextFromFiles: (files: FileObject, raiseError:
|
|
|
4787
4818
|
subtitleSize?: "default" | "big" | "lead" | undefined;
|
|
4788
4819
|
intro?: "fade" | "fade-up" | "fade-down" | "slide-left" | "slide-right" | "zoom-in" | undefined;
|
|
4789
4820
|
staggerMs?: number | undefined;
|
|
4821
|
+
} | {
|
|
4822
|
+
title: string;
|
|
4823
|
+
figure: {
|
|
4824
|
+
type: "chart";
|
|
4825
|
+
chartData: Record<string, unknown>;
|
|
4826
|
+
title?: string | undefined;
|
|
4827
|
+
} | {
|
|
4828
|
+
type: "mermaid";
|
|
4829
|
+
code: string;
|
|
4830
|
+
title?: string | undefined;
|
|
4831
|
+
};
|
|
4832
|
+
layout: "figure";
|
|
4833
|
+
stepLabel?: string | undefined;
|
|
4834
|
+
subtitle?: string | undefined;
|
|
4835
|
+
accentColor?: "success" | "info" | "primary" | "accent" | "warning" | "danger" | "highlight" | undefined;
|
|
4836
|
+
style?: {
|
|
4837
|
+
bgColor?: string | undefined;
|
|
4838
|
+
bgGradient?: string | undefined;
|
|
4839
|
+
decorations?: boolean | undefined;
|
|
4840
|
+
bgOpacity?: number | undefined;
|
|
4841
|
+
footer?: string | undefined;
|
|
4842
|
+
} | undefined;
|
|
4843
|
+
eyebrow?: {
|
|
4844
|
+
label: string;
|
|
4845
|
+
color?: "success" | "info" | "primary" | "accent" | "warning" | "danger" | "highlight" | undefined;
|
|
4846
|
+
} | undefined;
|
|
4847
|
+
density?: "default" | "compact" | undefined;
|
|
4848
|
+
titleSize?: "default" | "small" | "large" | "hero" | undefined;
|
|
4849
|
+
subtitleSize?: "default" | "big" | "lead" | undefined;
|
|
4850
|
+
intro?: "fade" | "fade-up" | "fade-down" | "slide-left" | "slide-right" | "zoom-in" | undefined;
|
|
4851
|
+
staggerMs?: number | undefined;
|
|
4790
4852
|
};
|
|
4791
4853
|
theme?: {
|
|
4792
4854
|
colors: {
|
|
@@ -4,16 +4,6 @@ export declare const resolveChartPlugins: (chartType: string) => string;
|
|
|
4
4
|
export declare const stringifyChartData: (chartData: MulmoChartMedia["chartData"]) => string;
|
|
5
5
|
/** For a standalone document, where the inline script runs. */
|
|
6
6
|
export declare const chartHtml: (chartDataJson: string, title: string, chartId: string) => string;
|
|
7
|
-
/**
|
|
8
|
-
* For a host that injects the markup into its own page, where an injected `<script>`
|
|
9
|
-
* neither survives sanitizing nor executes via innerHTML. The config rides on the canvas
|
|
10
|
-
* instead, in the shape `@mulmocast/deck` already uses so one host runtime drives both.
|
|
11
|
-
*/
|
|
12
|
-
export declare const chartFragmentHtml: (chartData: MulmoChartMedia["chartData"], title: string, chartId: string) => string;
|
|
13
|
-
/** `chartData` is a free record, so the type may be absent or not a string. */
|
|
14
|
-
export declare const chartTypeOf: (chartData: MulmoChartMedia["chartData"]) => string;
|
|
15
|
-
/** The Chart.js plugin CDNs a chart type needs, for a host that loads them once per page. */
|
|
16
|
-
export declare const chartPluginCdns: (chartType: string) => string[];
|
|
17
7
|
/**
|
|
18
8
|
* The two values the PNG/PDF/movie template interpolates from user data, escaped for the
|
|
19
9
|
* contexts it drops them into: `<h1>${title}</h1>` and `const chartData = ${chart_data};`.
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
// Deep import: the package barrel pulls in every layout and all of zod, which measured
|
|
2
|
-
// 551kb against 1.5kb for this file
|
|
2
|
+
// 551kb against 1.5kb for this file.
|
|
3
3
|
import { escapeHtml } from "@mulmocast/deck/lib/utils.js";
|
|
4
4
|
import { escapeJsonForScript } from "../html_escape.js";
|
|
5
5
|
import { assertSafeElementId } from "../element_id.js";
|
|
6
6
|
/**
|
|
7
|
-
* Chart.js markup and plugin resolution. Pure — no Node, no
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* The canvas id is a parameter rather than generated here: the Node path renders once to a
|
|
12
|
-
* PNG so a random id is fine, while the browser path re-renders and needs the same beat to
|
|
13
|
-
* produce the same markup, or a host diffing fragments sees every chart change identity on
|
|
14
|
-
* every render.
|
|
7
|
+
* Chart.js markup and plugin resolution for the Node render path. Pure — no Node, no
|
|
8
|
+
* filesystem — so it can be tested without either. The browser path draws charts through
|
|
9
|
+
* `@mulmocast/deck` instead (`beat_html/chart.ts`).
|
|
15
10
|
*/
|
|
16
11
|
/**
|
|
17
12
|
* Chart.js plugin CDN URLs keyed by chart type. A Map rather than an object literal: the
|
|
@@ -30,8 +25,7 @@ export const resolveChartPlugins = (chartType) => {
|
|
|
30
25
|
return `<script src="${cdn}"></script>`;
|
|
31
26
|
};
|
|
32
27
|
export const stringifyChartData = (chartData) => JSON.stringify(chartData, null, 2);
|
|
33
|
-
/**
|
|
34
|
-
* document path puts its driver script; the fragment path leaves it empty. */
|
|
28
|
+
/** A heading and a fixed-height canvas, followed by `trailing` — the driver script. */
|
|
35
29
|
const chartCard = (title, canvas, trailing) => `
|
|
36
30
|
<div class="chart-container mb-6">
|
|
37
31
|
<h3 class="text-xl font-semibold mb-4">${escapeHtml(title || "Chart")}</h3>
|
|
@@ -51,26 +45,6 @@ export const chartHtml = (chartDataJson, title, chartId) => {
|
|
|
51
45
|
</script>`;
|
|
52
46
|
return chartCard(title, `<canvas id="${chartId}"></canvas>`, script);
|
|
53
47
|
};
|
|
54
|
-
/**
|
|
55
|
-
* For a host that injects the markup into its own page, where an injected `<script>`
|
|
56
|
-
* neither survives sanitizing nor executes via innerHTML. The config rides on the canvas
|
|
57
|
-
* instead, in the shape `@mulmocast/deck` already uses so one host runtime drives both.
|
|
58
|
-
*/
|
|
59
|
-
export const chartFragmentHtml = (chartData, title, chartId) => {
|
|
60
|
-
assertSafeElementId(chartId);
|
|
61
|
-
const config = escapeHtml(JSON.stringify(chartData));
|
|
62
|
-
return chartCard(title, `<canvas id="${chartId}" data-chart-ready="false" data-mulmo-chart="${config}"></canvas>`, "");
|
|
63
|
-
};
|
|
64
|
-
/** `chartData` is a free record, so the type may be absent or not a string. */
|
|
65
|
-
export const chartTypeOf = (chartData) => {
|
|
66
|
-
const type = chartData?.type;
|
|
67
|
-
return typeof type === "string" ? type : "";
|
|
68
|
-
};
|
|
69
|
-
/** The Chart.js plugin CDNs a chart type needs, for a host that loads them once per page. */
|
|
70
|
-
export const chartPluginCdns = (chartType) => {
|
|
71
|
-
const cdn = CHART_PLUGIN_CDNS.get(chartType);
|
|
72
|
-
return cdn ? [cdn] : [];
|
|
73
|
-
};
|
|
74
48
|
/**
|
|
75
49
|
* The two values the PNG/PDF/movie template interpolates from user data, escaped for the
|
|
76
50
|
* contexts it drops them into: `<h1>${title}</h1>` and `const chartData = ${chart_data};`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mulmocast",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.21.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.node.js",
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
},
|
|
99
99
|
"homepage": "https://github.com/receptron/mulmocast-cli#readme",
|
|
100
100
|
"dependencies": {
|
|
101
|
-
"@google-cloud/text-to-speech": "^
|
|
102
|
-
"@google/genai": "^2.
|
|
101
|
+
"@google-cloud/text-to-speech": "^7.1.1",
|
|
102
|
+
"@google/genai": "^2.28.0",
|
|
103
103
|
"@graphai/anthropic_agent": "^2.1.0",
|
|
104
104
|
"@graphai/browserless_agent": "^2.0.4",
|
|
105
105
|
"@graphai/gemini_agent": "^2.1.0",
|
|
@@ -114,19 +114,19 @@
|
|
|
114
114
|
"@modelcontextprotocol/sdk": "^1.32.1",
|
|
115
115
|
"@modernized/fluent-ffmpeg": "^1.0.3",
|
|
116
116
|
"@mozilla/readability": "^0.6.0",
|
|
117
|
-
"@mulmocast/deck": "^2.0
|
|
118
|
-
"@tavily/core": "^0.7.
|
|
117
|
+
"@mulmocast/deck": "^2.1.0",
|
|
118
|
+
"@tavily/core": "^0.7.14",
|
|
119
119
|
"archiver": "^8.0.0",
|
|
120
120
|
"clipboardy": "^5.3.2",
|
|
121
|
-
"dotenv": "^
|
|
121
|
+
"dotenv": "^18.0.7",
|
|
122
122
|
"graphai": "^2.0.18",
|
|
123
|
-
"jinglescript": "^0.
|
|
123
|
+
"jinglescript": "^0.7.0",
|
|
124
124
|
"js-tiktoken": "^1.0.21",
|
|
125
|
-
"jsdom": "^
|
|
125
|
+
"jsdom": "^30.1.2",
|
|
126
126
|
"marked": "^18.1.0",
|
|
127
127
|
"mulmocast-vision": "^1.0.12",
|
|
128
128
|
"ora": "^9.4.1",
|
|
129
|
-
"puppeteer": "^25.
|
|
129
|
+
"puppeteer": "^25.13.0",
|
|
130
130
|
"replicate": "^1.4.0",
|
|
131
131
|
"yaml": "^2.9.1",
|
|
132
132
|
"yargs": "^18.2.0",
|
|
@@ -136,19 +136,19 @@
|
|
|
136
136
|
"@eslint/js": "^10.0.1",
|
|
137
137
|
"@react-three/fiber": "^9.8.1",
|
|
138
138
|
"@receptron/test_utils": "^2.0.3",
|
|
139
|
-
"@remotion/bundler": "^4.0.
|
|
140
|
-
"@remotion/effects": "^4.0.
|
|
141
|
-
"@remotion/layout-utils": "^4.0.
|
|
142
|
-
"@remotion/motion-blur": "^4.0.
|
|
143
|
-
"@remotion/noise": "^4.0.
|
|
144
|
-
"@remotion/paths": "^4.0.
|
|
145
|
-
"@remotion/renderer": "^4.0.
|
|
146
|
-
"@remotion/shapes": "^4.0.
|
|
147
|
-
"@remotion/three": "^4.0.
|
|
148
|
-
"@remotion/transitions": "^4.0.
|
|
139
|
+
"@remotion/bundler": "^4.0.534",
|
|
140
|
+
"@remotion/effects": "^4.0.534",
|
|
141
|
+
"@remotion/layout-utils": "^4.0.534",
|
|
142
|
+
"@remotion/motion-blur": "^4.0.534",
|
|
143
|
+
"@remotion/noise": "^4.0.534",
|
|
144
|
+
"@remotion/paths": "^4.0.534",
|
|
145
|
+
"@remotion/renderer": "^4.0.534",
|
|
146
|
+
"@remotion/shapes": "^4.0.534",
|
|
147
|
+
"@remotion/three": "^4.0.534",
|
|
148
|
+
"@remotion/transitions": "^4.0.534",
|
|
149
149
|
"@types/archiver": "^8.0.0",
|
|
150
|
-
"@types/jsdom": "^
|
|
151
|
-
"@types/node": "^26.6.
|
|
150
|
+
"@types/jsdom": "^30.0.0",
|
|
151
|
+
"@types/node": "^26.6.5",
|
|
152
152
|
"@types/yargs": "^17.0.35",
|
|
153
153
|
"avatarscript": "^0.4.0",
|
|
154
154
|
"cross-env": "^10.1.0",
|
|
@@ -159,10 +159,10 @@
|
|
|
159
159
|
"eslint-plugin-prettier": "^5.5.6",
|
|
160
160
|
"eslint-plugin-sonarjs": "^4.2.2",
|
|
161
161
|
"globals": "^17.13.0",
|
|
162
|
-
"prettier": "^3.9.
|
|
162
|
+
"prettier": "^3.9.10",
|
|
163
163
|
"react": "^19.2.0",
|
|
164
164
|
"react-dom": "^19.2.0",
|
|
165
|
-
"remotion": "^4.0.
|
|
165
|
+
"remotion": "^4.0.534",
|
|
166
166
|
"three": "^0.186.1",
|
|
167
167
|
"tsx": "^4.23.15",
|
|
168
168
|
"typescript": "6.0.3",
|
|
@@ -241,6 +241,6 @@
|
|
|
241
241
|
}
|
|
242
242
|
},
|
|
243
243
|
"engines": {
|
|
244
|
-
"node": "
|
|
244
|
+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
245
245
|
}
|
|
246
246
|
}
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$mulmocast": {
|
|
3
|
+
"version": "1.1"
|
|
4
|
+
},
|
|
5
|
+
"lang": "en",
|
|
6
|
+
"title": "Media Test",
|
|
7
|
+
"references": [
|
|
8
|
+
{
|
|
9
|
+
"url": "https://www.mulmocast.com",
|
|
10
|
+
"title": "Mulmocast",
|
|
11
|
+
"type": "article"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"speechParams": {
|
|
15
|
+
"speakers": {
|
|
16
|
+
"Presenter": {
|
|
17
|
+
"voiceId": "shimmer",
|
|
18
|
+
"displayName": {
|
|
19
|
+
"en": "Presenter"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"beats": [
|
|
25
|
+
{
|
|
26
|
+
"id": "first",
|
|
27
|
+
"speaker": "Presenter",
|
|
28
|
+
"text": "This is a local image.",
|
|
29
|
+
"image": {
|
|
30
|
+
"type": "image",
|
|
31
|
+
"source": {
|
|
32
|
+
"kind": "path",
|
|
33
|
+
"path": "../../assets/images/mulmocast_credit.png"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"id": "hidden",
|
|
39
|
+
"hidden": true,
|
|
40
|
+
"speaker": "Presenter",
|
|
41
|
+
"text": "This is a hidden beat.",
|
|
42
|
+
"image": {
|
|
43
|
+
"type": "textSlide",
|
|
44
|
+
"slide": {
|
|
45
|
+
"title": "Hidden Beat",
|
|
46
|
+
"bullets": ["This is a hidden beat."]
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"speaker": "Presenter",
|
|
52
|
+
"text": "This is a image reference beat.",
|
|
53
|
+
"duration": 0.5,
|
|
54
|
+
"image": {
|
|
55
|
+
"type": "beat",
|
|
56
|
+
"id": "first"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"speaker": "Presenter",
|
|
61
|
+
"text": "",
|
|
62
|
+
"duration": 0.5,
|
|
63
|
+
"id": "1A57B3F5-B6CB-4948-96BB-6F018DCCBBD4",
|
|
64
|
+
"image": {
|
|
65
|
+
"type": "textSlide",
|
|
66
|
+
"slide": {
|
|
67
|
+
"title": "No Audio",
|
|
68
|
+
"bullets": ["0.5 seconds"]
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"speaker": "Presenter",
|
|
74
|
+
"text": "This is a remote image.",
|
|
75
|
+
"image": {
|
|
76
|
+
"type": "image",
|
|
77
|
+
"source": {
|
|
78
|
+
"kind": "url",
|
|
79
|
+
"url": "https://raw.githubusercontent.com/receptron/mulmocast-cli/refs/heads/main/assets/images/mulmocast_credit.png"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "textSlide",
|
|
85
|
+
"speaker": "Presenter",
|
|
86
|
+
"text": "",
|
|
87
|
+
"duration": 2,
|
|
88
|
+
"image": {
|
|
89
|
+
"type": "textSlide",
|
|
90
|
+
"slide": {
|
|
91
|
+
"title": "No Audio",
|
|
92
|
+
"bullets": ["2 seconds"]
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"speaker": "Presenter",
|
|
98
|
+
"id": "pingpongmov",
|
|
99
|
+
"text": "This is a local movie with audio.",
|
|
100
|
+
"image": {
|
|
101
|
+
"type": "movie",
|
|
102
|
+
"source": {
|
|
103
|
+
"kind": "url",
|
|
104
|
+
"url": "https://github.com/receptron/mulmocast-media/raw/refs/heads/main/test/pingpong.mov"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"speaker": "Presenter",
|
|
110
|
+
"text": "",
|
|
111
|
+
"image": {
|
|
112
|
+
"type": "textSlide",
|
|
113
|
+
"slide": {
|
|
114
|
+
"title": "Local Audio Test",
|
|
115
|
+
"bullets": ["Something"]
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"audio": {
|
|
119
|
+
"type": "audio",
|
|
120
|
+
"source": {
|
|
121
|
+
"kind": "path",
|
|
122
|
+
"path": "../../assets/audio/local_voice.mp3"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"speaker": "Presenter",
|
|
128
|
+
"text": "This is a bulleted list in text slide format.",
|
|
129
|
+
"image": {
|
|
130
|
+
"type": "textSlide",
|
|
131
|
+
"slide": {
|
|
132
|
+
"title": "Human Evolution",
|
|
133
|
+
"bullets": [
|
|
134
|
+
"Early Primates",
|
|
135
|
+
"Hominids and Hominins",
|
|
136
|
+
"Australopithecus",
|
|
137
|
+
"Genus Homo Emerges",
|
|
138
|
+
"Homo erectus and Migration",
|
|
139
|
+
"Neanderthals and Other Archaic Humans",
|
|
140
|
+
"Homo sapiens"
|
|
141
|
+
]
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"speaker": "Presenter",
|
|
147
|
+
"text": "This is a table in markdown format.",
|
|
148
|
+
"image": {
|
|
149
|
+
"type": "markdown",
|
|
150
|
+
"markdown": [
|
|
151
|
+
"# Markdown Table Example",
|
|
152
|
+
"### Table",
|
|
153
|
+
"| Item | In Stock | Price |",
|
|
154
|
+
"| :---------------- | :------: | ----: |",
|
|
155
|
+
"| Python Hat | True | 23.99 |",
|
|
156
|
+
"| SQL Hat | True | 23.99 |",
|
|
157
|
+
"| Codecademy Tee | False | 19.99 |",
|
|
158
|
+
"| Codecademy Hoodie | False | 42.99 |",
|
|
159
|
+
"### Paragraph",
|
|
160
|
+
"This is a paragraph."
|
|
161
|
+
]
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"speaker": "Presenter",
|
|
166
|
+
"text": "This is a chart in chart format.",
|
|
167
|
+
"image": {
|
|
168
|
+
"type": "chart",
|
|
169
|
+
"title": "Sales and Profits (from Jan to June)",
|
|
170
|
+
"chartData": {
|
|
171
|
+
"type": "bar",
|
|
172
|
+
"data": {
|
|
173
|
+
"labels": ["January", "February", "March", "April", "May", "June"],
|
|
174
|
+
"datasets": [
|
|
175
|
+
{
|
|
176
|
+
"label": "Revenue ($1000s)",
|
|
177
|
+
"data": [120, 135, 180, 155, 170, 190],
|
|
178
|
+
"backgroundColor": "rgba(54, 162, 235, 0.5)",
|
|
179
|
+
"borderColor": "rgba(54, 162, 235, 1)",
|
|
180
|
+
"borderWidth": 1
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"label": "Profit ($1000s)",
|
|
184
|
+
"data": [45, 52, 68, 53, 61, 73],
|
|
185
|
+
"backgroundColor": "rgba(75, 192, 192, 0.5)",
|
|
186
|
+
"borderColor": "rgba(75, 192, 192, 1)",
|
|
187
|
+
"borderWidth": 1
|
|
188
|
+
}
|
|
189
|
+
]
|
|
190
|
+
},
|
|
191
|
+
"options": {
|
|
192
|
+
"responsive": true,
|
|
193
|
+
"animation": false
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"speaker": "Presenter",
|
|
200
|
+
"text": "This is a diagram in mermaid format.",
|
|
201
|
+
"image": {
|
|
202
|
+
"type": "mermaid",
|
|
203
|
+
"title": "Business Process Flow",
|
|
204
|
+
"code": {
|
|
205
|
+
"kind": "text",
|
|
206
|
+
"text": "graph LR\n A[Market Research] --> B[Product Planning]\n B --> C[Development]\n C --> D[Testing]\n D --> E[Manufacturing]\n E --> F[Marketing]\n F --> G[Sales]\n G --> H[Customer Support]\n H --> A"
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"speaker": "Presenter",
|
|
212
|
+
"text": "This is a tailwind html format.",
|
|
213
|
+
"image": {
|
|
214
|
+
"type": "html_tailwind",
|
|
215
|
+
"html": [
|
|
216
|
+
"<main class=\"flex-grow\">",
|
|
217
|
+
" <!-- Hero Section -->",
|
|
218
|
+
" <section class=\"bg-blue-600 text-white py-20\">",
|
|
219
|
+
" <div class=\"container mx-auto px-6 text-center\">",
|
|
220
|
+
" <h1 class=\"text-4xl md:text-5xl font-bold mb-4\">Welcome to Mulmocast</h1>",
|
|
221
|
+
" <p class=\"text-lg md:text-xl mb-8\">A modern web experience powered by Tailwind CSS</p>",
|
|
222
|
+
" <a href=\"#features\" class=\"bg-white text-blue-600 px-6 py-3 rounded-lg font-semibold shadow hover:bg-gray-100 transition\">",
|
|
223
|
+
" Learn More",
|
|
224
|
+
" </a>",
|
|
225
|
+
" </div>",
|
|
226
|
+
" </section>",
|
|
227
|
+
"",
|
|
228
|
+
" <!-- Features Section -->",
|
|
229
|
+
" <section id=\"features\" class=\"py-16 bg-gray-100\">",
|
|
230
|
+
" <div class=\"container mx-auto px-6\">",
|
|
231
|
+
" <div class=\"grid grid-cols-1 md:grid-cols-3 gap-8 text-center\">",
|
|
232
|
+
" <div>",
|
|
233
|
+
" <div class=\"text-blue-600 text-4xl mb-2\">⚡</div>",
|
|
234
|
+
" <h3 class=\"text-xl font-semibold mb-2\">Fast</h3>",
|
|
235
|
+
" <p class=\"text-gray-600\">Built with performance in mind using modern tools.</p>",
|
|
236
|
+
" </div>",
|
|
237
|
+
" <div>",
|
|
238
|
+
" <div class=\"text-blue-600 text-4xl mb-2\">🎨</div>",
|
|
239
|
+
" <h3 class=\"text-xl font-semibold mb-2\">Beautiful</h3>",
|
|
240
|
+
" <p class=\"text-gray-600\">Styled with Tailwind CSS for clean, responsive design.</p>",
|
|
241
|
+
" </div>",
|
|
242
|
+
" <div>",
|
|
243
|
+
" <div class=\"text-blue-600 text-4xl mb-2\">🚀</div>",
|
|
244
|
+
" <h3 class=\"text-xl font-semibold mb-2\">Launch Ready</h3>",
|
|
245
|
+
" <p class=\"text-gray-600\">Easy to deploy and extend for your next big idea.</p>",
|
|
246
|
+
" </div>",
|
|
247
|
+
" </div>",
|
|
248
|
+
" </div>",
|
|
249
|
+
" </section>",
|
|
250
|
+
"</main>",
|
|
251
|
+
"",
|
|
252
|
+
"<!-- Footer -->",
|
|
253
|
+
"<footer class=\"bg-white text-gray-500 text-center py-6 border-t\">",
|
|
254
|
+
" 2025 Mulmocast.",
|
|
255
|
+
"</footer>"
|
|
256
|
+
]
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"speaker": "Presenter",
|
|
261
|
+
"text": "This is a text slide reference beat.",
|
|
262
|
+
"duration": 0.5,
|
|
263
|
+
"image": {
|
|
264
|
+
"type": "beat",
|
|
265
|
+
"id": "textSlide"
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"speaker": "Presenter",
|
|
270
|
+
"text": "This is a movie reference beat.",
|
|
271
|
+
"duration": 0.5,
|
|
272
|
+
"image": {
|
|
273
|
+
"type": "beat",
|
|
274
|
+
"id": "pingpongmov"
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
]
|
|
278
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$mulmocast": {
|
|
3
|
+
"version": "1.1",
|
|
4
|
+
"credit": "closing"
|
|
5
|
+
},
|
|
6
|
+
"canvasSize": { "width": 1024 "height": 1536, },
|
|
7
|
+
"title": "THE ROAD TO SUPERINTELLIGENCE: EXPLORING AI-2027",
|
|
8
|
+
"speechParams": {
|
|
9
|
+
"speakers": {
|
|
10
|
+
"Host": {
|
|
11
|
+
"voiceId": "shimmer",
|
|
12
|
+
"displayName": {
|
|
13
|
+
"en": "Host"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"lang": "en",
|
|
19
|
+
"beats": [
|
|
20
|
+
{
|
|
21
|
+
"id": "beat1",
|
|
22
|
+
"speaker": "Host",
|
|
23
|
+
"text": "Welcome to Mulmocast Tech Insights."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "beat2",
|
|
27
|
+
"speaker": "Host",
|
|
28
|
+
"text": "AI-2028 is a project from the AI Futures Project."
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|