🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@lattis-dev/cli

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lattis-dev/cli - npm Package Compare versions

Comparing version
0.1.0
to
0.1.1
+94
README.md
# @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": {