# Android SillyTavern Setup Tutorial

> Deploy SillyTavern on an Android phone via Termux, and connect to the LLMoxy gateway to use Claude and GPT.

### Install Termux

Download and install Termux from F-Droid or GitHub.

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

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

### Update Packages

Update packages in Termux:

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

![Update Packages](https://en.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-03.png)

![Update Complete](https://en.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-04.png)

### Install Git

```bash
pkg install git
```

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

### Clone the Tavern Repository

For users outside China, use GitHub:

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

For users in the Asia-Pacific region with unstable GitHub connections, use the Gitee mirror:

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

![Clone Tavern](https://en.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-06.png)

### Enter Directory and Install Node.js

Enter the SillyTavern directory and install Node.js:

```bash
cd SillyTavern
```

```bash
pkg install nodejs
```

![Enter Directory](https://en.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-07.png)

![Install Node.js](https://en.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-08.png)

### Install Dependencies

```bash
npm install
```

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

### Run the Tavern

If you are already in the SillyTavern folder, run the startup script directly:

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

![Run Tavern](https://en.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-10.png)

![Tavern Startup](https://en.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-11.png)

> If you cannot redirect or see garbled text, open in your browser: `http://127.0.0.1:8000`

### Configure API

Configure LLMoxy in SillyTavern:

- Click Settings, select **Custom (OpenAI-compatible)** as the chat completion source
- Custom endpoint URL: `https://llmoxy.com/v1`
- API Key: enter your token
- Model name: `grok-4.7`
- Click "Get available models" to verify the configuration

![Config Step 1](https://en.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-12.png)

![Config Step 2](https://en.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-13.png)

![Config Step 3](https://en.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-14.png)

![Config Step 4](https://en.llmoxy.com/docs-assets/migrated/tutorial-android-sillytavern/image-15.png)

> **⚠️ Note**
> Make sure there are no trailing spaces when checking the configuration!

This is the markdown version of https://en.llmoxy.com/docs/client-tutorials/android-sillytavern.
