Skip to content

TUAN130294/antigravityallowlist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Antigravity Allow List Setup

🚀 One-command setup cho Antigravity Terminal Allow List trên Windows và macOS.

Cấu hình này cho phép:

  • Tự động chạy: Các lệnh an toàn như npm install, git status, docker ps...
  • ⏸️ Yêu cầu xác nhận: Các lệnh nguy hiểm như rm, del, Remove-Item...

🚀 Quick Install

Windows (PowerShell - Run as Administrator)

irm https://raw.githubusercontent.com/TUAN130294/antigravityallowlist/main/setup.ps1 | iex

Windows (CMD)

curl -o setup.bat https://raw.githubusercontent.com/TUAN130294/antigravityallowlist/main/setup.bat && setup.bat

macOS / Linux (Terminal)

curl -fsSL https://raw.githubusercontent.com/TUAN130294/antigravityallowlist/main/setup.sh | bash

📋 Allow List bao gồm (~230 lệnh)

Nhóm Lệnh ví dụ
NPM/PNPM/Yarn/Bun npm install, pnpm dev, yarn build, bun run
Git (read-only) git status, git log, git diff, git branch
File viewing cat, ls, dir, Get-Content, tree
Node/TypeScript node, tsc, tsx, eslint, prettier --check
Testing vitest, jest, playwright test, cypress run
Docker (read-only) docker ps, docker images, docker logs
Python python --version, pip list, pip show
System info whoami, hostname, systeminfo, ipconfig

⚠️ Lệnh KHÔNG trong Allow List (Luôn cần xác nhận)

Lệnh Lý do
rm, del, Remove-Item Xóa file/folder
git push, git reset --hard Thay đổi remote/history
prisma migrate, prisma db push Thay đổi database
npm uninstall Gỡ package
npx, pnpm dlx, bun x Chạy script tùy ý
prettier --write, eslint --fix Ghi đè file

📁 File Location

OS Path
Windows %APPDATA%\Antigravity\User\settings.json
macOS ~/Library/Application Support/Antigravity/User/settings.json
Linux ~/.config/Antigravity/User/settings.json

🔧 Manual Installation

Nếu script không hoạt động, bạn có thể:

  1. Download file settings.json từ repo này
  2. Copy vào đường dẫn tương ứng với OS của bạn
  3. Restart Antigravity

📝 License

MIT License - Free to use and modify.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors