A curated collection of developer installation, maintenance, and automation scripts by @hhkmy.
Run any script instantly directly from your terminal using our short URL proxy (scripts.hhk.my.id):
# 🚀 Google Antigravity 2.0 (Agentic Desktop)
curl -fsSL https://scripts.hhk.my.id/antigravity | bash
# 🐹 Go Compiler & Version Manager
curl -fsSL https://scripts.hhk.my.id/go | bash
# ⚡ Hugo Extended Installer (with Sass/SCSS)
curl -fsSL https://scripts.hhk.my.id/gohugo | bash -s -- --extendedTip: You can pass command-line arguments to one-liners using
bash -s -- [OPTIONS]
(e.g.curl -fsSL https://scripts.hhk.my.id/antigravity | bash -s -- --check).
Fallback raw GitHub URL:https://raw.githubusercontent.com/hhkmy/scripts/main/<script>
-
🚀
antigravity
Robust installer & auto-updater for Google Antigravity 2.0 (Agentic Desktop) with dynamic manifest discovery, zero-dependency ASAR parsing, process protection, multi-resolution icon theme integration, and automated rollback.
👉 Usage Guide & Flags -
🐹
go
Lightweight Go Version Manager. Fetches official stable releases directly fromgo.dev, manages user-space installs, and seamlessly configures shell environments (bash,zsh,fish).
👉 Usage Guide -
⚡
gohugo
Fast installer and updater for Hugo static site generator supporting Standard, Extended (with Sass/SCSS), and Extended with Deploy releases.
👉 Usage Guide & Flags -
🌐
worker/
High-performance Edge Reverse Proxy poweringhttps://scripts.hhk.my.id. Features intelligent User-Agent routing, CLI catalog banners for terminal clients, and edge caching.
👉 Worker Guide
Automated installation and update tool for Google Antigravity 2.0 (Agentic Desktop) on Linux.
One-line command:
curl -fsSL https://scripts.hhk.my.id/antigravity | bashLocal execution:
# Check for updates only
./antigravity --check
# Install or update to latest version (User-space: ~/.local/share/antigravity)
./antigravity
# Install or update system-wide (Standard: /opt/Antigravity, requires sudo)
sudo ./antigravity --global
# Force reinstall current version
./antigravity --force
# Install specific version
./antigravity --version 2.19.1
# Restore previous backup (Rollback)
./antigravity --rollbackFeatures:
- Dual-Mode Installation (FHS Standard /opt or User-space): Supports system-wide standard installation (
/opt/Antigravity) via--globalor isolated non-root user installation (~/.local/share/antigravity). - External Tool & Manager Compatibility: Automatically synchronizes
resources/app/package.jsonloose metadata so tools like Antigravity-Manager and CLI switchers detect the version instantly without hanging. - Zero-Dependency Icon & Version Extraction: Directly parses
resources/app.asarusing standard library Python 3 to extract version info and high-res app icon without needingnpxornode. - System Icon Theme Integration: Auto-generates multi-resolution icons (16x16 up to 1024x1024) into
~/.local/share/icons/hicolor/(or/usr/share/icons/hicolor/) for crisp display across GNOME/KDE docks, taskbars, and Alt+Tab switchers. - Dynamic Manifest Discovery: Automatically queries active updater URL from local
app-update.ymland official Google Cloud Run endpoints. - Process & Socket Safety: Gracefully terminates running Antigravity processes (SIGTERM with clean timeout fallback) to prevent filesystem corruption and lockfile lingering.
- Automated Backup & Rollback: Archives existing installs to
antigravity-backups/and rolls back on failure. - Desktop & CLI Integration: Generates
.desktoplauncher with properStartupWMClass, hardenschrome-sandbox(SUID in global mode), and registers CLI symlinks/wrappers.
Quickly install or update the latest stable Go compiler.
One-line command:
curl -fsSL https://scripts.hhk.my.id/go | bashLocal execution:
chmod +x go
./goFeatures:
- Automatic architecture detection (
amd64,arm64,386,armv6l). - Non-root user space installation to
~/go(or/usr/localif run with sudo). - Automatically configures
GOROOTandPATHin~/.bashrc,~/.zshrc, or~/.config/fish/config.fish.
Installs or updates Hugo static site generator directly from official GitHub releases.
One-line command:
curl -fsSL https://scripts.hhk.my.id/gohugo | bash -s -- --extendedLocal execution:
chmod +x gohugo
# Interactive mode (Prompts for Normal, Extended, or Extended with Deploy)
./gohugo
# Non-interactive: Install Hugo Extended (recommended for Sass/SCSS)
./gohugo --extended
# Install Hugo Extended with Deploy features
./gohugo --withdeploy
# Force reinstall
./gohugo --forceThe worker/ directory contains the Cloudflare Worker running at https://scripts.hhk.my.id.
- Plain-Text Script Delivery: Serves files directly with
Content-Type: text/plain; charset=utf-8without requiring HTTP 302 redirects. - CLI Discovery: Running
curl https://scripts.hhk.my.iddisplays an interactive script catalog directly inside the terminal. - Web Redirect: Browsing to
https://scripts.hhk.my.idin a web browser redirects seamlessly to this GitHub repository. - Edge Caching: Built-in 5-minute CDN caching prevents upstream GitHub rate limits.
- CI/CD Deployment: Automatic deployment via
.github/workflows/deploy-worker.ymlon push.
This repository is licensed under the MIT License.