@houtini/seo-audit-console 0.5.1 → 0.7.8

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/LICENSE CHANGED
@@ -1,92 +1,204 @@
1
- SEO Audit Console — Source-Available Licence
2
-
3
- Copyright (c) 2026 Richard Baxter / Houtini (houtini.com)
4
-
5
- 1. Definitions
6
-
7
- "Software" means this repository: source code, built outputs,
8
- documentation, and all associated files.
9
-
10
- "Non-commercial use" means personal use, private study, evaluation,
11
- and academic or educational use, where the Software is not used in
12
- the course of business, for client work, or to generate revenue,
13
- directly or indirectly.
14
-
15
- "Commercial use" means any use other than non-commercial use. This
16
- includes (without limitation) use inside a business, use by an agency
17
- or consultant in the course of client work, use in or as part of a
18
- paid product or service, and internal use by a for-profit
19
- organisation.
20
-
21
- 2. What you may do without asking
22
-
23
- You may download, install, build, and run the Software, unmodified,
24
- for non-commercial use. You may read the source. You may link to this
25
- repository. You may open issues and submit pull requests.
26
-
27
- 3. What needs a commercial licence or written permission
28
-
29
- a. Commercial use of the Software, in any form, requires a
30
- commercial licence. Terms and how to buy one are published in
31
- COMMERCIAL.md in this repository (or contact hello@houtini.com).
32
- A valid commercial licence satisfies this section for the uses it
33
- covers.
34
-
35
- The following additionally require prior written permission from the
36
- copyright holder, whether or not you hold a commercial licence:
37
-
38
- b. Modifying the Software, or creating derivative works from it,
39
- beyond changes strictly necessary to build and run it locally;
40
- c. Redistributing the Software or any derivative of it, in source or
41
- built form, on any registry, marketplace, or hosting service;
42
- d. Offering the Software, or a service substantially built on it, to
43
- third parties (including as a hosted or managed service).
44
-
45
- Permission is usually straightforward to get. Contact:
46
- hello@houtini.com
47
-
48
- 4. Contributions
49
-
50
- By submitting a pull request or patch you grant the copyright holder
51
- a perpetual, worldwide, irrevocable, royalty-free licence to use,
52
- modify, relicense, and distribute your contribution as part of the
53
- Software.
54
-
55
- 5. No trademark rights
56
-
57
- This licence grants no rights to the "Houtini" or "SEO Audit Console"
58
- names or logos.
59
-
60
- 6. Termination
61
-
62
- Any use outside the permissions above ends your rights under this
63
- licence automatically. Rights are restored if the violation is cured
64
- within 30 days of notice.
65
-
66
- 7. No warranty; no liability
67
-
68
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
69
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
70
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
71
- NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE
72
- FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
73
- CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
74
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
75
-
76
- 8. Change licence (automatic conversion to open source)
77
-
78
- Each released version of the Software automatically converts to the
79
- Apache License, Version 2.0, on the third anniversary of that
80
- version's first publication (its "Change Date"). From a version's
81
- Change Date, that version - and only that version - may be used,
82
- modified, and redistributed under the Apache License 2.0, and the
83
- restrictions in this licence no longer apply to it. Later versions
84
- keep their own Change Dates.
85
-
86
- 9. Governing law
87
-
88
- This licence is governed by the laws of England and Wales.
89
-
90
- Note: releases of this Software prior to this licence change were
91
- published under the Apache License 2.0; that licence continues to apply
92
- only to those earlier versions.
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2024 Houtini Ltd
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
202
+
203
+ For commercial licensing enquiries, please contact:
204
+ https://houtini.com
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  **A technical SEO audit you can hold a conversation with - built from your own Search Console data and a live crawl of your site, run inside Claude.**
8
8
 
9
9
  [![npm version](https://img.shields.io/npm/v/@houtini/seo-audit-console.svg?style=flat-square)](https://www.npmjs.com/package/@houtini/seo-audit-console)
10
- [![License: Source-Available](https://img.shields.io/badge/License-Source--Available-orange.svg?style=flat-square)](./LICENSE)
10
+ [![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg?style=flat-square)](./LICENSE)
11
11
  [![MCP](https://img.shields.io/badge/Model_Context_Protocol-server-purple?style=flat-square)](https://modelcontextprotocol.io)
12
12
  [![Node](https://img.shields.io/badge/node-%E2%89%A520-339933?style=flat-square&logo=node.js&logoColor=white)](https://nodejs.org)
13
13
 
@@ -33,7 +33,7 @@ you › run an SEO audit on simracingcockpit.gg
33
33
  you › generate the fix for #1 ▍
34
34
  ```
35
35
 
36
- ![The dashboard overview - executive summary, critical issues, recoverable clicks](assets/dashboard-overview.png)
36
+ ![The dashboard overview - a report hub, executive summary, critical issues and recoverable clicks](assets/dashboard-overview.png)
37
37
 
38
38
  ## The manual
39
39
 
@@ -46,6 +46,8 @@ This README is the story and the quick start. The detail lives in the manual:
46
46
  | [The check registry](manual/checks.md) | All 93 checks with what each catches, its D/N label, and the fix |
47
47
  | [Composition](manual/composition.md) | The join keys, the grains, and thirteen worked recipes for asking your own questions across the data |
48
48
  | [Competitive analysis](manual/competitive.md) | The Semrush-replacement workflows, DataForSEO setup, link intersect with the Majestic Trust Flow tier, and the real costs |
49
+ | [DataForSEO functions](manual/dataforseo.md) | Every DataForSEO-backed tool grouped by API module — Keywords, SERP, Labs, Backlinks, OnPage — each with its endpoint and cost |
50
+ | [Majestic functions](manual/majestic.md) | The optional Trust Flow tier — what it adds and how `link_intersect` uses it |
49
51
  | [Dashboard & reports](manual/dashboard.md) | The six tabs, what each chart shows, and the shareable export |
50
52
 
51
53
  ## Surprisingly little has changed in twenty years
@@ -236,6 +238,7 @@ The one-line version - full descriptions, inputs and example prompts for every t
236
238
  | `score_passages` · `draft_content` | Local relevance scoring · grounded writing briefs |
237
239
  | `resolve_entities` | Wikidata entities and the link gaps between them |
238
240
  | `keyword_volume` · `related_terms` · `search_intent` | DataForSEO keyword data |
241
+ | `youtube_discovery` · `news_discovery` · `topic_trend` | Content research: the videos ranking for a topic (pair with a transcript tool) · recent news coverage / freshness · Google Trends interest-over-time (rising / falling / seasonal) |
239
242
  | `competitors_domain` · `page_intersection` · `topic_gaps` | Competitors · content gap · topic gaps |
240
243
  | `domain_visibility` · `top_pages` · `ranked_keywords` | The Semrush-style views, any domain (+ `aioOnly` for AI Overview citations) |
241
244
  | `page_lighthouse` · `pull_backlinks` | Lab CWV · backlink profile with live status |
@@ -295,8 +298,8 @@ Built with [better-sqlite3](https://github.com/WiseLibs/better-sqlite3), [cheeri
295
298
 
296
299
  ## Contributing
297
300
 
298
- Issues and PRs welcome. The check registry (`src/audit/checks.ts`) is built to be extended - each check is a pure read over the joined data that returns findings with evidence, so adding one is fairly self-contained. There's an end-to-end smoke test (`npm run smoke`) and per-feature probes (`npm run probe:*`) to keep you honest. By submitting a PR you grant the licence set out in the [LICENSE](./LICENSE) contributions clause.
301
+ Issues and PRs welcome. The check registry (`src/audit/checks.ts`) is built to be extended - each check is a pure read over the joined data that returns findings with evidence, so adding one is fairly self-contained. There's an end-to-end smoke test (`npm run smoke`) and per-feature probes (`npm run probe:*`) to keep you honest. By submitting a PR you agree your contribution is licensed under the project's [LICENSE](./LICENSE) (Apache-2.0).
299
302
 
300
303
  ## License
301
304
 
302
- **Source-available, converting to open source.** Free to download, build, and run unmodified for personal, evaluation, and educational use. Commercial use - including agency and client work - needs a [commercial licence](./COMMERCIAL.md), which is a short email away. Modifications and redistribution need written permission. And every released version automatically becomes **Apache 2.0** three years after its release, so nothing stays locked up forever. Full terms in [LICENSE](./LICENSE).
305
+ **Apache License 2.0.** Free to use, modify, and redistribute, including commercially — full terms in [LICENSE](./LICENSE).
@@ -1 +1 @@
1
- {"version":3,"file":"AuditDatabase.d.ts","sourceRoot":"","sources":["../../src/core/AuditDatabase.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAItC,MAAM,MAAM,YAAY,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AACv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AC3E,OAAO,CAAC,OAAO;IA+Df,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI;IAWjF,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,GAAG,SAAS;IAMhH,2FAA2F;IAC3F,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAMhE,iFAAiF;IACjF,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS;IAO5D,KAAK,IAAI,IAAI;CAGd"}
@@ -498,6 +498,12 @@ export class AuditDatabase {
498
498
  ensure('pages', 'max_passage_at', 'max_passage_at TEXT');
499
499
  ensure('pages', 'click_depth', 'click_depth INTEGER');
500
500
  ensure('pages', 'indexable_reason', 'indexable_reason TEXT');
501
+ // Majestic per-URL authority on backlinked pages (trapped-authority v2) — filled by
502
+ // pull_backlinks when MAJESTIC_API_KEY is set. topical_trust_flow is JSON [{topic,value}].
503
+ ensure('page_backlinks', 'trust_flow', 'trust_flow INTEGER');
504
+ ensure('page_backlinks', 'citation_flow', 'citation_flow INTEGER');
505
+ ensure('page_backlinks', 'topical_trust_flow', 'topical_trust_flow TEXT');
506
+ ensure('page_backlinks', 'majestic_at', 'majestic_at TEXT');
501
507
  // property-level backlink profile summary (from DataForSEO backlinks/summary)
502
508
  ensure('property_meta', 'total_backlinks', 'total_backlinks INTEGER');
503
509
  ensure('property_meta', 'referring_domains', 'referring_domains INTEGER');
@@ -1 +1 @@
1
- {"version":3,"file":"AuditDatabase.js","sourceRoot":"","sources":["../../src/core/AuditDatabase.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,QAAQ,MAAM,gBA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,CAAC,uFAAuF,CAAC,CAAC,GAAG,CAAC,OAAO,CAEjH,CAAC;QACd,OAAO,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,SAAS,CAAC;IACnC,CAAC;IAED,KAAK;QACH,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC;IAClB,CAAC;CACF"}
@@ -1,4 +1,5 @@
1
1
  import { DataForSeoClient } from './DataForSeoClient.js';
2
+ import { MajesticClient } from './MajesticClient.js';
2
3
  export interface BacklinksResult {
3
4
  siteUrl: string;
4
5
  target: string;
@@ -10,6 +11,7 @@ export interface BacklinksResult {
10
11
  brokenBacklinks: number;
11
12
  brokenPages: number;
12
13
  nofollowPct: number | null;
14
+ majesticEnriched: number;
13
15
  cached: boolean;
14
16
  cost: number;
15
17
  }
@@ -23,11 +25,13 @@ export interface BacklinksResult {
23
25
  export declare class Backlinks {
24
26
  private readonly dfs;
25
27
  private readonly dataDir;
26
- constructor(dfs: DataForSeoClient, dataDir: string);
28
+ private readonly majestic;
29
+ constructor(dfs: DataForSeoClient, dataDir: string, majestic?: MajesticClient | null);
27
30
  run(siteUrl: string, opts: {
28
31
  limit?: number;
29
32
  statusLimit?: number;
30
33
  userAgent?: string;
34
+ majesticLimit?: number;
31
35
  }, update: (p: Record<string, unknown>) => void, signal: AbortSignal): Promise<BacklinksResult>;
32
36
  }
33
37
  //# sourceMappingURL=Backlinks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Backlinks.d.ts","sourceRoot":"","sources":["../../src/core/Backlinks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAoBzD,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,MAAM,CAAC;IACtE,cAAc,EAAE,MAAM,CAAC;IAAC,gBAAgB,EAAE,MAAM,C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,CAAC;IAC3B,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;CAC/B;AAED;;;;;;GAMG;AACH,qBAAa,SAAS;IACR,OAAO,CAAC,QAAQ,CAAC,GAAG;IAAoB,OAAO,CAAC,QAAQ,CAAC,OAAO;IAAU,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAlF,GAAG,EAAE,gBAAgB,EAAmB,OAAO,EAAE,MAAM,EAAmB,QAAQ,GAAE,cAAc,GAAG,IAAW;IAEvI,GAAG,CACP,OAAO,EAAE,MAAM,EACf,IAAI,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,aAAa,CAAC,EAAE,MAAM,CAAA;KAAE,EAC1F,MAAM,EAAE,CAAC,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,EAC5C,MAAM,EAAE,WAAW,GAClB,OAAO,CAAC,eAAe,CAAC;CAuH5B"}
@@ -27,9 +27,11 @@ async function statusOf(url, ua) {
27
27
  export class Backlinks {
28
28
  dfs;
29
29
  dataDir;
30
- constructor(dfs, dataDir) {
30
+ majestic;
31
+ constructor(dfs, dataDir, majestic = null) {
31
32
  this.dfs = dfs;
32
33
  this.dataDir = dataDir;
34
+ this.majestic = majestic;
33
35
  }
34
36
  async run(siteUrl, opts, update, signal) {
35
37
  const target = domainFromProperty(siteUrl);
@@ -93,12 +95,40 @@ export class Backlinks {
93
95
  for (const r of rows)
94
96
  upsert.run({ ...r, status_code: crawlStatus.get(r.url_key) ?? fetched.get(r.url_key) ?? null });
95
97
  })();
98
+ // Majestic per-URL Trust Flow (trapped-authority v2). GetIndexItemInfo batches ≤100 items
99
+ // per call and MajesticClient slices internally, so this is ceil(N/100) calls, not N. Bounded
100
+ // to the most-backlinked URLs, only when a Majestic key is set, and never fails the pull.
101
+ let majesticEnriched = 0;
102
+ if (this.majestic && rows.length && !signal.aborted) {
103
+ // Enrich a BROAD set, not just the most-linked: trapped-authority pages are deep pages
104
+ // with only a few referring domains, so a top-N-by-backlinks slice misses exactly the
105
+ // pages that matter. Cap high (batched ≤100/call, cached 30d); sort only decides which
106
+ // survive the cap on very large sites.
107
+ const cand = [...rows].sort((a, b) => b.backlinks - a.backlinks).slice(0, Math.min(rows.length, opts.majesticLimit ?? 500));
108
+ const byUrl = new Map(cand.map(r => [r.url, r.url_key]));
109
+ try {
110
+ update({ phase: 'majestic', total: cand.length });
111
+ const metrics = await this.majestic.getIndexItemInfo(cand.map(c => c.url), { datasource: 'historic', desiredTopics: 5 });
112
+ const upd = db.db.prepare(`UPDATE page_backlinks SET trust_flow=?, citation_flow=?, topical_trust_flow=?, majestic_at=datetime('now') WHERE url_key=?`);
113
+ db.db.transaction(() => {
114
+ for (const m of metrics) {
115
+ const uk = byUrl.get(m.item);
116
+ if (!uk)
117
+ continue;
118
+ upd.run(m.trustFlow ?? null, m.citationFlow ?? null, m.topicalTrustFlow.length ? JSON.stringify(m.topicalTrustFlow) : null, uk);
119
+ majesticEnriched++;
120
+ }
121
+ })();
122
+ }
123
+ catch { /* Majestic optional — never fail the backlink pull on it */ }
124
+ }
96
125
  return {
97
126
  siteUrl, target, pages: rows.length, statusChecked: fetched.size,
98
127
  totalBacklinks: n(s.backlinks), referringDomains: n(s.referring_domains),
99
128
  domainRank: s.rank != null ? n(s.rank) : null,
100
129
  brokenBacklinks: n(s.broken_backlinks), brokenPages: n(s.broken_pages),
101
130
  nofollowPct: nofollowPct != null ? Math.round(nofollowPct * 1000) / 1000 : null,
131
+ majesticEnriched,
102
132
  cached: sum.cached && res.cached, cost: sum.cost + res.cost,
103
133
  };
104
134
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Backlinks.js","sourceRoot":"","sources":["../../src/core/Backlinks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EA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39
39
  serpOrganic(keyword: string, location?: string | number, languageCode?: string, depth?: number, opts?: {
40
40
  loadAsyncAiOverview?: boolean;
41
41
  }): Promise<DfsResponse>;
42
+ /** SERP — live YouTube organic results for a keyword (video discovery). Same SERP
43
+ * scope + 20-day cache as serpOrganic. Returns the ranking videos shaped for content
44
+ * research: title, url, channel, views, publish date, duration. `blockDepth` = how many
45
+ * videos to collect (YouTube SERP uses block_depth, default 20, max 200). */
46
+ serpYoutube(keyword: string, location?: string | number, languageCode?: string, blockDepth?: number): Promise<{
47
+ videos: Array<{
48
+ rank: number | null;
49
+ title: string | null;
50
+ url: string | null;
51
+ videoId: string | null;
52
+ channel: string | null;
53
+ channelUrl: string | null;
54
+ views: number | null;
55
+ published: string | null;
56
+ durationSeconds: number | null;
57
+ isShorts: boolean | null;
58
+ isLive: boolean | null;
59
+ }>;
60
+ cached: boolean;
61
+ cost: number;
62
+ }>;
63
+ /** SERP — live Google News results for a keyword (what's been PUBLISHED / freshness).
64
+ * Same SERP scope + 20-day cache. Flattens both `news_search` items and `top_stories`
65
+ * groups into one ranked list: title, url, source, snippet, timestamp. */
66
+ serpNews(keyword: string, location?: string | number, languageCode?: string, depth?: number): Promise<{
67
+ articles: Array<{
68
+ rank: number | null;
69
+ title: string | null;
70
+ url: string | null;
71
+ source: string | null;
72
+ snippet: string | null;
73
+ timestamp: string | null;
74
+ imageUrl: string | null;
75
+ }>;
76
+ cached: boolean;
77
+ cost: number;
78
+ }>;
79
+ /** KEYWORDS_DATA — Google Trends relative interest (0–100) over time for up to 5
80
+ * keywords, for seasonality / "is this rising or fading". Returns the time series per
81
+ * keyword (values aligned to the queried keywords). `timeRange` presets: past_7_days,
82
+ * past_30_days, past_90_days, past_12_months (default), past_5_years, 2004_present.
83
+ * `type`: web (default), news, youtube, images, froogle. Cached 20 days. */
84
+ googleTrends(keywords: string[], location?: string | number, languageCode?: string, opts?: {
85
+ timeRange?: string;
86
+ type?: string;
87
+ }): Promise<{
88
+ series: Array<{
89
+ dateFrom: string | null;
90
+ dateTo: string | null;
91
+ values: Record<string, number | null>;
92
+ }>;
93
+ keywords: string[];
94
+ cached: boolean;
95
+ cost: number;
96
+ }>;
42
97
  /**
43
98
  * Related terms for a keyword — People Also Ask questions + related searches,
44
99
  * parsed from the SERP advanced response. Powers the click-through "related
@@ -1 +1 @@
1
- {"version":3,"file":"DataForSeoClient.d.ts","sourceRoot":"","sources":["../../src/core/DataForSeoClient.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CACd;AAID,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAS;IAC9B,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAS;IAC/B,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAoB;IAC1C,OAAO,CAAC,KAAK,CAAuC;gBAExC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,SAAK;IAmB9E,sFAAsF;IACtF,OAAO,CAAC,SAAS;IAMjB,OAAO,CAAC,MAAM;IAUd,8EAA8E;IACxE,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,SAAS,SAAQ,GAAG,OAAO,CAAC,WAAW,CAAC;IA0DtF,mGAAmG;IACnG,OAAO,CAAC,GAAG;IAMX,8EAA8E;IACxE,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,YAAY,SAAO,GAAG,OAAO,CAAC,WAAW,CAAC;IAM7G;;;;;2FAKuF;IACjF,WAAW,CACf,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,YAAY,SAAO,EAAE,KA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