feat: add NSStatusItem (menu bar) mode with popover WebView#5
Closed
vtemian wants to merge 1 commit intoHazAT:mainfrom
Closed
feat: add NSStatusItem (menu bar) mode with popover WebView#5vtemian wants to merge 1 commit intoHazAT:mainfrom
vtemian wants to merge 1 commit intoHazAT:mainfrom
Conversation
New --status-item CLI flag creates a macOS menu bar status item with an NSPopover containing a WKWebView, instead of an NSWindow. Adds title and resize protocol commands, click event, and GlimpseStatusItem Node wrapper. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
HazAT
added a commit
that referenced
this pull request
Mar 17, 2026
feat: add NSStatusItem (menu bar) mode with popover WebView
Owner
HazAT
added a commit
that referenced
this pull request
Mar 17, 2026
Two community contributions ship in this release: - Menu bar mode by @vtemian (#5): statusItem() API creates a menu bar icon with a popover WebView, including setTitle() and resize() methods. - Open links externally by @joemccann (#6): openLinks/openLinksApp options let clicked links escape the WebView to the system browser or a specific app. Also adds GLIMPSE_BINARY_PATH env var override. Folds the previous Unreleased section into the 0.4.0 changelog entry.
This was referenced Mar 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a menu bar mode to Glimpse.
statusItem()creates an icon in the macOS status bar that opens a popover with a WKWebView on click. Same protocol, same bridge, just no window.glimpse-status-item.mp4
The popover auto-closes when clicking outside (
.transientbehavior).setTitle()updates the menu bar text dynamically,resize()changes the popover dimensions, and a click event fires when the user clicks the icon.Swift side:
--status-itemflag,NSStatusItem+NSPopoverwith a minimalNSViewControllerhosting the WebView. Runs as.accessory(no dock icon). Window-only features likefollow-cursorare ignored.Existing
open()andprompt()unchanged. Integration test included.