🎙️ 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
Metadata
Release files for whisperkey 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| whisperkey-0.2.0.tar.gz | 8.2 kB | Without provenance | Details for whisperkey-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| whisperkey-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for whisperkey-0.2.0-py3-none-any.whl |
Total release size: 18.0 kB
Release files / whisperkey-0.2.0.tar.gz
| Download URL | whisperkey-0.2.0.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
afb015322fbf852427873a62fcd06e9ec7e4784999dc3c22bc6011454269a9af
|
|
BLAKE2b-256 checksum How to use checksums |
e674ba6dc1e476aa07d2aacff203043d76a16c822b5b443f278912754d47cb5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.12.3 Linux/6.8.0-84-generic
|
Release files / whisperkey-0.2.0-py3-none-any.whl
| Download URL | whisperkey-0.2.0-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e0c22ccdd7c0d2f6fc71941302dd0a59f469d820b43648299700ec42c53cdef7
|
|
BLAKE2b-256 checksum How to use checksums |
36f0abf770f81e3ea559fbaf23397265bbf7235210517756d1db5f881a7865d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.12.3 Linux/6.8.0-84-generic
|
Security for whisperkey 0.2.0
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.