Add cluster hub pages for AI, privacy, PDF, image, and on-device AI tools - #61
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…itations (#64) Correct the blanket "every tool runs 100% in your browser, works offline" claim in /llms.txt and /llms-full.txt — not true across the whole catalogue. Both files now source a per-tool network data profile (on-device, model-download, remote-processing, remote-data) from a new src/lib/llms-data-profile.ts registry, backed by each tool's own implementation and its existing authored UI copy: 14 tools download AI model weights from a CDN on first use (Transformers.js, Tesseract.js, Segment Anything) then run on-device; Live Dictation uses the browser's native Web Speech API, which sends audio to the browser vendor in Chrome/Edge; Currency Converter fetches exchange rates from an external API. Every other tool is correctly on-device. Also: - Add a Collections section listing all five /collections/* cluster hubs (from src/lib/tool-clusters.ts) with their member tools. - Fix the tool count to 152 (matching `bun run validate`) by excluding landingFor SEO variants consistently in both files — the previous llms.txt included all 176 route-level variants. - Both files stay force-static and generated purely from tools-config.ts, blog-data.ts, and tool-clusters.ts — no hardcoded lists. - Left a comment at the insertion point for /alternatives/* comparison pages (src/lib/comparisons.ts), which land on a separate branch not in this tree. Adds src/__tests__/lib/llms-txt.test.ts covering registry integrity, full tool/blog/cluster coverage, and that no network-touching tool is described with an unqualified "nothing leaves your device" claim.
# Conflicts: # src/app/sitemap.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds five collection pages under
/collections:/collections/ai-developer-tools/collections/privacy-first-tools/collections/pdf-tools/collections/image-tools/collections/on-device-aiEach is a server component with its own
generateMetadataandCollectionPageJSON-LD (emitted viaJsonLdScript, notmetadata.other). Cluster membership lives insrc/lib/tool-clusters.tswith a test asserting every slug resolves to an available tool in the registry.Verified with JS disabled: all five render 2,276-2,410 words of prose server-side. Pairwise text similarity between hubs is 20-28%, which is shared nav/footer chrome.
Gates: tsc clean, 1225 tests passing (baseline 1176), validate 152/152.