Skip to content

iguana-technology/blabla

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ElevenLabs Dictation App

Simple Windows dictation app using ElevenLabs Scribe v2 Realtime API. Click a button to start recording, and transcribed text is typed into the currently focused input field.

Quick Start (Windows)

No Python needed - just download and run:

  1. Download Dictation.exe from the dist folder
  2. Create a .env file in the same folder as the exe:
    ELEVENLABS_API_KEY=your_api_key_here
    
    Get your API key from: https://elevenlabs.io/app/settings/api-keys
  3. Run Dictation.exe

That's it!

Setup (from source)

  1. Install Python 3.10+ if not already installed

  2. Install dependencies:

    cd eleven-labs
    pip install -r requirements.txt
  3. Create .env file with your API key:

    ELEVENLABS_API_KEY=your_api_key_here
    

    Get your API key from: https://elevenlabs.io/app/settings/api-keys

  4. Run the app:

    python dictation.py

Mock Mode (Testing Without API Key)

To test the app without an API key, use the --mock flag:

python dictation.py --mock

In mock mode:

  • No API key required
  • Simulates transcription with lorem ipsum text
  • Types a new phrase every ~2 seconds
  • Useful for testing the UI and keystroke injection

Usage

  1. Click "Start Recording" to begin
  2. Speak into your microphone
  3. Transcribed text will be typed into whatever window/input is currently focused
  4. Click "Stop Recording" when done

Building as Executable

Run the build script:

build.bat

Or manually:

pip install pyinstaller
pyinstaller --onefile --windowed --name "Dictation" dictation.py

The executable will be at dist/Dictation.exe.

Note: The .exe still needs the .env file with your API key in the same folder, or set the ELEVENLABS_API_KEY environment variable.

Pricing

ElevenLabs Scribe costs $0.40/hour ($0.007/minute).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors