webmaster
Unified CLI for search engine webmaster tools — sitemap submission, search analytics, and URL inspection across Google, Bing, and Yandex.
Install
Quick Start
# Authenticate with Google Search Console
# Submit a sitemap to all engines
# Submit to Google only
# List sitemaps
Engine Support
| Engine | Auth Method | Sitemap Submit | Search Analytics | Status |
|---|---|---|---|---|
| OAuth2 | Yes | Planned | Alpha | |
| Bing | API Key | Yes | Planned | Alpha |
| Yandex | OAuth | Planned | Planned | Stub |
Configuration
Reuses OAuth2 credentials from your Google Cloud Console project. Credentials resolved in order:
pass corky/gmail/client_id/pass corky/gmail/client_secretGOOGLE_CLIENT_ID/GOOGLE_CLIENT_SECRETenv vars
Tokens stored at ~/.config/webmaster/tokens.json (0600 permissions).
Prerequisites:
- Enable "Google Search Console API" in your GCP project
- OAuth2 consent screen configured
Bing
Set BING_WEBMASTER_API_KEY environment variable. Get your key at https://www.bing.com/webmasters/about.
License
MIT OR Apache-2.0