talira

Render markdown on the CLI, with pizzazz

open sourceMITself-hostablefree

Glow is a terminal-based Markdown reader. Run without arguments, its text user interface finds the Markdown files in the current directory and below, or across the Git repository you're in, and opens them in a fast pager with less-style keys. As a CLI it renders a Markdown file, standard input, a GitHub or GitLab repository's README or a Markdown URL with styling in the terminal, with word wrapping, output through your pager, and dark, light or custom JSON styles (it picks dark or light from the terminal's background). Settings can live in a config file. It installs from Homebrew, MacPorts, most Linux package managers, FreeBSD, Chocolatey, Scoop, Winget, Termux, Snap or go install.

Problems it solves

  • read Markdown files nicely formatted in the terminal
  • browse the README and docs of a project from the command line
  • preview a Markdown file over SSH without a browser
  • render a GitHub repository's README in my terminal
  • pipe Markdown output from another command into a styled viewer

Features

  • TUI that finds Markdown files in the directory or Git repository
  • pager with less-style keys
  • render files, stdin, GitHub or GitLab READMEs and Markdown URLs
  • word wrapping with -w
  • pager output with -p
  • dark, light, auto and custom JSON styles
  • config file

Capabilities

Has a command line toolplan not known