Skip to content

A tiny friend in your Mac's notch and on your iPhone that keeps an eye on your AI coding agents: Claude Code, Codex, Cursor, Gemini CLI, Antigravity and more. Approve from the notch or your Lock Screen.

Add a Homebrew cask for the macOS app

Espen457fbfc2599c
diff --git a/Casks/coucou.rb b/Casks/coucou.rb
new file mode 100644
index 00000000..ce29f4df
--- /dev/null
+++ b/Casks/coucou.rb
@@ -0,0 +1,25 @@
+cask "coucou" do
+ version "0.2.2"
+ sha256 "ba97333aa721500c16823306d057887aaddecb11adfd7626d9a40f6b09f26e89"
+
+ url "https://github.com/Louis-CFM/coucou/releases/download/v#{version}/Coucou.zip"
+ name "Coucou"
+ desc "Notch companion that keeps an eye on your AI coding agents"
+ homepage "https://github.com/Louis-CFM/coucou"
+
+ livecheck do
+ url :url
+ strategy :github_latest
+ end
+
+ depends_on macos: :sequoia
+
+ app "Coucou.app"
+
+ uninstall quit: "fr.louisraille.NotchBuddy"
+
+ zap trash: [
+ "~/Library/Application Support/NotchBuddy",
+ "~/Library/Preferences/fr.louisraille.NotchBuddy.plist",
+ ]
+end
diff --git a/README.md b/README.md
index 41f3c39b..b7212daf 100644
--- a/README.md
+++ b/README.md
@@ -144,6 +144,15 @@ The App Store build of the Mac app runs in Apple's sandbox, so a few features st
Everything else, troubleshooting included, is in [docs/IPHONE.md](docs/IPHONE.md).
+### Homebrew (macOS)
+
+```bash
+brew tap louis-cfm/coucou https://github.com/Louis-CFM/coucou
+brew install --cask coucou
+```
+
+Update with `brew upgrade --cask coucou`. It installs the same signed and notarized GitHub build as the download below.
+
### Download for macOS
1. Grab the latest `Coucou.zip` from [Releases](https://github.com/Louis-CFM/coucou/releases).
diff --git a/scripts/release.sh b/scripts/release.sh
index bd3fe4b6..03737878 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -171,3 +171,14 @@ gh release create "$TAG" "$ZIP" \
--notes "$NOTES"
echo "✓ $TAG released: https://github.com/Louis-CFM/coucou/releases/tag/$TAG"
+
+# ── 7. Homebrew cask ──────────────────────────────────────────────────────────
+# Casks/coucou.rb points at the zip just published: bump its version and hash.
+CASK="$REPO_ROOT/Casks/coucou.rb"
+SHA=$(shasum -a 256 "$ZIP" | cut -d' ' -f1)
+sed -i '' -e "s/^ version \".*\"/ version \"$VERSION\"/" -e "s/^ sha256 \".*\"/ sha256 \"$SHA\"/" "$CASK"
+git add "$CASK"
+git commit -m "Homebrew cask: $VERSION" -- "$CASK"
+git push origin HEAD:main \
+ || echo "warning: could not push the cask bump, push it to main yourself so brew upgrade picks up $VERSION" >&2
+echo "✓ Homebrew cask bumped to $VERSION"