Skip to content

davidunga/glance

Repository files navigation

glance icon
Glance

A (markdown|code|csv) viewer that doesn't get in your way.

screenshots

Install

Download the latest release — unzip and drag to /Applications.

Or build from source:

./build.sh
open Glance.app

The script fetches highlight.js into Sources/glance/Resources/, builds with SwiftPM, assembles a .app bundle, and signs it with the entitlements in glance.entitlements. Requires Swift 5.9+ and macOS 13+.

Then install:

cp -R Glance.app /Applications/

CLI

open -a Glance file.md         # open a file in the GUI
glance --render file.md        # print rendered HTML to stdout

Install the glance command so you can call it directly from the terminal:

  1. Download Glance.app.zip and install-cli.sh from the latest release.
  2. Unzip and move Glance.app to /Applications.
  3. Run the installer:
chmod +x install-cli.sh
./install-cli.sh

The script symlinks glance into ~/.local/bin (if on PATH) or /usr/local/bin, and tells you what to do if neither is on PATH yet.


Built on

License

MIT — see LICENSE.

About

A (markdown|code|csv) viewer for macOS.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors