Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

fix(macos): install the host together with the app again

leepokai35d715b522b8
diff --git a/README.md b/README.md
index c98d1e1c..d58de12c 100644
--- a/README.md
+++ b/README.md
@@ -90,7 +90,7 @@ brew install --cask leepokai/codync/codync
All three install the same signed, notarized app.
-Open Codync: its window asks you to **Install host** on first launch. The menu bar icon stays for quick access: **Pair iPhone…** shows the QR code.
+Open Codync: it sets up the host on first launch. **Open Codync** opens the full window; **Pair iPhone…** shows the QR code.
**iPhone** — [get Codync on the App Store](https://apps.apple.com/app/codync/id6760984418) (iOS 18+, free), then scan the QR code from **Pair iPhone…** on the Mac, the Linux app or `codync-host pair`.
diff --git a/apps/ios/Views/PairingView.swift b/apps/ios/Views/PairingView.swift
index 1abe0a4b..a02c358b 100644
--- a/apps/ios/Views/PairingView.swift
+++ b/apps/ios/Views/PairingView.swift
@@ -122,7 +122,7 @@ private struct InstallPage: View {
CommandBlock("brew install leepokai/codync/codync-host\ncodync-host install")
}
Text(os == .mac
- ? "Open Codync and click Install host in its window."
+ ? "Open Codync and it sets up the host on its own."
: "codync-host install keeps it running in the background.")
.font(.subheadline)
.foregroundStyle(Palette.secondary)
diff --git a/apps/macos/App/HostController.swift b/apps/macos/App/HostController.swift
index 2b21fb59..070769eb 100644
--- a/apps/macos/App/HostController.swift
+++ b/apps/macos/App/HostController.swift
@@ -221,13 +221,15 @@ final class HostController {
return
}
guard Self.devPort != nil || FileManager.default.fileExists(atPath: plistURL.path) else {
- // Installing is the user's call: the window shows the button.
- state = .notInstalled
+ // The app is the way to run the host on a Mac: set it up right away, unless the user took it out.
+ if UserDefaults.standard.bool(forKey: Self.uninstalledKey) { state = .notInstalled } else { install() }
return
}
connect()
}
+ /// Set by "Uninstall host service", so the next launch doesn't put the host back.
+ private static let uninstalledKey = "hostUninstalled"
private static let updateRestartKey = "hostRestartAfterAppUpdate"
/// `codync-host install` also routes Claude Code's status line through the host.
@@ -235,6 +237,7 @@ final class HostController {
guard !preparingForUpdate, !installingHost, let bin = binaryURL else { return }
installingHost = true
streamTask?.cancel()
+ UserDefaults.standard.set(false, forKey: Self.uninstalledKey)
state = .starting
Task {
defer { installingHost = false }
@@ -262,6 +265,7 @@ final class HostController {
func uninstall() {
guard let bin = binaryURL else { return }
streamTask?.cancel()
+ UserDefaults.standard.set(true, forKey: Self.uninstalledKey)
Task {
_ = await Self.run(bin, ["uninstall"])
if let local { accounts.detach(local.id) }
diff --git a/packaging/dmg/background.swift b/packaging/dmg/background.swift
index d9839264..df1626a9 100644
--- a/packaging/dmg/background.swift
+++ b/packaging/dmg/background.swift
@@ -42,7 +42,7 @@ func render(scale: CGFloat) -> NSBitmapImageRep {
.foregroundColor: NSColor(white: 0.15, alpha: 1),
])
title.draw(at: NSPoint(x: (size.width - title.size().width) / 2, y: size.height - 72))
- let hint = NSAttributedString(string: "Then open Codync and install the host from its window.", attributes: [
+ let hint = NSAttributedString(string: "Then open Codync. It sets up everything else.", attributes: [
.font: NSFont.systemFont(ofSize: 12),
.foregroundColor: NSColor(white: 0.45, alpha: 1),
])
diff --git a/web/app/components/features.tsx b/web/app/components/features.tsx
index 94fbfa9a..0a5deda0 100644
--- a/web/app/components/features.tsx
+++ b/web/app/components/features.tsx
@@ -5,7 +5,7 @@ import Reveal from "./reveal";
const agents = ["Claude Code", "Codex", "Cursor", "Gemini", "Copilot", "OpenCode", "Pi", "Grok Build"];
const platforms = [
- { icon: AppleLogo, title: "Mac", body: "A native chat window plus a menu bar icon. Installs the host in one click and pairs your phone." },
+ { icon: AppleLogo, title: "Mac", body: "A menu bar app with a native chat window. Pairs your phone and installs the host itself." },
{ icon: LinuxLogo, title: "Linux", body: "A GTK 4 / libadwaita app for the desktop, or just the host on a headless server or cloud VM." },
{ icon: Terminal, title: "Terminal", body: "A full terminal UI in the same binary, for SSH sessions and machines with no display." },
];