A free Quick Look extension that colourises source code right in Finder. Self-contained, sandboxed, and fast. macOS 12+, universal binary, tested on Apple Silicon.
So this is a rewrite in Objective-C with its own highlighter using per-language compiled regexes running inside the extension's sandbox, no external processes. A 2 MB Objective-C file highlights in about 140 ms end to end, so space-bar preview still stays snappy.
It covers 51 languages (130+ filetypes) out of the box. Font, themes, line numbers and extension-to-language overrides are configurable in the app, and settings reach the sandboxed extension through a shared defaults domain.
Builds are universal but I've only tested on Apple Silicon, and macOS 12 is the floor. Install is available via Homebrew or direct download.
Development was AI assisted as most are now, I made all the decisions and spent time specifically optimizing for performance. I don't think it's too sloppy, and is working very well for me at least.
The source is on GitHub under the MIT license.
1 comment
So this is a rewrite in Objective-C with its own highlighter using per-language compiled regexes running inside the extension's sandbox, no external processes. A 2 MB Objective-C file highlights in about 140 ms end to end, so space-bar preview still stays snappy.
It covers 51 languages (130+ filetypes) out of the box. Font, themes, line numbers and extension-to-language overrides are configurable in the app, and settings reach the sandboxed extension through a shared defaults domain.
Builds are universal but I've only tested on Apple Silicon, and macOS 12 is the floor. Install is available via Homebrew or direct download.
Development was AI assisted as most are now, I made all the decisions and spent time specifically optimizing for performance. I don't think it's too sloppy, and is working very well for me at least.
I care about privacy, so It doesn't phone home at all, the only stats I get are from Github's download counts.
The source is on GitHub under the MIT license.
Read the full thread on Hacker News →
Related stories
- Hacker News · 3 points · 4 days ago
- Hacker News · 15 points · 15 days ago
- Launch HN: Vespper (YC F24) – SOTA Docx MCPvespper.comHacker News · 31 points · 4 days ago
- Hacker News · 1 points · 1 day ago
- Hacker News · 1 points · 4 days ago
- Hacker News · 1 points · 10 days ago