Skip to content
/ mirado Public

A minimalist Markdown viewer πŸ‘οΈβ¬‡οΈ

License

Notifications You must be signed in to change notification settings

h9812/mirado

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MiraDo

A minimalist Markdown viewer for desktop (Windows, Linux, macOS).

License

Features

  • πŸ“‘ Tab Management - Open and manage multiple Markdown files
  • 🎨 Dark/Light Theme Support - Dark and light modes with native OS titlebar sync
  • πŸ“š Table of Contents - Auto-generated, collapsible navigation
  • ⚑ Fast & Lightweight - Built with Electron and vanilla JavaScript
  • πŸ”„ Recent Files - Quick access to recently opened files
  • ⌨️ Keyboard Shortcuts - Efficient navigation

Installation

Prerequisites

  • Node.js 16 or higher

Quick Start

# Install dependencies
npm install

# Run the app
npm start

# Or run in development mode
npm run dev

Build

# Build for current platform
npm run build

# Platform-specific builds
npm run build:mac     # macOS
npm run build:win     # Windows
npm run build:linux   # Linux

Built applications will be in the dist/ directory.

Usage

Keyboard Shortcuts

Shortcut Action
Ctrl/Cmd + O Open file
Ctrl/Cmd + W Close current tab
Ctrl/Cmd + T Toggle theme (dark/light)
Ctrl/Cmd + B Toggle table of contents

Tech Stack

  • Electron - Desktop application framework
  • marked.js - Markdown parser
  • highlight.js - Syntax highlighting
  • Vanilla JavaScript (ES6+ modules)
  • CSS3 with custom properties

Project Structure

mirado/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ main/              # Electron main process
β”‚   β”‚   β”œβ”€β”€ main.js        # Application entry point
β”‚   β”‚   └── preload.js     # IPC bridge
β”‚   └── renderer/          # Renderer process (UI)
β”‚       β”œβ”€β”€ index.html     # Main HTML
β”‚       β”œβ”€β”€ js/            # JavaScript modules
β”‚       └── styles/        # CSS stylesheets
β”œβ”€β”€ package.json           # Dependencies and scripts
β”œβ”€β”€ example.md             # Example Markdown file
└── README.md              # This file

Contributing

Contributions are welcome!

Changelog

See CHANGELOG.md for release history.

License

MIT License - see LICENSE file for details.

Author

Tran Minh Hieu

Acknowledgments

  • Inspired by minimalist design
  • Built with the amazing Electron framework
  • Markdown parsing by marked.js
  • Syntax highlighting by highlight.js

Star ⭐ this repo if you find it useful!

About

A minimalist Markdown viewer πŸ‘οΈβ¬‡οΈ

Resources

License

Stars

Watchers

Forks

Packages

No packages published