From 1a6cf1f2da17329bc5aa397a4a04fdbba6d604a9 Mon Sep 17 00:00:00 2001 From: Chris Moriarty <1413232+cwmoriarty@users.noreply.github.com> Date: Sat, 17 Oct 2026 01:39:23 -0400 Subject: [PATCH] Add antigravity (ct) --- ct/antigravity.sh | 47 ++++++++++++++++++++++++++++++++++ install/antigravity-install.sh | 32 +++++++++++++++++++++++ json/antigravity.json | 44 +++++++++++++++++++++++++++++++ 3 files changed, 123 insertions(+) create mode 100755 ct/antigravity.sh create mode 100755 install/antigravity-install.sh create mode 100644 json/antigravity.json diff --git a/ct/antigravity.sh b/ct/antigravity.sh new file mode 100755 index 0000000000..ecfe011afa --- /dev/null +++ b/ct/antigravity.sh @@ -0,0 +1,47 @@ +#!/usr/bin/env bash +_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" +source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") +# Copyright (c) 2021-2026 community-scripts ORG +# Author: Chris Moriarty (cwmoriarty) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://antigravity.google/ + +APP="Antigravity" +var_tags="${var_tags:-ai;development;cli}" +var_cpu="${var_cpu:-2}" +var_ram="${var_ram:-2048}" +var_disk="${var_disk:-8}" +var_os="${var_os:-debian}" +var_version="${var_version:-13}" +var_arm64="${var_arm64:-yes}" +var_unprivileged="${var_unprivileged:-1}" + +header_info "$APP" +variables +color +catch_errors + +function update_script() { + header_info + check_container_storage + check_container_resources + + if [[ ! -f /usr/local/bin/agy ]]; then + msg_error "No ${APP} Installation Found!" + exit 1 + fi + + msg_info "Updating ${APP}" + agy update || curl -fsSL https://antigravity.google/cli/install.sh | bash -s -- --dir /usr/local/bin + msg_ok "Updated ${APP}" + msg_ok "Updated successfully!" + exit +} + +start +build_container +description + +msg_ok "Completed successfully!\n" +echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" +echo -e "${INFO}${YW}Access container via console or SSH and run: ${BGN}agy${CL}" diff --git a/install/antigravity-install.sh b/install/antigravity-install.sh new file mode 100755 index 0000000000..ee9b68f6d6 --- /dev/null +++ b/install/antigravity-install.sh @@ -0,0 +1,32 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2026 community-scripts ORG +# Author: Chris Moriarty (cwmoriarty) +# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE +# Source: https://antigravity.google/ + +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD apt install -y \ + curl \ + sudo \ + git \ + jq \ + tar \ + ca-certificates +msg_ok "Installed Dependencies" + +msg_info "Installing Antigravity CLI" +curl -fsSL https://antigravity.google/cli/install.sh | bash -s -- --dir /usr/local/bin +msg_ok "Installed Antigravity CLI" + +motd_ssh +customize +cleanup_lxc diff --git a/json/antigravity.json b/json/antigravity.json new file mode 100644 index 0000000000..ae691fa301 --- /dev/null +++ b/json/antigravity.json @@ -0,0 +1,44 @@ +{ + "name": "Antigravity", + "slug": "antigravity", + "categories": [ + 20 + ], + "date_created": "2026-10-17", + "type": "ct", + "updateable": true, + "privileged": false, + "architectures": [ + "amd64", + "arm64" + ], + "interface_port": null, + "documentation": "https://antigravity.google/docs", + "website": "https://antigravity.google/", + "repository": "https://antigravity.google/", + "logo": "https://antigravity.google/assets/image/antigravity-logo.png", + "description": "Antigravity is Google's agentic AI coding development platform and CLI (agy) for autonomous software engineering workflows.", + "install_methods": [ + { + "type": "default", + "script": "ct/antigravity.sh", + "resources": { + "cpu": 2, + "ram": 2048, + "hdd": 8, + "os": "Debian", + "version": "13" + } + } + ], + "default_credentials": { + "username": null, + "password": null + }, + "notes": [ + { + "text": "Antigravity is a terminal CLI tool. Access the container shell or connect via SSH and run 'agy' to initialize.", + "type": "info" + } + ] +}