realityloop
Joined 15 years ago
Joined 15 years ago
I can even explain why screen sharing is required:
if you programmatically move a window so that more than 50% of it overlaps onto an adjacent display the window will be displayed on the adjacent display instead of the desired one, FazerWM uses screen sharing to stream the part that should be visible where you expect it, while the actual window is parked offscreen, also for grabbing thumbnails of windows for Overview and Recent windows features.
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.