Marky: 에이전트 코딩에 최적화된 경량 마크다운 뷰어
요약
Marky는 macOS 및 Linux 환경을 위한 CLI 기반의 고성능 마크다운 뷰어입니다. Tauri v2와 React를 사용하여 개발되었으며, 터미널에서 `marky FILENAME` 명령어로 파일을 열거나 폴더 전체를 지속적인 작업 공간(Obsidian 스타일)으로 관리할 수 있습니다. 파일 변경 사항이 감지되면 실시간으로 내용이 업데이트되는 'Live reload' 기능을 제공하여, Claude와 같은 AI가 생성한 계획이나 문서를 즉시 확인하고 검토하는 데 최적화되어 있습니다. KaTeX를 이용한 수학 공식 렌더링, Shk
핵심 포인트
- CLI 우선 설계: `marky FILENAME` 또는 `marky FOLDER` 명령어로 쉽게 접근하며, 폴더는 지속적인 작업 공간으로 활용 가능합니다.
- 실시간 동기화 (Live Reload): 파일 시스템의 변경 사항을 감지하여 뷰를 즉시 업데이트하므로, AI 생성 콘텐츠 검토에 매우 유용합니다.
- 강력한 마크다운 지원: KaTeX(수학 공식), Mermaid 다이어그램(SVG), GFM 문법 등을 완벽하게 지원하며, 모든 HTML은 DOMPurify로 안전하게 처리됩니다.
- 개발자 친화적 기능: Cmd+K를 통한 파일 검색(nucleo 기반)과 VS Code 테마의 Shiki 구문 강조 기능을 제공합니다.
Show HN: Marky – A lightweight Markdown viewer for agentic coding
A fast, native markdown viewer for macOS and Linux built with Tauri v2, React, and markdown-it. Beautiful rendering of tables, code blocks, task lists, math, and diagrams — with live reload.
Marky is a desktop markdown viewer designed for one thing: opening .md files from the terminal and getting beautiful, instant rendering. Launch it with marky FILENAME to view a file or marky FOLDER to open a folder as a persistent workspace (Obsidian-style). Files reload live as they change on disk — perfect for viewing Claude-generated plans, documentation, or notes as they're being written.
- CLI-first —
marky README.mdopens a window.
marky ./docs/opens a folder. - Live reload — edits on disk (from your editor, Claude, etc.) update the view instantly.
- Folders — add folders as persistent workspaces (Obsidian-style). They appear in a sidebar and restore on launch.
- Cmd+K command palette — fuzzy-search files across all open folders, powered by nucleo.
- Syntax highlighting — Shiki with VS Code themes for accurate, beautiful code blocks.
- Math — KaTeX rendering for
$inline$and$$display$$math. - Mermaid diagrams — fenced
mermaidblocks render as SVG. - GFM — tables, task lists, strikethrough, autolinks, footnotes.
- Light & dark themes — follows system preference or toggle manually.
- Sanitized rendering — all HTML is run through DOMPurify. Safe to view untrusted markdown.
- Small & fast — native webview, no Electron. Production
.dmgis under 15 MB.
NOTE: I am currently waiting for apple developer review so for the time being the app is not signed. This will be fixed soon.
Installation
Brew Tap (macOS/Linux):
brew tap GRVYDEV/tap
brew install --cask GRVYDEV/tap/marky
# This is temporary until I can sign the binary
xattr -cr /Applications/Marky.app
Download .deb (Linux):
For your architecture from the latest release:
# amd64
curl -LO https://github.com/GRVYDEV/marky/releases/latest/download/marky_0.1.2_amd64.deb
sudo dpkg -i marky_0.1.2_amd64.deb
# arm64
curl -LO https://github.com/GRVYDEV/marky/releases/latest/download/marky_0.1.2_arm64.deb
sudo dpkg -i marky_0.1.2_arm64.deb
Download AppImage (Linux):
From the latest release:
curl -LO https://github.com/GRVYDEV/marky/releases/latest/download/Marky_0.1.2_amd64.AppImage
chmod +x Marky_0.1.2_amd64.AppImage
./Marky_0.1.2_amd64.AppImage
From Source (Requires Rust, Node.js, and pnpm):
git clone https://github.com/GRVYDEV/marky.git
cd marky
pnpm install
pnpm tauri build
./scripts/install-cli.sh
The install script symlinks marky to ~/.local/bin/. Make sure that's on your PATH:
- bash/zsh:
export PATH="$HOME/.local/bin:$PATH" - fish:
set -Ux fish_user_paths $HOME/.local/bin $fish_user_paths
Usage Examples
- Open a single file:
marky README.md - Open a folder as a workspace:
marky ./docs/ - Open with no args — restores your last session:
marky
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
| Cmd+K | Command palette (fuzzy file search) |
| Cmd+O | Open file |
| Cmd+Shift+O | Add folder |
| Cmd+F | Search in page |
Development Commands
pnpm installpnpm tauri dev# dev server with HMR
Frontend:
pnpm test
Rust:cd src-tauri && cargo test
Project Structure and Tech Stack
src-tauri/ Rust backend — CLI, file I/O, file watching, folder registry, fuzzy search
src/ React frontend — markdown pipeline, UI components, theme
src/components/ App components (Viewer, Sidebar, CommandPalette, etc.)src/components/ui/ shadcn/ui primitivessrc/lib/ Core logic (markdown-it config, Shiki, Tauri IPC wrappers)src/styles/ Tailwind base + markdown prose stylesscripts/ Install helpers
Tech Stack:
| Layer | Tech |
|---|---|
| Desktop shell | Tauri v2 |
| Frontend | React + TypeScript + Vite |
| Markdown | markdown-it |
| Syntax highlighting | Shiki |
| Math | KaTeX |
| Diagrams | Mermaid |
| Fuzzy search | nucleo |
| UI primitives | shadcn/ui |
| Styling | Tailwind CSS |
| File watching | notify |
Advanced Features
- Built-in AI chat — chat with Claude Code or Codex directly inside your markdown documents
- Git diff review — view and review local git diffs without leaving the app
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
Contributing
- Fork the Project
- Create your Feature Branch:
git checkout -b feature/AmazingFeature
- Commit your Changes:
git commit -m 'Add some AmazingFeature'
- Push to the Branch:
git push origin feature/AmazingFeature
- Open a Pull Request
Before submitting a PR:
- Run
pnpm testandcd src-tauri && cargo test. - Run
pnpm typecheck. - Actually open a markdown file with
pnpm tauri devand verify it renders correctly.
AI 자동 생성 콘텐츠
본 콘텐츠는 HN Claude Code Search의 원문을 AI가 자동으로 요약·번역·분석한 것입니다. 원 저작권은 원저작자에게 있으며, 정확한 내용은 반드시 원문을 확인해 주세요.
원문 바로가기