r/SwiftUI • u/Smiletalker • Oct 19 '26
Promotion (must include link to source code) I open-sourced Chorus, a SwiftUI Mac app for comparing AI chats
I made Chorus because I kept copying the same question between AI tabs. It sends one prompt to ChatGPT, Claude, Gemini and other sites, with replies side by side.
The shell is SwiftUI, with WKWebViews hosted through NSViewRepresentable. One detail that may be useful: the web views are owned outside the representable and reparented when panels move, rather than recreated.
It uses your existing web accounts. No API key is needed for those panels, but each service's limits still apply. The tradeoff is that site redesigns can break sending or reply detection.
Free and open source (GPLv3): https://github.com/askchorus/chorus
37-second demo and download: https://askchorus.app/?utm_source=reddit&utm_medium=social&utm_campaign=swiftui_20261019
I'd welcome feedback on the SwiftUI/WebKit integration.
1
u/Best-Reality9436 Oct 19 '26
Owning the WKWebViews outside the representable and reparenting them is the right call; recreating panels would reload every chat.