# Android SillyTavern 酒館安裝教學

> 透過 Termux 在 Android 手機上部署 SillyTavern 酒館，並接入 LLMoxy 閘道使用 Claude 與 GPT。

### 安裝 Termux

從 F-Droid 或 GitHub 下載並安裝 Termux。

![安裝Termux](https://tw.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-01.png)

![Termux介面](https://tw.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-02.png)

### 更新軟體包

在 Termux 中更新軟體包：

```bash
pkg update && pkg upgrade
```

![更新軟體包](https://tw.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-03.png)

![更新完成](https://tw.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-04.png)

### 安裝 Git

```bash
pkg install git
```

![安裝Git](https://tw.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-05.png)

### 複製酒館倉庫

國外用戶使用 GitHub：

```bash
git clone https://github.com/SillyTavern/SillyTavern -b release
```

亞太地區用戶如果 GitHub 連線不穩定，使用 Gitee 鏡像：

```bash
git clone https://gitee.com/mirrors/sillytavern.git -b release
```

![複製酒館](https://tw.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-06.png)

### 進入目錄並安裝 Node.js

進入 SillyTavern 目錄並安裝 Node.js：

```bash
cd SillyTavern
```

```bash
pkg install nodejs
```

![進入目錄](https://tw.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-07.png)

![安裝nodejs](https://tw.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-08.png)

### 安裝依賴

```bash
npm install
```

![npm install](https://tw.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-09.png)

### 執行酒館

如果已在 SillyTavern 資料夾下，直接執行啟動指令碼：

```bash
cd SillyTavern
./start.sh
```

![執行酒館](https://tw.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-10.png)

![酒館啟動](https://tw.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-11.png)

> 如果無法跳轉或亂碼，請在瀏覽器中開啟： `http://127.0.0.1:8000`

### 設定 API

在 SillyTavern 中設定 LLMoxy：

- 點選設定，聊天補全來源選擇 **自訂（相容 OpenAI 協定）**
- 自訂端點 URL: `https://llmoxy.com/v1`
- API 金鑰: 填入您的權杖
- 模型名稱: `grok-4.7`
- 點選「取得可用模型」驗證設定

![設定步驟1](https://tw.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-12.png)

![設定步驟2](https://tw.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-13.png)

![設定步驟3](https://tw.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-14.png)

![設定步驟4](https://tw.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-15.png)

> **⚠️ 注意**
> 檢查設定時不要出現末尾空格！

本文是 https://tw.llmoxy.com/docs/client-tutorials/android-sillytavern 的 markdown 版本。
