Skip to content

Speakr is a personal, self-hosted web application designed for transcribing audio recordings

Python

v0.9.0 docs + README + screenshot refresh — Wave 1 of the planned doc sweep (end-user docs only; admin webhook deep-dive and screenshots.md gallery rebuild are deferred to a follow-up); (1) release_notes_v0.9.0.md created at repo root following the v0.8.x release-notes style with sections for System Audio & Multi-Input Recording, Stats Tab, Upload Modal Redesign, Mobile UI, Inquire Mode, Design System Unification, Polish & Bug Fixes, Backend & Infrastructure, Localization, Compatibility; (2) README.md updated — version badge bumped to 0.9.0, Latest Release section rewritten to point at v0.9.0 (with the v0.8.21-alpha security patch moved into Previous Releases), Key Features list expanded with system audio + multi-input recording + recording stats + webhooks + mobile-first detail view + Brazilian Portuguese; (3) docs/index.md banner switched from warning (v0.8.21-alpha security) to success (v0.9.0 feature release); (4) docs/features.md gained a new top-of-page Recording & Capture section with Multi-Platform System Audio Capture, Multi-Input Recording, and Recording Stats feature blocks; (5) docs/user-guide/recording.md got the biggest rewrite — System Audio section now carries a platform support matrix table (Chrome/Edge × Windows/macOS/Linux/etc.), three calmer recording buttons explained as primary/secondary hierarchy, per-OS setup pulled from the help modal (macOS BlackHole + Multi-Output Device, Windows Share-system-audio checkbox, Linux pavucontrol three-option workflow with the pactl module-virtual-source one-liner), Input Device Picker & Multi-Input Recording section, Disable echo cancellation toggle explanation, Privacy Notes for virtual audio devices with per-OS mitigations; Upload Modal section rewritten for progressive disclosure / chip summary / sticky footer / file preview with duration probe / last-used defaults auto-restore / mobile bottom-sheet with drag-to-dismiss; (6) first-steps.md updated — single adaptive top header description, new Right Rail Tabs section with Stats and Events callouts; (7) transcripts.md gained Sticky Speaker Pills note and a Recording Stats section explaining the headline metrics + per-speaker breakdown + silence row; (8) inquire-mode.md added a tip box explaining the ?upload=1 deep-link from + New Recording; (9) settings.md added a Display subsection for the new audio-player-position preference; (10) pwa.md gained a Mobile-First Detail View section covering the bottom nav / single header / contextual icons in chevron row / edge-to-edge content / sticky speaker pills / editor / audio player / upload sheet drag-to-dismiss / progress queue bottom-sheet; (11) screenshot refresh via Playwright MCP from spdev.murtaza.cc — Main view.png and Inquire mode.png replaced at their original 1716x1270 dimensions; recording-upload-modal.png replaced at 1880x1427 to match upload-interface.png aspect; brand new screenshots added at matching sizes for recording-input-device-picker, system-audio-help-(linux/macos/windows), stats-tab, mobile-detail-view (414x896), mobile-transcript (414x896 — also shows the new bottom-sheet processing queue above the player + nav)

Murtaza Nasirab5ed60f9812
diff --git a/README.md b/README.md
index 3f0c2ddb..abec0e6b 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.21--alpha-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.9.0-brightgreen.svg"></a>
</p>
<p align="center">
@@ -33,15 +33,18 @@ Speakr transforms your audio recordings into organized, searchable, and intellig
## Key Features
### Core Functionality
-- **Smart Recording & Upload** - Record directly in browser or upload existing audio files
+- **Smart Recording & Upload** - Record from your microphone, system audio, or a mix of both — with a per-OS setup guide and a virtual-device picker that exposes Pulse monitor sources, BlackHole, VB-Cable, etc. as alternative inputs
- **AI Transcription** - High-accuracy transcription with speaker identification
- **Voice Profiles** - AI-powered speaker recognition with voice embeddings (requires WhisperX ASR service)
+- **Recording Stats** - At-a-glance per-recording metrics — total length, speaker count, conversation turns, per-speaker share with WPM, silence row
- **REST API v1** - Complete API with Swagger UI for automation tools (n8n, Zapier, Make) and dashboard widgets
+- **Webhooks** - HMAC-signed outbound webhooks for `recording.transcription.*`, `events.extracted`, lifecycle events; built-in retry, SSRF protection, account-settings UI
- **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
+- **Interactive Chat** - Floating, dockable chat panel that snaps to any corner, maximises, or docks into the right column
- **Inquire Mode** - Semantic search across all recordings using natural language
-- **Internationalization** - Full support for English, Spanish, French, German, Chinese, and Russian
+- **Mobile-First Detail View** - Bottom nav with Summary / Transcript / Chat / More, sticky speaker pills, drag-to-dismiss upload sheet
+- **Internationalization** - Full support for English, Spanish, French, German, Chinese, Russian, and Brazilian Portuguese
- **Beautiful Themes** - Light and dark modes with customizable color schemes
### Collaboration & Sharing
@@ -179,15 +182,43 @@ 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.21-alpha)
+## Latest Release (v0.9.0)
-**Security: CSRF bypass via unauthenticated API token parameter, plus chained SSO-only account takeover (CWE-287).** Patch release on top of v0.8.20-alpha. **All users should upgrade promptly.**
+**The first non-patch release in the v0.8 line.** Three big user-facing themes: capturing audio is now multi-platform and properly documented, the mobile app is a first-class member of the design system, and the upload modal stops feeling like a desktop card pasted onto a phone. **Full release notes: [`release_notes_v0.9.0.md`](release_notes_v0.9.0.md).**
-- The `csrf_exempt_for_api_tokens` before_request hook permanently disabled CSRF protection on the targeted view as soon as any request carried a `?token=` query parameter, even with a bogus value. The hook is gone; CSRF skipping is now a per-request decision driven by `load_user_from_token_headers_only()`, which validates the token against the database and only honours headers (not query strings) because a Simple Cross-Origin Request can carry one without preflight.
-- `change_password` no longer silently sets a password on an SSO-only account (where `current_user.password` is None). That branch was used in the chained-takeover proof-of-concept; SSO users now must continue to authenticate through SSO until a dedicated "add password to SSO account" flow exists.
-- Reported by **@Irench1k**. Tracked as a GitHub Security Advisory.
+**System Audio & Multi-Input Recording**
+- Per-OS help guide auto-opens for the right platform (macOS BlackHole + Multi-Output Device, Windows "Share system audio", Linux pavucontrol + `pactl module-virtual-source` one-liner)
+- New Input devices picker: pick a primary mic AND an optional "Also mix in" secondary device; Web Audio mixes both into one track for capturing both sides of a meeting
+- Toggle to disable Chrome's echo cancellation / noise suppression / auto-gain (needed for monitor-source capture)
+- Virtual audio device discovery (BlackHole, Loopback, VB-Cable, Voicemeeter, Stereo Mix, Pulse / PipeWire monitors)
+- Privacy notes section flags the trade-offs honestly with concrete mitigations
-No new features, no breaking changes.
+**Stats Tab**
+- New per-recording tab: total length, speaker count, turns, words at the top; per-speaker time / % / turns / words / WPM table; silence row
+- Available on desktop right-rail tabs and mobile bottom-nav More overflow
+
+**Upload Modal Redesign**
+- Real modal overlay (not full-screen takeover), progressive disclosure of Options behind a chip summary, inline file preview with duration probe, sticky modal-footer Upload action, last-used tag/folder/language auto-restore with clearable chips, calmer recording buttons
+- Mobile: full-width bottom-sheet with drag-to-dismiss
+
+**Mobile UI**
+- Bottom navigation (Summary / Transcript / Chat / More), contextual icons in the chevron row, edge-to-edge content, sticky speaker pills, sticky editor Cancel/Save footer, audio player polish (volume slider rotation fix, popover anchored upward), progress queue as a bottom sheet anchored above the player
+
+**Inquire mode** "+ New Recording" now opens the upload modal directly via `?upload=1` instead of dumping you on the list.
+
+**Design system unification** brought 22 modals onto shared `.modal-*` primitives, `.btn` + `.field` everywhere, dark-mode select theming, header consolidation, sidebar redesign, floating dockable chat panel.
+
+**Backend & infra**: Webhooks Phase 1–3 with HMAC + retry + SSRF guard, server-side recording sessions (hours-long ceiling, resume-on-reload), IDOR fixes for folder / tag ownership, eager-loading and batch query performance work.
+
+**Localization** refreshed across en, fr, de, es, ru, zh, pt-BR.
+
+### Previous Release (v0.8.21-alpha)
+
+**Security: CSRF bypass via unauthenticated API token parameter, plus chained SSO-only account takeover (CWE-287).** Patch release on top of v0.8.20-alpha.
+
+- The `csrf_exempt_for_api_tokens` before_request hook permanently disabled CSRF protection on the targeted view as soon as any request carried a `?token=` query parameter. The hook is gone; CSRF skipping is now a per-request decision driven by `load_user_from_token_headers_only()`.
+- `change_password` no longer silently sets a password on an SSO-only account.
+- Reported by **@Irench1k**. Tracked as a GitHub Security Advisory.
### Previous Release (v0.8.20-alpha)
diff --git a/docs/assets/images/screenshots/Inquire mode.png b/docs/assets/images/screenshots/Inquire mode.png
index 508fed8c..b6d48e1d 100644
Binary files a/docs/assets/images/screenshots/Inquire mode.png and b/docs/assets/images/screenshots/Inquire mode.png differ
diff --git a/docs/assets/images/screenshots/Main view.png b/docs/assets/images/screenshots/Main view.png
index 3eaadba6..b7ecabb8 100644
Binary files a/docs/assets/images/screenshots/Main view.png and b/docs/assets/images/screenshots/Main view.png differ
diff --git a/docs/assets/images/screenshots/mobile-detail-view.png b/docs/assets/images/screenshots/mobile-detail-view.png
new file mode 100644
index 00000000..e32d38d7
Binary files /dev/null and b/docs/assets/images/screenshots/mobile-detail-view.png differ
diff --git a/docs/assets/images/screenshots/mobile-transcript.png b/docs/assets/images/screenshots/mobile-transcript.png
new file mode 100644
index 00000000..84eee80d
Binary files /dev/null and b/docs/assets/images/screenshots/mobile-transcript.png differ
diff --git a/docs/assets/images/screenshots/recording-input-device-picker.png b/docs/assets/images/screenshots/recording-input-device-picker.png
new file mode 100644
index 00000000..9853771b
Binary files /dev/null and b/docs/assets/images/screenshots/recording-input-device-picker.png differ
diff --git a/docs/assets/images/screenshots/recording-upload-modal.png b/docs/assets/images/screenshots/recording-upload-modal.png
index 3872cb95..c0a5e102 100644
Binary files a/docs/assets/images/screenshots/recording-upload-modal.png and b/docs/assets/images/screenshots/recording-upload-modal.png differ
diff --git a/docs/assets/images/screenshots/stats-tab.png b/docs/assets/images/screenshots/stats-tab.png
new file mode 100644
index 00000000..7f4401b6
Binary files /dev/null and b/docs/assets/images/screenshots/stats-tab.png differ
diff --git a/docs/assets/images/screenshots/system-audio-help-linux.png b/docs/assets/images/screenshots/system-audio-help-linux.png
new file mode 100644
index 00000000..08aaf7be
Binary files /dev/null and b/docs/assets/images/screenshots/system-audio-help-linux.png differ
diff --git a/docs/assets/images/screenshots/system-audio-help-macos.png b/docs/assets/images/screenshots/system-audio-help-macos.png
new file mode 100644
index 00000000..8f1d8c82
Binary files /dev/null and b/docs/assets/images/screenshots/system-audio-help-macos.png differ
diff --git a/docs/assets/images/screenshots/system-audio-help-windows.png b/docs/assets/images/screenshots/system-audio-help-windows.png
new file mode 100644
index 00000000..8eef7454
Binary files /dev/null and b/docs/assets/images/screenshots/system-audio-help-windows.png differ
diff --git a/docs/features.md b/docs/features.md
index 39b47944..ce464957 100644
--- a/docs/features.md
+++ b/docs/features.md
@@ -2,6 +2,20 @@
Speakr combines powerful transcription capabilities with intelligent AI features to transform your audio recordings into valuable, actionable knowledge. Every feature is designed to save time and extract maximum value from your spoken content.
+## Recording & Capture
+
+### Multi-Platform System Audio Capture
+
+Record your microphone, your system audio, or a mix of both — with platform-aware setup guidance. Speakr detects your OS and browser and shows a per-OS help guide for what works where: Chrome / Edge on Windows or ChromeOS captures full system audio out of the box via the "Share system audio" checkbox; macOS and Linux capture tab audio directly, and full system audio via documented virtual-audio-device workflows (BlackHole + Multi-Output Device on macOS, `pactl module-virtual-source` one-liner on Linux). A small amber indicator appears on the System Audio / Mic + System buttons when full system audio isn't expected to work on the current platform, so users know before clicking. See the [Recording guide](user-guide/recording.md#platform-support-matrix) for the full matrix.
+
+### Multi-Input Recording (Mic + Secondary Device)
+
+A new Input devices picker in the upload modal lets you pick a primary microphone AND an optional secondary device (a Pulse monitor source, BlackHole, VB-Cable, etc.). Speakr captures both streams in parallel and mixes them via Web Audio into a single track — the canonical solution for capturing **both sides of a meeting** on macOS or Linux where the browser can't capture full system audio natively. Virtual / monitor devices are detected and badged in the picker. A separate toggle disables Chrome's echo cancellation / noise suppression / auto-gain — necessary for monitor-source capture because the suppressor otherwise gates sustained speech to silence.
+
+### Recording Stats
+
+A per-recording Stats tab shows total length, speaker count, conversation turns, and word count as headline metrics, then a per-speaker breakdown table (desktop) or card stack (mobile) showing each speaker's speaking time, percentage of total audio, turn count, words, and WPM. A silence row shows how much of the recording was actually quiet. Stats appear automatically when the transcript has speaker diarisation with per-segment timestamps.
+
## Core Transcription Features
### Multi-Engine Support
diff --git a/docs/index.md b/docs/index.md
index c061f205..098edaec 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -6,12 +6,10 @@ Speakr is a powerful self-hosted transcription platform that helps you capture,
<img src="assets/images/screenshots/Main view.png" alt="Main Interface" style="border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1);">
</div>
-!!! warning "Latest Release: v0.8.21-alpha - Security Patch (CSRF Bypass + SSO Account Takeover)"
- **CSRF bypass via unauthenticated API token parameter, plus chained SSO-only account takeover (CWE-287).** All users should upgrade promptly.
+!!! success "Latest Release: v0.9.0 — Multi-platform recording, Stats tab, mobile rebuild, design-system unification"
+ The first non-patch release in the v0.8 line. Three big user-facing themes: capturing audio is now multi-platform with a per-OS help guide and a Web Audio mixing path for capturing both sides of a meeting; a new Stats tab shows per-recording metrics; the mobile detail view is a first-class member of the design system. Upload modal redesigned, inquire mode polished, dark-mode select dropdowns finally legible.
- - The `csrf_exempt_for_api_tokens` before_request hook permanently disabled CSRF protection on the targeted view as soon as any request carried a `?token=` query parameter. Replaced with a per-request, header-only, database-validated check.
- - `change_password` no longer silently sets a password on an SSO-only account (where `current_user.password` is None); this was the chained-takeover path.
- - Reported by **@Irench1k**. Tracked as a GitHub Security Advisory.
+ See the [full release notes](https://github.com/murtaza-nasir/speakr/blob/master/release_notes_v0.9.0.md) for the complete list. Backwards compatible with v0.8.x; database migrations run automatically.
## Quick Navigation
diff --git a/docs/user-guide/first-steps.md b/docs/user-guide/first-steps.md
index 9b18f877..f9b5a3db 100644
--- a/docs/user-guide/first-steps.md
+++ b/docs/user-guide/first-steps.md
@@ -10,11 +10,9 @@ The main view is organized into three distinct sections that work together seaml
## Top Navigation Bar
-The navigation bar at the top of the screen provides quick access to essential features:
+The header is a single adaptive bar — in list view it shows the Speakr logo and global controls; when you open a recording it consolidates to also show the recording title, the edit pen, regenerate-title button, status badge, and the row of action icons (folder, inbox, star, tags, reprocess transcription, regenerate summary, identify speakers, share, delete). On the right side, the **Inquire** button opens semantic search across all your recordings, the **+ New Recording** button opens the upload modal as an overlay (your current detail view stays visible behind), and your username appears with a dropdown menu containing settings, language preferences, dark mode toggle, color scheme picker, and logout.
-![Navigation Elements](../assets/images/screenshots/Main view.png)
-
-Starting from the left, you'll find the Speakr logo which always brings you back to the main view from anywhere in the application. The Inquire button opens the semantic search interface, allowing you to search across all your recordings using natural language questions. The New Recording button is your gateway to creating new content, either by uploading existing audio files or recording directly in your browser. On the right side, your username appears with a dropdown menu containing access to settings, language preferences, and the logout option.
+On mobile the header keeps just the title, edit pen, regenerate-title, search, +, and user menu — the per-recording action toolbar moves into the chevron-expand row of the detail view below.
## Left Sidebar - Recording List and Filters
@@ -51,7 +49,16 @@ If your recording was processed with speaker diarization, you'll also see a Simp
## Recording Metadata Bar
-Spanning across the top of both the center and right panels, the metadata bar displays important recording information and provides quick access to actions. From left to right, you'll see the recording title, participant names (if identified), recording date and time, file size, and duration. The action buttons on the right side of this bar allow you to bookmark the recording (star icon), edit recording details (pencil icon), manage tags (tag icon), reprocess the transcription (refresh icon), share the recording (share icon), and delete the recording (trash icon).
+Spanning across the top of both the center and right panels, the metadata bar displays important recording information and provides quick access to actions. From left to right, you'll see the recording title, participant names (if identified), recording date and time, file size, and duration. The action buttons (folder, inbox, star, tags, reprocess, regenerate summary, identify speakers, share, delete) are now consolidated into the global header alongside the title — same icons, one row.
+
+## Right Rail Tabs (Desktop)
+
+The right-rail carries three core tabs (Summary, Notes, Chat) plus two contextual ones that appear when applicable:
+
+- **Stats** — A per-recording metrics tab with total length, speaker count, conversation turns, word count as headline cards, then a per-speaker table showing each speaker's speaking time, percentage of total audio, turn count, words, and words-per-minute. A trailing silence row shows how much of the recording was actually quiet. The tab only appears when the transcript has speaker diarisation with per-segment timestamps.
+- **Events** — Extracted calendar events from the transcript when present, with export-to-ICS.
+
+The tab bar carries an inline action toolbar on the right (copy / download / edit for Summary and Notes; export-to-calendar for Events) so per-tab actions are reachable without leaving the tab.
## Right Panel - Playback, Summary, Notes, and Chat
diff --git a/docs/user-guide/inquire-mode.md b/docs/user-guide/inquire-mode.md
index 453c4eb3..c85f6f9c 100644
--- a/docs/user-guide/inquire-mode.md
+++ b/docs/user-guide/inquire-mode.md
@@ -23,6 +23,9 @@ Access Inquire Mode by clicking the Inquire button in the top navigation bar. Th
The beauty of Inquire Mode is its simplicity. You don't need to learn special search syntax or commands. Just type your question as you would ask a colleague, and the system handles the complexity of finding and synthesizing the relevant information.
+!!! tip "+ New Recording from Inquire mode"
+ Inquire mode runs as a separate Vue application, so it can't embed the main app's upload modal directly. The **+ New Recording** button in the inquire header redirects to `/?upload=1`; the main app reads that query parameter on mount, opens the upload modal automatically, and strips the parameter from the URL so a refresh doesn't re-trigger. Result: one click from "I need to add a recording" to the upload modal, same as if you'd hit + New Recording from anywhere else in the app.
+
## Using Filters to Focus Your Search
The left sidebar contains filters that help you narrow your search to specific recordings before asking your question. This is particularly useful when you have a large library and want to focus on certain contexts.
diff --git a/docs/user-guide/pwa.md b/docs/user-guide/pwa.md
index c622495d..017c2d85 100644
--- a/docs/user-guide/pwa.md
+++ b/docs/user-guide/pwa.md
@@ -56,6 +56,20 @@ A Progressive Web App combines the best of web and mobile apps:
## PWA Features
+### Mobile-First Detail View (v0.9.0+)
+
+The mobile recording detail view is a first-class member of the design system. When you open a recording on a phone you see:
+
+- **Single header** — the global app header carries the title + edit pen + regenerate-title; the per-recording strip below carries participants, status, folder / tag / share pills, and a chevron to expand for action toolbar + secondary metadata.
+- **Bottom navigation** — Summary, Transcript, Chat as direct tabs, plus a **More** overflow that opens a bottom-sheet for Notes / Stats / Events when those tabs are available.
+- **Contextual icons in the chevron row** — Copy / download / edit for Summary and Notes, the follow-player and view-mode toggles for Transcript, calendar-export for Events. Shares the chevron's row so it doesn't take a separate row of vertical space.
+- **Edge-to-edge content** — Panels run full-width to the screen edges instead of sitting inside nested gutters.
+- **Sticky speaker pills** — In the transcript, the speaker tablet pins to the top of the scroll area for the entire speaker's run.
+- **Editor with sticky Cancel / Save footer** — Markdown editing for Summary and Notes uses a flat-corner editor that spans edge-to-edge, with a sticky footer that keeps Cancel and Save reachable for long content.
+- **Audio player** — Sits above the bottom nav with `.btn--icon.btn--sm` consistency across speed / volume / download / fullscreen / video-toggle. The volume slider popover opens upward.
+- **Upload modal as a bottom sheet** — Drag the modal header down to dismiss; the sheet animates fully off-screen if you drag past 120 px or 25 % of viewport height.
+- **Processing queue as a bottom sheet** — When background jobs are running, the queue sits above the player + nav strip (was overlapping them in earlier versions).
+
### Offline Support
Once installed, Speakr caches essential files for offline use:
diff --git a/docs/user-guide/recording.md b/docs/user-guide/recording.md
index cc07cf82..f076f15d 100644
--- a/docs/user-guide/recording.md
+++ b/docs/user-guide/recording.md
@@ -4,15 +4,15 @@ Speakr provides two powerful ways to add content to your library: uploading exis
## Important: Browser Requirements for Recording
-Before you start recording, it's crucial to understand that browser security features can affect your ability to record audio, especially system audio. For security reasons, most browsers require HTTPS connections for audio recording features. If you're accessing Speakr locally (not via localhost), you may need to configure your browser to allow audio recording on HTTP connections. Detailed browser configuration instructions are provided at the bottom of this page.
+Browser security features affect your ability to record audio, especially system audio. Most browsers require HTTPS for audio capture (localhost is a permitted exception). If you're accessing Speakr over HTTP from another machine on your network, you may need to configure your browser to allow audio recording on insecure connections — instructions are at the bottom of this page.
-When recording system audio, you'll need to grant screen sharing permissions and specifically enable the "Also share system audio" option. Without this, only your microphone will be recorded. Different browsers may phrase this option differently, but it's essential for capturing computer audio.
+When recording system audio, you'll grant screen sharing permission and tick a **"Share system audio"** (or **"Share tab audio"**) checkbox in the share dialog. Different browsers phrase the checkbox slightly differently but the option is always there for the capture modes that work on your platform — see the [platform support matrix](#platform-support-matrix) below for which capture modes work on which OS / browser combinations.
-## Accessing the New Recording Screen
+## Accessing the Upload Modal
-Click the "+ New Recording" button in the top navigation bar to access the recording interface. This opens a dedicated screen where you can either upload files or start a live recording.
+Click the **+ New Recording** button in the top navigation bar (or from the empty-state landing card, or via the deep-link from Inquire mode). This opens the upload modal over your recordings list or the open recording's detail view — backdrop click and Esc dismiss without uploading.
-![New Recording View](../assets/images/screenshots/Recording interface.png)
+![Upload Modal](../assets/images/screenshots/recording-upload-modal.png)
## Uploading Audio Files
@@ -27,52 +27,139 @@ When you upload a file, it immediately appears in the upload queue with a progre
## Recording Live Audio
-Below the upload area, you'll find the audio recording section with three distinct recording modes, each designed for different scenarios:
+The upload modal includes three recording buttons under the drag-and-drop file area. **Microphone** sits as the full-width primary button (the everyday case); **System Audio** and **Mic + System** sit on a secondary tier with smaller buttons and coloured icon accents. A small amber dot appears on the System Audio / Mic + System buttons when full system audio isn't expected to work on the platform Speakr detected (more on this in the [platform matrix](#platform-support-matrix) below) — clicking the button still works for tab audio in that case, with a help-modal link explaining the workaround.
-![Recording Options](../assets/images/screenshots/recording-upload-modal.png)
+![Recording Options](../assets/images/screenshots/recording-single-source.png)
### Microphone Recording
-The red microphone button captures audio from your selected microphone. This mode is perfect for recording in-person meetings, personal voice notes, or interviews. When you click this option, your browser will request microphone permission if it hasn't been granted already. You can select which microphone to use if you have multiple input devices connected.
+Captures audio from your selected microphone. Perfect for in-person meetings, personal voice notes, and interviews. The browser will prompt for microphone permission the first time. By default Speakr uses your operating system's default input; pick a specific device via the **Input devices** picker (described below) if you want a USB headset, a virtual audio device, or a Pulse monitor source instead.
### System Audio Recording
-The blue system audio button captures all sound playing through your computer. This is ideal for recording online meetings when you're primarily listening, webinars, online presentations, podcasts, or any audio content playing on your computer. This feature uses the browser's screen capture API, so you'll need to select which screen or application to share when you start recording. Make sure to check the "Share system audio" checkbox in the sharing dialog.
+Captures audio playing through your computer (or a specific browser tab) via the browser's screen-share API. Ideal for recording online meetings when you're primarily listening, webinars, online presentations, podcasts, or any audio playing locally. When you click the button, the browser shows its share dialog — pick **Entire Screen**, a **Window**, or a **Tab**, then tick the **Share system audio** / **Share tab audio** checkbox in the dialog. The checkbox is the critical step; without it the recording will be silent.
### Combined Recording (Microphone + System)
-The purple combined button records both your microphone and system audio simultaneously into a single synchronized track. This is the recommended mode for online meetings where you're an active participant, as it captures both sides of the conversation. The system intelligently mixes both audio sources, ensuring clear recording of both your voice and the meeting audio.
+Records both your microphone AND system audio simultaneously, mixed into a single synchronized track. The recommended mode for online meetings where you're an active participant — it captures both sides of the conversation. Same share dialog as System Audio Recording, with the same Share system audio checkbox requirement.
+
+## Platform Support Matrix
+
+The browser's `getDisplayMedia` API gates what system-audio capture modes actually work. Speakr detects your OS and browser and shows platform-aware hints inline, but the matrix is summarized here:
+
+| Browser | OS | Tab audio | Window audio | Full system audio |
+|---|---|---|---|---|
+| Chrome / Edge | Windows / ChromeOS | ✅ | ✅ | ✅ via "Share system audio" checkbox |
+| Chrome / Edge | macOS | ✅ (only when sharing a tab) | ❌ | ❌ — needs a virtual audio device |
+| Chrome / Edge | Linux | ✅ (only when sharing a tab) | ❌ | ❌ — needs a Pulse monitor source |
+| Firefox | any OS | ❌ | ❌ | ❌ — no audio via getDisplayMedia |
+| Safari | any OS | ❌ | ❌ | ❌ — no audio via getDisplayMedia |
+
+If you click System Audio or Mic + System on a platform where capture won't deliver an audio track, Speakr opens a per-OS help guide automatically. The guide tabs are described below.
+
+## Per-OS Setup for System Audio
+
+### macOS
+
+macOS doesn't let any browser capture system audio directly — the OS treats audio capture as a privileged operation that browsers (sandboxed apps) can't request. There are two paths:
+
+**Option A. Tab audio (no install).** Play the source content in a Chrome tab (YouTube, Zoom web, meeting URL, etc.), click **System Audio** in Speakr, pick that tab in the share dialog, tick **Share tab audio**. Works only for content playing inside a browser tab — native app audio (Slack desktop, native Zoom client, etc.) won't be captured.
+
+**Option B. Virtual audio device (recommended for native app audio).** Install [BlackHole 2ch](https://existential.audio/blackhole/) (free; installer signs cleanly with no kernel-extension prompts). Open **Audio MIDI Setup**, create a **Multi-Output Device** containing your speakers + BlackHole, and set this as your system output. In Speakr, click **Microphone** and pick **BlackHole 2ch** as the input. Once set up, system audio captures continuously regardless of which tab or window is active. Alternative paid tools: [Loopback](https://rogueamoeba.com/loopback/) (Rogue Amoeba) is the most polished UX.
+
+### Windows
+
+Chrome and Edge on Windows are the easiest path — system-wide capture works out of the box:
+
+1. Click **System Audio** or **Mic + System** in Speakr
+2. Pick **Entire Screen** in the share dialog
+3. Tick **Share system audio** (bottom-left of the dialog)
+4. Click **Share**
+
+Per-window capture is also available: pick **Window** instead of Entire Screen, choose the specific app, tick **Share window audio**. Useful for meeting recordings without your own keyboard/typing noise.
+
+If you hit "no audio track" errors with specific apps (Spotify desktop, DRM-protected video sometimes suppress system-audio capture), the standard workaround is a virtual cable like [VB-Audio Cable](https://vb-audio.com/Cable/).
+
+### Linux
+
+Linux has three distinct paths. Pick the one that matches what you want to capture:
+
+**Option A. Tab audio (no setup).** Play the source content in a Chrome tab, click **System Audio**, pick the tab in the share dialog, tick **Share tab audio**. Note: this won't show up in pavucontrol. Chrome captures tab audio internally and never routes through PulseAudio, so the Recording tab will say "No application is currently recording audio." That's normal — Speakr's meter is the source of truth. Only captures audio playing inside a browser tab; native apps (Slack, Spotify desktop, Discord) won't be picked up.
+
+**Option B. Switch source in pavucontrol mid-recording.** Quick but limited — captures system audio at the cost of your mic input. Useful only when you want to record what's playing through your headphones / speakers without your own voice. Click **Microphone** in Speakr, open `pavucontrol` → **Recording** tab, change Speakr's capture source from your mic to **Monitor of &lt;your output&gt;**.
+
+**Option C. Expose a virtual source so Chrome will list it (recommended).** Chrome on Linux deliberately filters "Monitor of …" sources out of the input device list it exposes to web apps — that's why Speakr's input-device picker doesn't show them even though pavucontrol does. The fix is to wrap a monitor source in a regular virtual source that Chrome doesn't filter. Once you do this, the new source appears in Speakr's picker and you can use it as either the primary input OR as a "Also mix in" alongside your real mic.
+
+Find your output sink name (the part before `.monitor`):
-## How to Enable System Audio Recording
+```bash
+pactl list short sinks
+```
-When you click to record system audio (or both microphone and system), your browser will display a screen sharing dialog. This might seem confusing at first since you want to record audio, not share your screen, but this is how browsers provide access to system audio.
+Then wrap its monitor as a virtual source Chrome will list:
-### Recording from a Browser Tab
+```bash
+pactl load-module module-virtual-source \
+ source_name=speakr_loopback \
+ master=<sink_name>.monitor
+```
-Choose the tab option if the audio you want to record is playing within a specific browser tab, such as audio/video content on YouTube, web-based meeting platforms (like Google Meet or browser-based Zoom), or online training sessions.
+Reload Speakr's input-device picker — you'll now see `speakr_loopback` in the dropdown. Pick it as **"Also mix in"** alongside your real mic and you'll capture both. To persist across reboots, add the `load-module` line (without `pactl`) to `~/.config/pulse/default.pa`.
-![Tab Selection with Audio](../assets/images/screenshots/record from tab.png)
+**PipeWire (newer distros).** Same idea — wrap the monitor in a virtual source so Chrome doesn't filter it. Use `pw-loopback`:
-When selecting a tab, you'll see a preview of all your open tabs. Choose the tab containing your audio source, then make sure to enable the **"Also share tab audio"** checkbox at the bottom of the dialog. This checkbox is critical - without it enabled, you'll only record silence. The exact wording may vary by browser (Chrome might say "Share tab audio" while Edge might phrase it slightly differently), but there will always be an audio-related checkbox that must be checked.
+```bash
+pw-loopback \
+ --capture-props='node.target=<sink>.monitor' \
+ --playback-props='media.class=Audio/Source node.name=speakr_loopback'
+```
-This option will only capture audio from that specific tab, so make sure all the audio you're interested in is within that single tab before starting your recording.
+Or use `qpwgraph` / `helvum` to wire it visually.
-### Recording from Your Entire Screen
+## Input Device Picker & Multi-Input Recording
-Choose the screen option if the audio you want to record is coming from desktop applications or multiple sources.
+Under the recording buttons is a collapsible **Input devices** section. Expanded, it shows two dropdowns:
-![Screen Selection Dialog](../assets/images/screenshots/record from screen.png)
+![Input device picker](../assets/images/screenshots/recording-input-device-picker.png)
-This is the recommended option when recording:
+- **Primary input** — defaults to your OS's default microphone. Pick a specific input here if you want a USB headset, BlackHole, VB-Cable, or a Pulse / PipeWire monitor source as your primary capture device. Virtual / monitor entries are badged.
+- **Also mix in (optional)** — pick a second input device and Speakr will capture both streams in parallel and mix them via Web Audio into one MediaRecorder track. This is the canonical solution for **capturing both sides of a meeting** on macOS or Linux where the browser can't capture full system audio natively — set your real mic as Primary, set BlackHole / `speakr_loopback` / VB-Cable as the secondary, and one recording captures your voice plus the remote participants.
-- Desktop applications like Zoom client, Microsoft Groups, Skype, or Discord
-- Audio from multiple browser tabs simultaneously
-- System sounds or notifications you want to capture
-- Any combination of audio sources on your computer
+Device labels are blank until you grant microphone permission. The first time you expand the picker, click the **Request microphone permission** link so the OS shows the prompt; subsequent recordings remember the permission and the labels populate.
-When you select "Your Entire Screen", you'll see previews of all your available screens (if you have multiple monitors). It doesn't matter which screen you choose since Speakr only records audio, not video. The critical step is to enable the **"Also share system audio"** checkbox at the bottom of the dialog. Without this checkbox enabled, you'll only record silence.
+**Persistence**: the primary + secondary device choices are saved in `localStorage` so you configure them once and they survive across sessions.
-**Important macOS Limitation:** The "Also share system audio" option is available on Windows and Linux, but may not be available on macOS due to operating system limitations. macOS users may only be able to record audio from browser tabs, not from the entire system or desktop applications. This is a limitation imposed by macOS's security model, not by Speakr or your browser.
+### Disable echo cancellation, noise suppression & auto-gain
+
+A small checkbox below the recording buttons disables Chrome's default audio processing trio:
+
+```
+[ ] Disable echo cancellation, noise suppression & auto-gain
+ — enable when you're routing system audio in through a monitor source
+ or virtual audio device. Leave off for normal microphone recording.
+```
+
+Why this matters: Chrome's `noiseSuppression` algorithm is tuned for human voice next to a microphone. When you route sustained speech or music through a monitor source / virtual audio device, the algorithm classifies the sustained audio as noise and gates the stream to silence about a second in. Turning the processing off is necessary for monitor-source capture to actually produce audio. The choice persists in `localStorage`.
+
+For a normal microphone recording (mic in front of your face, in a quiet room), leave this off — Chrome's processing meaningfully improves audibility.
+
+## Privacy Notes for Virtual Audio Devices
+
+Once you install BlackHole / Loopback on macOS, VB-Cable / Voicemeeter / Stereo Mix on Windows, or load `speakr_loopback` (or any virtual source) on Linux, that device shows up in `navigator.mediaDevices.enumerateDevices()` alongside your real microphone. **Any site you've granted mic permission to can pick that device and capture whatever audio is flowing through it**, under the same recording indicator the browser shows for normal mic capture — not the "screen sharing" indicator.
+
+Per-OS specifics:
+
+- **macOS (BlackHole / Loopback)** — The device is a permanently installed audio driver. The risk is active only while system audio is actually routed through it, i.e. while your output is set to the Multi-Output Device. When you're not recording, switch the system output back to your normal speakers so nothing flows through BlackHole.
+- **Windows (VB-Cable, Voicemeeter, Stereo Mix)** — Same pattern. The risk is active while audio is routed through the cable. Native "Share system audio" via the share dialog has no comparable exposure because nothing is routed through a virtual mic.
+- **Linux (`speakr_loopback`)** — Chrome's filtering of "Monitor of …" sources is a deliberate privacy protection. The `module-virtual-source` wrap explicitly undoes that protection. Unlike macOS / Windows the device is a runtime module you can `pactl unload-module` at will.
+
+**Mitigations (apply on every OS):**
+
+- **Route through the virtual device only while recording.** On macOS, switch the system output back to your speakers after. On Windows, stop routing through the cable. On Linux, `pactl unload-module module-virtual-source` after recording (or simply don't add the `load-module` line to `default.pa`).
+- **Audit your mic permissions** at `chrome://settings/content/microphone` and remove any site that doesn't strictly need it.
+- **Use a less obvious device name** where you can choose one (e.g. `aux_in` instead of `speakr_loopback`). Doesn't stop a determined enumerator but raises the bar.
+
+**Where the audio ends up**: Captured audio goes to your Speakr server (self-hosted by you) and then to whichever ASR endpoint you've configured. If you're running a local Whisper / self-hosted ASR, audio never leaves your network. If your ASR is OpenAI or another cloud provider, audio gets sent there.
## During Recording - Live Interface
@@ -100,13 +187,21 @@ Common use cases for live notes include capturing action items and deadlines dur
## Finalizing Your Recording
-After stopping a recording or selecting an uploaded file, you'll see the finalization screen where you can add metadata and configure processing options:
+After stopping a recording or dropping a file, the upload modal stays open so you can review and configure before committing. The modal has four main regions:
-![Upload Modal](../assets/images/screenshots/recording-upload-modal.png)
+**1. File picker / queue.** The drag-and-drop file area at the top, plus the queued files list. Each queued file shows its **name**, **size**, and **duration** (probed asynchronously from the container header so it appears within a fraction of a second — no full payload read). Video files get a sky-blue video glyph instead of the audio one so you can tell which files in the queue are video at a glance.
+
+**2. Recording buttons + Input devices + processing toggle.** Hidden when files are queued (since you're uploading, not recording). Otherwise: the three recording buttons (Microphone, System Audio, Mic + System), the collapsible Input devices picker, the "Disable echo cancellation" toggle, and platform-aware hints.
+
+**3. Options group (progressive disclosure).** Folder, tags, prompt variables, and advanced ASR options are tucked behind a single collapsible **Options** row with a **chip summary** of what's currently set. Chips show the folder pill in its colour, an "N tags" count, a language code if set, and a speaker-count chip if min/max are set — each with an inline × to clear individual selections without expanding the editor. Defaults to collapsed because most uploads inherit your last-used selections (see "Last-used defaults auto-restore" below); click the row to expand for editing.
+
+**4. Sticky modal footer.** Cancel on the left, Upload on the right. The Upload button is disabled until at least one file is queued, then shows "Upload N files" — always reachable while scrolling through long queues or the expanded Options group.
+
+**Last-used defaults auto-restore**: after every successful upload, your form choices (tag IDs, folder, language, min/max speakers) are memo-ed to `localStorage`. The next time you add a file to the queue, those values restore automatically — only filling slots you haven't already set this session. Each chip's × clears that selection if you want different ones this time.
### Adding Tags
-The tag system is one of Speakr's most powerful organizational features. Tags appear as colored pills that you can select to categorize your recording. You can apply multiple tags to a single recording, making it easy to cross-reference content across different categories.
+The tag system is one of Speakr's most powerful organizational features. Expand the **Options** group to see the tag picker. Tags appear as colored pills that you can select to categorize your recording. You can apply multiple tags to a single recording, making it easy to cross-reference content across different categories.
![Tag Selection and Stacking](../assets/images/screenshots/tag selection and stacking.png)
@@ -144,7 +239,20 @@ If a selected tag, folder, or your account default summary prompt contains `{{na
### Final Actions
-At the bottom of the modal, you have three options for proceeding. The "Upload" or "Start Processing" button begins transcription immediately with your selected settings. The recording will appear in your library with a processing indicator while transcription runs in the background. The "Discard" option deletes the recording without saving, useful if you made a test recording or captured the wrong content. Some configurations may also offer a "Save Draft" option to store the recording without processing it immediately.
+The sticky modal footer holds **Cancel** (dismisses without uploading) and **Upload N files** (begins transcription immediately with your selected settings). The recording appears in your library with a processing indicator while transcription runs in the background. If you started a recording from inside the modal and the upload completes, Speakr auto-navigates to the new recording's detail view; bulk drag-drop uploads of multiple files leave you on whatever you were viewing.
+
+If incognito mode is enabled at the server, a toggle in the upload modal lets you process recordings without saving them to your account. Incognito uploads accept one file at a time.
+
+### Mobile Upload Experience
+
+On phones the modal becomes a **bottom sheet** that slides up from the bottom of the viewport instead of a centered card. The sheet:
+
+- Takes the full viewport width with rounded top corners only
+- Carries a small drag-handle bar at the top as a draggability affordance
+- Can be **dragged down to dismiss** — pull the header down past 120 px (or 25 % of viewport height) and the sheet animates fully off-screen
+- Has a sticky Cancel / Upload footer that sits right above the thumb's natural rest position
+
+The recording buttons, Input devices picker, and Options chip summary all behave identically on mobile and desktop.
## Crash Recovery (v0.6.2+)
diff --git a/docs/user-guide/settings.md b/docs/user-guide/settings.md
index c98f8a8d..a548b03c 100644
--- a/docs/user-guide/settings.md
+++ b/docs/user-guide/settings.md
@@ -109,6 +109,10 @@ These settings used to live on the Account Information tab. They moved here so a
**Auto-save edits in the transcript editor.** When enabled, edits made in the transcript editor are saved automatically a couple of seconds after you stop typing, with a small `Saved` indicator to confirm. When disabled (the default), saves are explicit via the Save buttons or the `Ctrl+S` keyboard shortcut. Auto-save is useful for long editing sessions where the risk of losing work outweighs the predictability of explicit writes.
+### Display
+
+**Audio player position (desktop only).** Choose whether the persistent audio player sits at the **bottom** of the recording detail surface (default — spans the transcription + right rail with a single-row layout) or at the **top** (above the metadata and content area). The setting is saved on your account and takes effect on every recording. Mobile is unaffected; the mobile audio player always sits between the content area and the bottom navigation.
+
## Shared Transcripts Tab
![Shared Transcripts](../assets/images/screenshots/settings shared transcripts.png)
diff --git a/docs/user-guide/transcripts.md b/docs/user-guide/transcripts.md
index e88f5ed2..f7e86edd 100644
--- a/docs/user-guide/transcripts.md
+++ b/docs/user-guide/transcripts.md
@@ -90,6 +90,22 @@ When the **Show timestamps in simple view** preference is on (`Account → Prefe
The bubble view formats the transcription like a chat conversation, with each speaker's contributions in separate message bubbles. This format works particularly well for interviews, debates, or any recording with back-and-forth dialogue. The visual separation makes it easier to follow who said what in rapid exchanges.
+### Sticky Speaker Pills
+
+In both simple view and on mobile, consecutive segments from the same speaker are grouped into a **speaker run**, and the speaker's name + timestamp pill at the top of the run **pins to the top of the scroll area** for the entire run. As you scroll through a long monologue, the speaker pill stays visible until a different speaker takes over, so you always know who's talking even mid-paragraph. This eliminates the previous behaviour where the pill would scroll away with its first segment.
+
+## Recording Stats
+
+A **Stats** tab appears in the right-rail tab strip when the recording has speaker diarisation with per-segment timestamps. The tab shows:
+
+- **Headline metrics** — Total length of the recording, number of distinct speakers, conversation turns (each speaker switch counts as a turn), and total word count
+- **Per-speaker breakdown** — A table (desktop) or card stack (mobile) showing each speaker's speaking time, percentage of total audio, turn count, words, and words-per-minute (WPM, only when a meaningful sample is present). A slim proportion bar visualises each speaker's share.
+- **Silence row** — Detected silence is shown as its own row / card with the same proportion bar and duration so you can see how much of the meeting was actually quiet.
+
+![Stats Tab](../assets/images/screenshots/stats-tab.png)
+
+On mobile the Stats tab lives in the bottom-nav More overflow (alongside Notes and Events). Same data, narrower layout — the table becomes a card stack with each speaker as its own card, and the 4-column headline grid becomes a 2-column grid.
+
## Audio Synchronization and Follow Mode
For recordings processed with [speaker diarization](../features.md#speaker-diarization), Speakr provides bidirectional synchronization between the audio player and transcript, creating an interactive reading experience.