Open-source project
justLV/onju-voice avatar
justLV/onju-voice

Onju Voice: an ESP32-S3 replacement board for a Nest Mini, and the LLM plumbing behind it

A hackable AI home assistant platform

1,749 stars96 forksJupyter NotebookMIT

At a glance

What is it?
The hardware is a drop-in Nest Mini PCB. The interesting part is a server that chains Whisper, an LLM and cloud TTS over UDP audio, with the author's own list of what it cannot do yet.
Who is it for?
Onju Voice is two projects in one repository and they have different maturity. The hardware side is a board you can order from a fab and flash over USB with the Arduino IDE, which removes the ESP-IDF setup barrier entirely.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Activity is slowing. The repository last received commits 7 months ago.
What is it written in?
Mainly Jupyter Notebook, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 24, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • justLV/onju-voice1,749 ★ · +16
Star history
Repository2026-10-192026-11-24
justLV/onju-voice1.7k1.7k

16 Stars in the last 36 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

What the repository actually contains

The README opens by marking the project deprecated and pointing at onju-v2, and it says why the source is still here: this repository focuses on the experimental conversational LLM aspect, replicating some functionality from the author's demos, and is not positioned as a full replacement for a home assistant.

The tree matches that framing with four top level directories. `hardware/` holds the design files, `onjuino/` holds the firmware, `server/` holds the Python backend, and `images/` is documentation. There is also a `setup-git-hash.sh` at the root, which is the kind of small file that tells you the firmware records which revision it was built from.

The description calls this a hackable AI home assistant platform built in the Google Nest Mini second generation form factor. The hardware claim is specific: a custom PCB designed as a drop-in replacement for the original, using the ESP32-S3 for audio processing. Altium design files are included, and the board can be ordered from a PCB fabrication service.

Three components, three different toolchains

The README is unusually explicit about what each piece needs, and the accessibility goal is stated up front: getting this running should not require deep setup.

For the firmware, the Arduino IDE and a USB cable are enough, and no ESP-IDF installation is required. That is the deliberate choice, and it has a cost the README then spends a paragraph on. The Arduino IDE does not yet support Espressif's audio SDKs such as ESP-ADF and ESP-Skainet. Not required for these demos, but using ESP-IDF with those SDKs would unlock four capabilities the release does not have.

Those four are voice activity detection, acoustic echo cancellation, blind source separation, and wakewords. VAD is instead offloaded to the server using webrtcvad, with the listening window extended either by tapping the device or by the server sending mic keep-alive timeouts. The README notes the network cost is minimal at 16-bit, 16 kHz. Echo cancellation is the one that matters most for feel, because without it you cannot talk over the assistant while it is speaking.

Server side: install Whisper, edit config, add a token

The server requirements are described as minimal beyond running Whisper locally, and the install is two commands:

code
cd server
pip install -r requirements.txt

The prerequisite is that you can install Whisper and run at least the base model. The README frames it as a gate: if you can get past Whisper's own debugging steps, the rest should be simple.

Three configuration items follow. Settings go in `config.yaml`, where you also tune how much silence is needed to start processing as a trade-off between responsiveness and cutting off the user mid sentence. Your Elevenlabs token goes in `credentials.json`, and you need a cloned voice in your account, named in `config.yaml` under `elevenlabs_default_voice`. Finally you need a greeting WAV file set under `greeting_wav`, sent to devices when they join the WiFi, which you record or procure yourself.

Optional features become command line flags, and the example given turns on note taking, Home Assistant, the Maubot plugin, real message sending with a safety guard that is disabled by default, and a smaller English-only Whisper model:

`python server.py --n --ha --mb --send --whisper base.en`

Audio transport, discovery and per-device state

The feature list for the device and server platform is where the engineering shows. Devices are found automatically through multicast announcements, so there is no pairing UI to speak of. The server remembers conversation history and voice settings per device, which is what makes several speakers behave differently.

Audio is sent and received as 16-bit, 16 kHz packed data, with UDP for sending and TCP for receiving, where the receive side is partially buffered into PSRAM. The reason for that split is implied by the protocol choice and confirmed by the README's comment that traffic really is minimal at this format. Using TCP on the receive path avoids losing the assistant's own audio, which UDP would happily discard.

The ESP32-S3 drives a speaker and microphone visualisation through the LEDs, and the server can take over LED control directly. There is a mute switch, tap-to-wake, and a configurable microphone timeout. Device-level logging goes to individual files and to console output using rich, which is a small choice that makes debugging a specific speaker much less painful.

The LLM layer uses OpenAI and Elevenlabs, and says so

The dependencies section is candid. Transcription is local only. Response generation and function calling go to OpenAI, though the README notes that with enough hardware you could run a local LLM, using something like ToolLLM to call APIs and add capabilities. Text to speech is Elevenlabs, described as the easiest, fastest and most expressive option to get running, with a caveat that the data policy is a little dubious in the author's judgement and you should be careful about sending anything sensitive.

The strongest stated opinion is about wakewords. The author is not a believer in them, considers saying a wake word before every response a terrible experience, and thinks command logic belongs in language model layers on the server. That is a design position, not a technical constraint, and it explains the combination of VAD, server-sent timeouts, tap-to-wake and the physical mute switch instead.

Multi voice characters are listed as deliberately not included, with the reasoning given: models below GPT-4 did not follow instructions consistently enough to both stay in character and perform multiple function calls with complicated prompts. The user is left to clone voices as they see fit.

Serialized conversation flow is the main limitation

The single most important limitation is stated first in the list: conversation flow is highly serialized. Recording, then transcription, then the LLM, then TTS, each has to finish before the next begins. What is not included is feeding incomplete transcriptions to a smaller model, or streaming a slower model like GPT-4 into Elevenlabs and returning streaming responses. The author's assessment is that doing so was too hacky for this release.

That single fact shapes every interaction. Total latency is the sum of four stages, and a Whisper transcription plus an LLM round trip plus TTS generation is a wait measured in seconds. The proposed improvement is a smaller, faster model for classification and intent detection, routing to a larger model once the intent is known, which is the standard architecture for shaving the first stage off.

The other unimplemented items are speaker diarization, which would let the model know who is speaking and infer when a conversation is not addressed to it, and interruptions, which the README correctly notes require echo cancellation. Both are listed as achievable and as things the author did not have time for. There are no tagged releases, so there is no version history to anchor expectations to.

Editorial conclusion

Onju Voice is two projects in one repository and they have different maturity. The hardware side is a board you can order from a fab and flash over USB with the Arduino IDE, which removes the ESP-IDF setup barrier entirely. The server side is a working pipeline with serialized stages, and it is honest about that being a limitation rather than a feature. The repository carries a deprecation notice pointing at onju-v2 and states plainly that it is not being actively maintained, with the last push recorded on 2026-04-13. If you want to understand how a voice assistant decomposes into transcription, generation and speech, this is a readable reference implementation. If you want a supported product, the successor repository is where to look.

Frequently asked questions

Do I have to say a wake word before every request?

No, and the author considers requiring one a bad experience. This project deliberately has no wakeword, relying instead on server-side voice activity detection, microphone timeouts pushed from the server, tap-to-wake and a physical mute switch.

Can I run the language model locally instead of using OpenAI?

The reference server uses OpenAI for responses and function calling, but the README notes that with sufficient hardware you could run a local model and use something like ToolLLM to call APIs. Transcription always runs locally through Whisper.

What hardware does Onju Voice need?

A custom PCB designed as a drop-in replacement for a second generation Nest Mini, using an ESP32-S3 for audio processing. Altium design files are in the repository and boards can be ordered from a PCB fabrication service.

Why can I not talk over the assistant while it is speaking?

Because that needs acoustic echo cancellation, which comes from Espressif's audio SDKs, which the Arduino IDE does not yet support. This release offloads voice activity detection to the server instead, and lists interruptions as an improvement not implemented yet.

Is Onju Voice still maintained?

The repository carries a deprecation notice pointing to onju-v2 and states that this version is not being actively maintained, with the source and design files released for others to continue from. The last push recorded on the repository is 2026-04-13.

Official sources

  1. Issues
  2. justLV/onju-voice on GitHub
  3. License: MIT
  4. README
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/justlv-onju-voice.svg)](https://hysenlabs.com/projects/justlv-onju-voice)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/justlv-onju-voice.svg)](https://hysenlabs.com/projects/justlv-onju-voice)

Was this useful?