Getting Started
Requirements
- Node.js 20+
- Yamaha RTX HTML Archive — download
Cmdref_HTML_Archive.zipfrom rtpro.yamaha.co.jp and extract it so the pathCmdref_HTML_Archive (1)/html/exists in the project root.
Install
Option A — Pre-built binary (no Node.js required)
Download the binary for your platform from the Releases page:
| Platform | File |
|---|---|
| Linux x64 | rtx-manual-to-md-linux-x64 |
| Linux ARM64 | rtx-manual-to-md-linux-arm64 |
| macOS x64 | rtx-manual-to-md-darwin-x64 |
| macOS ARM64 (Apple Silicon) | rtx-manual-to-md-darwin-arm64 |
| Windows x64 | rtx-manual-to-md-win-x64.exe |
bash
# Linux / macOS — make executable then run
chmod +x rtx-manual-to-md-linux-x64
./rtx-manual-to-md-linux-x64 --statspowershell
# Windows — cmd.exe or PowerShell (no chmod needed)
.\rtx-manual-to-md-win-x64.exe --statsOption B — From source (Node.js 20+ required)
bash
git clone https://github.com/yuis-ice/rtx-manual-to-md
cd rtx-manual-to-md
npm installFirst Run
bash
# Option A (binary)
./rtx-manual-to-md-linux-x64
# Option B (source)
npm run convertThis will:
- Walk
./Cmdref_HTML_Archive (1)/html/recursively - Convert every command page to Markdown
- Write output to
./output/mirroring the original directory structure
Expected output:
Found 1237 command HTML files in .../html
Done: 1237 converted, 0 errors
Output: .../outputVerify the Output
bash
cat output/bgp/bgp_aggregate.mdYou should see a clean Markdown file with a fenced syntax block, parameter tables, and description.
Custom Paths
bash
npm run convert -- --input /path/to/html --output /path/to/outNext Steps
- CLI Reference — all available flags
- Filtering Files — process only what you need
- LLM / RAG Ingestion — feed the output into an AI pipeline