Whisper key
Project description
🎙️ WhisperKey
WhisperKey is a lightweight application that lets you transcribe speech to text. Simply press a keyboard shortcut, speak, and get your transcription copied directly to your clipboard.
✨ Features
- 🔑 Global Hotkey: Start/stop recording with Alt+G from anywhere on your system
- 📋 Clipboard Integration: Automatically copies transcriptions to your clipboard
- 🔒 Privacy-Focused: Audio recordings are stored temporarily in your local cache
🚀 Installation
Prerequisites
- Python 3.12 or higher
- OpenAI API key
Using pip
pip install whisperkey
From source
git clone https://github.com/Danielratmiroff/whisper-key.git
cd whisper-key
poetry install # or pip install poetry
⚙️ Configuration
Before using WhisperKey, you need to set up your OpenAI API key:
export OPENAI_API_KEY="your-api-key-here"
For permanent configuration, add this to your shell profile file (.bashrc, .zshrc, etc.).
🎮 Usage
-
Start WhisperKey:
whisperkey
-
Press Alt+G to start recording
-
Press Alt+G again to stop recording
-
The transcription will be processed and automatically copied to your clipboard
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request from your forked repository
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgements
- OpenAI Whisper for the speech recognition API
- PyAudio for audio recording capabilities
- pynput for keyboard shortcut handling
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file whisperkey-0.2.0.tar.gz.
File metadata
- Download URL: whisperkey-0.2.0.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.3 Linux/6.8.0-84-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afb015322fbf852427873a62fcd06e9ec7e4784999dc3c22bc6011454269a9af
|
|
| MD5 |
d026dc9729af20e8712d6a2e3d4be36a
|
|
| BLAKE2b-256 |
e674ba6dc1e476aa07d2aacff203043d76a16c822b5b443f278912754d47cb5a
|
File details
Details for the file whisperkey-0.2.0-py3-none-any.whl.
File metadata
- Download URL: whisperkey-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.3 Linux/6.8.0-84-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0c22ccdd7c0d2f6fc71941302dd0a59f469d820b43648299700ec42c53cdef7
|
|
| MD5 |
2b201c86052e0eebfbba66d08e40bbfc
|
|
| BLAKE2b-256 |
36f0abf770f81e3ea559fbaf23397265bbf7235210517756d1db5f881a7865d1
|