An ultra-lightweight single-file Markdown reader for Windows.
中文 | English
- Single exe: ~9 MB, no runtime dependencies
- Tiny footprint: ~140 MB RAM — native egui rendering, far lighter than browser/Electron apps
- Pure native rendering: Rust + egui; no WebView, no browser engine, no framework
- One-click install: double-click
install.bat, then right-click any.mdfile → Open with → mdpeek
Headings, bold/italic, inline code, code blocks, blockquotes, ordered/unordered lists, task lists, tables, horizontal rules, links, images (relative paths resolve against the file's directory), GitHub-style callouts.
cargo build --release
# Output: target/release/reader.exeRequires the Rust x86_64-pc-windows-gnu target plus mingw binutils (which provides dlltool, used to generate the Windows API-set import libraries). The linker is rust-lld, bundled with rustup. The paths in reader/.cargo/config.toml are absolute paths for the build machine — adjust them to your local toolchain.
Most users don't need to build anything: just grab
dist/mdpeek.exeand double-clickdist/install.bat.
# After copying the built binary into dist/ as mdpeek.exe:
dist\install.batUninstall: dist\uninstall.bat (removes only the current user's registry entries; does not touch the system).
- Right-click any
.mdfile in Explorer → Open with → mdpeek - Or from the command line:
mdpeek.exe doc.md - Or drag & drop a
.mdfile onto the window
- Built for
x86_64-pc-windows-gnu, linked in self-contained mode with rust-lld — no mingw gcc required - CJK text: auto-loads Microsoft YaHei from
C:\Windows\Fontsat runtime - Writes only to the
HKCUregistry; no administrator rights needed; does not change the.mddefault association