Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
Docs: document PWA share target, server-side recording sessions, webhooks; fix prompt-variable/version/playback-speed/repo-link staleness; add orphaned pages to nav
Murtaza Nasir411d7fa4458e
diff --git a/docs/features.md b/docs/features.mdindex ce464957..2cd6b3f7 100644--- a/docs/features.md+++ b/docs/features.md@@ -16,6 +16,10 @@ A new Input devices picker in the upload modal lets you pick a primary microphonA 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.+### Server-Side Recording Sessions++An opt-in mode (`ENABLE_SERVER_RECORDING_CHUNKS`) streams in-app recording chunks to the server as you record instead of buffering them in browser memory, raising the practical recording ceiling to hours-long sessions and letting you resume a recording after a page reload. See the [Recording guide](user-guide/recording.md#server-side-recording-sessions-long-recordings) and [admin setup](admin-guide/recording-sessions.md).+## Core Transcription Features### Multi-Engine Support@@ -199,6 +203,12 @@ Build powerful workflows with popular automation platforms:All tokens are hashed using SHA-256 before storage - the plaintext token is shown only once at creation. Set custom expiration periods for temporary integrations, or create non-expiring tokens for permanent workflows. Revoke tokens instantly from the Account Settings if compromised.+### Webhooks++Speakr can push outbound, HMAC-signed webhooks to your own endpoints when recordings move through their lifecycle. Subscriptions are managed from the account UI or the `/api/v1/webhooks` API, and delivery is resilient: failed sends are retried with exponential backoff, a subscription is auto-paused after repeated failures, and outbound requests are guarded by SSRF protection.++The events that can be subscribed to are `recording.created`, `recording.transcription.started`, `recording.transcription.completed`, `recording.transcription.failed`, `recording.summary.completed`, `recording.summary.failed`, `recording.events.extracted`, `recording.updated`, and `recording.deleted`. See the [Webhooks admin guide](admin-guide/webhooks.md) for payload formats and setup.+## Advanced Capabilities### Audio Chunkingdiff --git a/docs/user-guide/first-steps.md b/docs/user-guide/first-steps.mdindex f9b5a3db..d415fea6 100644--- a/docs/user-guide/first-steps.md+++ b/docs/user-guide/first-steps.md@@ -66,7 +66,7 @@ The right panel contains three tabbed sections that enhance your transcription w### Playback Controls-At the top of the right panel, you'll find the audio player controls. The play button starts and pauses playback, while the timeline shows your current position in the recording. You can click anywhere on the timeline to jump to that point. The speed control lets you adjust playback from 0.5x to 2x speed, which is particularly useful for quickly reviewing content or carefully analyzing specific sections.+At the top of the right panel, you'll find the audio player controls. The play button starts and pauses playback, while the timeline shows your current position in the recording. You can click anywhere on the timeline to jump to that point. The speed control lets you adjust playback from 0.5x to 3x speed, which is particularly useful for quickly reviewing content or carefully analyzing specific sections.If your recording has speaker diarization, clicking on any sentence in the transcription will automatically seek the audio player to that exact moment, providing seamless navigation through the recording.diff --git a/docs/user-guide/pwa.md b/docs/user-guide/pwa.mdindex 017c2d85..874592f5 100644--- a/docs/user-guide/pwa.md+++ b/docs/user-guide/pwa.md@@ -70,6 +70,15 @@ The mobile recording detail view is a first-class member of the design system. W- **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).+### Share to Speakr (Share Target)++Once the PWA is installed, Speakr appears in your phone's native share sheet. From any app that can share a file — a recorder, a file manager, a messaging app — pick **Speakr** to send an audio or video file straight in. Speakr saves the file, creates the recording, and starts transcribing automatically.++Accepted file types are the common audio formats plus the following video containers: `mp4`, `mov` (QuickTime), `mkv`, and `webm`.++!!! warning "Installed PWA only"+ Share-to-Speakr works only for the **installed PWA**, not a browser tab. If you installed the PWA before this feature shipped, reopen the app, then uninstall and reinstall it so Android registers the new share entry.+### Offline SupportOnce installed, Speakr caches essential files for offline use:@@ -274,6 +283,13 @@ To force an update:3. **Try different browser** - Use Chrome/Edge for best support4. **Clear browser cache** - Force refresh of manifest+### Speakr Not Appearing in the Share Sheet++**Solutions:**++1. **Confirm the PWA is installed** - Share-to-Speakr only works for the installed app, not a browser tab+2. **Reinstall the PWA** - If you installed before share support shipped, reopen the app, then uninstall and reinstall it so Android registers the share entry+### Service Worker Not Registering**Check console for errors:**diff --git a/docs/user-guide/recording.md b/docs/user-guide/recording.mdindex f076f15d..7f44b0e0 100644--- a/docs/user-guide/recording.md+++ b/docs/user-guide/recording.md@@ -284,6 +284,15 @@ When you return to Speakr after a crash, you'll see a recovery modal offering toThis feature provides peace of mind for long recordings - you can now record multi-hour sessions without fear of losing everything if something goes wrong.+### Server-Side Recording Sessions (long recordings)++If your administrator has enabled **server-side recording sessions**, in-app recordings stream their audio chunks to the server as you record, instead of buffering everything in your browser's memory. This unlocks two things:++- **Multi-hour recordings** — recordings are no longer limited by available browser RAM, so you can capture sessions that run for hours (up to a ceiling set by your administrator, 8 hours by default).+- **Resume after reload** — because the audio lives on the server, you can reload the page mid-recording and pick the session back up rather than losing it.++This is an opt-in feature that is off by default. If you don't see it, ask your administrator to enable it. See [Recording Sessions](../admin-guide/recording-sessions.md) in the admin guide for setup details.+## Best Practices for Quality Recordings### Mobile Recording Considerationsdiff --git a/docs/user-guide/settings.md b/docs/user-guide/settings.mdindex a548b03c..05330656 100644--- a/docs/user-guide/settings.md+++ b/docs/user-guide/settings.md@@ -223,7 +223,7 @@ Tag and folder custom prompts may contain `{{name}}` placeholders that are fille**Drop-folder uploads.** Recordings ingested through the auto-process watch directory bypass the upload form and therefore have no opportunity to fill variables. Their stored `prompt_variables` is empty and any placeholders substitute to empty strings on the first summary run. Reprocess after upload to fill values, or use only non-templated prompts on tags applied to drop-folder content.-**Editing values after upload.** Stored variable values are not yet editable from the recording detail or reprocess modal. To change a value, re-upload the recording or wait for that capability in a future release.+**Editing values after upload.** Stored variable values are editable after the fact. Open the reprocess modal on the recording, change the values, and reprocess — the updated values are applied and substituted into the prompt on the next summary run. There is no need to re-upload the recording.**Where variables are surfaced.** The upload form mirrors the same priority chain that the summarisation task uses to pick a prompt. The first non-empty layer wins and its variables become inputs on the form: selected tags first, then the selected folder, then your personal summary prompt, then the site default set by the admin. Lower layers are not scanned because their prompt would not run.@@ -301,6 +301,12 @@ Click the trash icon on any token card to revoke it immediately. Revoked tokensFor detailed API documentation and integration examples, see the [API Tokens Guide](api-tokens.md).+## Webhooks Tab++The Webhooks tab lets you register your own endpoints to receive HTTP notifications when your recordings change — for example when transcription completes or a summary is generated. Each delivery is signed with HMAC-SHA256 so your receiver can verify it came from Speakr, and failed deliveries are retried automatically. Add, edit, and remove subscriptions directly from this tab.++For the full event list, payload formats, and signature verification details, see the [Webhooks admin guide](../admin-guide/webhooks.md).+## About Tab@@ -309,7 +315,7 @@ The About tab presents a comprehensive overview of your Speakr installation, com### Version Information-At the top, the Speakr logo and tagline "AI-Powered Audio Transcription & Note-Taking" remind you of the system's core purpose. The version badge (v0.5.5 in the example) immediately tells you which release you're running, essential information for troubleshooting and determining available features.+At the top, the Speakr logo and tagline "AI-Powered Audio Transcription & Note-Taking" remind you of the system's core purpose. The version badge (v0.9.0 in the example) immediately tells you which release you're running, essential information for troubleshooting and determining available features.### System Configurationdiff --git a/docs/user-guide/transcript-templates.md b/docs/user-guide/transcript-templates.mdindex 62f68c66..45880540 100644--- a/docs/user-guide/transcript-templates.md+++ b/docs/user-guide/transcript-templates.md@@ -358,8 +358,4 @@ If you encounter issues or have questions about transcript templates:1. Check this guide for examples and troubleshooting2. Try the default templates as a starting point-3. Report issues at [GitHub Issues](https://github.com/anthropics/claude-code/issues)-------*Last updated: December 2024*\ No newline at end of file+3. Report issues at [GitHub Issues](https://github.com/murtaza-nasir/speakr/issues)\ No newline at end of filediff --git a/mkdocs.yml b/mkdocs.ymlindex 0538f785..f0c2613e 100644--- a/mkdocs.yml+++ b/mkdocs.yml@@ -166,21 +166,33 @@ nav:- Inquire Mode: user-guide/inquire-mode.md- Sharing Recordings: user-guide/sharing.md- Folders: user-guide/folders.md+ - Groups: user-guide/groups.md+ - Progressive Web App: user-guide/pwa.md- Account Settings: user-guide/settings.md- API Tokens: user-guide/api-tokens.md- API Reference: user-guide/api-reference.md-+- Admin Guide:- admin-guide/index.md- User Management: admin-guide/user-management.md+ - Group Management: admin-guide/group-management.md- System Statistics: admin-guide/statistics.md- System Settings: admin-guide/system-settings.md- Default Prompts: admin-guide/prompts.md+ - Model Configuration: admin-guide/model-configuration.md- Vector Store: admin-guide/vector-store.md- Recording Sessions: admin-guide/recording-sessions.md- Webhooks: admin-guide/webhooks.md+ - Email Setup: admin-guide/email-setup.md+ - SSO Setup: admin-guide/sso-setup.md+ - WhisperX Setup: admin-guide/whisperx-setup.md+ - Retention: admin-guide/retention.md- Migration Guide: admin-guide/migration-guide.md-++ - Advanced:+ - Custom Connectors: advanced/custom-connectors.md+ - Job Queue System: advanced/job-queue-system.md+- Troubleshooting: troubleshooting.md- FAQ: faq.md- Roadmap: roadmap.md\ No newline at end of file