Windows-compatible clone of VocalFlow created for the Hiringg assignment.
This project provides:
- Voice recording from microphone
- Transcription using Deepgram
- Optional text improvement using Grok (xAI-compatible chat API)
- Balance section that shows:
- Deepgram balance
- Grok balance / availability
- Show Deepgram balance and Grok balance in the UI.
- Deepgram key is hardcoded through a config file (
config.py) as requested.
- Python 3.10+
- Tkinter (desktop UI)
- Deepgram REST API
- Grok (OpenAI-compatible API style)
main.py- Main desktop appconfig.py- API keys and constants (contains hardcoded Deepgram key field)audio_recorder.py- WAV recording helperdeepgram_service.py- Deepgram transcription + balance logicgrok_service.py- Grok text improvement + balance probingrequirements.txt- Dependencies
- Open this folder in terminal.
- Create and activate venv:
python -m venv .venv
.venv\Scripts\activate- Install packages:
pip install -r requirements.txt-
Open
config.pyand set:DEEPGRAM_API_KEY(required)GROK_API_KEY(optional)
-
Run app:
python main.py- Launch app.
- Click
Refresh Balances. - Adjust recording duration.
- Click
Start Recording. - Wait for transcript output.
- Optionally enable
Post-process using Grok.
- Do not upload
node_modules(not used in this project). - If zipping this project, exclude:
.venv/__pycache__/- any local cache files
MIT (same as upstream VocalFlow repository)