MCPcopy Index your code
hub / github.com/CherryHQ/cherry-studio-app

github.com/CherryHQ/cherry-studio-app @v0.1.7

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.7 ↗ · + Follow
2,699 symbols 8,022 edges 637 files 320 documented · 12% updated 2d agov0.1.7 · 2026-02-27★ 3,522132 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

🍒 欢迎来到 Cherry Studio App

English | 中文

🍒 Cherry Studio App —— Cherry Studio 的官方移动版本,将强大的 LLMs(AI 大语言模型) 交互带到您的 iOS 和 Android 设备。

🌟 支持项目: 赞助 | 给仓库点个 Star!

✨ 主要特性

  • 多 LLM 提供商支持: (逐步集成) OpenAI, Gemini, Anthropic 等。
  • AI 助手 & 对话: 访问预设助手,进行流畅的多模型对话。
  • 移动优化: 专为 iOS/Android 设计,支持浅色/深色主题。
  • 核心工具: 会话管理,历史搜索,数据迁移。

🛠️ 技术栈

  • 框架: Expo React Native
  • 包管理器: Pnpm
  • UI: Tamagui
  • 路由: React Navigation
  • 状态管理: Redux Toolkit

🚀 开发

相关开发文档在 docs 文件夹中

  1. 克隆仓库

bash git clone https://github.com/CherryHQ/cherry-studio-app.git

  1. 进入目录

bash cd cherry-studio-app

  1. 安装依赖

bash pnpm install

  1. 生成数据库
npx drizzle-kit generate
  1. 构建 MCP Streamable Http
cd packages/react-native-streamable-http
npm install
npm run build
  1. 启动应用程序

iOS:

npx expo prebuild -p ios

cd ios # 添加自签证书

npx expo run:ios -d

Android:

npx expo prebuild -p android

cd android # 在 local.properties 中添加 Android SDK 路径

npx expo run:android -d

Android SDK 设置

Windows 用户:

sdk.dir=C:\\Users\\UserName\\AppData\\Local\\Android\\sdk

或 (适用于较新版本的 Android Studio / IntelliJ IDEA):

sdk.dir=C\:\\Users\\USERNAME\\AppData\\Local\\Android\\sdk

其中 USERNAME 是您的电脑用户名。同时,请确保文件夹名为 sdk 或 Sdk。

示例:

sdk.dir=C:\\Users\\USERNAME\\AppData\\Local\\Android\\sdk

或:

sdk.dir=C\:\\Users\\USERNAME\\AppData\\Local\\Android\\Sdk

Mac 用户:

sdk.dir = /Users/USERNAME/Library/Android/sdk

其中 USERNAME 是您的 OSX 用户名。

您也可以在路径中使用环境变量,例如:

export ANDROID_HOME=/Users/$(whoami)/Library/Android/sdk
export PATH="$PATH:$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools"

Linux (Ubuntu) 用户:

sdk.dir = /home/USERNAME/Android/Sdk

其中 USERNAME 是您的 Linux 用户名。

请使用实体设备或模拟器进行开发,请勿使用 Expo Go

Extension points exported contracts — how you extend this code

RequestTransformer (Interface)
(no doc) [4 implementers]
src/aiCore/legacy/clients/types.ts
ISheetPresentationService (Interface)
(no doc) [2 implementers]
src/componentsV2/features/Sheet/ModelSheet/services/SheetPresentationService.ts
UniwindConfig (Interface)
(no doc)
uniwind-types.d.ts
RNStreamableHTTPClientTransportOptions (Interface)
(no doc)
packages/react-native-streamable-http/src/index.ts
TextInputWrapperViewProps (Interface)
(no doc)
modules/text-input-wrapper/src/TextInputWrapper.types.ts
ExtractOptions (Interface)
(no doc)
modules/pdf-text-extractor/src/PdfTextExtractor.types.ts
ExtractResults (Interface)
(no doc)
src/types/extract.ts
ExtractResults (Interface)
(no doc)
src/utils/extract.ts

Core symbols most depended-on inside this repo

error
called by 393
src/services/LoggerService.ts
info
called by 241
src/services/LoggerService.ts
verbose
called by 170
src/services/LoggerService.ts
get
called by 165
src/services/PreferenceService.ts
set
called by 145
src/services/PreferenceService.ts
withContext
called by 141
src/services/LoggerService.ts
warn
called by 136
src/services/LoggerService.ts
has
called by 116
src/aiCore/legacy/middleware/builder.ts

Shape

Function 1,642
Method 518
Interface 421
Class 108
Enum 10

Languages

TypeScript100%

Modules by API surface

src/services/TopicService.ts50 symbols
src/services/ProviderService.ts46 symbols
src/types/error.ts45 symbols
src/services/AssistantService.ts39 symbols
src/componentsV2/features/ChatScreen/MessageInput/services/MessageInputService.ts37 symbols
src/types/chunk.ts36 symbols
src/services/McpService.ts33 symbols
src/config/models/reasoning.ts33 symbols
src/services/mcp/oauth/MobileOAuthProvider.ts31 symbols
src/screens/home/markdown/__mocks__/markdownTestData.ts30 symbols
src/services/WebSearchProviderService.ts28 symbols
src/aiCore/legacy/clients/anthropic/AnthropicAPIClient.ts27 symbols

Dependencies from manifests, versioned

@ai-sdk/amazon-bedrock3.0.53 · 1×
@ai-sdk/anthropic2.0.44 · 1×
@ai-sdk/cerebras1.0.31 · 1×
@ai-sdk/gateway2.0.9 · 1×
@ai-sdk/google2.0.38 · 1×
@ai-sdk/google-vertex3.0.62 · 1×
@ai-sdk/huggingface0.0.8 · 1×
@ai-sdk/mistral2.0.23 · 1×
@ai-sdk/openai2.0.64 · 1×
@ai-sdk/perplexity2.0.17 · 1×
@ai-sdk/xai2.0.31 · 1×
@anthropic-ai/sdk0.51.0 · 1×

For agents

$ claude mcp add cherry-studio-app \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact