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.
Swift ai-agentsanthropicantigravityclaudeclaude-codecodexcursordynamic-islandgemini-cliiosiphonlinuxmacosmacos-appmenubar-appnotchopen-sourceswiftswiftuiwindows
# Maintainer: FabioLukas123
# Coucou for Arch Linux — built from the Tauri app in windows/, which runs on
# Windows and Linux alike.
pkgname=coucou-git
_pkgname=coucou
pkgver=0.5.8
pkgrel=1
pkgdesc="Mochi lives at the top of your screen and keeps an eye on your Claude Code sessions"
arch=('x86_64' 'aarch64')
url="https://github.com/Louis-CFM/coucou"
license=("MIT" "LicenseRef-coucou-assets")
depends=(
'webkit2gtk-4.1'
'gtk3'
'gtk-layer-shell'
'libayatana-appindicator'
'gst-plugins-base'
'gst-plugins-good'
'dbus'
'alsa-lib'
'xdg-utils'
'hicolor-icon-theme'
)
optdepends=(
'gnome-keyring: store API keys (or any other Secret Service provider)'
'kwallet: store API keys (or any other Secret Service provider)'
'speech-dispatcher: « OK Coucou » answers out loud where the webview has no voice'
'espeak-ng: « OK Coucou » answers out loud where the webview has no voice'
)
makedepends=('git' 'cargo' 'nodejs' 'npm')
provides=("$_pkgname")
conflicts=("$_pkgname")
# makepkg's default LTO and debug flags make the Rust build very slow.
options=('!lto' '!debug')
source=("$_pkgname::git+https://github.com/Louis-CFM/coucou.git")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
local v
v=$(sed -n 's/^version = "\(.*\)"/\1/p' windows/Cargo.toml | head -1)
printf "%s.r%s.%s" "$v" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$_pkgname/windows"
export RUSTUP_TOOLCHAIN=stable
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
npm ci
}
build() {
cd "$_pkgname/windows"
export RUSTUP_TOOLCHAIN=stable
export CARGO_TARGET_DIR="$PWD/target"
# beforeBuildCommand builds the front end and the coucou-hook relay.
npx tauri build --no-bundle
}
package() {
cd "$_pkgname"
install -Dm755 windows/target/release/coucou "$pkgdir/usr/bin/coucou"
# Found next to the app, then copied into ~/.local/share/coucou/bin at launch.
install -Dm755 windows/target/release/coucou-hook "$pkgdir/usr/bin/coucou-hook"
install -Dm644 linux/arch/coucou.desktop "$pkgdir/usr/share/applications/fr.louisraille.coucou.desktop"
install -Dm644 windows/src-tauri/icons/32x32.png "$pkgdir/usr/share/icons/hicolor/32x32/apps/coucou.png"
install -Dm644 windows/src-tauri/icons/128x128.png "$pkgdir/usr/share/icons/hicolor/128x128/apps/coucou.png"
install -Dm644 windows/src-tauri/icons/[email protected] "$pkgdir/usr/share/icons/hicolor/256x256/apps/coucou.png"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 LICENSE-ASSETS.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE-ASSETS.md"
}