Sitemoth command line
Sitemoth's command line uses the same engine as the app. It needs Node 22.13 or newer.
npm install -g sitemoth
sitemoth crawl https://example.com -o example.sitemoth \
--max 5000 -c 3 --delay 250 --render --exclude "\?replytocom="
sitemoth issues example.sitemoth
sitemoth issues example.sitemoth --check rc_client_error_4xx
sitemoth urls example.sitemoth --tab page_titles --filter dup
sitemoth inlinks example.sitemoth https://example.com/old-page/
sitemoth export example.sitemoth --all --format xlsx -o ./export
sitemoth export example.sitemoth --bulk redirect_chains -o chains.csv
sitemoth compare last-week.sitemoth example.sitemoth
sitemoth sitemap example.sitemoth -o sitemap.xml --images
sitemoth checks
sitemoth tabs
Sitemoth 1.0.1 adds commands for reports, tickets, monitoring, AI search, insights and migrations:
sitemoth client-report example.sitemoth --agency "Your Agency" --logo logo.png --client "Acme" --pdf -o acme.pdf
sitemoth share example.sitemoth --client "Acme" --days 30
sitemoth tickets example.sitemoth --provider linear --dry-run
sitemoth monitor run acme-monitor.json
sitemoth monitor install acme-monitor.json --dry-run
sitemoth ai-readiness example.sitemoth
sitemoth llms-txt example.sitemoth -o llms.txt
sitemoth opportunities example.sitemoth
sitemoth link-suggestions example.sitemoth -o links.csv
sitemoth clusters example.sitemoth
sitemoth import-sf internal_all.csv --inlinks all_inlinks.csv -o imported.sitemoth
sitemoth migrate old.sitemoth new.sitemoth --format htaccess -o redirects.htaccess
sitemoth validate-redirects redirects.csv
Sitemoth takes a full configuration with --config crawl.json, the same object the app saves. Crawl files open in the desktop app. Exit code 0 means success, 1 means an error, and 2 means Sitemoth refused to overwrite a file.
Scheduled crawls
Sitemoth runs on any always-on machine from cron. Keep last week's file and run sitemoth compare to get a diff you can mail to yourself, or use sitemoth monitor for schedules with alerts (see monitoring). The same package also runs the MCP server.
Back to getting started with Sitemoth · Sitemoth home