@lattis-dev/cli
Advanced tools
+94
| # @lattis-dev/cli | ||
| Search any website's facts, capabilities, and actions from the command line. | ||
| Lattis pre-indexes websites into structured data that AI agents can use — real prices, working URLs, API endpoints, not hallucinated guesses. This CLI lets you search across all indexed sites instantly. | ||
| ## Install | ||
| ```bash | ||
| npm install -g @lattis-dev/cli | ||
| ``` | ||
| Or use without installing: | ||
| ```bash | ||
| npx @lattis-dev/cli search "compare credit cards" | ||
| ``` | ||
| Or via shell script: | ||
| ```bash | ||
| curl -fsSL https://lattis.dev/install.sh | sh | ||
| ``` | ||
| ## Usage | ||
| ### Search across all indexed sites | ||
| ```bash | ||
| lattis search "analytics for my startup" | ||
| ``` | ||
| ``` | ||
| 20 results across 10 sites | ||
| [FACT ] PostHog free tier includes 1M events/month, 5K session replays | ||
| PostHog (posthog.com) — https://posthog.com | ||
| [CAPABILITY ] Product search with dietary filters at helloyumi.com/shop?diet={value} | ||
| YUMI (helloyumi.com) — https://helloyumi.com/shop | ||
| [ACTION ] Sign up for PostHog free: go to app.posthog.com/signup | ||
| PostHog (posthog.com) — https://app.posthog.com/signup | ||
| ``` | ||
| ### List indexed sites | ||
| ```bash | ||
| lattis sites | ||
| ``` | ||
| ### View a specific site | ||
| ```bash | ||
| lattis site posthog.com | ||
| ``` | ||
| ### Get items with type filter | ||
| ```bash | ||
| lattis items cal.com --type=action | ||
| ``` | ||
| ### Submit a site for indexing | ||
| ```bash | ||
| lattis analyze https://example.com | ||
| ``` | ||
| ### Compact JSON for LLM consumption | ||
| ```bash | ||
| lattis search "book a meeting" --agent | ||
| ``` | ||
| Returns minimal JSON optimized for token efficiency — pipe it into your agent. | ||
| ## Environment | ||
| | Variable | Default | Description | | ||
| |---|---|---| | ||
| | `LATTIS_API_URL` | `https://api.lattis.dev` | Override API endpoint | | ||
| ## What is Lattis? | ||
| Lattis crawls any website and extracts three types of structured data: | ||
| - **Facts** — specific data points (prices, specs, limits) | ||
| - **Capabilities** — what users can do (search URLs, filter patterns, forms) | ||
| - **Actions** — how to accomplish goals (step-by-step with URLs, code samples) | ||
| AI agents get real, current, actionable data instead of hallucinating. | ||
| Learn more at [lattis.dev](https://lattis.dev) |
+8
-2
| { | ||
| "name": "@lattis-dev/cli", | ||
| "version": "0.1.0", | ||
| "version": "0.1.1", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/wastedcode/lattis" | ||
| }, | ||
| "homepage": "https://lattis.dev", | ||
| "description": "Search any website's facts, capabilities, and actions from the command line", | ||
@@ -10,3 +15,4 @@ "type": "module", | ||
| "files": [ | ||
| "dist" | ||
| "dist", | ||
| "README.md" | ||
| ], | ||
@@ -13,0 +19,0 @@ "scripts": { |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
No website
QualityPackage does not have a website.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
10323
27.54%4
33.33%2
-33.33%0
-100%95
Infinity%2
-33.33%