GEO

AionUi:免费开源的Google Gemini图形界面,本地部署AI助手新选择

2026/1/23
AionUi:免费开源的Google Gemini图形界面,本地部署AI助手新选择
AI Summary (BLUF)

AionUi is a free, open-source desktop GUI for Google's Gemini CLI, enhancing AI interaction through an intuitive interface with local data storage, multi-session chat, file management, code diff view, and cross-platform support. (AionUi是一款免费开源的桌面应用程序,为Google Gemini CLI提供图形界面,通过直观的界面、本地数据存储、多会话聊天、文件管理和代码差异视图等功能提升AI交互体验,支持跨平台使用。)

综合介绍

AionUi is a free, open-source desktop application that provides a graphical user interface (GUI) for Google's Gemini CLI. This tool is designed to address the numerous inconveniences of using a command-line interface directly, thereby enhancing the user's interaction experience with AI. By combining the power of the command line with a modern, intuitive graphical interface, AionUi makes managing conversations, handling files, and performing multi-tasking operations significantly simpler and more efficient. The software runs locally, ensuring all conversation history and files are securely stored on the user's own computer, eliminating the risk of data loss. It not only supports seamless integration with Gemini AI but also incorporates many practical features for developers, such as a code diff view, drag-and-drop file upload, and project management, making it a powerful development aid. AionUi's goal is to evolve into a universal AI agent platform, with future plans to support more AI models and agents, allowing even non-technical users to easily leverage powerful artificial intelligence capabilities.

AionUi 是一款免费、开源的桌面应用程序,它为 Google 的 Gemini CLI 提供了一个图形用户界面(GUI)。这款工具旨在解决直接使用命令行界面的诸多不便,从而提升用户与 AI 的交互体验。通过将命令行的功能与现代化、直观的图形界面相结合,AionUi 让管理对话、处理文件和多任务操作变得更加简单高效。该软件是本地运行的,确保了所有对话历史和文件都能安全地保存在用户自己的电脑上,避免了数据丢失的风险。它不仅支持与 Gemini AI 的无缝集成,还为开发者设计了许多实用功能,例如代码差异视图、文件拖拽上传和项目管理,使其成为一个强大的开发辅助工具。AionUi 的目标是发展成一个通用的 AI 代理平台,未来计划支持更多的 AI 模型和代理,让普通用户也能轻松使用强大的人工智能功能。

核心功能特性

增强的聊天体验

Provides a modern chat interface, supports managing multiple independent conversations simultaneously, and permanently saves all chat history locally.

提供现代化的聊天界面,支持同时管理多个独立的对话,并且所有聊天记录都会被永久保存在本地。

文件与项目管理

Features a built-in visual file tree, allowing users to conveniently browse and select files, and add them to the chat context with one click. Supports drag-and-drop file uploads for processing.

内置可视化的文件树,用户可以方便地浏览和选择文件,并通过一键操作将其加入聊天上下文。支持拖拽上传文件进行处理。

代码差异视图

Offers a side-by-side comparison function, making it easy for developers to view and understand modifications in code files.

提供并排比较功能,方便开发者查看和理解代码文件的修改。

丰富的 Markdown 支持

Optimizes the rendering of code blocks and formatted text, resulting in clearer and more aesthetically pleasing content display.

优化了对代码块和格式化文本的渲染,内容展示更加清晰美观。

灵活的 API 配置

Users can configure their own Gemini API key directly within the application's settings interface.

用户可以直接在应用的设置界面中配置自己的 Gemini API 密钥。

多重身份验证支持

Supports three authentication methods: Gemini API Key, Google Cloud Vertex AI, and OAuth Personal Authentication.

支持 Gemini API 密钥、Google Cloud Vertex AI 和 OAuth 个人身份验证三种方式。

代理设置

Supports configuring HTTP proxies to adapt to usage environments with network restrictions.

支持配置 HTTP 代理,以适应有网络限制的使用环境。

跨平台支持

Provides installation packages for macOS and Windows systems.

提供适用于 macOS 和 Windows 系统的安装包。

使用指南

AionUi, as a locally run graphical tool, has a very straightforward installation and usage process. The following sections detail how to install, configure, and use its core features.

AionUi 作为一个本地运行的图形化工具,安装和使用流程都非常直接。下面将详细介绍如何安装、配置并使用它的各项核心功能。

安装与要求

Before starting, please ensure your computer meets the following basic requirements:

  • Node.js: Version 16.0.0 or higher is required. (Node.js: 版本需要 16.0.0 或更高。)
  • npm: Version 8.0.0 or higher is required. (npm: 版本需要 8.0.0 或更高。)
  • Google Gemini API Key: You need a valid Gemini API key to use AionUi. (Google Gemini API 密钥: 你需要一个有效的 Gemini API 密钥才能使用 AionUi。)

下载与安装

For regular users, the simplest way is to download the pre-packaged application directly from the project's release page:

  1. Visit the official release page for AionUi on GitHub.
  2. Download the corresponding version for your operating system. Currently, the official directly provides installation packages for macOS (Apple Silicon) and Windows.
  3. After downloading, simply extract and run it like any ordinary software.

对于普通用户,最简单的方式是直接从项目发布页面下载已经打包好的应用程序:

  1. 访问 AionUi 在 GitHub 上的官方发布页面。
  2. 根据你的操作系统下载对应的版本,目前官方直接提供了适用于 macOS (Apple Silicon) 和 Windows 的安装包。
  3. 下载后,像安装普通软件一样,解压并运行即可。

开发者安装(从源码构建)

If you are a developer and wish to compile or modify the code yourself, you can follow these steps:

  1. Clone the code repository locally:
    git clone https://github.com/office-sec/AionUi.git
    
  2. Enter the project directory:
    cd AionUi
    
  3. Install the required project dependencies:
    npm install
    
  4. Start the application for development and debugging:
    npm start
    

If you want to build an executable for a specific platform, you can use the following commands:

  • Build macOS (Apple Silicon) version: npm run build-mac --arch=arm64 (构建 macOS (Apple Silicon) 版本)
  • Build macOS (Intel) version: npm run build-mac --arch=x64 (构建 macOS (Intel) 版本)
  • Build Windows version: npm run build-win (构建 Windows 版本)

如果你是开发者,希望自己编译或修改代码,可以按照以下步骤操作:

  1. 克隆代码仓库到本地:git clone https://github.com/office-sec/AionUi.git
  2. 进入项目目录:cd AionUi
  3. 安装项目所需的依赖包:npm install
  4. 启动应用程序进行开发和调试:npm start
    如果你想为特定平台构建可执行文件,可以使用以下命令:
  • 构建 macOS (Apple Silicon) 版本: npm run build-mac --arch=arm64
  • 构建 macOS (Intel) 版本: npm run build-mac --arch=x64
  • 构建 Windows 版本: npm run build-win

核心功能操作指南

1. API 密钥配置

After launching AionUi for the first time, the primary task is to configure your AI model key.

  1. After opening the application, locate and click to enter the "Settings" interface.
  2. AionUi supports three different authentication methods. Choose according to your situation:
    • Gemini API Key: This is the most direct method. Paste your Gemini API key into the designated input box.
    • Vertex AI: If you use Google Cloud's Vertex AI service, you can select this option for configuration.
    • Personal Authentication: Connect via OAuth personal authentication.
  3. After configuration is complete, save the settings. The application can now communicate with Gemini AI.

初次启动 AionUi 后,首要任务是配置你的 AI 模型密钥。

  1. 打开应用后,找到并点击进入“设置” (Settings) 界面。
  2. AionUi 支持三种不同的身份验证方式,请根据你的情况选择:
    • Gemini API Key: 这是最直接的方式。将你的 Gemini API 密钥粘贴到指定输入框即可。
    • Vertex AI: 如果你使用 Google Cloud 的 Vertex AI 服务,可以选择此项进行配置。
    • Personal Authentication: 通过 OAuth 个人认证方式进行连接。
  3. 配置完成后,保存设置。应用现在已经可以和 Gemini AI 进行通信了。

2. 多会话聊天

AionUi's main interface closely resembles an instant messaging software, making chat interactions feel natural.

  • Create New Conversation: In the conversation list on the left side of the interface, there is usually a "New Conversation" or similar button. Click it to start a brand new, independent chat session.
  • Switch Conversations: You can see all historical conversations in the list on the left. Click on any one to load all the content of that conversation and continue the exchange.
  • Persistent Storage: You don't need to worry about losing records when closing the application. All conversation content is automatically saved on your local hard drive.

AionUi 的主界面非常像一个即时通讯软件,这让聊天交互变得自然。

  • 创建新对话: 在界面左侧的对话列表中,通常会有一个“新建对话”或类似的按钮,点击即可开启一个全新的、独立的聊天会话。
  • 切换对话: 你可以在左侧的列表中看到所有历史对话。点击任意一个,即可加载该对话的全部内容,并继续进行交流。
  • 持久化存储: 你不必担心关闭应用会丢失记录,所有的对话内容都会自动保存在你的本地硬盘上。

3. 文件管理与代码交互

This is the core highlight feature of AionUi as a developer tool.

  • File Tree View: The software interface integrates a file browser. You can directly open your project folder within AionUi, and the entire project's file structure will be clearly displayed in a tree diagram.
  • Add Files to Conversation: When you need AI to analyze a file or ask questions based on its content, simply find the file in the file tree and add its content to the current conversation's context via a right-click menu or click operation. This is much more convenient than manually using the @ command in the command line.
  • Drag-and-Drop Upload: If you need to process files not in the current project, you can directly drag and drop files from your desktop or file manager into AionUi's chat window. The application will automatically upload and process them.

这是 AionUi 作为开发者工具的核心亮点功能。

  • 文件树视图: 软件界面中集成了文件浏览器。你可以直接在 AionUi 中打开你的项目文件夹,整个项目的文件结构会以树状图的形式清晰地展示出来。
  • 将文件加入对话: 当你需要 AI 分析某个文件或基于其内容进行提问时,只需在文件树中找到该文件,通过右键菜单或点击操作,即可将其内容添加为当前对话的上下文。这比在命令行里手动使用 @ 命令要方便得多。
  • 拖拽上传: 如果你需要处理不在当前项目中的文件,可以直接将文件从桌面或文件夹管理器中拖拽到 AionUi 的聊天窗口里,应用会自动上传并处理。

4. 代码差异比较

When AI provides modification suggestions or refactors your code, clearly seeing the changes is crucial.

  • In the conversation with AI, if code modification suggestions are generated, AionUi can provide a "Code Diff View".
  • This view displays the original code and the modified code side-by-side, highlighting all added, deleted, or modified lines, making everything clear at a glance.

当 AI 提供了修改建议或重构了你的代码后,清晰地看到改动之处至关重要。

  • 在与 AI 的对话中,如果生成了代码修改建议,AionUi 可以提供一个“代码差异视图”。
  • 这个视图会并排显示原始代码和修改后的代码,并通过高亮来标出所有增加、删除或修改的行,让你一目了然。

5. 网络代理设置

If your network environment cannot directly access Google APIs, you can configure an HTTP proxy.

  • Also in the "Settings" interface, find the network or proxy-related configuration options.
  • Enter your HTTP proxy server address and port number, then save.

如果你的网络环境无法直接访问 Google API,可以配置 HTTP 代理。

  • 同样在“设置” (Settings) 界面中,找到网络或代理相关的配置选项。
  • 填入你的 HTTP 代理服务器地址和端口号,保存即可。

应用场景

  • Code Development: Serves as a programming assistant for developers to review code, provide refactoring suggestions, fix bugs, or generate code snippets based on requirements. (代码开发: 作为开发者的编程助手,可以用来审查代码、提供重构建议、修复程序错误,或者根据需求生成代码片段。)
  • Document Writing: Helps users quickly generate technical documentation, write project reports or summaries, automatically transforming code or project information into structured documents. (文档写作: 可以帮助用户快速生成技术文档、撰写项目报告或总结,将代码或项目信息自动转化为结构化的文档。)
  • Data Analysis: Assists with data processing and analysis, such as generating visualization suggestions or analysis reports based on provided data. (数据分析: 辅助进行数据处理和分析,例如根据提供的数据生成可视化建议或分析报告。)
  • Project Management: Provides help during the project planning phase, such as task breakdown, plan formulation, or progress tracking. (项目管理: 在项目规划阶段提供帮助,例如进行任务拆解、制定计划或跟踪进度。)
  • Learning Aid: Functions as a personal learning tool for answering knowledge questions, explaining complex concepts, or providing learning materials. (学习辅助: 作为个人学习工具,用于解答知识性问题、解释复杂概念或提供学习资料。)

常见问题解答

  • Is AionUi a cloud service or a local application? AionUi is a desktop application that runs entirely on your local computer. All chat records and file data are stored on your own device and are not uploaded to cloud servers, ensuring data privacy and security. (AionUi 是云服务还是本地应用?AionUi 是一款完全在本地电脑上运行的桌面应用程序。所有的聊天记录和文件数据都存储在你自己的设备上,不会上传到云端服务器,保证了数据的私密性和安全性。)
  • Is there a fee to use AionUi? The AionUi software itself is completely free and open-source. However, you need to have a Google Gemini API key. Calling Google's AI model services may incur costs, depending on Google's pricing strategy. (使用 AionUi 需要付费吗?AionUi 软件本身是完全免费且开源的。但是,你需要拥有一个 Google Gemini 的 API 密钥,调用 Google 的 AI 模型服务可能会产生费用,具体取决于 Google 的定价策略。)
  • Which AI models does AionUi support? Currently, AionUi is primarily designed for Gemini CLI, so it mainly supports Google's Gemini series models. However, according to its development plan, it will support binding more language models from different providers, such as Claude and GPT, in the future. (AionUi 支持哪些 AI 模型?目前,AionUi 的核心是为 Gemini CLI 设计的,因此主要支持 Google 的 Gemini 系列模型。但根据其发展规划,未来将支持绑定更多不同提供商的语言模型,如 Claude 和 GPT 等。)
  • On which operating systems can I use AionUi? The official directly provides pre-compiled versions for macOS (compatible with Apple Silicon chips) and Windows operating systems. Since it is built on Electron, it can theoretically also be run on Linux by building from source. (我可以在哪些操作系统上使用 AionUi?官方直接提供了适用于 macOS(兼容 Apple Silicon 芯片)和 Windows 操作系统的预编译版本。由于它是基于 Electron 构建的,理论上也可以在 Linux 上通过源码自行构建运行。)
  • Is this project still under active development? Yes, according to its GitHub page, AionUi has a clear future development roadmap. Its goal is to evolve into a universal AI agent platform, with plans to integrate browser agents and more third-party agents, making its features even more powerful. (这个项目还在积极开发中吗?是的,根据其 GitHub 页面显示,AionUi 有一个清晰的未来发展路线图。它的目标是进化为一个通用的 AI 代理平台,计划集成浏览器代理和更多第三方代理,使其功能更加强大。)
← 返回文章列表
分享到:微博

版权与免责声明:本文仅用于信息分享与交流,不构成任何形式的法律、投资、医疗或其他专业建议,也不构成对任何结果的承诺或保证。

文中提及的商标、品牌、Logo、产品名称及相关图片/素材,其权利归各自合法权利人所有。本站内容可能基于公开资料整理,亦可能使用 AI 辅助生成或润色;我们尽力确保准确与合规,但不保证完整性、时效性与适用性,请读者自行甄别并以官方信息为准。

若本文内容或素材涉嫌侵权、隐私不当或存在错误,请相关权利人/当事人联系本站,我们将及时核实并采取删除、修正或下架等处理措施。 也请勿在评论或联系信息中提交身份证号、手机号、住址等个人敏感信息。