@cloudcreate/adsense-check 1.3.1 → 1.4.1
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 +15 -5
- package/dist/{chunk-LMW7JCER.js → chunk-KYGG7TZX.js} +577 -68
- package/dist/cli.js +66 -47
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @cloudcreate/adsense-check
|
|
2
2
|
|
|
3
|
-
Automated website checker for Google AdSense review requirements. Detects "low value content" — the #1 rejection reason. Supports content sites, tool sites, and
|
|
3
|
+
Automated website checker for Google AdSense review requirements. Detects "low value content" — the #1 rejection reason. Supports content sites, tool sites, game sites, video sites, and reference sites with AI-powered topic analysis and content relevance checking.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -43,9 +43,11 @@ Automatically classifies websites into three supported types:
|
|
|
43
43
|
|
|
44
44
|
| Type | Description | Examples |
|
|
45
45
|
|------|-------------|----------|
|
|
46
|
-
| **Content** | News, blogs,
|
|
46
|
+
| **Content** | News, blogs, educational articles, guides | theexceltranslator.com |
|
|
47
47
|
| **Tool** | Online calculators, converters, generators | ishowspeedsaid.com |
|
|
48
48
|
| **Game** | Online games, game portals | popstone2.com |
|
|
49
|
+
| **Video** | Video sharing, video blogs, YouTube-style sites | — |
|
|
50
|
+
| **Reference** | Wiki, encyclopedia, glossary, knowledge base | — |
|
|
49
51
|
| **Unsupported** | Other types (e-commerce, social, etc.) | — |
|
|
50
52
|
|
|
51
53
|
AI analysis classifies the site type and topic. Falls back to DOM signal detection when AI is unavailable.
|
|
@@ -55,7 +57,7 @@ AI analysis classifies the site type and topic. Falls back to DOM signal detecti
|
|
|
55
57
|
With `--ai`, the tool analyzes the homepage to determine:
|
|
56
58
|
- **Topic**: What the site is about (e.g., "online match-3 puzzle games")
|
|
57
59
|
- **Description**: One-line summary of the site's purpose
|
|
58
|
-
- **Type**: content / tool / game / unsupported
|
|
60
|
+
- **Type**: content / tool / game / video / reference / unsupported
|
|
59
61
|
|
|
60
62
|
### Content Relevance Checking
|
|
61
63
|
|
|
@@ -101,6 +103,14 @@ Page score = geometric mean of all four dimensions. This means any weak dimensio
|
|
|
101
103
|
|
|
102
104
|
Site score = page-type weighted average across all analyzed pages (homepage and content pages have highest weight).
|
|
103
105
|
|
|
106
|
+
### AI Page Classification
|
|
107
|
+
|
|
108
|
+
With `--ai`, each page is classified by content analysis into one of: homepage, listing, content, game_detail, video_detail, reference_detail, required, utility. This overrides URL-based classification for sites with non-standard URL patterns.
|
|
109
|
+
|
|
110
|
+
### Compliance Re-check
|
|
111
|
+
|
|
112
|
+
Pages flagged with borderline compliance scores (3-5) receive a second-pass AI review to reduce false positives. Context-aware: informational/educational mentions of sensitive topics are not treated as violations.
|
|
113
|
+
|
|
104
114
|
### Single-Page Analysis
|
|
105
115
|
|
|
106
116
|
```bash
|
|
@@ -124,7 +134,7 @@ adsense-check <site> --page <url> --ai
|
|
|
124
134
|
-o, --output <dir> Report output dir (default: tmp)
|
|
125
135
|
--no-save Skip auto-saving report
|
|
126
136
|
-l, --lang <lang> Output language: en|zh (default: en)
|
|
127
|
-
--type <type> Force site type: content|tool|game
|
|
137
|
+
--type <type> Force site type: content|tool|game|video|reference
|
|
128
138
|
--detect-only Only detect site type/topic, skip full check
|
|
129
139
|
```
|
|
130
140
|
|
|
@@ -166,7 +176,7 @@ adsense-check https://example.com --ai --api-key sk-xxx...
|
|
|
166
176
|
│ ...
|
|
167
177
|
└─ 评分: READY — 所有必要项达标
|
|
168
178
|
|
|
169
|
-
┌─
|
|
179
|
+
┌─ 智能评分 ──────────────────────────────────── 75/100
|
|
170
180
|
│ ████████████████████ 100% 内容质量
|
|
171
181
|
│ ████████████████████ 100% 用户体验
|
|
172
182
|
│ ████████░░░░░░░░░░░░ 40% AI 内容分析
|