Antigravity Linux Package Repository π
Automated packaging pipeline and community repository (APT & RPM) for Google Antigravity components on Linux: Antigravity IDE, Antigravity 2.0 (Hub), and Antigravity CLI.
Since Google Antigravity 2.0, official distribution on Linux was reduced to standalone .tar.gz archives. This repository bridges that gap by continuously monitoring Googleβs official release endpoints, packaging native .deb and .rpm binaries, and serving them via GitHub Pages as an active APT & YUM/DNF repository.
π Highlights & Fixes
- Full Desktop & Browser URL Scheme Integration:
- Registers
x-scheme-handler/antigravityandx-scheme-handler/antigravity-ideso Google OAuth authentication in browsers smoothly redirects and launches the app.
- Registers
- Terminal Detachment & Cleaner Shell UX:
- Provides
/usr/bin/antigravity-ideand/usr/bin/agy-ide(matching macOS conventions) wired directly to Googleβs official CLI wrapper (cli.js). - Running
agy-ide .from the terminal launches the GUI and immediately returns0to your shell without spewing Chromium debug logs.
- Provides
- Automatic Official Changelogs:
- Scrapes
https://antigravity.google/docs/changelogon every release. - Injects release notes directly into RPM
%changelog, DEB packages, GitHub Releases, and the web portal.
- Scrapes
- Dual-Architecture Support:
- Packages both
x86_64(amd64) andaarch64(arm64).
- Packages both
π¦ Quick Installation
Ubuntu / Debian / Linux Mint / Pop!_OS (APT)
# 1. Add repository source list
echo "deb [trusted=yes] https://github.com/mozi1924/build-agy/releases/latest/download/ ./" | sudo tee /etc/apt/sources.list.d/antigravity.list
# 2. Update package list and install
sudo apt update
sudo apt install -y antigravity-ide antigravity antigravity-cli
Fedora / RHEL / CentOS Stream / Rocky Linux (DNF)
# 1. Add repository configuration
sudo tee /etc/yum.repos.d/antigravity.repo << 'EOF'
[antigravity]
name=Antigravity RPM Repository
baseurl=https://mozi1924.github.io/build-agy/rpm/$basearch/
enabled=1
gpgcheck=0
EOF
# 2. Install packages
sudo dnf install -y antigravity-ide antigravity antigravity-cli
openSUSE (Zypper)
sudo zypper addrepo --no-gpgcheck https://mozi1924.github.io/build-agy/rpm/\$basearch/ antigravity
sudo zypper refresh
sudo zypper install -y antigravity-ide antigravity antigravity-cli
π οΈ Repository Architecture & Workflow
build-agy/
βββ .github/
β βββ workflows/
β βββ build-repo.yml # CI/CD: periodic checks, package builds, Pages deployment
βββ scripts/
β βββ fetch_metadata.py # Scrapes CLI API, download page URLs, and changelog
β βββ extract_icons.py # Pure Python icon extraction from app.asar / code.png
β βββ build_packages.py # Builds DEB (dpkg-deb) and RPM (rpmbuild)
β βββ update_repo.py # Generates APT (Release/Packages) and RPM (createrepo_c)
β βββ generate_web.py # Generates GitHub Pages web portal (index.html)
β βββ publish_release.py # Creates GitHub Release with changelogs and assets
βββ templates/
β βββ antigravity.desktop # Desktop entry for Hub with URL scheme
β βββ antigravity-ide.desktop # Desktop entry for IDE
β βββ antigravity-ide-url-handler.desktop # Hidden URL scheme handler for OAuth
β βββ index.html.jinja # Web portal template
βββ versions.json # State tracking for built versions
π» Local Testing & Manual Build
# 1. Install dependencies (Fedora)
sudo dnf install -y createrepo_c rpm-build dpkg-dev python3-pip
pip install -r requirements.txt
# 2. Fetch metadata & check for updates
python3 scripts/fetch_metadata.py
# 3. Build a specific package or all
python3 scripts/build_packages.py -c cli -a x86_64
# 4. Generate local repository files in public/
python3 scripts/update_repo.py
python3 scripts/generate_web.py
π Disclaimer
This is an unofficial community project not affiliated with or endorsed by Google LLC. All trademarks and binary copyrights belong to their respective owners.