A (markdown|code|csv) viewer that doesn't get in your way.
Download the latest release — unzip and drag to /Applications.
Or build from source:
./build.sh
open Glance.appThe 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/open -a Glance file.md # open a file in the GUI
glance --render file.md # print rendered HTML to stdoutInstall the glance command so you can call it directly from the terminal:
- Download
Glance.app.zipandinstall-cli.shfrom the latest release. - Unzip and move
Glance.appto/Applications. - Run the installer:
chmod +x install-cli.sh
./install-cli.shThe 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.
- swift-markdown for parsing
- highlight.js for code
MIT — see LICENSE.
