Website: add a visible link to llms.txt (footer and/or front page) for people and AI tools

Open Beginner friendly
#1,872 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
html, javascript, yaml
Domain
content, frontend

Research direction

Start with data/chrome.yaml to see how the footer columns are defined, then find the template that renders the page <head> (the same place other <link rel=...> tags live) for the machine-discoverable entry. Read llms-txt-template.md and gulp/helpers/llms-txt.js to confirm the generated file is served at /llms.txt. Done means the footer link appears on every page, /llms.txt resolves, and the rendered HTML contains the alternate link; build the site locally with the repo's gulp tasks and check a page's footer and <head>.

Written by the indexing model from the issue text.

Description

Description

The website publishes https://camel.apache.org/llms.txt (generated from llms-txt-template.md by gulp/helpers/llms-txt.js), but no page links to it. People don't know it exists, and AI tools only find it if they already know to look for /llms.txt.

Proposal

Add a visible link to /llms.txt that works for both people and AI tools:

  1. Footer: add an entry such as llms.txt (for AI tools) to data/chrome.yaml, for example in the Documentation or About column, so it shows on every page.
  2. Front page (optional): a short, prominent line or tile, e.g. "Using an AI assistant? Point it at camel.apache.org/llms.txt", with a one-line explanation of what the file contains.
  3. Machine-discoverable: add <link rel="alternate" type="text/plain" title="llms.txt" href="/llms.txt"> (or similar) to the page <head>, so crawlers and agents can find it without parsing visible text.
  4. Optionally link the blog post introducing llms.txt from the link's tooltip or a short "what is this?" note.

Expected Behavior

  • A visitor can find the llms.txt link in the footer of any page, and (if chosen) on the front page.
  • An AI agent that reads the HTML can find /llms.txt from a normal page.
Dominant language
JavaScript
Stars
79
Forks
209
Avg merge
22h 55m
Merged PRs (30d)
28

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/camel-website

All issues in apache/camel-website

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.