The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
name: string
version: string
description: string
main: string
type: string
scripts: struct<start: string, dev: string, build: string, build:win: string, build:mac: string, build:linux: (... 8 chars omitted)
child 0, start: string
child 1, dev: string
child 2, build: string
child 3, build:win: string
child 4, build:mac: string
child 5, build:linux: string
keywords: list<item: string>
child 0, item: string
author: string
license: string
devDependencies: struct<electron: string, electron-builder: string>
child 0, electron: string
child 1, electron-builder: string
build: struct<appId: string, productName: string, directories: struct<output: string>, files: list<item: st (... 137 chars omitted)
child 0, appId: string
child 1, productName: string
child 2, directories: struct<output: string>
child 0, output: string
child 3, files: list<item: string>
child 0, item: string
child 4, win: struct<target: string, icon: string>
child 0, target: string
child 1, icon: string
child 5, mac: struct<target: string, icon: string>
child 0, target: string
child 1, icon: string
child 6, linux: struct<target: string, icon: string>
child 0, target: string
child 1, icon: string
lockfileVersion: int64
packages: struct<: struct<name: string, version: string, license: string, devDependencies: struct<electron: st (... 64063 chars omitted)
child 0, : struct<name: string, version: string, license: string, devDependencies: struc
...
n: string
child 1, resolved: string
child 2, integrity: string
child 3, dev: bool
child 4, license: string
child 5, peer: bool
child 6, dependencies: struct<archiver-utils: string, compress-commons: string, readable-stream: string>
child 0, archiver-utils: string
child 1, compress-commons: string
child 2, readable-stream: string
child 7, engines: struct<node: string>
child 0, node: string
child 323, node_modules/zip-stream/node_modules/archiver-utils: struct<version: string, resolved: string, integrity: string, dev: bool, license: string, peer: bool, (... 285 chars omitted)
child 0, version: string
child 1, resolved: string
child 2, integrity: string
child 3, dev: bool
child 4, license: string
child 5, peer: bool
child 6, dependencies: struct<glob: string, graceful-fs: string, lazystream: string, lodash.defaults: string, lodash.differ (... 138 chars omitted)
child 0, glob: string
child 1, graceful-fs: string
child 2, lazystream: string
child 3, lodash.defaults: string
child 4, lodash.difference: string
child 5, lodash.flatten: string
child 6, lodash.isplainobject: string
child 7, lodash.union: string
child 8, normalize-path: string
child 9, readable-stream: string
child 7, engines: struct<node: string>
child 0, node: string
requires: bool
to
{'name': Value('string'), 'version': Value('string'), 'lockfileVersion': Value('int64'), 'requires': Value('bool'), 'packages': {'': {'name': Value('string'), 'version': Value('string'), 'license': Value('string'), 'devDependencies': {'electron': Value('string'), 'electron-builder': Value('string')}}, 'node_modules/@develar/schema-utils': {'version': Value('string'), 'resolved': Value('string'), 'integrity': Value('string'), 'dev': Value('bool'), 'license': Value('string'), 'dependencies': {'ajv': Value('string'), 'ajv-keywords': Value('string')}, 'engines': {'node': Value('string')}, 'funding': {'type': Value('string'), 'url': Value('string')}}, 'node_modules/@electron/asar': {'version': Value('string'), 'resolved': Value('string'), 'integrity': Value('string'), 'dev': Value('bool'), 'license': Value('string'), 'dependencies': {'commander': Value('string'), 'glob': Value('string'), 'minimatch': Value('string')}, 'bin': {'asar': Value('string')}, 'engines': {'node': Value('string')}}, 'node_modules/@electron/asar/node_modules/brace-expansion': {'version': Value('string'), 'resolved': Value('string'), 'integrity': Value('string'), 'dev': Value('bool'), 'license': Value('string'), 'dependencies': {'balanced-match': Value('string'), 'concat-map': Value('string')}}, 'node_modules/@electron/asar/node_modules/minimatch': {'version': Value('string'), 'resolved': Value('string'), 'integrity': Value('string'), 'dev': Value('bool'), 'license': Value('string'), 'dependencies': {'brace-e
...
'string'), 'yargs-parser': Value('string')}, 'engines': {'node': Value('string')}}, 'node_modules/yargs-parser': {'version': Value('string'), 'resolved': Value('string'), 'integrity': Value('string'), 'dev': Value('bool'), 'license': Value('string'), 'engines': {'node': Value('string')}}, 'node_modules/yauzl': {'version': Value('string'), 'resolved': Value('string'), 'integrity': Value('string'), 'dev': Value('bool'), 'license': Value('string'), 'dependencies': {'buffer-crc32': Value('string'), 'fd-slicer': Value('string')}}, 'node_modules/zip-stream': {'version': Value('string'), 'resolved': Value('string'), 'integrity': Value('string'), 'dev': Value('bool'), 'license': Value('string'), 'peer': Value('bool'), 'dependencies': {'archiver-utils': Value('string'), 'compress-commons': Value('string'), 'readable-stream': Value('string')}, 'engines': {'node': Value('string')}}, 'node_modules/zip-stream/node_modules/archiver-utils': {'version': Value('string'), 'resolved': Value('string'), 'integrity': Value('string'), 'dev': Value('bool'), 'license': Value('string'), 'peer': Value('bool'), 'dependencies': {'glob': Value('string'), 'graceful-fs': Value('string'), 'lazystream': Value('string'), 'lodash.defaults': Value('string'), 'lodash.difference': Value('string'), 'lodash.flatten': Value('string'), 'lodash.isplainobject': Value('string'), 'lodash.union': Value('string'), 'normalize-path': Value('string'), 'readable-stream': Value('string')}, 'engines': {'node': Value('string')}}}}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
return get_rows(
^^^^^^^^^
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/utils.py", line 77, in get_rows
rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2690, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2227, in __iter__
for key, pa_table in self._iter_arrow():
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2251, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 494, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 384, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 265, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 120, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
name: string
version: string
description: string
main: string
type: string
scripts: struct<start: string, dev: string, build: string, build:win: string, build:mac: string, build:linux: (... 8 chars omitted)
child 0, start: string
child 1, dev: string
child 2, build: string
child 3, build:win: string
child 4, build:mac: string
child 5, build:linux: string
keywords: list<item: string>
child 0, item: string
author: string
license: string
devDependencies: struct<electron: string, electron-builder: string>
child 0, electron: string
child 1, electron-builder: string
build: struct<appId: string, productName: string, directories: struct<output: string>, files: list<item: st (... 137 chars omitted)
child 0, appId: string
child 1, productName: string
child 2, directories: struct<output: string>
child 0, output: string
child 3, files: list<item: string>
child 0, item: string
child 4, win: struct<target: string, icon: string>
child 0, target: string
child 1, icon: string
child 5, mac: struct<target: string, icon: string>
child 0, target: string
child 1, icon: string
child 6, linux: struct<target: string, icon: string>
child 0, target: string
child 1, icon: string
lockfileVersion: int64
packages: struct<: struct<name: string, version: string, license: string, devDependencies: struct<electron: st (... 64063 chars omitted)
child 0, : struct<name: string, version: string, license: string, devDependencies: struc
...
n: string
child 1, resolved: string
child 2, integrity: string
child 3, dev: bool
child 4, license: string
child 5, peer: bool
child 6, dependencies: struct<archiver-utils: string, compress-commons: string, readable-stream: string>
child 0, archiver-utils: string
child 1, compress-commons: string
child 2, readable-stream: string
child 7, engines: struct<node: string>
child 0, node: string
child 323, node_modules/zip-stream/node_modules/archiver-utils: struct<version: string, resolved: string, integrity: string, dev: bool, license: string, peer: bool, (... 285 chars omitted)
child 0, version: string
child 1, resolved: string
child 2, integrity: string
child 3, dev: bool
child 4, license: string
child 5, peer: bool
child 6, dependencies: struct<glob: string, graceful-fs: string, lazystream: string, lodash.defaults: string, lodash.differ (... 138 chars omitted)
child 0, glob: string
child 1, graceful-fs: string
child 2, lazystream: string
child 3, lodash.defaults: string
child 4, lodash.difference: string
child 5, lodash.flatten: string
child 6, lodash.isplainobject: string
child 7, lodash.union: string
child 8, normalize-path: string
child 9, readable-stream: string
child 7, engines: struct<node: string>
child 0, node: string
requires: bool
to
{'name': Value('string'), 'version': Value('string'), 'lockfileVersion': Value('int64'), 'requires': Value('bool'), 'packages': {'': {'name': Value('string'), 'version': Value('string'), 'license': Value('string'), 'devDependencies': {'electron': Value('string'), 'electron-builder': Value('string')}}, 'node_modules/@develar/schema-utils': {'version': Value('string'), 'resolved': Value('string'), 'integrity': Value('string'), 'dev': Value('bool'), 'license': Value('string'), 'dependencies': {'ajv': Value('string'), 'ajv-keywords': Value('string')}, 'engines': {'node': Value('string')}, 'funding': {'type': Value('string'), 'url': Value('string')}}, 'node_modules/@electron/asar': {'version': Value('string'), 'resolved': Value('string'), 'integrity': Value('string'), 'dev': Value('bool'), 'license': Value('string'), 'dependencies': {'commander': Value('string'), 'glob': Value('string'), 'minimatch': Value('string')}, 'bin': {'asar': Value('string')}, 'engines': {'node': Value('string')}}, 'node_modules/@electron/asar/node_modules/brace-expansion': {'version': Value('string'), 'resolved': Value('string'), 'integrity': Value('string'), 'dev': Value('bool'), 'license': Value('string'), 'dependencies': {'balanced-match': Value('string'), 'concat-map': Value('string')}}, 'node_modules/@electron/asar/node_modules/minimatch': {'version': Value('string'), 'resolved': Value('string'), 'integrity': Value('string'), 'dev': Value('bool'), 'license': Value('string'), 'dependencies': {'brace-e
...
'string'), 'yargs-parser': Value('string')}, 'engines': {'node': Value('string')}}, 'node_modules/yargs-parser': {'version': Value('string'), 'resolved': Value('string'), 'integrity': Value('string'), 'dev': Value('bool'), 'license': Value('string'), 'engines': {'node': Value('string')}}, 'node_modules/yauzl': {'version': Value('string'), 'resolved': Value('string'), 'integrity': Value('string'), 'dev': Value('bool'), 'license': Value('string'), 'dependencies': {'buffer-crc32': Value('string'), 'fd-slicer': Value('string')}}, 'node_modules/zip-stream': {'version': Value('string'), 'resolved': Value('string'), 'integrity': Value('string'), 'dev': Value('bool'), 'license': Value('string'), 'peer': Value('bool'), 'dependencies': {'archiver-utils': Value('string'), 'compress-commons': Value('string'), 'readable-stream': Value('string')}, 'engines': {'node': Value('string')}}, 'node_modules/zip-stream/node_modules/archiver-utils': {'version': Value('string'), 'resolved': Value('string'), 'integrity': Value('string'), 'dev': Value('bool'), 'license': Value('string'), 'peer': Value('bool'), 'dependencies': {'glob': Value('string'), 'graceful-fs': Value('string'), 'lazystream': Value('string'), 'lodash.defaults': Value('string'), 'lodash.difference': Value('string'), 'lodash.flatten': Value('string'), 'lodash.isplainobject': Value('string'), 'lodash.union': Value('string'), 'normalize-path': Value('string'), 'readable-stream': Value('string')}, 'engines': {'node': Value('string')}}}}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Chahua Markdown Video Studio
Author every slide, timing, and presentation configuration in markdown—preview and export videos without leaving your deck.
Chahua Markdown Video Studio turns a single markdown file into a cinematic video. Frontmatter drives presentation presets, export settings, and security-sensitive metadata while the renderer timeline stays perfectly in sync between preview and export.
Why Markdown-First?
- Single source of truth for content, timings, transitions, narration cues, and assets.
- Deterministic timeline JSON shared by the renderer and upcoming headless export pipeline.
- Presentation presets round-trip through frontmatter so writers and designers stay aligned.
- Actionable diagnostics inside the Markdown tab highlight validation issues in context.
Key Capabilities
- Markdown editor with live sync and diagnostics (
Sync Markdownbutton). - Timeline tab showing per-slide durations, timecodes, and tracked assets.
- Export tab for resolution, FPS, and quality settings backed by frontmatter.
- Presentation settings panel (transitioning from static templates) that writes preset choices back into the deck and restyles the preview.
- Secure preload bridge (
security-core.js) enforcing filesystem, hashing, and rate limits.
Current focus is WebM preview/export. Legacy GIF export returns after the shared timeline engine stabilises.
Quick Start
# Clone the repository
git clone https://github.com/chahuadev/chahuadev-markdown-presenter.git
# Enter the project
cd chahuadev-markdown-presenter
# Install dependencies
npm install
# Launch the app
npm start
Optional scripts:
npm run dev # Verbose logging
npm run build # Package the Electron app
Markdown Authoring Workflow
- Open the app with
npm start. - Markdown tab
- Paste or edit your deck in the editor.
- Use
Load Sample Deckfor a guided example. - Click
Sync Markdownto parse slides, refresh the timeline, and update the stage text.
- Timeline tab
- Review total duration and per-slide timings.
- Confirm asset checklist items (images, audio) and resolve pending markers.
- Presentation Settings tab
- Select a preset; the choice updates frontmatter (
presentation.presetwith atemplatefallback) and restyles the stage. - Presentation Settings is the recommended system going forward; the legacy
templatefield remains only so decks from earlier versions still render correctly.
- Select a preset; the choice updates frontmatter (
- Export tab
- Adjust
video.resolution,video.fps, andvideo.quality. Values sync back to frontmatter.
- Adjust
- Preview / Export
Preview Timelineplays the parsed deck against the live stage.Export Videorecords a WebM through the nativeVideoRendererand saves it securely.
Markdown Format Cheatsheet
---
presentation:
preset: professional
fonts:
heading: "'Montserrat', 'Arial', sans-serif"
colors:
accent: "#60a5fa"
animations:
slideTransition: slide
template: professional # legacy fallback for older builds
video:
resolution: 1920x1080
fps: 60
quality: 0.95
---
# Introduction
subtitle: Markdown Video Studio
duration: 4
Welcome to the Markdown-first workflow.
---
# Feature Highlights
duration: 6
- Native WebM encoding with MediaRecorder API
- Real-time preview and timeline visualization
- Frontmatter configuration sync
- Truly offline-first architecture

---
# Conclusion
subtitle: Built with Electron + Canvas
duration: 5
Thank you for watching!
Slide Syntax:
- Each slide separated by
--- # Title- Main heading (required)subtitle: text- Optional subtitleduration: N- Slide duration in seconds (default: 5)- Standard Markdown: lists, bold, italic, images
Frontmatter Options:
presentation.preset:default, professional, minimal, creativepresentation.fonts.heading|body|code:Any supported font token frompresentation-config.jspresentation.colors.primary|accent|background:Hex colors (e.g.#3b82f6)presentation.animations.slideTransition:fade, slide, nonevideo.resolution:1920x1080, 1280x720, 3840x2160video.fps:30, 60video.quality:0.8 - 1.0template:Legacy fallback key while presets fully replace template cards
Extended directives for transitions and narration cues are outlined in docs/EN/MARKDOWN_VIDEO_PLAN.md.
Application Layout
- Stage (left panel): live preview of intro, timeline snapshot, and outro styled by the active preset.
- Markdown: editor, diagnostics panel, summary card, and quick actions (load sample, import from disk, open workspace folder).
- Timeline: total runtime, per-slide breakdown, and asset checklist with availability status.
- Export: video configuration controls bound to frontmatter.
- Presentation Settings: preset gallery with font/color/animation controls that keep markdown frontmatter in sync.
Documentation
- MARKDOWN_VIDEO_PLAN: English / ไทย – Roadmap covering presentation presets, safe zones, and native exporter milestones.
- CHANGELOG: English / ไทย – Release history and upcoming feature checkpoints.
- CONTRIBUTING: English / ไทย – Contribution workflow, coding standards, and review expectations.
- CODE_OF_CONDUCT: English / ไทย – Community guidelines for respectful collaboration.
Project Structure
- .gitignore
- .npmignore
- LICENSE
- SECURITY.md
- package.json
- package-lock.json
- npm-runner.bat
- assets/
- docs/
- src/
- workspace/
- README.md
node_modules/– Installed dependencies (omitted from this list by design).
Security Posture
security-core.jsblocks path traversal, enforces extension and size limits, validates hashes, and rate-limits operations.- The Security button surfaces telemetry (operation count, uptime, cache stats, rate limit entries).
- Renderer access to the filesystem and export locations flows exclusively through vetted IPC handlers.
Development Notes
- The legacy code-upload scene workflow has been retired; markdown is now the authoritative input.
src/renderer/js/app.jsandsrc/shared/markdown-parser.jsare under active development—follow progress indocs/EN|TH/MARKDOWN_VIDEO_PLAN.mdunder Immediate Sprint Focus.src/renderer/js/presentation-config.jsunifies preset management whiletemplates.jsremains only for backwards compatibility.- Current export method: Native WebM recording using Canvas API + MediaRecorder (no external dependencies).
- Upcoming milestones: Enhanced timeline engine, schema validation with actionable diagnostics, and OS-native MP4/GIF exporters scoped in the roadmap documents.
Contributing
- Fork the repository.
- Create a feature branch (
git checkout -b feature/markdown-parser-upgrade). - Update or add tests when touching the parser, renderer, or security layers.
- Submit a pull request summarising how your change advances the markdown-first roadmap.
Please read the roadmap documents in docs/EN or docs/TH before proposing major architectural shifts.
Credits & Contact
Chahua Development Co., Ltd.
- Website: chahuadev.com
- Email: chahuadev@gmail.com
- GitHub: @chahuadev
Stars, feedback, and roadmap suggestions are always appreciated!
Transform markdown into motion.
- Downloads last month
- 2
