Repository navigation
Conversation
This was referenced Aug 7, 2026
Owner
|
Thank you for the thorough monitor-mode prototype. The focused, production-tested parts of this work are now included in TargetBridge 3.5.0 through #159 (measured connection paths) and #161 (headless lifecycle and persistent user Stop). To keep the release branch stable and future reviews focused, I am closing this integrated RFC. The remaining monitor-mode and installer ideas are welcome as smaller, rebased follow-up PRs with focused tests. Thanks again for the work and careful collaboration. |
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.
Integration preview — not ready for line-by-line review
I discovered TargetBridge while looking for a practical way to reuse a 21.5-inch 2017 Retina 4K iMac as the display for a Mac mini M4. Apple's Target Display Mode is not available on this iMac, while ordinary screen sharing was too slow for comfortable daily use.
I really liked TargetBridge's approach: instead of pretending the iMac is a physical DisplayPort monitor, it creates a virtual display on the Sender and carries a low-latency video stream to the Receiver. Starting from that design, I tested it with Thunderbolt, USB4/USB-C networking, direct Ethernet and Wi-Fi, then gradually added the pieces that made the setup feel closer to a real monitor: automatic startup, reliable Stop/Start, cable selection, 4K60, optional input control and separate audio controls.
This draft PR is the fully integrated and hardware-tested prototype. It is intentionally kept as a reference, not as a request to merge all 62 changed files at once. I plan to submit the useful parts as smaller, focused PRs so the project author can choose what fits TargetBridge.
Proposed functional split
USB4 clarification
The USB4 work does not turn the iMac into a native USB-C/DisplayPort sink and does not assume the cable will provide a 40 Gbit/s video path. TargetBridge still uses its encoded network protocol. The change detects the network interface macOS exposes over a direct USB/USB4 connection, keeps it distinct from Thunderbolt Bridge, performs a bounded real transfer test, and chooses it only when it is the fastest working route.
This also means cable labels are not trusted: Thunderbolt, USB4, Ethernet and Wi-Fi are compared by measured application-level throughput.
What the integrated prototype demonstrates
Validation
Security and setup notes
Screen Recording permission remains required on the Sender because macOS controls access to captured display frames. Optional Receiver-initiated recovery uses a locally provisioned restricted SSH key and pinned host key; no credentials, personal usernames, hostnames or private network addresses are included.
The integrated installer UI is currently Italian. I would propose packaging only after the underlying functions and their preferred upstream shape are agreed.
Feedback on the preferred order or scope of the smaller PRs is very welcome.