Top AI Repos โ open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
๐ A VitePress plugin for generating LLM-friendly documentation
| Date | Stars |
|---|---|
| 2026-07-31 | 380 |
| 2026-08-06 | 380 |
Today
โ stars today
This week
โ stars this week
This month
โ stars this month
Momentum
35.0
growth rate 0.00%/day
<!-- markdownlint-capture -->
<!-- markdownlint-disable no-inline-html heading-start-left first-line-h1 -->
<div align="center">
<b>Is this plugin useful for your site? Consider <a href="https://github.com/sponsors/okineadev">sponsoring the developer</a> to support the project's development ๐บ</b>
<br><br>
<a href="https://npmx.com/package/vitepress-plugin-llms">
<!-- https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#specifying-the-theme-an-image-is-shown-to -->
<picture>
<source media="(prefers-color-scheme: dark)" srcset="assets/hero-dark.png">
<source media="(prefers-color-scheme: light)" srcset="assets/hero-light.png">
<img src="assets/hero-dark.png" alt="Banner">
</picture>
</a>
<!-- prettier-ignore-start -->
# ๐ vitepress-plugin-llms
[](https://npmx.dev/package/vitepress-plugin-llms) [](https://npmx.dev/package/vitepress-plugin-llms) [](https://github.com/okineadev/vitepress-plugin-llms/actions/workflows/ci.yml) [](https://bun.sh) [](https://oxc.rs/)
[](https://github.com/sponsors/okineadev)
[๐ Report bug](https://github.com/okineadev/vitepress-plugin-llms/issues/new?template=bug-report.yml) โข [Request feature โจ](https://github.com/okineadev/vitepress-plugin-llms/issues/new?template=feature-request.yml)
</div>
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
## ๐ฆ Installation
```bash
npm install vitepress-plugin-llms --save-dev
```
## ๐ ๏ธ Usage
Add the Vite plugin to your VitePress configuration (`.vitepress/config.ts`):
```ts
import { defineConfig } from 'vitepress'
import llmstxt from 'vitepress-plugin-llms'
export default defineConfig({
vite: {
plugins: [llmstxt()],
},
})
```
Now, thanks to this plugin, the LLM version of the website documentation is automatically generated
> [!NOTE]
>
> **For repositories with documentation in other languages:** Please do not use this plugin, only English documentation is enough for LLMs.
---
<!-- markdownlint-capture -->
<!-- markdownlint-disable no-inline-html -->
> [!TIP]
> You can add <kbd>๐ Copy as Markdown</kbd> and <kbd>๐ฅ Download as Markdown</kbd> buttons for each page so that visitors can copy the page in Markdown format with just one click!
>
> <img src="./assets/copy-as-markdown-buttons-screenshot.png" width="400" alt="Screenshot">
<!-- markdownlint-restore -->
First, register a global component with buttons in `docs/.vitepress/theme/index.ts`:
```ts
import DefaultTheme from 'vitepress/theme'
import type { Theme } from 'vitepress'
import CopyOrDownloadAsMarkdownButtons from 'vitepress-plugin-llms/vitepress-components/CopyOrDownloadAsMarkdownButtons.vue'
export default {
extends: DefaultTheme,
enhanceApp({ app }) {
app.component('CopyOrDownloadAsMarkdownButtons', CopyOrDownloadAsMarkdownButtons)
},
} satisfies Theme
```
And tell VitePress to use an additional Markdown plugin that will insert them:
```tsExcerpt of 12,715 characters
Read on GitHubWould you bet a product on this? Bounded 0โ100 and slow moving.
matched fp:87c3a0aecaf950a2, llm:Repository topics: documentation, llmstxt, vite, vite-plugin, vitepress; description: 'A VitePress plugin for generating LLM-friendly documentation' indicating tooling to produce docs tailored for LLMs.
matched fp:87c3a0aecaf950a2, llm:Repository topics: documentation, llmstxt, vite, vite-plugin, vitepress; description: 'A VitePress plugin for generating LLM-friendly documentation' indicating tooling to produce docs tailored for LLMs.