meread

Crates.iomeread
lib.rsmeread
version0.3.0
created_at2025-07-06 13:17:53.55689+00
updated_at2025-07-29 19:16:16.741939+00
descriptionpreview github flavored markdown locally
homepage
repositoryhttps://github.com/sermuns/meread
max_upload_size
id1740137
size2,197,224
Samuel Ã…kesson (sermuns)

documentation

README

MEREAD

Locally preview how GitHub will render your Markdown files.

release-badge WTFPL Version info

MEREAD is a command-line tool for previewing Markdown files as they will be presented on GitHub, all completely locally and offline.

Motivation

I was surprised to find no simple tool that would allow me to preview Markdown files as they would be rendered on GitHub.

I wanted a tool that is:

  • shipped as a single binary
  • fast
  • accurate to GitHub's rendering
  • offline

There are other tools that get the job done, better or worse, but they all have some drawbacks that I wanted to avoid:

Tool Written in Biggest drawback
grip Python Uses GitHub:s markdown API to render Markdown files, causing unnecessary usage of web requests.
gh markdown-preview Go Is meant to be used as extension in gh, GitHub's CLI.
markdown-preview.nvim Typescript Requires Neovim.

Installation

From prebuilt binaries

For each version, prebuilt binaries are automatically built for Linux, MacOS and Windows.

  • You can download and unpack the latest release from the releases page.

  • Using cargo-binstall

    cargo binstall meread
    
  • Using ubi:

    ubi -p sermuns/meread
    
  • Using mise:

    # `ubi` under the hood
    mise use -g ubi:sermuns/meread
    
    # `cargo-binstall` under the hood
    mise use -g cargo:meread
    

From source

  • cargo install meread
    
  • git clone https://github.com/sermuns/meread
    cd meread
    cargo install
    
Commit count: 0

cargo fmt