app
Adom Google
Public Made by Adomby adom
Drive your whole Google Workspace from the terminal, run by your AI. Read Gmail, write Google Docs, build Google Sheets and Google Slides, search Google Drive, manage Google Calendar and Google Tasks, and post to Google Chat, plus any Google API and a zero-setup personal Gmail.
← Commit history
VERSIONadded+1@@ -0,0 +1 @@+0.8.4
install.sh+31−13@@ -1,23 +1,37 @@ #!/usr/bin/env bash-# adom-google installer — the open-source Google Workspace CLI + its skills. Runs via-# `adom-wiki pkg install adom/adom-google`. Ships with NO OAuth provider.+# adom-google installer — runs via `adom-wiki pkg install adom/adom-google`. #-# Skillpack layout: the MAIN skill is the repo-root SKILL.md (adom-google); sub-skills live-# under skills/<name>/SKILL.md (adom-google-onboarding). We install by COPYING real files-# (NO symlinks): binaries → ~/.local/bin, each skill → ~/.claude/skills/<name>/SKILL.md.+# The pkg tarball is a LEAN BOOTSTRAP (skills + docs + this script — no binaries,+# no images). The real CLIs are release assets, pulled from this package's OWN+# release version: the VERSION file ships next to this script and assets live at+# /download/<owner>/<slug>/<version>/<filename>+# There is no "latest" download alias on the wiki; pinning to our own VERSION+# means tarball and binary can never skew.+#+# Skillpack layout: MAIN skill = repo-root SKILL.md (adom-google); sub-skills live+# under skills/<name>/SKILL.md. Installed by COPYING real files (NO symlinks). set -euo pipefail HERE="$(cd "$(dirname "$0")" && pwd)" cd "$HERE" +VERSION="$(tr -d '[:space:]' < "$HERE/VERSION")"+BASE_URL="https://wiki.adom.inc/download/adom/adom-google/$VERSION" BIN_DIR="$HOME/.local/bin" SKILLS_DIR="$HOME/.claude/skills" mkdir -p "$BIN_DIR" "$SKILLS_DIR" -install_bin() { # copy bin/<name> → ~/.local/bin/<name> (clears any old file OR symlink)- local name="$1"- rm -rf "$BIN_DIR/$name"- install -m 0755 "bin/$name" "$BIN_DIR/$name"- echo " bin → $BIN_DIR/$name"+fetch_bin() { # download $BASE_URL/<name> → ~/.local/bin/<name>+ local name="$1" dest="$BIN_DIR/$1"+ # Download to a temp file and rename over dest: writing directly onto a+ # RUNNING binary fails with ETXTBSY (curl exit 23); rename(2) replaces a+ # busy executable cleanly.+ local tmp="$dest.tmp.$$"+ trap 'rm -f "$tmp"' RETURN+ curl -fsSL "$BASE_URL/$name" -o "$tmp"+ chmod +x "$tmp"+ rm -rf "$dest" # clear any old file OR symlink+ mv -f "$tmp" "$dest"+ echo " bin → $dest" } install_skill() { # install_skill <install-name> <source SKILL.md path>@@ -29,18 +43,22 @@ install_skill() { # install_skill <install-name> <source SKILL.md path> echo " skill → $SKILLS_DIR/$name/SKILL.md" } -echo "[adom-google] installing (copies, not symlinks)…"-install_bin adom-google-install_bin adom-gmail # deprecation shim → adom-google+echo "[adom-google] installing v$VERSION (binaries from wiki release assets)…"+fetch_bin adom-google+fetch_bin adom-gmail # deprecation shim → adom-google install_skill adom-google SKILL.md # MAIN skill (repo root) install_skill adom-google-onboarding skills/adom-google-onboarding/SKILL.md # sub-skill +INSTALLED_VER="$("$BIN_DIR/adom-google" --version 2>/dev/null | awk '{print $NF}' || echo '?')"+echo " adom-google --version → $INSTALLED_VER"+ case ":$PATH:" in *":$HOME/.local/bin:"*) ;; *) echo "[adom-google] NOTE: $HOME/.local/bin is not on PATH — add it to your shell rc." ;; esac echo "✅ adom-google installed (main skill + onboarding sub-skill). It ships with NO OAuth provider — set one up:"+echo " • personal @gmail / any org (zero setup): adom-google connect-personal (Adom's hosted Connector)" echo " • new org (self-serve): adom-google onboard (the AI drives your browser through Google setup)" echo " • self-host (manual): adom-google provider set --gateway https://your-gateway --client-id <id>" echo " • Adom staff: adom-wiki pkg install adom/adom-google-adom (drops the Adom provider)"
package.json+5−15@@ -1,9 +1,9 @@ { "slug": "adom-google",- "version": "0.8.3",+ "version": "0.8.4", "type": "app", "license": "MIT",- "description": "Drive your whole Google Workspace from the terminal — Gmail, Contacts, Drive, Sheets, Docs, Slides, Calendar, Tasks, Google Chat, plus a generic `api` passthrough to hit ANY Google API. Connect a personal @gmail (or another org's Google account) with ZERO setup via Adom's hosted Connector (`adom-google connect-personal`), or bring your own token-broker gateway (`provider set`) — Adom staff use the private adom-google-adom provider. One-click OAuth, no client secret on your machine.",+ "description": "Drive your whole Google Workspace from the terminal \u2014 Gmail, Contacts, Drive, Sheets, Docs, Slides, Calendar, Tasks, Google Chat, plus a generic `api` passthrough to hit ANY Google API. Connect a personal @gmail (or another org's Google account) with ZERO setup via Adom's hosted Connector (`adom-google connect-personal`), or bring your own token-broker gateway (`provider set`) \u2014 Adom staff use the private adom-google-adom provider. One-click OAuth, no client secret on your machine.", "keywords": [ "adom-google", "google-workspace",@@ -32,7 +32,7 @@ "hero": { "path": "screenshots/hero-grid-v4.png" },- "discovery_pitch": "Drive your whole Google Workspace from the terminal through your AI — read Gmail (and its attachments), search Drive, build Sheets/Docs/Slides, manage Calendar & Tasks, and post to Google Chat as yourself. One OAuth, any Google API.",+ "discovery_pitch": "Drive your whole Google Workspace from the terminal through your AI \u2014 read Gmail (and its attachments), search Drive, build Sheets/Docs/Slides, manage Calendar & Tasks, and post to Google Chat as yourself. One OAuth, any Google API.", "discovery_triggers": [ "read my gmail", "read my email",@@ -70,26 +70,16 @@ "uninstall": "./uninstall.sh" }, "files": [- "bin/adom-google",- "bin/adom-gmail", "SKILL.md", "skills/adom-google-onboarding/SKILL.md", "README.md", "LICENSE", "MIGRATION.md", "provider.example.json",- "docs/enable-apis.png",- "docs/chat-reads-email.png",- "docs/onboard-1-plan.png",- "docs/onboard-2-enable-apis.png",- "docs/onboard-3-redirect-uri.png",- "docs/onboard-4-authorized.png",- "screenshots/hero.png", "install.sh", "uninstall.sh", "package.json",- "screenshots/hero-logos-v3.png",- "screenshots/hero-grid-v4.png"+ "VERSION" ], "sample_prompts": [ {@@ -117,4 +107,4 @@ "prompt": "post to Google Chat that the boards shipped" } ]-}+}
page.json+2−12@@ -4,7 +4,7 @@ "slug": "adom-google", "title": "Adom Google", "brief": "Drive your whole Google Workspace from the terminal — Gmail, Drive, Sheets, Docs, Slides, Calendar, Tasks, Chat + any Google API.",- "version": "0.8.3",+ "version": "0.8.4", "visibility": "public", "install": { "binary_name": "adom-google"@@ -114,26 +114,16 @@ "uninstall": "./uninstall.sh" }, "files": [- "bin/adom-google",- "bin/adom-gmail", "SKILL.md", "skills/adom-google-onboarding/SKILL.md", "README.md", "LICENSE", "MIGRATION.md", "provider.example.json",- "docs/enable-apis.png",- "docs/chat-reads-email.png",- "docs/onboard-1-plan.png",- "docs/onboard-2-enable-apis.png",- "docs/onboard-3-redirect-uri.png",- "docs/onboard-4-authorized.png",- "screenshots/hero.png", "install.sh", "uninstall.sh", "package.json",- "screenshots/hero-logos-v3.png",- "screenshots/hero-grid-v4.png"+ "VERSION" ], "org": "adom" }