Augment plugin cleaner v3.4 (Augment 插件清理工具) is professional multi-function tool integrating Augment plugin data cleaning and API domain optimization. Core features: thorough cleaning of Augment plugin all tracking data, API domain speed testing and hosts file optimization, proxy support (Clash, V2Ray, custom proxy), interactive main menu and command line dual modes, safety mode and dry-run preview, detailed reports and progress display, cross-platform compatible (Windows, macOS, Linux). Supported IDEs: IntelliJ IDEA, PyCharm, WebStorm, PhpStorm, RubyMine, CLion, DataGrip, GoLand, Rider, Android Studio, Cursor, VSCode (all versions). Cleaning range: config files (options directory Augment configs), plugin data (cache and data files), project data (.idea directory Augment files), cache files (temp and cache), registry items (Windows only), user data (.jetbrains and .augmentcode directories).
API domain optimization: tests d1-d20.api.augmentcode.com, concurrent testing 3 times per domain taking average, smart sorting showing fastest domain list, automatically selects top 5 fastest domains to optimize hosts. Installation: download pre-compiled version (.exe for Windows, chmod +x for Linux/macOS) or compile from source with Go. Usage modes: interactive main menu (no parameters, shows beautiful menu) or command line parameter mode (--help, --api-only, --skip-api, --dry-run, --verbose, --silent, --unsafe, --ide=NAME, --chat-only, --keep-settings). Proxy support: --proxy=clash (127.0.0.1:7890), --proxy=v2ray (127.0.0.1:1080), --proxy=custom:host:port. Verification: auto verification (residual file scan, config reset confirmation, cleaning statistics report, operation integrity check) and manual verification methods provided. Troubleshooting: IDE running detection error (close all JetBrains IDE), execution permission problem (chmod +x for Linux/macOS), administrator permission problem (run as admin on Windows, sudo on Linux/macOS), network connection problem (check network, try proxy mode). No license specified. Topics: augment, cleaner, cache, IDE, VSCode, Cursor, JetBrains.
Use Cases:
一款功能强大的 Augment 插件数据清理和 API 优化工具
Go Version (https://img.shields.io/badge/Go-1.23+-blue.svg) Platform (https://img.shields.io/badge/Platform-Windows%20%7C%20macOS%20%7C%20Linux-green.svg) License (https://img.shields.io/badge/License-MIT-yellow.svg)
Augment 插件清理工具是一款专业的多功能工具,集成了 Augment 插件数据清理 和 API 域名优化 两大核心功能。通过智能化的交互式菜单和丰富的命令行参数,为用户提供灵活、安全、高效的使用体验。
| ⚠️ 警告类型 | 说明 |
|---|---|
| 数据安全 | 清理操作不可逆,强烈建议创建备份 |
| 功能影响 | 插件需要重新初始化,可能需要重新登录 |
| 权限要求 | hosts 文件修改需要管理员权限 |
| IDE 状态 | 清理前必须关闭所有 JetBrains、Cursor、VSCode |
| 操作系统 | 最低版本 | 支持状态 |
|---|---|---|
| Windows | Windows 10+ | ✅ 完全支持 |
| macOS | macOS 10.14+ | ✅ 完全支持 |
| Linux | 主流发行版 | ✅ 完全支持 |
Windows 系统:
# 下载 augment-cleaner-windows-amd64.exe
# 直接双击运行或在命令行中执行
.\augment-cleaner-windows-amd64.exe
Linux 系统:
# 下载 augment-cleaner-linux-amd64
# 添加执行权限(重要!)
chmod +x augment-cleaner-linux-amd64
# 运行程序
./augment-cleaner-linux-amd64
macOS 系统:
# 下载 augment-cleaner-darwin-amd64
# 添加执行权限(重要!)
chmod +x augment-cleaner-darwin-amd64
# 运行程序
./augment-cleaner-darwin-amd64
⚠️ 重要提示: Linux 和 macOS 系统下载后必须先添加执行权限才能运行!
Windows 系统:
# 直接运行
.\augment-cleaner.exe
# 或者使用 go run
go run .
Linux/macOS 系统:
# 添加执行权限(重要!)
chmod +x augment-cleaner
# 运行程序
./augment-cleaner
# 或者使用 go run
go run .
本工具提供两种使用模式:
直接运行程序,无需任何参数:
# Windows
.\augment-cleaner.exe
# Linux/macOS
./augment-cleaner
程序将显示美观的主菜单:
🎯 请选择要执行的操作:
┌─────────────────────────────────────────────────────────────┐
│ 主菜单 │
├─────────────────────────────────────────────────────────────┤
│ 1. 🚀 只执行 API 测速和 hosts 优化 │
│ 2. 🧹 只执行 Augment 插件清理 │
│ 3. 🔄 执行完整流程(清理 + API 优化) │
│ 4. 🚪 退出程序 │
└─────────────────────────────────────────────────────────────┘
!Augment Logo (https://github.com/user-attachments/assets/fd697b25-649e-4ce8-988a-2ee5ccf02fb4)
适合自动化脚本和高级用户:
# 查看帮助
./augment-cleaner --help
# 只执行 API 优化
./augment-cleaner --api-only
# 只执行清理
./augment-cleaner --skip-api
# 干运行模式
./augment-cleaner --dry-run
| IDE | 支持状态 | 版本要求 |
|---|---|---|
| IntelliJ IDEA | ✅ 完全支持 | 所有版本 |
| PyCharm | ✅ 完全支持 | 所有版本 |
| WebStorm | ✅ 完全支持 | 所有版本 |
| PhpStorm | ✅ 完全支持 | 所有版本 |
| RubyMine | ✅ 完全支持 | 所有版本 |
| CLion | ✅ 完全支持 | 所有版本 |
| DataGrip | ✅ 完全支持 | 所有版本 |
| GoLand | ✅ 完全支持 | 所有版本 |
| Rider | ✅ 完全支持 | 所有版本 |
| Android Studio | ✅ 完全支持 | 所有版本 |
| Cursor | ✅ 完全支持 | 所有版本 |
| VSCode | ✅ 完全支持 | 所有版本 |
d1.api.augmentcode.com ~ d20.api.augmentcode.com| 代理类型 | 配置方式 | 说明 |
|---|---|---|
| Clash | --proxy=clash |
127.0.0.1:7890 |
| V2Ray | --proxy=v2ray |
127.0.0.1:1080 |
| 自定义 | --proxy=custom:host:port |
用户指定地址 |
| 无代理 | 默认或 --proxy=none |
直连模式 |
| 参数 | 说明 | 示例 |
|---|---|---|
-h, --help |
显示帮助信息 | ./augment-cleaner --help |
-v, --verbose |
详细输出模式 | ./augment-cleaner -v |
-d, --dry-run |
干运行模式(预览操作) | ./augment-cleaner --dry-run |
-s, --silent |
静默模式(无交互) | ./augment-cleaner --silent |
--unsafe |
非安全模式(更彻底清理) | ./augment-cleaner --unsafe |
--ide=NAME |
只清理指定IDE | ./augment-cleaner --ide=PyCharm |
--chat-only |
只清理聊天记录 | ./augment-cleaner --chat-only |
--keep-settings |
保留用户设置 | ./augment-cleaner --keep-settings |
| 参数 | 说明 | 示例 |
|---|---|---|
--api-only |
只执行API测速和hosts优化 | ./augment-cleaner --api-only |
--skip-api |
跳过API优化步骤 | ./augment-cleaner --skip-api |
--proxy=TYPE:ADDR |
指定代理配置 | ./augment-cleaner --proxy=clash |
# Clash 代理
--proxy=clash
# V2Ray 代理
--proxy=v2ray
# 自定义代理
--proxy=custom:127.0.0.1:1080
# 不使用代理
--proxy=none
📝 注意: 以下示例中的
./augment-cleaner在 Linux/macOS 系统下需要先执行chmod +x augment-cleaner添加执行权限
# 1. 交互式主菜单(推荐新手)
./augment-cleaner
# 2. 查看帮助信息
./augment-cleaner --help
# 3. 干运行模式(安全预览)
./augment-cleaner --dry-run
# 完整清理(推荐)
./augment-cleaner
# 只清理指定IDE
./augment-cleaner --ide=IntelliJIdea
# 只清理聊天记录
./augment-cleaner --chat-only
# 详细输出模式
./augment-cleaner --verbose
# 静默模式(适合脚本)
./augment-cleaner --silent --dry-run
# 只执行API优化
./augment-cleaner --api-only
# 使用Clash代理进行API优化
./augment-cleaner --api-only --proxy=clash
# 使用自定义代理
./augment-cleaner --api-only --proxy=custom:127.0.0.1:1080
# 干运行模式查看优化效果
./augment-cleaner --api-only --dry-run
# 清理但跳过API优化
./augment-cleaner --skip-api
# 详细模式 + 干运行
./augment-cleaner --verbose --dry-run
# 只清理PyCharm + 详细输出
./augment-cleaner --ide=PyCharm --verbose
# 完整流程 + Clash代理(推荐)
./augment-cleaner # 选择菜单选项3,然后选择Clash代理
程序内置验证功能,会自动检查:
Windows 系统:
# 检查配置目录
dir "%APPDATA%\JetBrains" /s | findstr augment
# 检查本地数据
dir "%LOCALAPPDATA%\JetBrains" /s | findstr augment
# 检查用户目录
dir "%USERPROFILE%\.augmentcode"
Linux/macOS 系统:
# 检查配置目录
find ~/.config/JetBrains -name "*augment*" 2>/dev/null
# 检查缓存目录
find ~/.cache/JetBrains -name "*augment*" 2>/dev/null
# 检查用户目录
ls -la ~/.augmentcode 2>/dev/null
🏆 最快的域名排行榜 (前10名):
┌────┬─────────────────────────────────────┬──────────┬─────────────────┐
│排名│ 域名 │ 延迟 │ IP │
├────┼─────────────────────────────────────┼──────────┼─────────────────┤
│ 1 │ d13.api.augmentcode.com │ 298ms │ 34.36.152.253 │
│ 2 │ d14.api.augmentcode.com │ 299ms │ 35.190.75.54 │
│ 3 │ d9.api.augmentcode.com │ 300ms │ 34.8.117.179 │
└────┴─────────────────────────────────────┴──────────┴─────────────────┘
# Windows
type C:\Windows\System32\drivers\etc\hosts | findstr Augment
# Linux/macOS
cat /etc/hosts | grep Augment
❌ 问题:检测到 JetBrains IDE 正在运行
✅ 解决方案:
1. 完全关闭所有 JetBrains IDE
2. 检查任务管理器/活动监视器中的相关进程
3. 如有必要,重启计算机
执行权限问题(Linux/macOS):
❌ 问题:Permission denied 或无法执行程序
✅ 解决方案:
chmod +x augment-cleaner # 添加执行权限
./augment-cleaner # 然后运行
管理员权限问题:
❌ 问题:无法修改 hosts 文件或删除某些文件
✅ 解决方案:
• Windows: 右键"以管理员身份运行"
• Linux/macOS: 使用 sudo 运行
sudo ./augment-cleaner
• 检查文件是否被其他程序占用
❌ 问题:API 测速失败或连接超时
✅ 解决方案:
1. 检查网络连接
2. 尝试使用代理模式
3. 确认防火墙设置
4. 检查 DNS 设置
❌ 问题:仍有残留文件
✅ 解决方案:
1. 使用 --verbose 模式查看详细信息
2. 尝试 --unsafe 模式进行更彻底清理
3. 手动检查和删除残留文件
4. 重新运行清理程序
如果遇到其他问题:
--help 获取详细参数说明--verbose 模式获取详细日志--dry-run 模式安全预览操作GitHub starred repository manager with AI-powered auto-sync, semantic search, automatic categorization, release tracking, one-click downloads, smart asset filters, bilingual wiki integration, and cross-platform Electron client for Windows/macOS/Linux with 100% local data storage and MIT license.
Build local AI agents that observe your screen, microphone and clipboard, process with local LLMs, and react with notifications, screen recording and memory. All data stays private. Works with Ollama and OpenAI.
PlayStation 3 emulator for Android 12+. Project discontinued at Alpha-7 and merged with RPCSX. Use RPCSX Android UI for continued development.
WeChat video channel downloader (微信视频号下载助手) built with Go and SunnyNet featuring one-click download, batch processing, automatic decryption, smart deduplication, web console at dongzuren.com/wx_channel with browse history/download records/queue management, CSV export, configurable cleanup, and responsive design with MIT license.
Claude Code and Codex multi-agent development system with 6-step dev workflow, 90% test coverage requirement, BMAD agile workflow, modular Python installation and MIT license.
Local LLM chatbot featuring 1990s Microsoft Office Clippy UI, running GGUF models via Llama.cpp/node-llama-cpp with one-click installation for Gemma3/Llama 3.2/Phi-4/Qwen3, automatic hardware acceleration (Metal/CUDA/Vulkan), custom model/prompt support, offline operation, and @electron/llm reference implementation with NOASSERTION license.