A fast, local, and extensible CLI tool for SEO and website quality audits.
TWT Site Audit is a lightweight command-line SEO and website quality scanner built for small businesses, developers, and consultants who need fast, actionable insights without bloated enterprise tools.
It fetches a webpage, analyzes core SEO and structural signals, and generates a clear audit report you can use for diagnostics, proposals, or ongoing monitoring.
Most site audits are:
- Overkill for small sites
- Locked behind paid dashboards
- Slow to run or hard to automate
TWT Site Audit focuses on clarity, speed, and ownership:
- Run it locally
- Understand the results immediately
- Extend it however you want
This project was built as a production-quality MVP and is suitable for real client work.
- Command-line interface (CLI)
- Fetches and parses live HTML
- SEO and quality checks
- Structured data models for results
- JSON report output
- Clean, extensible architecture
Current checks include:
- Page title presence and content
- Meta description presence and length
- H1 and H2 heading extraction
- Image
altattribute validation - Canonical link detection
- Basic page structure analysis
Designed so new checks can be added in minutes.
- Python 3.11+
- Requests
- BeautifulSoup4
- lxml
- Rich (console formatting)
- Dataclasses
- Argparse
twt-site-audit/
│
├── twt_site_audit/
│ ├── init.py
│ ├── main.py
│ ├── cli.py
│ ├── fetch.py
│ ├── parse.py
│ ├── checks.py
│ └── report.py
│
├── outputs/ # Generated reports (gitignored)
├── .gitignore
├── README.md
├── requirements.txt
└── LICENSE
git clone https://github.com/techwiththisguy/twt-site-audit.git
cd twt-site-auditpython -m venv venv
venv\Scripts\activatepip install -r requirements.txtpython -m twt_site_audit https://example.com--max-pages 10- Console summary (human-readable)
- Structured JSON report saved to the
outputs/directory
Example output file:
outputs/audit_example.com_YYYYMMDD-HHMMSS.json
This makes it easy to:
- Share results with clients
- Feed data into other tools
- Track improvements over time
- SEO diagnostics for client proposals
- Pre-launch site quality checks
- Developer QA workflows
- Lightweight alternative to heavy audit platforms
- Foundation for automated monitoring
Planned enhancements:
- Internal link crawling
- Broken link detection
- Core Web Vitals placeholders
- CSV export
- GitHub Actions automation
- Plugin-style check registration
This project prioritizes:
- Readability over cleverness
- Extensibility over abstraction
- Ownership over dependency lock-in
MIT License — free to use, modify, and distribute.
Built by Tech With Thisguy LLC
Software Development • Web • Automation