Merge pull request #12 from only-cli/add-cloud-docs-clis

Add site CLIs for AWS, GCP, and Azure documentation
This commit is contained in:
Mark Cli
2026-08-22 14:26:19 -04:00
committed by GitHub
4 changed files with 31 additions and 1 deletions
+4 -1
View File
@@ -87,8 +87,11 @@ Works on any mostly-static site with no per-site setup: news sites, blogs, docum
| Stack Overflow | stackoverflow.com (via Atom feeds) | `question <id>`, `tag <name>`, `user <id>`, `recent` |
| Yahoo Finance | finance.yahoo.com | `quote <symbol>`, `news <symbol>`, `history <symbol>`, `lookup <query>`, `markets`, `gainers`, `losers`, `trending` |
| YouTube | youtube.com | `video <id>`, `channel <name>` |
| AWS docs | docs.aws.amazon.com (search via DuckDuckGo) | `guide <service> <page>`, `page <service> <guide> <page>`, `cli <command>`, `search <query>` |
| Google Cloud docs | cloud.google.com (via docs.cloud.google.com, search via DuckDuckGo) | `docs <product>`, `page <product> <page>`, `gcloud <command>`, `search <query>` |
| Microsoft Learn | learn.microsoft.com (search via its RSS API) | `azure <page>`, `doc <path>`, `cli <command>`, `search <query>` |
A few of these (X, Stack Overflow, YouTube) read pages that look login-gated or JS-only from the outside, by finding the server-rendered HTML, feed, or inline data the page already ships without a login. Not supported yet: pages that only render with JavaScript, sites behind logins, and sites with hard bot challenges that expose no feed.
A few of these (X, Stack Overflow, YouTube, Microsoft Learn search) read pages that look login-gated or JS-only from the outside, by finding the server-rendered HTML, feed, or inline data the page already ships without a login. AWS and Google Cloud render docs search purely client-side with no feed, so their `search` goes through DuckDuckGo with a baked-in `site:` filter instead. Not supported yet: pages that only render with JavaScript, sites behind logins, and sites with hard bot challenges that expose no feed.
Want a website on that list? Open a pull request, or an issue naming the site — see [CONTRIBUTING.md](CONTRIBUTING.md).
+9
View File
@@ -0,0 +1,9 @@
{
"domain": "cloud.google.com",
"commands": {
"docs": { "open": "https://docs.cloud.google.com/{product}/docs", "args": ["product"] },
"page": { "open": "https://docs.cloud.google.com/{product}/docs/{page}", "args": ["product", "page"] },
"gcloud": { "open": "https://docs.cloud.google.com/sdk/gcloud/reference/{command}", "args": ["command"] },
"search": { "open": "https://html.duckduckgo.com/html/?q=site%3Acloud.google.com+{query}", "args": ["query"] }
}
}
+9
View File
@@ -0,0 +1,9 @@
{
"domain": "docs.aws.amazon.com",
"commands": {
"guide": { "open": "https://docs.aws.amazon.com/{service}/latest/userguide/{page}.html", "args": ["service", "page"] },
"page": { "open": "https://docs.aws.amazon.com/{service}/latest/{guide}/{page}.html", "args": ["service", "guide", "page"] },
"cli": { "open": "https://docs.aws.amazon.com/cli/latest/reference/{command}/", "args": ["command"] },
"search": { "open": "https://html.duckduckgo.com/html/?q=site%3Adocs.aws.amazon.com+{query}", "args": ["query"] }
}
}
+9
View File
@@ -0,0 +1,9 @@
{
"domain": "learn.microsoft.com",
"commands": {
"azure": { "open": "https://learn.microsoft.com/en-us/azure/{page}", "args": ["page"] },
"doc": { "open": "https://learn.microsoft.com/en-us/{path}", "args": ["path"] },
"cli": { "open": "https://learn.microsoft.com/en-us/cli/azure/{command}", "args": ["command"] },
"search": { "open": "https://learn.microsoft.com/api/search/rss?search={query}&locale=en-us", "args": ["query"] }
}
}