.github
webhookapp
fixespublic
Initial commit from Create Next Appsrc-tauri
fixes.eslintignore
initial commit.gitignore
Initial commit from Create Next Appbun.lock
fixeschatbot_plan.md
fixeseslint.config.mjs
Initial commit from Create Next Appglobal.d.ts
webhookhello.md
fixesnext.config.ts
initial commitpackage.json
fixespostcss.config.mjs
Initial commit from Create Next AppREADME.md
initial committest-render.md
initial committsconfig.json
initial commitMarkView
A fast, beautiful, and lightweight desktop Markdown viewer built with Next.js, React, and Tauri.
Features
- File and Folder Support: Open individual Markdown files or entire directories.
- Drag and Drop: Easily drag and drop files directly into the application window.
- Multiple Themes: Choose from 7 built-in themes (Light, Dark, Ocean, Forest, Sunset, Purple, Midnight).
- Persistent Settings: Your selected theme is saved and persists across app restarts.
- Theme Palette: Quick theme switching using a command-palette style interface (Alt+T).
- Searchable Sidebar: Quickly find specific files in your loaded directories (Ctrl+K).
- GitHub Flavored Markdown: Full support for tables, strikethrough, task lists, and more.
- Raw HTML Support: Renders embedded HTML safely.
- Command Line Integration: Open files or folders directly from your terminal.
Keyboard Shortcuts
Ctrl+K/Cmd+K: Focus file search in the sidebarAlt+T: Open theme selector paletteUp/Down Arrows: Navigate through theme paletteEnter: Select themeEsc: Close theme palette
Installation & Development
Prerequisites
- Node.js & Bun
- Rust & Cargo
- Tauri build dependencies for your OS
Setup
- Clone the repository
- Install dependencies:
bun installRunning in Development
To run the application in development mode with hot-reloading:
bun run tauri devBuilding for Production
To build the standalone desktop executable:
bun run tauri buildThe compiled binary will be located in src-tauri/target/release/markview.
Usage via Command Line
Once built, you can use the binary from your terminal to open files or folders directly:
# Open a specific file
./markview path/to/README.md
# Open multiple files
./markview file1.md file2.md
# Open a directory (loads all Markdown files within)
./markview .Architecture
- Frontend: Next.js (App Router, Static Export), React, Tailwind CSS
- Markdown Parsing: react-markdown, remark-gfm, rehype-raw
- Desktop Framework: Tauri v2
- Backend: Rust
License
MIT