gsay: Shell Script for Fetching English Word Pronunciations from Google
By
pooyamo
Hot, fresh, and worth queueing round the block for.
Summary
gsay is a simple shell script that fetches and plays pronunciation audio files for English words from Google's search results. The script extracts human-made MP3 pronunciation files that appear in Google's answer boxes when searching for English vocabulary. It supports both British and American accents, can query for 2020 and 2024 sound files, includes disk caching by default, and requires basic dependencies like curl and a headless MP3 player (ffplay, mpv, or pw-play).
Key quotes
· 5 pulledA simple shell script to fetch pronunciation of an English word from Google
When you search for an English vocabulary, Google shows a pronunciation in an "answer box" at top of the page
This script fetches that hopefully human-made mp3 sound file
Support British and American accents
Cache to disk (enabled by default)
You might also wanna read
Building a Minimal RAG System from Scratch: PDF to Highlighted Answers in ~100 Lines of Python
A hands-on tutorial that builds the smallest functional RAG (Retrieval-Augmented Generation) system from scratch using about 100 lines of Py
Steve Jobs: Learning to program computers teaches you how to think
This article features a quote from Steve Jobs about the importance of learning computer programming, where he argues that coding teaches peo
tiny-vllm: An Open-Source C++ and CUDA LLM Inference Engine with Educational Course
This article presents tiny-vllm, an open-source project that provides both a full C++ and CUDA implementation of a high-performance LLM infe
EZFurigana: A Free Tool for Adding Furigana to Japanese Text, PDFs, Images, and Ebooks
EZFurigana is a free tool that automatically adds furigana (hiragana, katakana, or romaji readings) to Japanese text across multiple formats
Binary Search in Python: Iterative Implementation Using a While Loop
This article explains the Binary Search algorithm in Python, covering its iterative implementation using a while loop. It highlights that bi
How AI coding assistants are helping introverted junior developers bridge the experience gap
The article explores how AI coding assistants like GitHub Copilot and IBM's Bob are reshaping the experience of junior developers. It argues
thenewstack.io·3d ago