2026-11-26 15:47 UTC

Android TTS bridge routes compatible apps to self-hosted speech servers

state: seedheat: lowuncertainty: mediumrelevance: mediumandroid-tts self-hosted-ai speech-synthesisEmanuele Viani

What is this?

tts-server-proxy is an Android app by Emanuele Viani that registers as a system TextToSpeech engine. Its GitHub project page offers a prebuilt v0.6.1 APK and says it works with Android 8.0+; compatible apps can send speech requests through the engine to a user-configured OpenAI-style /v1/audio/speech endpoint, with Qwen3-TTS as the featured setup. The project also documents other compatible servers. This is a first-party feature and availability description; the supplied sources do not independently verify performance, security, or adoption.

Why it matters

It could let Android users choose self-administered voicesβ€”including cloned voicesβ€”and use them across compatible apps, rather than being limited to a phone’s bundled engine or a cloud provider. That offers more control over voice selection and where speech requests are processed, but depends on maintaining a compatible server and network connection. The project presents this as a privacy-preserving option; the practical privacy depends on the user’s endpoint and network configuration.

Current assessment

New: the project page describes a downloadable Android system TTS engine, with release v0.6.1 identified, that forwards text to a configured speech endpoint and returns audio to the requesting app. The author says it supports Android 8.0+, standard voice selection, multiple model/voice entries, and OpenAI-compatible endpoints; these are project claims, not independently tested findings in the supplied evidence. The README says text, speech, and API keys stay on the LAN, but also notes that HTTP is cleartext unless users configure TLS at a proxy, so the privacy claim is conditional on setup and network trust. The project describes cold-start delays of up to minutes and subsequent requests around three secondsβ€”also author-reported. Search results show other Android custom-engine and TTS projects, so the general approach is not established here as unique. No adoption or independent benchmark evidence is supplied. Useful to track as a practical integration layer that brings self-hosted speech to existing Android apps, rather than as a new speech model.

Measured heat

now 0 pts/hpeak 1 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 218h
points/hour across evidence Β· reading as of 2026-11-27 02:23:58.509736+11:00 Β· deterministic, not a model opinion

How the heat travelled

11-17 13:00⭐ origin echo-reconstructedThe repository is the project’s primary artifact and contains no upstream citation; its README describes β€œA real Android system TTS engine t
Emanuele Viani (manu69x) on github (echo) Β· attributed from hn.story.50536897
β€”
11-17 19:31first on hacker news Β· published Β· +6.5hShow HN: Android system TTS engine backed by a self-hosted Qwen3-TTS server
manu69x
β€”
11-17 19:31amplified on hacker news πŸ‘‘hn.story.50536897
manu69x
peak 1 Β· 0 comments Β· 103% of case engagement
11-17 20:20our radar first saw it Β· +7.3hdiscovery anchor: hn.story.50536897β€”
pace: p13 vs 2096 stories at the 168h mark (now 218h old) β€” behind adobe-max-ai-agents-creative-tools-mcp (0.5x)

Evidence (2) β€” ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: Android system TTS engine backed by a self-hosted Qwen3-TTS server
Retrieved article excerpt

Open article Β· Retrieved 2026-11-17T20:21:57.727631+00:00

# πŸ”Š tts-server-proxy

**A real Android system TTS engine that speaks with your own self-hosted Qwen3-TTS voices.**

Every app on your phone β€” readers, assistants, accessibility tools β€” talks with the voices
running on **your GPU, on your LAN**. No cloud, no subscriptions, no per-character fees.

[Platform](https://camo.githubusercontent.com/989566ef49862a750919fc443d40b05926366606dd61bbafd0bf4fbc4c15bd41/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f706c6174666f726d2d416e64726f6964253230382e302532422d3344444338343f6c6f676f3d616e64726f6964266c6f676f436f6c6f723d7768697465)
[API](https://camo.githubusercontent.com/a08461a975d7cb0c6d549b4f6aa6b7bcb97792b84202f376d03a5274da677652/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4150492d323625453225383025393333352d313536354330)
[Release](https://camo.githubusercontent.com/bee8bedf4a32bd5fdf8660d0d56289688c1cca20a403191485ba34c54dee87d9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f72656c656173652d76302e362e312d314538384535)
[License](https://camo.githubusercontent.com/983d4359659e5a2c96c77d98d5ef94b6b62d718a4a78082edf59726cc3a1903f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e)
[Cloud](https://camo.githubusercontent.com/2149837c08d4dc732113ab220072d63f2a2d8e2b20d20e77788296a6f407b41e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636c6f75642d6e6f6e652d73756363657373)

[Installation](https://github.com/manu69x/tts-server-proxy#-installation) Β· [How it works](https://github.com/manu69x/tts-server-proxy#-how-it-works) Β· [Server setup](https://github.com/manu69x/tts-server-proxy#-server-side) Β· [Troubleshooting](https://github.com/manu69x/tts-server-proxy#-troubleshooting)

---

## πŸ€” Why

Android's built-in TTS voices are robotic, locked to Google's cloud, or missing entirely for
your language. If you run a **Qwen3-TTS** server (or any OpenAI-compatible speech endpoint)
you already have great, clonable voices β€” but Android apps can't use them.

**tts-server-proxy** bridges that gap: it installs as a *first-class* `TextToSpeechService`,
so it appears in **Settings β†’ System β†’ Languages & input β†’ Text-to-speech output** like any
commercial engine. Whatever the system asks it to speak, it synthesizes on your server and
streams back to the app that requested it.

Use cases:

- πŸ“š Read e-books and articles with a cloned voice you actually like
- πŸ—£οΈ Accessibility: give your phone a family member's voice
- 🌐 Multi-language setups: one voice per language, switchable by any app
- πŸ”’ Keep speech **100% on your network** β€” nothing ever leaves your LAN

## βš™οΈ How it works

```
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  TextToSpeech API   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  OpenAI-compatible   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Any Android β”‚ ──── bind ────────► β”‚  tts-server-proxy  β”‚ ──── POST ─────────► β”‚  Your GPU server    β”‚
β”‚  app         β”‚ ◄── PCM 16-bit ──── β”‚  (system engine)   β”‚ ◄── WAV/MP3 ──────── β”‚  Qwen3-TTS          β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  /v1/audio/speech    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
```

The app speaks OpenAI's audio-speech dialect:

```
POST {endpoint}/v1/audio/speech
{
  "model":  "qwen3-tts-1.7b_G0",
  "voice":  "clone:VoceItalianaAdulta",
  "input":  "Text to speak",
  "response_format": "wav"
}
```

- **Native WAV β†’ PCM** path with zero transcoding; MP3 (or anything `MediaCodec` plays) is
  decoded automatically as a fallback.
- **One model = one Android voice.** Configure as many as you want, per language; apps pick
  them with the standard voice picker.
- **Cold-start proof**: if your server is asleep, the engine waits (wake-on-LAN + boot +
  model load can take minutes β€” read timeout is 420 s), runs as a **foreground service**
  while synthesizing so Android can't kill it with the screen off, and **retries fast
  network failures** automatically.
- Requests are cancelled silently β€” no scary "Speech engine problem" dialogs.

## πŸ“± Installation

### Option A β€” prebuilt APK

1. Grab `tts-server-proxy-v0.6.1.apk` from the [latest release](https://github.com/manu69x/tts-server-proxy/releases/latest)
   (or from [`apk/`](https://github.com/manu69x/tts-server-proxy/blob/main/apk) in this repository).
2. Install it (allow "install unknown apps" if asked).
3. Open the app: endpoint, model and voice come **pre-filled with a sensible default** β€”
   edit them, paste your API key, tap **πŸ’Ύ Save configuration**.
4. Select the engine:
   *Settings β†’ System β†’ Languages & input β†’ Text-to-speech output β†’ **tts-server-proxy***
5. Hit **πŸ”Š Test synthesis** inside the app and listen. 🎧

> The engine also works **before you ever open the app**: if no configuration is found,
> built-in defaults are used, so a fresh install (or a reboot) keeps talking.

### Option B β€” build from source

```
git clone https://github.com/manu69x/tts-server-proxy.git
cd tts-server-proxy
export ANDROID_HOME=/path/to/android-sdk
gradle :app:assembleRelease          # or :app:assembleDebug for a debug build
```

Requirements: JDK 17, Android SDK 35, Gradle 8.10+ (AGP 8.6). Release builds expect
`app/keystore.properties` + `app/release.keystore.jks` (not committed β€” see below);
debug builds work out of the box.

## πŸ–₯️ Server-side

Any endpoint that accepts OpenAI-style `/v1/audio/speech` and returns WAV/MP3 audio will
work. The stack this app was built and tested against:

```
Android phone
  β†’ Phoenix        (wake-on-LAN proxy, OpenAI-compatible front door)
  β†’ llama-swap     (model router / pool, GPU instances)
  β†’ Qwen3-TTS      (FastAPI serving Qwen3-TTS 0.6B/1.7B models on one or more GPUs)
```

You don't need all of that β€” a single FastAPI service exposing `/v1/audio/speech` is enough.
Quick sanity check from any machine on the LAN:

```
curl -X POST http://YOUR_SERVER:PORT/v1/audio/speech \
  -H "Content-Type: application/json" -H "Authorization: Bearer sk-..." \
  -d '{"model":"qwen3-tts-1.7b_G0","voice":"clone:MyVoice","input":"hello","response_format":"wav"}'
```

### No Linux box? Ready-made compatible servers

Any OpenAI-compatible `/v1/audio/speech` server works β€” including **native
Windows options** that need nothing but a double-click:

| Server | Difficulty | GUI | Cloning | Italian | Docs |
| --- | --- | --- | --- | --- | --- |
| **Chatterbox-TTS-Server** | β˜…β˜†β˜† Easy (Windows portable, zero install) | βœ… | βœ… | βœ… | [guide](https://github.com/manu69x/tts-server-proxy/blob/main/docs/servers/chatterbox-tts-server.md) |
| **Kokoro-FastAPI** | β˜…β˜…β˜† Medium (Windows/uv or Docker) | βœ… | ❌ preset voices | βœ… | [guide](https://github.com/manu69x/tts-server-proxy/blob/main/docs/servers/kokoro-fastapi.md) |
| **AllTalk TTS V2** | β˜…β˜…β˜† Medium (Windows setup script) | βœ… | βœ… XTTS | βœ… | [guide](https://github.com/manu69x/tts-server-proxy/blob/main/docs/servers/alltalk-tts-v2.md) |
| **Qwen3-TTS on Linux** | β˜…β˜…β˜… Advanced | ❌ | βœ… zero-shot | βœ… | [guide](https://github.com/manu69x/tts-server-proxy/blob/main/docs/servers/qwen3-tts-linux.md) |

Full comparison + per-server install instructions and the exact app config:
**[docs/servers/README.md](https://github.com/manu69x/tts-server-proxy/blob/main/docs/servers/README.md)**.

## πŸ–ΌοΈ Screenshots

| Configuration | Synthesis test | Diagnostics |
| --- | --- | --- |
| [Configuration](https://github.com/manu69x/tts-server-proxy/blob/main/docs/screenshots/main.png) | [Test](https://github.com/manu69x/tts-server-proxy/blob/main/docs/screenshots/test.png) | [Diagnostics](https://github.com/manu69x/tts-server-proxy/blob/main/docs/screenshots/diagnostics.png) |

Material 3 UI, follows system dark mode. One model in the list = one voice in Android's
voice picker.

## 🧰 Features

- βœ… Genuine system TTS engine (`TextToSpeechService`, `BIND_TEXT_TO_SPEECH_ENGINE`)
- βœ… Android 8.0+ (API 26), tested on Android 15/16
- βœ… Unlimited models/voices, per-language, switchable from any app
- βœ… Material 3, dark mode, zero-clutter setup with working defaults
- βœ… Foreground service + progress notification during synthesis
- βœ… Config backup/restore via `adb push` (one-tap import in the Diagnostics screen)
- βœ… In-app service log (works even on ROMs where `logcat` is disabled)
- βœ… API key stored only on the device, sent as `Authorization: Bearer`
- βœ… Zero telemetry, zero cloud

## πŸš‘ Troubleshooting

| Symptom | Cause / fix |
| --- | --- |
| Engine doesn't appear in the TTS list | Reboot once after install; the engine registers itself β€” no account needed |
| First synthesis takes 10 s–3 min | **Cold start**: the server wakes and loads the model. Next requests are fast (~3 s) |
| "Speech engine problem" dialog | Update to β‰₯ v0.3.2 β€” cancelled requests no longer surface errors |
| No audio on some servers | The app auto-detects MP3 and decodes it; ensure the endpoint returns valid audio |
| Wrong voice used by default | The engine picks the **first model matching the requested language** β€” order your model list accordingly |
| Need to see what's happening | Open **Diagnostics** β†’ *πŸ“„ debug.log*: the service logs every synthesis step there |

## πŸ” Privacy & security

Speech, text and API key never leave your LAN. HTTP is used in cleartext by design β€” run it
on a network you trust (or wire up TLS on your front proxy). Signing keys are **not** in this
repository: `app/keystore.properties` and `app/release.keystore.jks` are gitignored; generate
your own with `keytool` to sign your builds.

## πŸ“„ License

[MIT](https://github.com/manu69x/tts-server-proxy/blob/main/LICENSE) β€” Β© 2026 Emanuele Viani

---

Built with 🎧 by [@manu69x](https://github.com/manu69x) β€” voices by [Qwen3-TTS](https://github.com/QwenLM/Qwen3), routing by [llama-swap](https://github.com/mostlygeek/llama-swap).

Another project by the same author: [**Battery Test**](https://batterytest.altervista.org) β€” measure your laptop's real battery life with a server-verified test. Free, no registration.
manu69x10
🟧 echo.github ⭐The repository is the project’s primary artifact and contains no upstream citation; its README describes β€œA real Android system TTS engine tEmanuele Viani (manu69x)β€”β€”

Interpretation history

Decision trace