How to Set Up MegaNova Proxy on SillyTavern Mobile (Android / Termux Guide)

How to Set Up MegaNova Proxy on SillyTavern Mobile (Android / Termux Guide)
How to Set Up MegaNova Proxy on SillyTavern Mobile (Android / Termux Guide)

Running SillyTavern natively on Android gives you the full desktop power of complex character cards, lorebooks, and custom prompts right in your pocket. However, running heavy local LLMs on a phone isn't practical, and native commercial APIs can be heavily filtered or expensive.

That’s where MegaNova Proxy comes in. MegaNova offers optimized inference endpoints specifically tailored for creative writing and raw, unfiltered AI roleplay.
This comprehensive step-by-step guide will walk you through setting up SillyTavern Mobile via Termux on Android and connecting it seamlessly to MegaNova Proxy.

Prerequisites & Requirements

Before getting started, make sure you have:

  • An Android device (at least 4GB RAM recommended for smooth browser performance).
  • A stable Internet connection.
  • A MegaNova AI account to generate your API key.

Step 1: Install Termux Correctly

⚠️ Important Warning: DO NOT download Termux from the Google Play Store. The Play Store version is obsolete, unmaintained, and will throw package repository errors.
  1. Download the latest version of Termux from F-Droid or the official Termux GitHub Releases page.
  2. Install the APK on your device (allow installation from unknown sources if prompted).
  3. Open Termux, update the default repositories, and upgrade installed packages by executing:
pkg update && pkg upgrade -y

(If prompted with [Y/n], press Enter to accept defaults).

Step 2: Install Node.js, Git, and SillyTavern

To run SillyTavern on Termux, you need git (to clone the repository) and nodejs (to execute the server).

Termux will install necessary Node modules and run the local web server. Once you see a message stating SillyTavern is listening on [http://127.0.0.1:8000](http://127.0.0.1:8000), your app is up and running.

1. Install the required dependencies:
pkg install git nodejs -y

2. Clone the official SillyTavern repository:
git clone https://github.com/SillyTavern/SillyTavern.git

  1. Navigate to the SillyTavern directory and start the server:
cd SillyTavern
bash start.sh
  1. Open your preferred browser (Chrome, Firefox, Kiwi) and go to [http://127.0.0.1:8000](http://127.0.0.1:8000).

Step 3: Obtain Your MegaNova API Key

  1. Navigate to the MegaNova AI platform dashboard.
  2. Log into your account (or register a new one).
  3. Go to the API Keys section and click Generate New Key.
  4. Copy the key to your clipboard.

Step 4: Configure MegaNova Proxy in SillyTavern Mobile

Now that both SillyTavern and your key are ready, connect MegaNova as your custom Chat Completion endpoint.

  1. Open API Settings (SillyTavern Top Bar): In the SillyTavern mobile browser interface, tap the Plug Icon (API Connections) located in the top navigation bar.
  2. Set Connection Type (Chat Completion): Change the API dropdown menu from "Text Completion" or "OpenAI" to Chat Completion. Set the Chat Completion Source to Custom (OpenAI Compatible) or Reverse Proxy.
  3. Insert API Key & Connect (Authentication): Paste your copied key into the API Key slot and click Connect / Test Connection. Look for the green success notification confirming a valid API key.
  4. Select Your Model (Model Selector): Once connected, click the Model dropdown menu to refresh. Select your target model (e.g., meganova-ai/manta-mini-1.0 or other supported deepseek/llm models).

Input Endpoint URL (Base URL): Paste the official MegaNova OpenAI-compatible endpoint into the Base URL / Proxy URL field:

https://inference.meganova.ai/v1/chat/completions

Step 5: Android Performance & Battery Optimization Tweaks

Android battery managers like to shut down background processes, which will crash your Termux backend mid-chat. Follow these essential tweaks:

Preventing Termux Battery Kills

Android OS aggressively targets Termux. To prevent disconnection:

  1. Swipe down your Android notification panel while Termux is open and tap Acquire wake lock.
  2. Go to your phone's Settings > Apps > Termux > Battery and set battery usage to Unrestricted / Unlimited.

To prevent memory overload and eliminate lag on mobile browsers when loading large character lists, adjust SillyTavern's default configuration settings:

  1. Open the configuration file in Termux using the nano editor:
    nano ~/SillyTavern/config.yaml
  2. Locate the performance: section and edit the settings to enable Lazy Loading:
    YAML
    performance:
    lazyLoadCharacters: true
    useDiskCache: false
  3. Save your changes and exit nano by pressing CTRL + X, then typing Y, and pressing Enter.

Useful Termux Shortcuts

To avoid typing full directory paths every time you want to chat, create a quick alias:

echo "alias st='cd ~/SillyTavern && bash start.sh'" >> ~/.bashrc
source ~/.bashrc

Now, whenever you open Termux, simply type st and press Enter to start your SillyTavern backend instantly!

What’s Next?

Sign up and explore now.

🔍 Learn more: Visit our blog and documents for more insights or schedule a demo to optimize your enterprise AI context management.

📬 Get in touch: Join our Discord community for help or Contact Us.


Stay Connected

💻 Website: meganova.ai

🎮 Discord: Join our Discord

👽 Reddit: r/MegaNovaAI

🐦 Twitter: @meganovaai