Skip to content
项目

关于

Speakr 是一款供个人使用、支持自行部署的音频录音转写 Web 应用

设计与媒体

这些数字如何统计

实测星标增长

24小时
+3
7天
+20
15天
+41
1个月
+70

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
Speakr Logo

Speakr

Self-hosted AI transcription and intelligent note-taking platform

AGPL v3 Docker Build Docker Pulls Latest Version

Documentation • Quick Start • Screenshots • Docker Hub • Releases


Overview

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.

Speakr Main Interface

Key Features

Speakr turns a recording into organized, searchable, shareable knowledge. Here is the pipeline:

Capture

  • Flexible input - record from your microphone, your computer's system or browser-tab audio, or both mixed together; or drag and drop existing files. A per-OS setup guide and a virtual-device picker surface Pulse / PipeWire monitors, BlackHole, VB-Cable, Voicemeeter, and Stereo Mix as inputs.
  • Long sessions - in-app recordings stream to the server during capture, so sessions can run for hours and survive a page reload.
  • Hands-off intake - a watched "black hole" folder auto-imports and processes any audio dropped into it, with optional per-user subfolders named by user id or username.

Transcribe

  • Bring your own engine - self-hosted WhisperX (recommended; it is what enables the speaker features below), OpenAI, Mistral / Voxtral, AssemblyAI, Tencent Cloud ASR, OpenASR, Alibaba FunASR, or any custom ASR webservice. The right connector is auto-detected from your configuration.
  • Speaker diarization - automatic who-said-what labeling (WhisperX, or OpenAI's diarizing models).
  • Voice profiles - recognize the same person across different recordings via voice embeddings (requires the WhisperX ASR backend).
  • Custom vocabulary and hotwords (most effective with the WhisperX backend) - bias the transcriber toward names, jargon, and acronyms it would otherwise mishear; configurable globally, per tag / folder, or right in the upload and in-app recording dialogs, with reusable saved templates.
  • Synced playback - click any line to jump to that moment, follow-along highlighting during playback, and a chat-style bubble view.
  • Language support - automatic language detection plus the full Whisper language list (about one hundred languages), with names localized to your interface language.

Understand

  • Summaries - generated automatically, with prompts you can fully customize per recording, tag, or folder (including reusable prompt variables).
  • Event extraction - surface action items and calendar-worthy events from a transcript.
  • Per-recording chat - ask questions about a single recording in a floating, dockable panel; answers cite transcript timestamps as clickable chips that start playback at that moment.
  • Inquire Mode - semantic search and natural-language chat across your entire library at once. An optional agentic mode (opt-in beta) upgrades this to an AI researcher that iteratively searches, lists, and reads your recordings until it can answer - showing every step live, and citing its sources with numbered links that open the recording and start playback at the cited segment. Ask "what did we decide about the pricing change, and did anyone disagree?" and it reads across the relevant meetings and cites each position back to where it was said. You decide what it may read: transcripts always, summaries and private notes only if you allow them.

Organize

  • Folders and bulk operations to keep a large library tidy.
  • Smart tags with their own AI prompt and ASR settings - and stack, so multiple tags layer their instructions.
  • Retention policies with auto-deletion and per-recording protection from cleanup.
  • Automated export to templated files when a recording finishes.

Collaborate

  • Multi-user with Single Sign-On against any OIDC provider (Keycloak, Azure AD, Google, Auth0, Pocket ID).
  • Groups with group-scoped tags that auto-share recordings to every member.
  • Granular internal sharing (view / edit / reshare) and admin-controlled, secure public links.

Automate

  • REST API v1 with a Swagger UI, for automation tools (n8n, Zapier, Make) and dashboards.
  • Signed webhooks - HMAC-signed, SSRF-guarded, retrying outbound notifications on recording lifecycle events.
  • Usage budgets for LLM tokens and transcription minutes, per user.
  • Audit log for site admins - sign-ins, access to recordings, changes, shares and admin actions, with filters and export.

Speakr is also an installable Progressive Web App - mobile-first, with a phone share-target - and ships light/dark themes, an incognito mode, a configurable Help Center link for your own documentation, and a UI translated into seven languages.

Works with Mailr

Mailr is a self-hosted webmail application that I also develop. It includes a calendar, tasks, notes and an AI assistant, and mail accounts from any provider are connected over IMAP and SMTP. With a Speakr server connected, recordings are shown beside their meetings and emails, a follow-up email can be drafted from a recording, and its action items can be added as tasks. See Speakr recordings in the Mailr documentation.

Unofficial Companion Apps

These apps were built by members of the community for use with your own Speakr server. They are maintained by their authors, not by this project, and I have not tested them myself.

App Platform Description
Minutes for Speakr Android, Windows Recording on the device with upload to Speakr, including automatic recording and automatic folder uploads
MeetingRecorder Windows Tray app for recording both sides of a call, with upload to Speakr through an API token
Mimio Windows Desktop client based on Minutes for Speakr, with a floating recorder and an English and Simplified Chinese interface

See Companion Apps in the documentation.

Real-World Use Cases

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

Creative Tag Prompt Examples

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

Tag Stacking for Combined Effects

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.

Integration Examples

  • 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

Quick Start

Using Docker (Recommended)

# 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.example -O .env

# Configure your API keys and launch
nano .env
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. Inquire Mode uses basic text search unless you set EMBEDDING_BASE_URL to an OpenAI-compatible embedding provider.

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; not needed for a local server without authentication)

Transcription Options

Speakr uses a connector-based architecture that auto-detects your transcription provider:

Option Setup Speaker Diarization Voice Profiles
OpenAI Transcribe API key Yes (gpt-4o-transcribe-diarize) No
WhisperX ASR GPU container Yes (best quality) Yes
Mistral Voxtral API key Yes (built-in) No
VibeVoice ASR Self-hosted (vLLM) Yes (built-in) No
MOSI/Mossland MOSS Hosted API key Yes (built-in) No
AssemblyAI API key Yes (built-in) No
Tencent Cloud ASR API keys (+ S3/COS bucket for files over 5 MiB) Yes (built-in) No
OpenASR Self-hosted server Yes (built-in) No
Alibaba FunASR API key + OSS bucket Yes (built-in) No
Legacy Whisper API key No No

Simplest setup (OpenAI with diarization):

TRANSCRIPTION_API_KEY=sk-your-openai-key
TRANSCRIPTION_MODEL=gpt-4o-transcribe-diarize

Best quality (Self-hosted WhisperX):

ASR_BASE_URL=http://whisperx-asr:9000
ASR_RETURN_SPEAKER_EMBEDDINGS=true  # Enable voice profiles

Requires WhisperX ASR Service container with GPU.

Mistral Voxtral (cloud diarization):

TRANSCRIPTION_CONNECTOR=mistral
TRANSCRIPTION_API_KEY=your-mistral-key
TRANSCRIPTION_MODEL=voxtral-mini-latest

VibeVoice ASR (self-hosted, no cloud dependency):

TRANSCRIPTION_CONNECTOR=vibevoice
TRANSCRIPTION_BASE_URL=http://your-vllm-server:8000
TRANSCRIPTION_MODEL=vibevoice

Requires VibeVoice served via vLLM with GPU.

MOSI/Mossland MOSS (hosted multi-speaker transcription):

TRANSCRIPTION_CONNECTOR=mossland
TRANSCRIPTION_API_KEY=your-mosi-api-key
TRANSCRIPTION_MODEL=moss-transcribe-diarize

Create a key in the MOSI API Key console. The connector keeps long recordings in one provider task so speaker labels remain consistent, and it resumes stalled SSE jobs through task polling without submitting a duplicate. This connector uploads recordings to the third-party MOSI/Mossland service at api.mosi.cn; audio is not processed entirely on your self-hosted Speakr instance.

AssemblyAI (cloud diarization, long multi-speaker meetings):

TRANSCRIPTION_CONNECTOR=assemblyai
TRANSCRIPTION_API_KEY=your-assemblyai-key

Handles multi-hour, multi-speaker files in a single job. New accounts get free credits with no card required.

Tencent Cloud ASR (Chinese and English meetings):

TRANSCRIPTION_CONNECTOR=tencent_asr
TENCENT_SECRET_ID=your-secret-id
TENCENT_SECRET_KEY=your-secret-key

Files over 5 MiB are passed to Tencent through an S3-compatible bucket such as Tencent COS. See the Tencent ASR guide for engines and storage.

PyTorch 2.6 Users: If you encounter a "Weights only load failed" error with WhisperX, add TORCH_FORCE_NO_WEIGHTS_ONLY_LOAD=true to your ASR container. See troubleshooting for details.

View Full Installation Guide →

Documentation

Complete documentation is available at murtaza-nasir.github.io/speakr

Latest Release (v0.11.10)

  • Each entry in the copies dialog shows the kept span and length of that copy, and copies with the same audio are marked.
  • A downloaded recording ends in the extension of the stored format, and non-ASCII characters in download names are kept.
  • When a script is added to each page by a proxy, such as Cloudflare Web Analytics, the sign-in page is no longer reloaded repeatedly.

v0.11.9

  • Microsoft Entra ID can be used for the System OAuth connection from Open WebUI to Speakr.
  • A recording that exceeds the storage quota is kept in the browser and uploaded again after other recordings are deleted.
  • APP_BASE_URL is required for password-reset and verification emails, and several security and reliability issues were fixed.

v0.11.8

  • Pages load faster, and long videos from OBS and phones start and seek without delay.
  • An optional API key can be set for the audio.cpp connector.
  • A temporary server error during startup no longer leaves the app on Loading.

Full release notes · All releases

Screenshots

Main view with chat and notes
Main view with floating chat and notes
Video playback
Video playback synced to the transcript
Semantic search
Ask questions across all your recordings
Recording stats
Per-recording stats and speaker breakdown
Mobile summary
On mobile: summary with bottom navigation
Mobile transcript
On mobile: transcript with speaker names

View Full Screenshot Gallery →

Technology Stack

  • 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

Reporting Issues

License

This project is dual-licensed:

  1. GNU Affero General Public License v3.0 (AGPLv3) License: AGPL v3

    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 (or COPYING) 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.
  2. 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.

Contributing

We welcome contributions to Speakr! There are many ways to help:

Code Contributions

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

探索相关项目

加载中…