Skip to content
/ llmctx Public

Convert developer documentation into an LLM-ready format.

License

Notifications You must be signed in to change notification settings

didier/llmctx

Repository files navigation

llmctx

llmctx transforms technical documentation into AI-ready formats. It provides a simple way to access condensed, LLM-friendly versions of popular framework and library documentation through preset URLs. This makes it easier for developers to use AI coding assistants like Cursor or Zed with accurate, up-to-date context from official documentation sources.

  • Preset URLs for quick access to LLM-optimized documentation
  • Regularly updated content from official documentation

Supported presets

Visit llmctx.com to see all presets.

Adding presets

To add a new preset:

  1. Fork this repo.

  2. Open the src/lib/presets.ts file.

  3. Add a new entry to the presets object with the following structure:

    [presetKey]: {
      title: 'Preset Title',
      owner: 'github-owner',
      repo: 'github-repo',
      glob: ['**/*.md', '**/*.mdx', '!**/excluded/**'], // Required, supports glob patterns
      prompt: 'Optional prompt for additional context'
    }
  4. Create a pull request with your changes.

The glob field supports glob patterns, providing flexible file matching:

  • Use **/*.md to match all Markdown files in any subdirectory
  • Use **/*.mdx to match all MDX files in any subdirectory
  • Use !pattern to exclude files/directories matching the pattern
  • Combine patterns for fine-grained control, e.g., ['**/*.md', '**/*.mdx', '!**/excluded/**']
  • Patterns are processed in order, so you can include files and then exclude specific ones

Please ensure that the documentation source is reliable and actively maintained.

Feature requests

  • Combine multiple documentation sources (e.g., https://llmctx.com/svelte,sveltekit)
  • Create a "stack" of frequently used frameworks and libraries
  • Implement a checkbox UI for selecting presets and generate custom URLs based on selected documentation