HunspellColorize
Wrapper around 'less' to colorize spelling mistakes using Hunspell
What hunspellcolorize does
This is a simple tool that reads text (usually through the less pager) and highlights spelling mistakes in red or another color as you read. It uses Hunspell, a popular open-source spell-checker, to identify misspelled words on the fly. The main benefit: you can catch typos while reviewing documents, code, or git diffs without leaving your terminal.
How it works
The tool sits between your terminal and the less pager—a common way to browse long files in Unix-like systems. As text flows through, it checks each word against Hunspell's dictionary. Any word that doesn't match gets colored differently so it jumps out visually. You can then decide whether it's actually a mistake or just an unusual term the spell-checker doesn't know. The author describes it as intentionally simple: it doesn't try to be clever about ignoring file paths, URLs, or code syntax—it just colors potential misspellings and gets out of the way.
Who would use this and why
This appeals to anyone who reviews text in a terminal and wants a safety net for typos. The most concrete example from the README: you set it as your git pager, so whenever you run git diff or git log, spelling errors in commit messages and comments get highlighted. Writers, documentation maintainers, and open-source project leads (like the original author, Linus Torvalds) benefit most. It's especially useful if you're reading through long files or diffs and want to catch embarrassing misspellings before they go into version control.
A practical tool with limitations
The author is clear this is a stopgap—ideally the feature would live in better editors or tools. It works best for straightforward prose and doesn't try to understand context, so it may flag unusual words, proper nouns, or technical terms as errors. It only works with US ASCII text. But for its narrow job—adding a spelling check layer to your terminal workflow without much complexity—it does the job.