Self-hosted AI transcription and intelligent note-taking platform
Documentation • Quick Start • Screenshots • Docker Hub • Releases
Speakr transforms your audio recordings into organized, searchable, and intelligent notes. Built for privacy-conscious groups and individuals, it runs entirely on your own infrastructure, ensuring your sensitive conversations remain completely private.
- Smart Recording & Upload - Record directly in browser or upload existing audio files
- AI Transcription - High-accuracy transcription with speaker identification
- Voice Profiles - AI-powered speaker recognition with voice embeddings (requires WhisperX ASR service)
- REST API v1 - Complete API with Swagger UI for automation tools (n8n, Zapier, Make) and dashboard widgets
- Single Sign-On - Authenticate with any OIDC provider (Keycloak, Azure AD, Google, Auth0, Pocket ID)
- Audio-Transcript Sync - Click transcript to jump to audio, auto-highlight current text, follow mode for hands-free playback
- Interactive Chat - Ask questions about your recordings and get AI-powered answers
- Inquire Mode - Semantic search across all recordings using natural language
- Internationalization - Full support for English, Spanish, French, German, Chinese, and Russian
- Beautiful Themes - Light and dark modes with customizable color schemes
- Internal Sharing - Share recordings with specific users with granular permissions (view/edit/reshare)
- Group Management - Create groups with automatic sharing via group-scoped tags
- Public Sharing - Generate secure links to share recordings externally (admin-controlled)
- Group Tags - Tags that automatically share recordings with all group members
- Smart Tagging - Organize with tags that include custom AI prompts and ASR settings
- Tag Prompt Stacking - Combine multiple tags to layer AI instructions for powerful transformations
- Tag Protection - Prevent specific recordings from being auto-deleted
- Group Retention Policies - Set custom retention periods per group tag
- Auto-Deletion - Automatic cleanup of old recordings with flexible retention policies
Different people use Speakr's collaboration and retention features in different ways:
| Use Case | Setup | What It Does |
|---|---|---|
| Family memories | Create "Family" group with protected tag | Everyone gets access to trips and events automatically, recordings preserved forever |
| Book club discussions | "Book Club" group, tag monthly meetings | All members auto-share discussions, can add personal notes about what resonated |
| Work project group | Share individually with 3 teammates | Temporary collaboration, easy to revoke when project ends |
| Daily group standups | Group tag with 14-day retention | Auto-share with group, auto-cleanup of routine meetings |
| Architecture decisions | Engineering group tag, protected from deletion | Technical discussions automatically shared, preserved permanently as reference |
| Client consultations | Individual share with view-only permission | Controlled external access, clients can't accidentally edit |
| Research interviews | Protected tag + Obsidian export | Preserve recordings indefinitely, transcripts auto-import to note-taking system |
| Legal consultations | Group tag with 7-year retention | Automatic sharing with legal group, compliance-based retention |
| Sales calls | Group tag with 1-year retention | Whole sales group learns from each call, cleanup after sales cycle |
Tags with custom prompts transform raw recordings into exactly what you need:
- Recipe recordings: Record yourself cooking while narrating - tag with "Recipe" to convert messy speech into formatted recipes with ingredient lists and numbered steps
- Lecture notes: Students tag lectures with "Study Notes" to get organized outlines with concepts, examples, and definitions instead of raw transcripts
- Code reviews: "Code Review" tag extracts issues, suggested changes, and action items in technical language developers can use directly
- Meeting summaries: "Action Items" tag ignores discussion and returns just decisions, tasks, and deadlines
Stack multiple tags to layer instructions:
- "Recipe" + "Gluten Free" = Formatted recipe with gluten substitution suggestions
- "Lecture" + "Biology 301" = Study notes format focused on biological terminology
- "Client Meeting" + "Legal Review" = Client requirements plus legal implications highlighted
The order can matter - start with format tags, then add focus tags for best results.
- Obsidian/Logseq: Enable auto-export to write completed transcripts directly to your vault using your custom template - no manual export needed
- Documentation wikis: Map auto-export to your wiki's import folder for seamless transcript publishing
- Content creation: Create SRT subtitle templates from your audio recordings for podcasts or video content
- Project management: Extract action items with custom tag prompts, then auto-export for automated task creation
# Create project directory
mkdir speakr && cd speakr
# Download docker-compose configuration:
wget https://raw.githubusercontent.com/murtaza-nasir/speakr/master/config/docker-compose.example.yml -O docker-compose.yml
# Download the environment template:
wget https://raw.githubusercontent.com/murtaza-nasir/speakr/master/config/env.transcription.example -O .env
# Configure your API keys and launch
nano .env
docker compose up -d
# Access at http://localhost:8899Lightweight image: Use
learnedmachine/speakr:litefor 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) orASR_BASE_URLfor self-hostedTEXT_MODEL_API_KEY- For summaries, titles, and chat (OpenRouter or OpenAI)
Speakr uses a connector-based architecture that auto-detects your transcription provider:
| Option | Setup | Speaker Diarization | Voice Profiles |
|---|---|---|---|
| OpenAI Transcribe | Just API key | ✅ gpt-4o-transcribe-diarize |
❌ |
| WhisperX ASR | GPU container | ✅ Best quality | ✅ |
| Mistral Voxtral | Just API key | ✅ Built-in | ❌ |
| VibeVoice ASR | Self-hosted (vLLM) | ✅ Built-in | ❌ |
| Legacy Whisper | Just API key | ❌ | ❌ |
Simplest setup (OpenAI with diarization):
TRANSCRIPTION_API_KEY=sk-your-openai-key
TRANSCRIPTION_MODEL=gpt-4o-transcribe-diarizeBest quality (Self-hosted WhisperX):
ASR_BASE_URL=http://whisperx-asr:9000
ASR_RETURN_SPEAKER_EMBEDDINGS=true # Enable voice profilesRequires WhisperX ASR Service container with GPU.
Mistral Voxtral (cloud diarization):
TRANSCRIPTION_CONNECTOR=mistral
TRANSCRIPTION_API_KEY=your-mistral-key
TRANSCRIPTION_MODEL=voxtral-mini-latestVibeVoice ASR (self-hosted, no cloud dependency):
TRANSCRIPTION_CONNECTOR=vibevoice
TRANSCRIPTION_BASE_URL=http://your-vllm-server:8000
TRANSCRIPTION_MODEL=vibevoiceRequires VibeVoice served via vLLM with GPU.
⚠️ PyTorch 2.6 Users: If you encounter a "Weights only load failed" error with WhisperX, addTORCH_FORCE_NO_WEIGHTS_ONLY_LOAD=trueto your ASR container. See troubleshooting for details.
View Full Installation Guide →
Complete documentation is available at murtaza-nasir.github.io/speakr
- Getting Started - Quick setup guide
- User Guide - Learn all features
- Admin Guide - Administration and configuration
- Troubleshooting - Common issues and solutions
- FAQ - Frequently asked questions
Security: open-redirect fix in is_safe_url (CWE-601). Patch release on top of v0.8.19-alpha.
- The
is_safe_url()helper validatedurljoin(request.host_url, target)whileredirect()was called with the rawtarget. A scheme-relative input such as////evil.comresolved to a same-host URL during validation but was emitted verbatim in theLocationheader, where browsers interpret it as a network-path-relative redirect to an attacker-controlled host. is_safe_url()now validates the raw target against a local-path allowlist: leading/required, scheme-relative URLs (//,/\), backslashes, control characters, and any value with a scheme or netloc are rejected. The duplicate copy insrc/api/auth.pywas removed; password login and the SSOnext/ callback flow share one validator.- Reported by RacerZ and Fushuling. Tracked as a GitHub Security Advisory; CVE pending. Users on v0.8.19-alpha or earlier should upgrade promptly.
No new features, no breaking changes.
Inquire-mode performance and re-embed reliability. Patch release on top of v0.8.18-alpha. Vectorised chunk similarity search (60s → 2-3s on large libraries), embedding API retries with backoff, transactional rollback when a partial embedding response would otherwise drop chunks, and Re-embed all retry passes that include stale-chunk recordings regardless of status.
API v1 folder operations. Patch release on top of v0.8.17-alpha (#274 follow-up).
GET /api/v1/recordings?folder_id=<id>(or?folder_id=none) filters list responses by folderPATCH /api/v1/recordings/{id}acceptsfolder_idto move a recording (ornullto remove it from any folder)PATCH /api/v1/recordings/batchacceptsfolder_idinsideupdatesfor bulk moves- OpenAPI schema documents all of the above plus the previously-undocumented batch fields (
is_inbox,is_highlighted,add_tag_ids,remove_tag_ids)
No breaking changes. The folder resource endpoints (CRUD on /api/v1/folders) shipped in v0.8.16-alpha; this release lets recordings actually be moved into and out of those folders.
Bug fixes and CI maintenance. Patch release on top of v0.8.16-alpha.
- Reprocess summary modal: prompt-variables panel and Append/Replace toggle now reflect the prompt source the user actually picked (was showing the recording's original tag variables and offering Append/Replace for tag-source prompts where it does not apply)
- Docs: corrected reverse-proxy nginx example so the WebSocket
Connection: upgradeheader is forwarded conditionally rather than set unconditionally (caused 500s on file uploads through the proxy with Gunicorn). Added a Nginx Proxy Manager section noting that NPM's defaultclient_max_body_sizeis2000mand that theAdvancedtab is the right place for per-host overrides. - CI: bumped all GitHub Actions to Node 24 versions to clear deprecation warnings.
No new features, no breaking changes.
Prompt Templating, Transcription UX Polish, Per-Recording Model Selection, and Observability
Prompt templating and summary control
- Prompt Template Variables - Tag, folder, user-default, and admin-default summary prompts can contain
{{name}}placeholders. Selecting a tag with{{agenda}}exposes an agenda input on the upload form; the value is stored on the recording, substituted into the prompt at summarisation time, and remains editable from the reprocess summary modal. Caps: 8,000 chars per value, 32,000 total. Single-passre.subsubstitution so values cannot introduce new placeholders or reach Python attributes. - Append vs Replace Mode - The reprocess summary modal and the new "Customise summary prompt" modal each let you Append text to the resolved prompt (combine your saved prompt with extra context) or Replace it entirely (use only the text you paste). Append mode runs variable substitution after the append step so appended text can use the same
{{var}}placeholders. - Customise Summary Prompt Split-Button - A new control next to Generate Summary opens the Append/Replace modal for recordings that don't have a summary yet, so one-off context (an agenda, custom focus instructions) can be passed in without rewriting your saved prompt.
- Full LLM Prompt Structure Preview - Both the admin Default Prompts page and the user Customise-prompts tab now show the complete two-message payload (system prompt with context block, user message with transcription wrapper and language directive). Placeholder chips colour-code system tokens (blue, replaced by the framework) versus user-supplied variables (amber). The user-side preview re-renders live as you type into your custom prompt.
Per-recording transcription control
- Per-Upload / Per-Tag / Per-Folder Transcription Model - Set
TRANSCRIPTION_MODELS_AVAILABLEand the upload form, reprocess modal, and tag/folder edit forms all gain a model dropdown. Tag and folder edit forms warn if a previously-selected default is no longer in the configured list. The dropdown is hidden when only one option would be visible. - Admin-Managed Transcription Model List - When the connector exposes
/v1/modelsdiscovery, admins can curate the list from the dashboard rather than via env var. Stored in the database; overridesTRANSCRIPTION_MODELS_AVAILABLEwhen set. - Per-Connector Capability Gating - The hotwords, initial-prompt, and speaker-count UI elements are now hidden for connectors that don't support them, instead of accepting input that is silently ignored.
- Mistral Voxtral Chunking -
MISTRAL_ENABLE_CHUNKING=true(withMISTRAL_MAX_DURATION_SECONDS) opts the Mistral connector into app-side chunking for recordings approaching Voxtral's 3-hour timeout.
ASR transcript editor
- Autosave - Saves edits 2 seconds after the last keystroke when the user opts in (
Account → Preferences → Autosave editor). - Save Without Closing + Ctrl+S - New button keeps the editor open after saving; Ctrl+S triggers a save from anywhere in the editor.
- Scroll Memory - Reopening the editor restores the previous scroll position instead of jumping to the top.
- Double-Click to Edit - Double-clicking a transcript row in the simple view jumps into the editor with that segment highlighted.
- Row Highlight After Jump - Briefly tints the row when navigating into it from the simple view so the target is obvious.
Account preferences
- Preferences Tab - Account settings has a new Preferences tab (split from the language settings) using a two-column layout for transcript display, editor behaviour, and language preferences.
- Compact Timestamps - Optional
mm:ss(orh:mm:ss) timestamps in the simple transcript view, rendered as a two-part pill alongside the speaker label. The leading segment shows "Start" instead of00:00. - Persist Recording-List Sort - The Created date / Meeting date toggle now sticks across reloads and sessions on the same browser (#263).
Embeddings and inquire mode
- Configurable Embedding Model -
EMBEDDING_MODELswapsall-MiniLM-L6-v2for any sentence-transformers model. - API-Mode Embeddings -
EMBEDDING_BASE_URL,EMBEDDING_API_KEY, andEMBEDDING_DIMENSIONSroute embeddings through any OpenAI-compatible provider (vLLM, OpenRouter, OpenAI, Together, etc.). Inquire startup banner reflects the active provider. - Embedding Token Tracking + Re-Embed-All - The Vector Store admin tab now tracks embedding API token usage and cost separately from LLM usage, and exposes a "Re-embed all" action for after a model or dimensionality change. Speakr warns at startup if the embedding identifier changed since data was stored.
Observability and admin
- Per-Operation Token Stats - Admin token statistics now break out title, summary, chat, event extraction, and embeddings as separate categories with their own cards and charts. Embedding usage is shown as a distinct cost line.
- Granular Token Budgets -
TITLE_MAX_TOKENSandEVENT_MAX_TOKENSjoin the existingSUMMARY_MAX_TOKENS/CHAT_MAX_TOKENSso reasoning models that consume budget on hidden thinking tokens can be tuned per operation. The resolvedmax_tokensis logged with each LLM call. - LLM Timeout Visibility - The configured
LLM_REQUEST_TIMEOUTis logged at startup, andAPITimeoutErrorlog entries now include elapsed time so it is clear whether the timeout was the actual bound that fired.
API v1
- Folder CRUD - New
/api/v1/foldersendpoints for list, create, update, delete. - Connector Discovery - New endpoint exposing the active transcription connector and its capabilities for companion-app integrations.
- Recording Field Parity -
/api/v1/recordingsand/api/v1/recordings/{id}now exposeaudio_duration, transcription/summarization durations, folder, events (detail only),deletion_exempt,prompt_variables, and the per-recording transcription model. - Forwarded Per-Request Overrides - The
/api/v1/transcribeendpoint now forwardstranscription_model,hotwords, andinitial_prompt. The custom-ASR-endpoint connector forwards a?model=query param so WhisperX runtime model switching works through the API.
Bug fixes
- Reprocessing now applies tag/folder/user default hotwords + initial_prompt (#265, previously only at upload time)
- Legacy user records with
transcription_language="français"are normalised to ISO 639-1 codes on upgrade so WhisperX no longer 500s on display names (#256) - Title generation no longer leaks
\\uXXXXescape sequences into the LLM prompt for non-ASCII transcripts; truncation now happens afterformat_transcription_for_llm(#260) - The Vector Store "recordings to process" message now uses the i18n params API instead of inline brace replace
- CSRF token added to the Preferences form so submissions are accepted
Infrastructure
- Vitest Frontend Tests - Pure-helper modules in
static/js/modules/utils/are now covered by Vitest. Runnpm test. Currently exercises the prompt-variable extraction and priority-chain logic.
Docs
- nginx reverse-proxy
proxy_request_buffering offandclient_max_body_sizenotes for large uploads - Google Gemini OpenAI-compatible endpoint setup example
- Prompt template variables guide
- Per-upload / per-tag / per-folder model selection documentation
EMBEDDING_BASE_URLAPI mode documentation across inquire-mode, vector-store, and troubleshooting
Older releases: see the GitHub Releases page for tagged versions, or the release history on the docs site for narrative changelog entries going back to earlier v0.x lines.
Main Screen with Chat |
Video Playback with Transcript |
AI-Powered Semantic Search |
Interactive Transcription & Chat |
View Full Screenshot Gallery →
- Backend: Python/Flask with SQLAlchemy
- Frontend: Vue.js 3 with Tailwind CSS
- AI/ML: OpenAI Whisper, OpenRouter, Ollama support
- Database: SQLite (default) or PostgreSQL
- Deployment: Docker, Docker Compose
- ✅ Speaker voice profiles with AI-powered identification (v0.5.9)
- ✅ Group workspaces with shared recordings (v0.5.9)
- ✅ PWA enhancements with offline support and background sync (v0.5.10)
- ✅ Multi-user job queue with fair scheduling (v0.6.0)
- ✅ SSO integration with OIDC providers (v0.7.0)
- ✅ Token usage tracking and per-user budgets (v0.7.2)
- ✅ Connector-based transcription architecture with auto-detection (v0.8.0)
- ✅ Comprehensive REST API with Swagger UI documentation (v0.8.0)
- ✅ Video retention with in-browser video playback (v0.8.11)
- ✅ Parallel uploads with duplicate detection (v0.8.11)
- ✅ Fullscreen video mode with live subtitles (v0.8.14)
- ✅ Custom vocabulary and transcription hints (v0.8.14)
- Quick language switching for transcription
- Automated workflow triggers
- Plugin system for custom integrations
- End-to-end encryption option
This project is dual-licensed:
-
GNU Affero General Public License v3.0 (AGPLv3)
Speakr is offered under the AGPLv3 as its open-source license. You are free to use, modify, and distribute this software under the terms of the AGPLv3. A key condition of the AGPLv3 is that if you run a modified version on a network server and provide access to it for others, you must also make the source code of your modified version available to those users under the AGPLv3.
- You must create a file named
LICENSE(orCOPYING) in the root of your repository and paste the full text of the GNU AGPLv3 license into it. - Read the full license text carefully to understand your rights and obligations.
- You must create a file named
-
Commercial License
For users or organizations who cannot or do not wish to comply with the terms of the AGPLv3 (for example, if you want to integrate Speakr into a proprietary commercial product or service without being obligated to share your modifications under AGPLv3), a separate commercial license is available.
Please contact speakr maintainers for details on obtaining a commercial license.
You must choose one of these licenses under which to use, modify, or distribute this software. If you are using or distributing the software without a commercial license agreement, you must adhere to the terms of the AGPLv3.
We welcome contributions to Speakr! There are many ways to help:
- Bug Reports & Feature Requests: Open an issue
- Discussions: Share ideas and ask questions
- Documentation: Help improve our docs
- Translations: Contribute translations for internationalization
By submitting a pull request, you agree to our Contributor License Agreement (CLA). This ensures we can maintain our dual-license model (AGPLv3 and Commercial). You retain copyright ownership of your contribution — the CLA simply grants us permission to include it in both the open source and commercial versions of Speakr. Our bot will post a reminder when you open a PR.
See our Contributing Guide for complete details on:
- How the CLA works and why we need it
- Step-by-step contribution process
- Development setup instructions
- Coding standards and best practices



