Skip to content

ccollicutt/spellerweb

Repository files navigation

SpellerWeb

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.

Features

  • 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

Installation

Prerequisites

SpellerWeb requires the Aspell library to be installed on your system.

Ubuntu/Debian

sudo apt-get update
sudo apt-get install -y aspell libaspell-dev

Installing from Releases

Automated Installation (Linux)

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/

Dictionary Files

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published