recker 1.0.43-next.7a08602 → 1.0.44
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 +47 -0
- package/dist/bin/recker-linux-x64 +0 -0
- package/dist/bin/recker-macos-x64 +0 -0
- package/dist/bin/recker-win-x64.exe +0 -0
- package/dist/bin/rek.cjs +588 -81
- package/dist/browser/seo/rules/accessibility.js +11 -0
- package/dist/browser/seo/rules/canonical.js +22 -10
- package/dist/browser/seo/rules/content.js +110 -12
- package/dist/browser/seo/rules/ecommerce.js +31 -2
- package/dist/browser/seo/rules/i18n.js +14 -3
- package/dist/browser/seo/rules/images.js +22 -2
- package/dist/browser/seo/rules/links.js +9 -1
- package/dist/browser/seo/rules/meta.js +178 -19
- package/dist/browser/seo/rules/performance.js +126 -13
- package/dist/browser/seo/rules/structural.js +50 -6
- package/dist/browser/seo/rules/technical-advanced.js +3 -2
- package/dist/mcp/data/embeddings.json +1 -1
- package/dist/seo/rules/accessibility.js +11 -0
- package/dist/seo/rules/canonical.js +22 -10
- package/dist/seo/rules/content.js +110 -12
- package/dist/seo/rules/ecommerce.js +31 -2
- package/dist/seo/rules/i18n.js +14 -3
- package/dist/seo/rules/images.js +22 -2
- package/dist/seo/rules/links.js +9 -1
- package/dist/seo/rules/meta.js +178 -19
- package/dist/seo/rules/performance.js +126 -13
- package/dist/seo/rules/structural.js +50 -6
- package/dist/seo/rules/technical-advanced.js +3 -2
- package/dist/version.js +1 -1
- package/package.json +1 -2
package/README.md
CHANGED
|
@@ -162,6 +162,53 @@ const siteReport = await seoSpider('https://example.com', { seo: true });
|
|
|
162
162
|
console.log(`Duplicate titles: ${siteReport.summary.duplicateTitles}`);
|
|
163
163
|
```
|
|
164
164
|
|
|
165
|
+
### Vector Store (RAG)
|
|
166
|
+
|
|
167
|
+
In-memory vector database for semantic search and RAG applications. Uses your configured AI provider for embeddings.
|
|
168
|
+
|
|
169
|
+
```typescript
|
|
170
|
+
import { MemoryVectorStore } from 'recker/ai/vector';
|
|
171
|
+
|
|
172
|
+
const store = new MemoryVectorStore({ client: recker.ai });
|
|
173
|
+
await store.add([{ content: 'Recker handles HTTP and DNS...' }]);
|
|
174
|
+
|
|
175
|
+
const results = await store.search('What protocols are supported?');
|
|
176
|
+
console.log(results[0].content);
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
Also available via CLI for local knowledge management:
|
|
180
|
+
```bash
|
|
181
|
+
rek vector add content="Server IP is 10.0.0.1" file=knowledge.json
|
|
182
|
+
rek vector search query="server ip" file=knowledge.json
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
### Enhanced Spider
|
|
186
|
+
|
|
187
|
+
The crawler automatically discovers:
|
|
188
|
+
- **Sitemaps** (prioritizes robots.txt)
|
|
189
|
+
- **RSS/Atom Feeds** (finds in HTML header)
|
|
190
|
+
- **Metadata files** (robots.txt, humans.txt, llms.txt)
|
|
191
|
+
|
|
192
|
+
```bash
|
|
193
|
+
# Crawl site (ignores robots.txt by default)
|
|
194
|
+
rek spider example.com
|
|
195
|
+
|
|
196
|
+
# Respect robots.txt
|
|
197
|
+
rek spider example.com --robots
|
|
198
|
+
|
|
199
|
+
# Generate JSON report with all metadata
|
|
200
|
+
rek spider example.com format=json
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
### System DNS
|
|
204
|
+
|
|
205
|
+
Inspect your local system's DNS resolver configuration (without sudo):
|
|
206
|
+
|
|
207
|
+
```bash
|
|
208
|
+
rek dns system
|
|
209
|
+
# Shows current DNS servers (resolvectl/scutil/ipconfig)
|
|
210
|
+
```
|
|
211
|
+
|
|
165
212
|
### Circuit Breaker
|
|
166
213
|
|
|
167
214
|
```typescript
|
|
Binary file
|
|
Binary file
|
|
Binary file
|