Running SillyTavern on Android
Recently, I came across SillyTavern. Since this tool generally doesn’t use locally deployed AI models, it’s quite suitable for playing on mobile phones. So I searched for tutorials online, tried it out myself, and found it quite simple. So I decided to write about it.
Install Termux
Termux is a Linux terminal emulator software, which can be understood as running a Linux system.
You can get it on Github. https://github.com/termux/termux-app/releases
Download the installation package corresponding to your Android architecture. Generally speaking, for newer phone systems, just download the arm64-v8a version from Android 7+.
Install Environment
Open your installed Termux, first use apt update and apt upgrade to update the packages. If it asks Y/N in the middle, always choose Y.
Next is Git and Node.js. Enter pkg install git and pkg install nodejs.
Then clone the SillyTavern repository. Enter git clone https://github.com/SillyTavern/SillyTavern.git.
Enter the SillyTavern directory and install dependencies. Enter cd SillyTavern and npm install.
Start Playing
Enter ./start.sh to run SillyTavern. In theory, it should automatically jump to the browser. If it doesn’t jump, manually visit 127.0.0.1:8000.
If you reopen Termux, you need to cd SillyTavern first.
About Another Way to Play
There is a very simple way to play SillyTavern on your phone, which is to run it on your computer and then access it from your phone.
First, modify config.yaml, where listen: true, and then add 192.168.*.* to whitelist (this should be self-explanatory, in some cases you may need to fill in something different).
On the phone, generally just use the computer’s IP address within the LAN, the port should default to 8000.
