@revijs/core 0.1.5 → 0.1.7
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 +40 -0
- package/package.json +1 -11
package/README.md
CHANGED
|
@@ -79,6 +79,46 @@ export default {
|
|
|
79
79
|
|
|
80
80
|
---
|
|
81
81
|
|
|
82
|
+
## 🤖 Supported Bots
|
|
83
|
+
|
|
84
|
+
ReviJs automatically detects and serves prerendered HTML to all major crawlers.
|
|
85
|
+
|
|
86
|
+
### Most Common
|
|
87
|
+
| Bot | Company | Type |
|
|
88
|
+
|-----|---------|------|
|
|
89
|
+
| `googlebot` | Google | Search engine |
|
|
90
|
+
| `bingbot` | Microsoft | Search engine |
|
|
91
|
+
| `gptbot` | OpenAI | AI crawler |
|
|
92
|
+
| `claudebot` | Anthropic | AI crawler |
|
|
93
|
+
| `perplexitybot` | Perplexity AI | AI crawler |
|
|
94
|
+
| `facebookexternalhit` | Meta | Social preview |
|
|
95
|
+
| `twitterbot` | X (Twitter) | Social preview |
|
|
96
|
+
| `linkedinbot` | LinkedIn | Social preview |
|
|
97
|
+
| `yandexbot` | Yandex | Search engine |
|
|
98
|
+
| `baiduspider` | Baidu | Search engine |
|
|
99
|
+
|
|
100
|
+
<details>
|
|
101
|
+
<summary>View all supported bots</summary>
|
|
102
|
+
|
|
103
|
+
### Search Engines
|
|
104
|
+
`googlebot` `google-inspectiontool` `bingbot` `yandexbot` `baiduspider` `duckduckbot` `slurp` `sogou` `exabot` `rogerbot` `mj12bot` `dotbot` `ia_archiver`
|
|
105
|
+
|
|
106
|
+
### AI / LLM Crawlers
|
|
107
|
+
`gptbot` `chatgpt-user` `claudebot` `claude-web` `anthropic-ai` `perplexitybot` `cohere-ai` `amazonbot` `applebot`
|
|
108
|
+
|
|
109
|
+
### SEO Tools
|
|
110
|
+
`ahrefsbot` `semrushbot` `facebot`
|
|
111
|
+
|
|
112
|
+
### Social & Preview
|
|
113
|
+
`facebookexternalhit` `twitterbot` `linkedinbot` `slackbot` `discordbot` `telegrambot` `whatsapp` `vkshare` `pinterest` `tumblr` `flipboard`
|
|
114
|
+
|
|
115
|
+
### Generic Signals
|
|
116
|
+
`spider` `crawler` `scraper`
|
|
117
|
+
|
|
118
|
+
</details>
|
|
119
|
+
|
|
120
|
+
> Want to add a custom bot? Use the programmatic API — `isBot()` and `detectBot()` are fully exported.
|
|
121
|
+
|
|
82
122
|
## 🧩 Middleware
|
|
83
123
|
|
|
84
124
|
```js
|
package/package.json
CHANGED
|
@@ -1,25 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revijs/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "Local-first SPA prerender CLI — convert React/Vite apps into SEO-friendly static HTML",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
7
7
|
"bin": {
|
|
8
8
|
"revijs": "./bin/revijs.js"
|
|
9
9
|
},
|
|
10
|
-
|
|
11
10
|
"files": [
|
|
12
11
|
"bin",
|
|
13
12
|
"src"
|
|
14
13
|
],
|
|
15
|
-
|
|
16
14
|
"scripts": {
|
|
17
15
|
"start": "node ./bin/revijs.js",
|
|
18
16
|
"dev": "node ./bin/revijs.js --debug",
|
|
19
17
|
"test": "jest",
|
|
20
18
|
"prepare": "node ./src/setup.js || true"
|
|
21
19
|
},
|
|
22
|
-
|
|
23
20
|
"keywords": [
|
|
24
21
|
"prerender",
|
|
25
22
|
"seo",
|
|
@@ -31,29 +28,23 @@
|
|
|
31
28
|
"cli",
|
|
32
29
|
"headless-browser"
|
|
33
30
|
],
|
|
34
|
-
|
|
35
31
|
"author": "TeamAlphaBotz & Utkarsh Dubey",
|
|
36
32
|
"license": "MIT",
|
|
37
|
-
|
|
38
33
|
"repository": {
|
|
39
34
|
"type": "git",
|
|
40
35
|
"url": "https://github.com/TeamAlphabotz/Revijs.git"
|
|
41
36
|
},
|
|
42
|
-
|
|
43
37
|
"homepage": "https://github.com/TeamAlphabotz/Revijs",
|
|
44
38
|
"bugs": {
|
|
45
39
|
"url": "https://github.com/TeamAlphabotz/Revijs/issues"
|
|
46
40
|
},
|
|
47
|
-
|
|
48
41
|
"funding": {
|
|
49
42
|
"type": "individual",
|
|
50
43
|
"url": "https://t.me/alter69x"
|
|
51
44
|
},
|
|
52
|
-
|
|
53
45
|
"engines": {
|
|
54
46
|
"node": ">=18"
|
|
55
47
|
},
|
|
56
|
-
|
|
57
48
|
"dependencies": {
|
|
58
49
|
"commander": "^12.1.0",
|
|
59
50
|
"picocolors": "^1.0.1",
|
|
@@ -61,7 +52,6 @@
|
|
|
61
52
|
"sirv": "^2.0.4",
|
|
62
53
|
"playwright": "^1.44.0"
|
|
63
54
|
},
|
|
64
|
-
|
|
65
55
|
"devDependencies": {
|
|
66
56
|
"jest": "^29.7.0"
|
|
67
57
|
}
|