Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
Bump version to 0.8.8-alpha, document lightweight image in README and docs
Murtaza Nasir3f917d3b7a0a
diff --git a/README.md b/README.mdindex 2f96a33a..1ff62b42 100644--- a/README.md+++ b/README.md@@ -9,7 +9,7 @@<a href="https://www.gnu.org/licenses/agpl-3.0"><img alt="AGPL v3" src="https://img.shields.io/badge/License-AGPL_v3-blue.svg"></a><a href="https://github.com/murtaza-nasir/speakr/actions/workflows/docker-publish.yml"><img alt="Docker Build" src="https://github.com/murtaza-nasir/speakr/actions/workflows/docker-publish.yml/badge.svg"></a><a href="https://hub.docker.com/r/learnedmachine/speakr"><img alt="Docker Pulls" src="https://img.shields.io/docker/pulls/learnedmachine/speakr"></a>- <a href="https://github.com/murtaza-nasir/speakr/releases/latest"><img alt="Latest Version" src="https://img.shields.io/badge/version-0.8.7-brightgreen.svg"></a>+ <a href="https://github.com/murtaza-nasir/speakr/releases/latest"><img alt="Latest Version" src="https://img.shields.io/badge/version-0.8.8-brightgreen.svg"></a></p><p align="center">@@ -119,6 +119,8 @@ docker compose up -d# Access at http://localhost:8899```+> **Lightweight image:** Use `learnedmachine/speakr:lite` for a smaller image (~725MB vs ~4.4GB) that skips PyTorch. All features work normally — only Inquire Mode's semantic search falls back to basic text search.+**Required API Keys:**- `TRANSCRIPTION_API_KEY` - For speech-to-text (OpenAI) or `ASR_BASE_URL` for self-hosted- `TEXT_MODEL_API_KEY` - For summaries, titles, and chat (OpenRouter or OpenAI)@@ -160,7 +162,17 @@ Complete documentation is available at **[murtaza-nasir.github.io/speakr](https:- [Troubleshooting](https://murtaza-nasir.github.io/speakr/troubleshooting) - Common issues and solutions- [FAQ](https://murtaza-nasir.github.io/speakr/faq) - Frequently asked questions-## Latest Release (v0.8.7)+## Latest Release (v0.8.8)++**Lightweight Docker Image**++- **Lite Image** - New `learnedmachine/speakr:lite` tag (~725MB vs ~4.4GB) skips PyTorch/sentence-transformers for users who don't need semantic search+- **Multi-Stage Dockerfile** - Optimized build with static ffmpeg binaries and smaller final image for both variants+- **Improved Text Search** - Better fallback search with stop word filtering, keyword-focused query enrichment, and match ranking++*Thanks to [sakowicz](https://github.com/sakowicz) for the suggestion*++### Previous Release (v0.8.7)**Export Templates & Localization**diff --git a/VERSION b/VERSIONindex bbc262f6..5433784c 100644--- a/VERSION+++ b/VERSION@@ -1 +1 @@-v0.8.7.2-alpha+v0.8.8-alphadiff --git a/docs/admin-guide/vector-store.md b/docs/admin-guide/vector-store.mdindex 15f7a48e..0fe8dc35 100644--- a/docs/admin-guide/vector-store.md+++ b/docs/admin-guide/vector-store.md@@ -10,6 +10,9 @@ Before diving into management, it's worth understanding what you're managing. InThis approach goes beyond simple keyword matching. The system understands that "budget concerns" relates to "financial constraints" and "cost overruns" even though the exact words differ. This semantic understanding makes Inquire Mode powerful for discovering information that users might not remember precisely.+!!! note "Lightweight Image"+ If you're using the `lite` Docker image (`learnedmachine/speakr:lite`), the embedding model is not included. Inquire Mode still works but falls back to keyword-based text search instead of semantic search. To use full semantic search, switch to the `latest` image tag.+## The Embedding ModelYour Speakr instance uses the all-MiniLM-L6-v2 model, shown prominently in the interface. This model generates 384-dimensional vectors - imagine each chunk of text mapped to a point in 384-dimensional space where similar meanings cluster together.diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.mdindex 9f312168..b8737cdd 100644--- a/docs/getting-started/installation.md+++ b/docs/getting-started/installation.md@@ -54,6 +54,15 @@ services:- ./instance:/data/instance```+**Choosing an image tag:**++| Tag | Size | Description |+|-----|------|-------------|+| `latest` | ~4.4GB | Full image with semantic search via PyTorch embeddings |+| `lite` | ~725MB | Lightweight image without PyTorch — all features work, Inquire Mode falls back to text search |++If you don't plan to use Inquire Mode's semantic search (or are fine with basic text search), the `lite` tag is recommended for faster pulls and less disk usage. Just replace `latest` with `lite` in the configuration above.+Or download the example configuration:```bash@@ -341,7 +350,7 @@ With everything configured, you're ready to start Speakr. The `-d` flag runs thedocker compose up -d```-The first time you run this command, Docker will download the Speakr image from Docker Hub. This image is approximately 3GB and contains all the dependencies needed to run Speakr, including FFmpeg for audio processing and various Python libraries. The download time depends on your internet connection speed.+The first time you run this command, Docker will download the Speakr image from Docker Hub. The `latest` image is approximately 4.4GB (or ~725MB for the `lite` tag) and contains all the dependencies needed to run Speakr, including FFmpeg for audio processing and various Python libraries. The download time depends on your internet connection speed.Monitor the startup process to ensure everything is working correctly:@@ -920,7 +929,10 @@ Modify the docker-compose.yml to build locally instead of using the pre-built im```yamlservices:app:- build: . # Build from current directory+ build:+ context: .+ args:+ LIGHTWEIGHT: 0 # Set to 1 for a smaller image without PyTorchimage: speakr:custom # Tag for your custom buildcontainer_name: speakrrestart: unless-stopped@@ -939,6 +951,12 @@ Build and start your custom version:docker compose up -d --build```+To build a lightweight image without PyTorch directly:++```bash+docker build --build-arg LIGHTWEIGHT=1 -t speakr:lite .+```+The `--build` flag forces Docker to rebuild the image even if one exists. This is useful when you've made code changes and want to test them.## Performance Optimization