@only-cli/oc 0.1.0 → 0.2.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -59,6 +59,8 @@ only-cli works on any mostly-static website with no per-site setup: news sites,
59
59
  | --- | --- | --- |
60
60
  | Hacker News | news.ycombinator.com | `top`, `new`, `item <id>`, `user <name>` |
61
61
  | Reddit | reddit.com (via old.reddit.com) | `sub <name>`, `post <id>`, `user <name>`, `search <query>` |
62
+ | GitHub | github.com | `repo <owner> <name>`, `user <name>`, `search <query>`, `trending`, `issues <owner> <name>` |
63
+ | LinkedIn | linkedin.com | `profile <name>`, `company <name>`, `jobs <query>` (public guest views) |
62
64
  | DuckDuckGo | duckduckgo.com | `search <query>`, `lite <query>` |
63
65
  | Bing | bing.com | `search <query>`, `news <query>` |
64
66
 
@@ -0,0 +1,10 @@
1
+ {
2
+ "domain": "github.com",
3
+ "commands": {
4
+ "repo": { "open": "https://github.com/{owner}/{repo}", "args": ["owner", "repo"] },
5
+ "user": { "open": "https://github.com/{name}", "args": ["name"] },
6
+ "search": { "open": "https://github.com/search?q={query}&type=repositories", "args": ["query"] },
7
+ "trending": { "open": "https://github.com/trending" },
8
+ "issues": { "open": "https://github.com/{owner}/{repo}/issues", "args": ["owner", "repo"] }
9
+ }
10
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "domain": "linkedin.com",
3
+ "commands": {
4
+ "profile": { "open": "https://www.linkedin.com/in/{name}", "args": ["name"] },
5
+ "company": { "open": "https://www.linkedin.com/company/{name}", "args": ["name"] },
6
+ "jobs": { "open": "https://www.linkedin.com/jobs/search?keywords={query}", "args": ["query"] }
7
+ }
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@only-cli/oc",
3
- "version": "0.1.0",
3
+ "version": "0.2.0-beta.1",
4
4
  "description": "Turn websites into a compact CLI so AI agents can browse without burning tokens.",
5
5
  "type": "module",
6
6
  "bin": {