A command-line Python tool to check HTTP status codes with colored terminal output.
- 🎨 Color-coded status responses - Visual status code highlighting
- 📊 Detailed information - Response time, redirects, content size
- 📁 Batch processing - Check multiple URLs from a file
- ⚙️ Flexible options - Custom timeouts, User-Agents, redirect control
- 🚀 Fast and lightweight - Minimal dependencies
- Python 3.6 or higher
- pip package manager
pip install requests coloramagit clone https://github.com/qventymr/http-status-checker.git
cd http-status-checker
mv http-status.py http-statuschmod +x http-statussudo mv http-status /usr/local/bin/mkdir -p ~/.local/bin
mv http-status ~/.local/bin/
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrcusage: status-checker [-h] (-u URL | -f FILE) [-t TIMEOUT] [--no-redirect] [-v] [--user-agent USER_AGENT]
Check HTTP status code of URLs
options: -h, --help show this help message and exit -u URL, --url URL URL to check (e.g., example.com or https://example.com) -f FILE, --file FILE File containing URLs to check (one per line) -t TIMEOUT, --timeout TIMEOUT Request timeout in seconds (default: 10) --no-redirect Do not follow redirects -v, --verbose Verbose output --user-agent USER_AGENT Custom User-Agent string
Examples: status-checker -u example.com status-checker -u https://example.com -v status-checker -u example.com -t 5 --no-redirect status-checker -f urls.txt