自制All in One安卓应用
本文最后更新于 2025-11-23,文章内容可能已经过时。
app-debug.apk
点击这里下载使用,仅限Android
源码地址



AiO - 您的全能移动工作站 / Your All-in-One Mobile Workstation
AiO 是一款面向开发者的强大一体化移动应用,旨在将最频繁的日常任务整合到一个高效、响应迅速的界面中。它是与 AI 服务交互、管理网页书签以及处理 SSH 连接的中心枢纽。
AiO is a powerful, developer-focused, all-in-one mobile application designed to streamline the most frequent daily tasks into a single, efficient, and responsive interface. It serves as a centralized hub for interacting with AI services, managing web bookmarks, and handling SSH connections.
核心功能 / Core Features
1. 聚合式 AI 平台 / Aggregated AI Platform
一个高度集成的 AI 浏览器,支持原生交互,而不仅仅是网页链接的集合。
A highly integrated AI browser that supports native interactions, not just a collection of web links.
多 AI 支持 / Multi-AI Support
通过简单的下拉菜单即时切换 Kimi、豆包、DeepSeek、Gemini、ChatGPT 等热门 AI 服务。
Instantly switch between popular AI services like Kimi, Doubao, Deepseek, Gemini, and ChatGPT via a simple dropdown menu.应用内无缝浏览 / Seamless In-App Browsing
所有 AI 服务均在应用 WebView 内加载,体验流畅统一,无需跳转到外部浏览器。
All AI services are loaded within the app's WebView for a smooth and unified experience, eliminating the need to switch to external browsers.文件与图片上传 / File and Image Upload
深度定制 WebView 与 Android 原生文件系统的桥接,轻松为 AI 模型提供上下文或执行图像识别任务。
Deeply customized to bridge the WebView with the native Android file system, allowing you to easily provide context or perform image recognition tasks with AI models.会话持久化 / Session Persistence
首次登录后保持各服务登录状态。
Stays logged in to services after the initial login.
2. 智能书签管理器 / Intelligent Bookmark Manager
不仅是书签列表,更是为专业场景设计的智能工具,支持内外网无缝切换。
More than just a bookmark list, this is a smart tool designed for professional use cases, supporting seamless transitions between internal and external networks.
双 URL 配置 / Dual URL Configuration
每个书签可保存外网地址与内网地址,并分别存储用户名/密码。
Each bookmark can store both an External URL and an Internal URL, along with dedicated credentials (username/password) for each.智能网络检测与自动登录 / Smart Network Detection & Auto-Login
点击书签时优先尝试内网地址;若不可达或未配置,则自动切换至外网地址,并自动填充凭据。
When a bookmark is clicked, the app first attempts to connect to the internal URL. If it's unreachable or not configured, it automatically switches to the external URL. Upon loading the page, it attempts to autofill saved credentials to simplify logins.数据持久化 / Data Persistence
所有书签通过 Jetpack DataStore 安全保存在本地,关闭应用后无丢失。
All bookmarks are securely saved on your device using Jetpack DataStore, ensuring no data loss after closing the app.
3. 全功能 SSH 终端 / Full-Fledged SSH Terminal
完整的移动 SSH 客户端核心,而不仅是连接列表。
A complete mobile SSH client core, not just a list of connections.
持久连接管理 / Persistent Connection Management
保存并管理 SSH 连接,包含名称、主机、端口、用户名、密码等设置,永久存储。
Save and manage SSH connections with dedicated settings for name, host, port, username, and password. All configurations are permanently stored.交互式智能终端 / Interactive & Intelligent Terminal
- 双主机支持 / Dual-Host Support
每个连接可配置外网主机与内网主机及对应端口。
Each SSH connection can have both an External Host and an Internal Host with corresponding ports. - 智能切换逻辑 / Smart-Switching Logic
发起连接时优先尝试内网主机;失败则自动无缝重试外网主机。
When you initiate a connection, the app intelligently tries the internal host first. If it fails, it automatically and seamlessly retries with the external host. - 真实交互 Shell / Real Interactive Shell
基于强大的JSch库建立带伪终端(PTY)的交互式 Shell,确保与服务器环境完全兼容。
Utilizes the robustJSchlibrary to establish a true interactive shell with a pseudo-terminal (PTY), ensuring full compatibility with server environments. - 整洁可读输出 / Clean & Readable Output
高效过滤复杂 ANSI 转义码,呈现干净、单色、高可读性的终端界面。
Effectively filters complex ANSI escape codes, presenting a clean, monochrome, and highly readable terminal interface.
- 双主机支持 / Dual-Host Support
4. 强大数据中心 / Powerful Data Management Center
“关于”页面不仅是信息展示,更是备份与迁移的强力中枢。
The "About" page is not just for information; it's a powerful hub for data backup and migration.
一键导入/导出 / One-Click Import/Export
一键将所有书签与SSH 配置导出为单个 JSON 文件。
Export all your Bookmarks and SSH Configurations into a single JSON file with one click.轻松恢复与迁移 / Effortless Restore & Migration
选择此前导出的ai_box_config.json文件即可完整原子化恢复所有设置,换机零成本。
Simply select a previously exportedai_box_config.jsonfile to completely and atomically restore all your settings, making it incredibly easy to migrate data between devices.应用信息 / Application Info
显示应用版本、作者致谢、可点击的博客链接及捐赠二维码。
Displays app version, author credits, a clickable blog link, and a donation QR code.
架构与技术栈 / Architecture & Tech Stack
单一可信数据源 / Single Source of Truth
采用现代化集中式MainViewModel架构,核心数据首次启动即加载至内存,后续界面切换与交互极速流畅。
The app leverages a modern, centralizedMainViewModelarchitecture. All core data is loaded into memory on the first launch, making subsequent screen transitions and interactions incredibly fast and fluid.现代技术栈 / Modern Tech Stack
- UI:100% Jetpack Compose,Android 现代原生 UI 工具包。
UI: 100% built with Jetpack Compose, Android's modern toolkit for native UI. - 异步:基于 Kotlin 协程,高效响应后台任务。
Asynchronicity: Powered by Kotlin Coroutines for efficient and responsive background tasks. - 数据持久化:使用 Jetpack DataStore,可靠现代本地存储。
Data Persistence: Uses Jetpack DataStore for reliable and modern local data storage.
- UI:100% Jetpack Compose,Android 现代原生 UI 工具包。
健壮性 / Robustness
代码针对复杂现实难题工程化,包括 WebView 访问原生文件系统、处理 SSH 连接 PTY 请求、竞态条件及 ANSI 码过滤等。
The codebase is engineered to solve complex real-world challenges, including native file system access from WebView, and handling intricate SSH connection issues like PTY requests, race conditions, and ANSI code filtering.
作者 / Author
- Dr.Chen
- 博客 / Blog: https://blog.cclddk007.top