메뉴
HN
Hacker News 44일 전

에이전트 코딩용 가벼운 마크다운 뷰어 'Marky'

IMP
6/10
핵심 요약

macOS용 가볍고 빠른 네이티브 마크다운 뷰어 Marky가 소개되었습니다. Tauri v2와 React, markdown-it으로 제작되었으며, CLI 환경에서 파일을 열면 테이블, 코드, 수식, 다이어그램 등을 아름답게 렌더링하고 실시간 리로드를 지원합니다. 특히 Claude Code 등 AI 에이전트가 생성하는 문서를 실시간으로 확인하는 용도로 최적화되어 있습니다.

번역된 본문

Marky는 Tauri v2, React, markdown-it으로 구축된 macOS용 빠르고 네이티브한 마크다운 뷰어입니다. 테이블, 코드 블록, 작업 목록, 수식, 다이어그램을 아름답게 렌더링하며 라이브 리로드를 지원합니다.

프로젝트 소개 Marky는 단 한 가지를 위해 설계된 데스크톱 마크다운 뷰어입니다. 바로 터미널에서 .md 파일을 열고 즉각적이고 아름다운 렌더링을 제공하는 것입니다. marky FILENAME 명령으로 파일을 보거나, marky FOLDER 명령으로 폴더를 Obsidian 스타일의 영구 작업 공간으로 열 수 있습니다. 디스크에서 파일이 변경되면 실시간으로 다시 로드되므로 Claude가 생성하는 계획, 문서 또는 메모가 작성되는 동안 확인하는 데 완벽합니다.

주요 기능

  • CLI 우선: marky README.md 명령으로 창을 열고, marky ./docs/ 명령으로 폴더를 엽니다.
  • 라이브 리로드: 디스크의 편집 내용이(편집기, Claude 등에서) 즉시 뷰에 업데이트됩니다.
  • 폴더 지원: 폴더를 Obsidian 스타일의 영구 작업 공간으로 추가할 수 있습니다. 사이드바에 나타나며 앱 실행 시 복원됩니다.
  • Cmd+K 명령 팔레트: nucleo 기반으로 열려 있는 모든 폴더의 파일을 퍼지 검색합니다.
  • 구문 강조: VS Code 테마가 적용된 Shiki를 통해 정확하고 아름다운 코드 블록을 제공합니다.
  • 수학: $inline$ 및 $$display$$ 수학을 KaTeX로 렌더링합니다.
  • Mermaid 다이어그램: mermaid 블록을 SVG로 렌더링합니다.
  • GFM: 테이블, 작업 목록, 취소선, 자동 링크, 각주를 지원합니다.
  • 라이트 및 다크 테마: 시스템 설정을 따르거나 수동으로 전환할 수 있습니다.
  • 안전한 렌더링: 모든 HTML은 DOMPurify를 통과합니다. 신뢰할 수 없는 마크다운도 안전하게 볼 수 있습니다.
  • 작고 빠름: 네이티브 웹뷰를 사용하며 Electron이 아닙니다. 프로덕션 .dmg 크기가 15MB 미만입니다.

설치 방법 Homebrew 설치 (참고: 현재 Apple 개발자 심사를 기다리고 있어 앱 서명이 되지 않았습니다. 곧 수정될 예정입니다.) brew tap GRVYDEV/tap brew install --cask GRVYDEV/tap/marky

바이너리 서명 전까지 임시로 사용해야 하는 명령어

xattr -cr /Applications/Marky.app

소스에서 빌드하려면 Rust, Node.js, pnpm이 필요합니다. git clone https://github.com/GRVYDEV/marky.git cd marky pnpm install pnpm tauri build ./scripts/install-cli.sh 설치 스크립트는 marky를 ~/.local/bin/에 심볼릭 링크합니다.

사용 방법 marky README.md # 단일 파일 열기 marky ./docs/ # 폴더를 작업 공간으로 열기 marky # 인수 없이 실행 시 마지막 세션 복원

키보드 단축키 Cmd+K: 명령 팔레트 (퍼지 파일 검색) Cmd+O: 파일 열기 Cmd+Shift+O: 폴더 추가 Cmd+F: 페이지 내 검색

개발 pnpm install pnpm tauri dev # HMR이 포함된 개발 서버 테스트 실행 pnpm test # 프론트엔드 cd src-tauri && cargo test # Rust

기술 스택 데스크톱 셸: Tauri v2 프론트엔드: React + TypeScript + Vite 마크다운: markdown-it 구문 강조: Shiki 수학: KaTeX 다이어그램: Mermaid 퍼지 검색: nucleo UI 프리미티브: shadcn/ui 스타일링: Tailwind CSS 파일 감시: notify

로드맵

  • x86 및 Linux 지원: 현재 macOS ARM 전용이며, x86 macOS 및 Linux로 확장 예정
  • 내장 AI 채팅: 마크다운 문서 내에서 Claude Code 또는 Codex와 직접 채팅
  • Git diff 검토: 앱을 떠나지 않고 로컬 git diff를 보고 검토

기여 기여는 오픈 소스 커뮤니티를 배우고, 영감을 얻고, 창조할 수 있는 놀라운 곳으로 만듭니다. 여러분의 모든 기여에 크게 감사드립니다.

  1. 프로젝트를 포크합니다.
  2. 기능 브랜치를 생성합니다: git checkout -b feature/AmazingFeature
  3. 변경 사항을 커밋합니다: git commit -m 'Add some AmazingFeature'
  4. 브랜치에 푸시합니다: git push origin feature/AmazingFeature
원문 보기
원문 보기 (영어)
Marky A fast, native markdown viewer for macOS built with Tauri v2 , React , and markdown-it . Beautiful rendering of tables, code blocks, task lists, math, and diagrams — with live reload. View Demo • Install • Request Features Table of Contents About The Project Features Install Homebrew From Source Usage Keyboard Shortcuts Development Built With Roadmap Contributing Contact Me About The Project 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. Features CLI-first — marky README.md opens 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 mermaid blocks 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 .dmg is under 15 MB. Install Homebrew NOTE : I am currently waiting for apple developer review so for the time being the app is not signed. This will be fixed soon. brew tap GRVYDEV/tap brew install --cask GRVYDEV/tap/marky # This is temporary until I can sign the binary xattr -cr /Applications/Marky.app 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 # 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 pnpm install pnpm tauri dev # dev server with HMR Run Tests # Frontend pnpm test # Rust cd src-tauri && cargo test Project Structure 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 primitives src/lib/ Core logic (markdown-it config, Shiki, Tauri IPC wrappers) src/styles/ Tailwind base + markdown prose styles scripts/ Install helpers Built With 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 Roadmap x86 & Linux support — currently macOS ARM only; expanding to x86 macOS and Linux 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 Contributing Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated . 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 test and cd src-tauri && cargo test Run pnpm typecheck Actually open a markdown file with pnpm tauri dev and verify it renders correctly Contact Me GitHub @GRVYDEV · Twitter @grvydev