SpellerWeb is a command-line tool for crawling websites and checking for spelling errors. It uses the Aspell library for spell checking and supports multiple languages, custom dictionaries, and various output formats.
- Website crawling with configurable depth
- Local HTML file processing with recursive directory support
- Spell checking with support for multiple languages
- Custom dictionary support
- Multiple output formats (text, CSV, HTML, JSON, JSONL)
- Misspelled words dictionary generation for easy correction
SpellerWeb requires the Aspell library to be installed on your system.
sudo apt-get update
sudo apt-get install -y aspell libaspell-dev
You can automatically download and install the latest version with these commands:
# Get latest version and download the binary
VERSION=$(basename $(curl -Ls -o /dev/null -w %{url_effective} https://github.com/ccollicutt/spellerweb/releases/latest))
curl -Ls -o spellerweb "https://github.com/ccollicutt/spellerweb/releases/download/${VERSION}/spellerweb-${VERSION}-linux"
# Make it executable
chmod +x spellerweb
# Move to a directory in your PATH
sudo mv spellerweb /usr/local/bin/
spellerweb comes with a few dictionaries built in, but you can also use your own, or generate your own by running speller with with the -do
option.
Dictionary files are plain text files with one word per line. Lines starting with #
are treated as comments.
Example dictionary file:
# This is a comment
hello
world