Skip to main content

WhisperBox

A powerful command-line tool for transcribing and analyzing audio recordings with AI assistance. Record meetings, lectures, or any audio directly from your terminal and get instant transcriptions with summaries, sentiment analysis, and topic detection.

Available in two versions:

  • Free: Command-line interface (CLI) version - Open source and MIT licensed
  • Paid: GUI version with native desktop interface - One-time $10 purchase to support development

The GUI version offers the same powerful features in a user-friendly interface, perfect for those who prefer not to use the terminal. Purchase helps support ongoing development of free and open source AI tools. Purchase WhisperBox GUI version here

Features

  • Live audio recording through terminal
  • Multiple transcription models via Whisper AI
  • AI-powered analysis including:
    • Meeting summaries and action items
    • Keynote presentation generation
    • Speech quality feedback
    • Modify voice input for any application
  • Support for multiple AI providers:
    • Anthropic
    • OpenAI
    • Groq
    • Ollama (local models)
  • Export to Markdown
  • Rich terminal UI with color-coded output
  • Configurable audio settings and output formats

Prerequisites

  • Python 3.10 or higher
  • FFmpeg (required for audio processing)
  • Poetry (for dependency management)

Installation

  1. Install FFmpeg if not already installed:
# On macOS using Homebrew
brew install ffmpeg

# On Ubuntu/Debian
sudo apt-get install ffmpeg
  1. Install BlackHole for system audio capture (MacOS only)
brew install blackhole-2ch
  1. Install portaudio for audio capture
brew install portaudio
  1. Install whisperbox from pip
pip install whisperbox

Usage

Setup

The first time you run the app, you will go through the setup wizard.

wb

Then select the Whisper model you want to use. The smaller models are faster and quicker to download but the larger models are more accurate. Download times will vary depending on your internet speed.

Then select the AI provider you want to use. Ollama runs locally and does not require an API key.

Then select the model you want to use.

Then you will have the option to view the config file location so you can customize additional settings. This directory also contains the whisper models you downloaded and the data directory that contains all your recordings and transcriptions.

Basic Transcription

  1. Start recording:
wb
  1. Press Enter to stop recording when finished.

Advanced Options

  • Specify a profile:
wb --profile monologue_to_keynote
  • Specify a Whisper model:
wb --model large
  • Enable full analysis (summary, sentiment, intent, topics):
wb --analyze
  • Enable verbose output:
wb --verbose

Configuration

The config.yaml file allows you to customize:

  • API settings for AI providers
  • Audio recording parameters
  • Transcription settings
  • Output formats and directories
  • Display preferences
  • AI prompt templates

See the example config.yaml for all available options.

Extending WhisperBox

WhisperBox can be customized to handle your recordings exactly how you want. There are two main ways to extend it:

  1. Profiles: Define what to do with your recordings
  2. Scripts: Create custom actions for your profiles

Creating Custom Profiles

A profile is a simple YAML file that tells WhisperBox:

  • What to do with your recording
  • How to process the transcript
  • Where to send the results

To create a profile:

  1. Create a new .yaml file in the profiles/ folder (e.g., my_profile.yaml)
  2. Add these three main sections:
# The name that appears in WhisperBox
name: my_profile

# Instructions for processing your recording
prompt: >
  Here's where you tell WhisperBox what to do with your recording.
  For example: "Create a summary with these key points..."

  The recording will appear here: {transcript}

# What to do with the results
actions:
  - script: output_to_markdown # Save as a file
  - script: copy_to_clipboard # Copy to clipboard

Built-in Actions

WhisperBox comes with several ready-to-use actions:

  • output_to_markdown: Save as a Markdown file
  • copy_to_clipboard: Copy to your clipboard
  • output_to_terminal: Show in the terminal
  • send_post_request: Send to a webhook URL

You can use multiple actions in a single profile:

actions:
  # Save the file
  - script: output_to_markdown
    config:
      filename: meeting_notes.md

  # Also copy it to clipboard
  - script: copy_to_clipboard

Creating Custom Scripts

Want to do something more custom? You can create your own action scripts:

  1. Create a new Python file in the scripts/ folder (e.g., my_script.py)
  2. Add a run_action function that handles the text:
def run_action(text, config):
    """
    text: The processed recording
    config: Any settings from your profile
    """
    print("I got the text:", text)
    # Do whatever you want with the text here!
  1. Use it in your profile:
actions:
  - script: my_script
    config:
      any_setting: value

Example: Meeting Summary Profile

Here's a complete example that creates meeting summaries:

name: meeting_summary
prompt: >
  Create a clear summary of this meeting with:
  1. Key topics and decisions
  2. Action items and who's responsible
  3. Important deadlines or dates

  Meeting transcript: {transcript}

actions:
  # Save as a file
  - script: output_to_markdown
    config:
      filename: summary.md

  # Also copy to clipboard
  - script: copy_to_clipboard

Tips

  • Test your profiles with short recordings first
  • Check the profiles/ folder for more examples
  • Use multiple actions to create powerful workflows
  • Keep your prompts clear and specific

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Whisper AI for the transcription models
  • Rich for the terminal UI
  • All the AI providers supported by this tool

Authors

Metadata

Release files for whisperbox 1.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for whisperbox 1.0.7
File Size Uploaded Provenance Actions
whisperbox-1.0.7.tar.gz 34.7 kB Without provenance Details for whisperbox-1.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for whisperbox 1.0.7
File Interpreter ABI Platform Actions
whisperbox-1.0.7-py3-none-any.whl Python 3 none any Details for whisperbox-1.0.7-py3-none-any.whl

Total release size: 82.0 kB

Release files / whisperbox-1.0.7.tar.gz

Download URL whisperbox-1.0.7.tar.gz
Size 34.7 kB
Tags Source
SHA-256 checksum
How to use checksums
95b91432cbd9815ec1db10075e5e42c6263a659bc0203edc5e174ac5ffd63828
BLAKE2b-256 checksum
How to use checksums
8b979fdf1afc7e7ad73c899b3876a9492f2021e794b615277c88ad6dcac0dbd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.4

Release files / whisperbox-1.0.7-py3-none-any.whl

Download URL whisperbox-1.0.7-py3-none-any.whl
Size 47.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
32857af0108feba823b9404c2fdcafb120f1bf08d9712ae257783b86a090f0f2
BLAKE2b-256 checksum
How to use checksums
9b44367b3d59691721a3c4db66bbcb0a788a0e09db45aa333df00610df3053da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.4

Security for whisperbox 1.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page