> For the complete documentation index, see [llms.txt](https://docs.cherryai.com.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherryai.com.cn/docs/zhong-wen-fan-ti/cherry-studio/preview/app.md).

# 小程式

【小程序】令網頁服務同本地安裝嘅小工具喺 Cherry Studio 入面運行。除咗打開各家 AI 廠商嘅網頁版，你亦可以安裝自訂嘅生成式小程序，等佢透過授權介面調用 Cherry Studio 已配置嘅 AI 模型。

### 先分清兩類小程序

| 類型    | 添加方式                          | 可唔可以調用 Cherry AI | 適合場景                                |
| ----- | ----------------------------- | ---------------- | ----------------------------------- |
| 網站    | 填寫名稱、URL 同 Logo               | 唔可以              | 將常用網站固定到 Cherry Studio，保留各網站自己嘅登入狀態 |
| 本地小程序 | 安裝 `.miniapp` 包，或者由開發者提供嘅網址安裝 | 可以，喺安裝時授權        | 自訂 AI 寫作、總結、翻譯、資訊提取同垂直工作流           |

{% hint style="info" %}
如果你要製作「可以調用 Cherry AI 嘅自訂小程序」，請使用【本地小程序】，而唔係淨係填 URL 嘅【網站】。完整教程見 [生成式小程序](/docs/zhong-wen-fan-ti/cherry-studio/preview/app/generative-mini-apps.md)。
{% endhint %}

### 進入小程序

{% stepper %}
{% step %}

### 打開啟動台

頂部 Tab 欄點擊 `+`，或者直接打開【啟動台】。
{% endstep %}

{% step %}

### 進入小程序

撳【小程序】應用圖示。
{% endstep %}

{% step %}

### 選擇服務

喺小程序網格入面揀需要打開嘅服務。
{% endstep %}
{% endstepper %}

<figure><img src="https://2742912793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-f2b42c0e0ef79d029f9c59adf8b2e7d6cde79da8%2Fapp-grid.png?alt=media" alt=""><figcaption><p>小程序網格，內置數十家服務；撳右上角 <code>+</code> 可添加任何網頁</p></figcaption></figure>

頁面中部有 **搜尋框**；右上角 `+` 用嚟添加自訂網頁，`☰` 打開【小程序顯示設定】。

### 設定

喺【設定】→【小程序】入面可以對小程序作出以下調整：

* **顯示 / 隱藏小程序**：可以左右拖動小程序去兩個區域，控制顯隱
* **排序小程序**：上下拖動可以對小程序排序
* **小程序區域篩選**：根據你嘅選擇，自動隱藏你無法存取嘅小程序
* **小程序快取數量**：如果同時打開嘅小程序數量超出呢個數量，就會有一部分小程序進入不活躍狀態

### 添加與管理

Cherry Studio 嘅小程序支援以下操作：

* **添加到啟動台**：將常用小程序加入啟動台，方便從 `+` 入口快速打開。可喺【設定】→【小程序】入面管理，或者對小程序圖示撳右鍵選擇 **添加到啟動台**
* **添加到側邊欄**：將常用小程序固定到左側邊欄，一鍵直達；撳右鍵小程序圖示即可選擇 **添加到側邊欄** 或者 **由側邊欄移除**
* **保活（Keep Alive）**：令小程序視窗切走時唔會即刻銷毀，再次進入唔使重新登入或者重新載入
* **添加網站**：撳頁面右上角嘅 `+`，喺【網站】入面填寫名稱、URL、Logo，即可加入網格
* **安裝本地小程序**：撳頁面右上角嘅 `+`，切換到【本地小程序】，選擇 `.miniapp` 包，或者填寫開發者提供嘅安裝網址。確認權限後完成安裝
* **查看本地小程序詳情**：對本地小程序撳右鍵，選擇【查看詳情】，可以管理權限、AI 模型、儲存空間、活動日誌同更新
* **刪除 / 編輯**：網站型小程序可以撳右鍵編輯或者刪除；本地小程序可以喺【查看詳情】入面卸載

打開某個小程序之後，佢個視窗會自帶一條工具列：**後退**、**前進**、**刷新**、**喺瀏覽器中打開**。你亦可以切換頁內連結係喺預設視窗打開，定係喺系統瀏覽器打開。

<figure><img src="https://2742912793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-798d18297be71f044e3e3662f05a1fc1ba09294a%2Fapp-popup-toolbar.png?alt=media" alt=""><figcaption><p>小程序視窗工具列：左側後退 / 前進 / 刷新，右側喺瀏覽器中打開、添加到啟動台、頁內連結打開方式</p></figcaption></figure>

### 提示同技巧

* 網站型小程序使用服務嘅網頁版，登入狀態、Cookie、設定都保存在本地，並同系統瀏覽器隔離
* 本地小程序喺獨立沙盒中運行，唔可以讀取其他小程序或者電腦上任何檔案；只有你授權嘅能力先可以被調用
* 如果某個小程序載入失敗，可以撳右鍵 → 刷新，或者檢查代理設定（參考 [常規設定](/docs/zhong-wen-fan-ti/pre-basic/settings/general.md)）

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>生成式小程序</strong></td><td>製作、安裝同管理可以調用 Cherry AI 嘅自訂小程序</td><td><a href="/docs/zhong-wen-fan-ti/cherry-studio/preview/app/generative-mini-apps.md">生成式小程式</a></td></tr></tbody></table>

如有問題，請喺 [反饋與建議](/docs/zhong-wen-fan-ti/question-contact/suggestions.md) 入面提交反饋。

***

### 取得幫助同提交反饋

如果你喺配置或者使用過程中遇到任何疑問、Bug，或者有功能改進建議，請參考 [反饋與建議](/docs/zhong-wen-fan-ti/question-contact/suggestions.md) 入面提供嘅官方渠道。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.cherryai.com.cn/docs/zhong-wen-fan-ti/cherry-studio/preview/app.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
