khoji 2.1.6 → 2.2.0

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.
Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -29,14 +29,14 @@ Khoji can be run instantly, or installed either globally or locally to suit your
29
29
  ### 1. Run Instantly (No Install)
30
30
  If you don't want to install anything, you can run Khoji directly using `npx`:
31
31
  ```bash
32
- npx khojii https://example.com --send-to-gemini --prompt "Identify all primary call-to-action buttons."
32
+ npx khoji https://example.com --send-to-gemini --prompt "Identify all primary call-to-action buttons."
33
33
  ```
34
34
 
35
35
  ### 3. Install as a Dev Dependency
36
36
  If you are building an AI project and want Khoji locally:
37
37
  ```bash
38
- npm install -D khojii
39
- npx khojii https://example.com
38
+ npm install -D khoji
39
+ npx khoji https://example.com
40
40
  ```
41
41
 
42
42
  ### Bypassing "Click to Enter" Preloaders
@@ -45,14 +45,14 @@ Many high-end award-winning sites hide their entire layout behind an initial "Cl
45
45
  To bypass this natively, inspect the website to find the CSS Selector of the start button (e.g., `#enter-button` or `.preloader-enter`), and pass it to Khoji using the `--click` flag:
46
46
 
47
47
  ```bash
48
- npx khojii https://dich-fashion.webflow.io/ --clone --click ".preloader-enter"
48
+ npx khoji https://dich-fashion.webflow.io/ --clone --click ".preloader-enter"
49
49
  ```
50
50
  Khoji will automatically navigate to the site, wait for the overlay button, click it, wait for the intro animations to clear, and *then* run the full clone extraction of the underlying page!
51
51
 
52
52
  ### 2. Install Globally
53
53
  If you plan to use Khoji frequently from your terminal:
54
54
  ```bash
55
- npm install -g khojii
55
+ npm install -g khoji
56
56
  ```
57
57
  Once installed globally, you can drop the `npx` prefix and just type:
58
58
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "khoji",
3
- "version": "2.1.6",
3
+ "version": "2.2.0",
4
4
  "description": "An intelligent CLI tool that extracts token-optimized context, animations, and pixel-perfect clones from any website to power AI coding agents.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -72,4 +72,4 @@
72
72
  "node": ">=18.0.0",
73
73
  "npm": ">=8.0.0"
74
74
  }
75
- }
75
+ }