LearnNewsExamplesServices
Frontmatter
id9601
titleEnhance SSR Proxy to Serve Raw Markdown for llms.txt Optimization
stateClosed
labels
enhancementai
assigneestobiu
createdAtMar 30, 2026, 11:53 PM
updatedAtMar 31, 2026, 12:41 AM
githubUrlhttps://github.com/neomjs/neo/issues/9601
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMar 31, 2026, 12:41 AM

Enhance SSR Proxy to Serve Raw Markdown for llms.txt Optimization

Closedenhancementai
tobiu
tobiu commented on Mar 30, 2026, 11:53 PM

Currently, the llms.txt generation in the neo repository points AI crawlers to the deep application HTML routes. While this works, it forces AI agents to parse complex HTML DOMs, which is highly inefficient and prone to token bloat.

To establish true Generative Engine Optimization (GEO):

  1. The middleware-v2 reverse proxy server must be updated to explicitly intercept and serve our repository's .md files natively via a new /raw/* API endpoint (drawing directly from the node_modules/neo.mjs/ paths that fetchContent.mjs synchronizes).
  2. The neo SEO generation script (buildScripts/docs/seo/generate.mjs) must be refactored to point llms.txt to these new direct Markdown endpoints.

This will provide AIs like OpenAI and Anthropic with pure, high-signal data.

tobiu added the enhancement label on Mar 30, 2026, 11:53 PM
tobiu added the ai label on Mar 30, 2026, 11:53 PM
tobiu referenced in commit 8489ac8 - "feat: use O(1) tracking map for raw routes instead of fast-glob (#9601)" on Mar 31, 2026, 12:26 AM
tobiu referenced in commit 7fae1f1 - "fix: properly scope llms.txt human UI description to content endpoints only (#9601)" on Mar 31, 2026, 12:39 AM
tobiu assigned to @tobiu on Mar 31, 2026, 12:41 AM
tobiu closed this issue on Mar 31, 2026, 12:41 AM