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.

ci: keep the Homebrew cask template in packaging

leepokai0a80bc9174b7
diff --git a/.github/workflows/host.yml b/.github/workflows/host.yml
index 9c4386a6..7c9ec49a 100644
--- a/.github/workflows/host.yml
+++ b/.github/workflows/host.yml
@@ -154,7 +154,7 @@ jobs:
-e "0,/REPLACE_WITH_SHA256/s//$(sha linux-x86_64)/" \
packaging/homebrew/codync-host.rb > codync-host.rb
git clone https://x-access-token:${{ secrets.TAP_TOKEN }}@github.com/leepokai/homebrew-codync.git tap
- mkdir -p tap/Formula && cp codync-host.rb tap/Formula/
+ mkdir -p tap/Formula && cp codync-host.rb tap/Formula/ && cp packaging/homebrew/README.md tap/
cd tap
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
diff --git a/.github/workflows/release-macos.yml b/.github/workflows/release-macos.yml
index 5c6b17c0..c6ba1f43 100644
--- a/.github/workflows/release-macos.yml
+++ b/.github/workflows/release-macos.yml
@@ -159,39 +159,10 @@ jobs:
run: |
SHA=$(shasum -a 256 build/codync-macos.dmg | awk '{print $1}')
git clone https://x-access-token:${{ secrets.TAP_TOKEN }}@github.com/leepokai/homebrew-codync.git tap
- cat > tap/Casks/codync.rb << RUBY
- cask "codync" do
- version "${{ env.VERSION }}"
- sha256 "${SHA}"
-
- url "https://github.com/leepokai/Codync/releases/download/v#{version}/codync-macos.dmg"
- name "Codync"
- desc "Message your coding agents as bots from your phone, desktop or terminal"
- homepage "https://www.codync.dev/"
- auto_updates true
-
- depends_on macos: :sonoma
-
- app "Codync.app"
- binary "#{appdir}/Codync.app/Contents/MacOS/codync-host"
-
- # The app sets up the host service when it opens. Upgrades remove the service too;
- # Homebrew reopens the app afterwards, which sets it up again on the new version.
- uninstall early_script: {
- executable: "#{appdir}/Codync.app/Contents/MacOS/codync-host",
- args: ["uninstall"],
- must_succeed: false,
- },
- quit: "com.pokai.Codync"
-
- zap trash: [
- "~/.codync",
- "~/Library/Preferences/com.pokai.Codync.plist",
- ]
-
- caveats "Open Codync to start the host, then choose Pair iPhone… in the menu bar."
- end
- RUBY
+ mkdir -p tap/Casks
+ sed -e "s/^ version .*/ version \"${{ env.VERSION }}\"/" -e "s/REPLACE_WITH_SHA256/$SHA/" \
+ packaging/homebrew/codync.rb > tap/Casks/codync.rb
+ cp packaging/homebrew/README.md tap/
cd tap
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
diff --git a/README.md b/README.md
index 14d50585..dab89590 100644
--- a/README.md
+++ b/README.md
@@ -144,7 +144,7 @@ Data lives in `~/.codync`. The local bearer token authorizes loopback helpers an
| `docs/` | [Documentation index](docs/README.md) and [file structure](docs/architecture/file-structure.md) |
| `relay/` | Cloudflare Worker APNs relay with encrypted per-device tickets |
| `web/` | Website (Next.js static export, deployed on Vercel) |
-| `packaging/` | Homebrew formula template and `install.sh` (the curl installer) |
+| `packaging/` | Homebrew cask and formula templates (published to `leepokai/homebrew-codync` on release) and `install.sh` (the curl installer) |
Build, install, restart and full checks: [development guide](docs/guides/development.md).
diff --git a/packaging/homebrew/README.md b/packaging/homebrew/README.md
new file mode 100644
index 00000000..e990b7ff
--- /dev/null
+++ b/packaging/homebrew/README.md
@@ -0,0 +1,12 @@
+# homebrew-codync
+
+Homebrew tap for [Codync](https://github.com/leepokai/Codync): message the coding agents on your computer as bots from iPhone, Mac, Linux or the terminal.
+
+```sh
+brew install --cask leepokai/codync/codync # Mac app (the host ships inside)
+brew install leepokai/codync/codync-host # host only: Linux, headless Macs
+```
+
+Or without Homebrew: `curl -fsSL https://raw.githubusercontent.com/leepokai/Codync/main/packaging/install.sh | sh`
+
+Generated from [`packaging/homebrew`](https://github.com/leepokai/Codync/tree/main/packaging/homebrew) by the release workflows in the Codync repo; edit the templates there, not this repo.
diff --git a/packaging/homebrew/codync-host.rb b/packaging/homebrew/codync-host.rb
index 13dcfc60..9e7b4093 100644
--- a/packaging/homebrew/codync-host.rb
+++ b/packaging/homebrew/codync-host.rb
@@ -4,7 +4,7 @@
class CodyncHost < Formula
desc "Host that runs coding agents (Claude Code, Codex, Cursor…) as Codync bots"
homepage "https://www.codync.dev"
- version "2.0.0"
+ version "0.0.0"
license "MIT"
base = "https://github.com/leepokai/Codync/releases/download/v#{version}/codync-host"
diff --git a/packaging/homebrew/codync.rb b/packaging/homebrew/codync.rb
new file mode 100644
index 00000000..805c9a19
--- /dev/null
+++ b/packaging/homebrew/codync.rb
@@ -0,0 +1,34 @@
+# Homebrew cask template for the leepokai/homebrew-codync tap.
+# The release job in .github/workflows/release-macos.yml fills in the version and the
+# DMG's sha256 on every `v*` tag.
+cask "codync" do
+ version "0.0.0"
+ sha256 "REPLACE_WITH_SHA256"
+
+ url "https://github.com/leepokai/Codync/releases/download/v#{version}/codync-macos.dmg"
+ name "Codync"
+ desc "Message your coding agents as bots from your phone, desktop or terminal"
+ homepage "https://www.codync.dev/"
+ auto_updates true
+
+ depends_on macos: :sonoma
+
+ app "Codync.app"
+ binary "#{appdir}/Codync.app/Contents/MacOS/codync-host"
+
+ # The app sets up the host service when it opens. Upgrades remove the service too;
+ # Homebrew reopens the app afterwards, which sets it up again on the new version.
+ uninstall early_script: {
+ executable: "#{appdir}/Codync.app/Contents/MacOS/codync-host",
+ args: ["uninstall"],
+ must_succeed: false,
+ },
+ quit: "com.pokai.Codync"
+
+ zap trash: [
+ "~/.codync",
+ "~/Library/Preferences/com.pokai.Codync.plist",
+ ]
+
+ caveats "Open Codync to start the host, then choose Pair iPhone… in the menu bar."
+end