transcribe
Transcribe
Speech-to-text using Groq Whisper API.
Setup
The script needs GROQ_API_KEY environment variable. Check if already set:
echo $GROQ_API_KEY
If not set, guide the user through setup:
- Ask if they have a Groq API key
- If not, have them sign up at https://console.groq.com/ and create an API key
- Have them add to their shell profile (~/.zshrc or ~/.bashrc):
export GROQ_API_KEY="<their-api-key>" - Then run
source ~/.zshrc(or restart terminal)
Usage
{baseDir}/transcribe.sh <audio-file>
Supported Formats
- m4a, mp3, wav, ogg, flac, webm
- Max file size: 25MB
Output
Returns plain text transcription with punctuation and proper capitalization to stdout.
More from blackhaj/dotfiles
read-it-later
Sends markdown (rendered to HTML) or URLs to Readwise Reader for later reading. Use when an agent needs to save summaries, notes, or links to Readwise Reader.
8browser-tools
Interactive browser automation via Chrome DevTools Protocol. Use when you need to interact with web pages, test frontends, or when user interaction with a visible browser is required.
6youtube-transcript
Fetch transcripts from YouTube videos for summarization and analysis.
6vscode
VS Code integration for viewing diffs and comparing files. Use when showing file differences to the user.
5brave-search
Web search and content extraction via Brave Search API. Use for searching documentation, facts, or any web content. Lightweight, no browser required.
5