← Commit history

Initial commit: app/adom-gchat

Kyle Bergstedt ·f3f2bdee4a ·4mo ago
2 files changed +112
README.mdadded+62
@@ -0,0 +1,62 @@+# adom-gchat — Google Chat CLI++Post messages to Google Chat spaces from any Adom container. Webhook-based,+no OAuth needed. Each org customizes it for their own Google Workspace.++## Install++```bash+curl -fsSL https://wiki-ufypy5dpx93o.adom.cloud/static/apps/adom-gchat/adom-gchat \+  -o /tmp/adom-gchat && chmod +x /tmp/adom-gchat \+  && sudo install -m 0755 /tmp/adom-gchat /usr/local/bin/adom-gchat \+  && adom-gchat install+```++## Usage++```bash+# Send a message+adom-gchat send --space engineering "deploy complete, all tests green"++# Preview without posting+adom-gchat send --space engineering --dry-run "does this look right?"++# Threaded reply+adom-gchat send --space engineering --thread deploy-v2 "hotfix landed"++# List configured spaces+adom-gchat spaces++# Check connectivity+adom-gchat health+```++## Setting up for your org++1. Open your Google Chat space > Settings > Apps & integrations > Webhooks+2. Create a webhook — name it "Kel", use this avatar URL:+   `https://wiki-ufypy5dpx93o.adom.cloud/static/apps/adom-gchat/kel-avatar.png`+3. Copy the webhook URL Google gives you+4. Run `adom-gchat setup` and paste the URL when prompted+5. Test: `adom-gchat send --space <name> --dry-run "hello from our org"`+6. Post for real: `adom-gchat send --space <name> "hello world"`++## Share with your team++Once your org is set up, share it so your teammates get auto-discovery:++```bash+adom-gchat publish --org <your-org-name>+```++This creates an org-scoped wiki page. Your teammates install `adom-gchat`,+and the org config auto-discovers for them — they just type "post to chat"+and Claude knows what to do.++## How it works++The CLI reads webhook URLs from `~/.config/gchat-webhooks.json` and POSTs+plain text (with Google Chat markdown) to Google's incoming webhook API.+No server, no OAuth, no open ports. The webhook URL is the only credential.++Every message is attributed: `*OrgName (on behalf of username)* message`.
page.jsonadded+50
@@ -0,0 +1,50 @@+{+  "schema_version": 1,+  "type": "app",+  "slug": "adom-gchat",+  "title": "adom-gchat — Google Chat CLI",+  "brief": "Post to Google Chat from any Adom container. Webhook-based, org-customizable. Each org configures their own spaces, then publishes an org-scoped wiki page so their teammates auto-discover it.",+  "version": "0.1.0",+  "tags": [],+  "license": "MIT",+  "sample_prompts": [+    {+      "label": "Post to chat",+      "prompt": "adom-gchat send --space engineering 'deploy complete'"+    },+    {+      "label": "List spaces",+      "prompt": "adom-gchat spaces"+    },+    {+      "label": "Test message",+      "prompt": "adom-gchat send --space kel --dry-run 'test message'"+    },+    {+      "label": "Set up gchat",+      "prompt": "adom-gchat setup"+    }+  ],+  "install": {+    "binary_name": "adom-gchat",+    "install_dir": "",+    "install_hint": "",+    "version_cmd": ""+  },+  "readme": "# adom-gchat — Google Chat CLI\n\nPost messages to Google Chat spaces from any Adom container. Webhook-based,\nno OAuth needed. Each org customizes it for their own Google Workspace.\n\n## Install\n\n```bash\ncurl -fsSL https://wiki-ufypy5dpx93o.adom.cloud/static/apps/adom-gchat/adom-gchat \\\n  -o /tmp/adom-gchat && chmod +x /tmp/adom-gchat \\\n  && sudo install -m 0755 /tmp/adom-gchat /usr/local/bin/adom-gchat \\\n  && adom-gchat install\n```\n\n## Usage\n\n```bash\n# Send a message\nadom-gchat send --space engineering \"deploy complete, all tests green\"\n\n# Preview without posting\nadom-gchat send --space engineering --dry-run \"does this look right?\"\n\n# Threaded reply\nadom-gchat send --space engineering --thread deploy-v2 \"hotfix landed\"\n\n# List configured spaces\nadom-gchat spaces\n\n# Check connectivity\nadom-gchat health\n```\n\n## Setting up for your org\n\n1. Open your Google Chat space > Settings > Apps & integrations > Webhooks\n2. Create a webhook — name it \"Kel\", use this avatar URL:\n   `https://wiki-ufypy5dpx93o.adom.cloud/static/apps/adom-gchat/kel-avatar.png`\n3. Copy the webhook URL Google gives you\n4. Run `adom-gchat setup` and paste the URL when prompted\n5. Test: `adom-gchat send --space <name> --dry-run \"hello from our org\"`\n6. Post for real: `adom-gchat send --space <name> \"hello world\"`\n\n## Share with your team\n\nOnce your org is set up, share it so your teammates get auto-discovery:\n\n```bash\nadom-gchat publish --org <your-org-name>\n```\n\nThis creates an org-scoped wiki page. Your teammates install `adom-gchat`,\nand the org config auto-discovers for them — they just type \"post to chat\"\nand Claude knows what to do.\n\n## How it works\n\nThe CLI reads webhook URLs from `~/.config/gchat-webhooks.json` and POSTs\nplain text (with Google Chat markdown) to Google's incoming webhook API.\nNo server, no OAuth, no open ports. The webhook URL is the only credential.\n\nEvery message is attributed: `*OrgName (on behalf of username)* message`.\n",+  "author": {+    "id": "695820315b5f1e4db2fcf602",+    "name": "Kyle Bergstedt",+    "email": "[email protected]"+  },+  "visibility": {+    "public": true+  },+  "hero": null,+  "discovery_triggers": [],+  "discovery_pitch": null,+  "metadata": {},+  "created_at": "2026-05-28T05:28:48.023Z",+  "updated_at": "2026-05-28T05:28:48.023Z",+  "skills": []+}\ No newline at end of file