Skip to content

Releases

v0.3.1 — Updates that find you

Choose a tag to compare

@wzsyyh wzsyyh released this 21 Jul 06:33

A distribution-focused release: SpeaKoach now tells you when a new version ships, and Docker users update with one command.

✨ What's new

  • In-app update notifications — the sidebar checks GitHub Releases once a day and shows an amber "vX.Y.Z available" pill when something newer ships. Click it to land on the release notes. (You're reading the first release it will ever detect.)
  • Official Docker images — every release now publishes a multi-arch (amd64 + arm64) image to ghcr.io/wzsyyh/speakoach. docker compose up -d pulls it; updating is docker compose pull && docker compose up -d. Sessions, settings, and model caches live in a volume and survive upgrades.
  • README rewritten as product docs — Docker-first quick start, plain-language feature tour, and the project vision (any native language → any spoken language). Engineering internals moved to docs/ARCHITECTURE.md.
  • 简体中文文档 — full Chinese README at README.zh-CN.md for the current primary audience.

🔧 Fixes

  • arm64 Docker images no longer fail to locate the espeak-ng shared library (path was hardcoded to x86_64).

📦 Install / upgrade

# Docker (recommended)
git clone https://github.com/wzsyyh/SpeaKoach && cd SpeaKoach
cp .env.example .env
docker compose up -d       # → http://localhost:8000

# From source
git pull && make install && make dev

Full Changelog: v0.3.0...v0.3.1

v0.3.0 — The Studio Console Release

Choose a tag to compare

@wzsyyh wzsyyh released this 21 Jul 06:14

The release that turns a course project into a product. Everything below shipped since v0.2-era code: a full visual identity, a hardened backend, real open-source infrastructure, and fixes to the two features at the heart of the app — pronunciation scoring and the Chinese→English bridge.

SpeaKoach

✨ Highlights

Studio-console UI, redesigned from the information architecture up

  • Chat bubbles are gone. The transcript reads like an annotated script: the AI partner's lines are set in a dialogue serif with a Listen chip, and each of your utterances is a numbered TAKE panel with an LED score readout.
  • Inline weak-word marking — solid words stay quiet; shaky words get an amber underline, weak ones a red highlight. Hover any word for expected vs. heard IPA.
  • Signature element: a segmented LED input meter (green → amber → red) on the recording console, always visible like real hardware.
  • Space Grotesk + Newsreader + JetBrains Mono type system; amber signal palette; prefers-reduced-motion respected; fully responsive with a mobile bottom nav.

EN + ZH code-switch actually works now

  • Fixed: the default ASR model was English-only (small.en), which physically cannot emit Chinese characters — the mixed-language polish flow could never trigger. The default is now multilingual; say "My last job was at a 金融科技公司" and the transcript keeps the Chinese intact, then the polish flow rewrites the full sentence at three registers.

Settings that behave like settings

  • Runtime LLM config (key / base URL / model) now persists across restarts in SQLite — previously any backend reload silently reverted it.
  • Model discovery: point Settings at any OpenAI-compatible gateway (or an Anthropic/OpenAI key) and pick from a live dropdown of available models — before saving.
  • Actionable errors everywhere: a friendly 400 when no LLM is configured, typed error details instead of bare "Internal Server Error", and toasts that speak human.

Backend hardening & performance

  • CTC forced-alignment Viterbi fully numpy-vectorized — ~26× faster on long clips, with an equivalence test against the reference implementation.
  • LLM call timeouts, TTS output cached by content hash (was leaking one orphan mp3 per request), SQLite WAL + busy timeout, 25 MB upload cap.

Open-source infrastructure

  • MIT license, GitHub Actions CI (ruff + pytest / eslint + tsc + build), two-stage Dockerfile + docker-compose, CONTRIBUTING.md.
  • OpenAPI-generated frontend types with a compile-time parity check — drift between the Pydantic models and the TypeScript types fails tsc.
  • react-router URLs, a 1000-line God component split into focused modules, global toast + error boundary.

📦 Upgrading

git pull && make install && make dev

First run downloads the multilingual whisper model (~460 MB). Set your LLM key in Settings — it now sticks.

Full Changelog: https://github.com/wzsyyh/SpeaKoach/commits/v0.3.0