VitePress logo
Documentation Platforms

VitePress

AI-powered search and chat for VitePress sites

What is VitePress?

VitePress is a Vite and Vue-powered static site generator purpose-built for documentation. It is used by many Vue.js and Vite ecosystem projects to publish fast, lightweight documentation sites from Markdown.

Integration

How Kelu works with VitePress

Everything you can do once the integration is connected.

Static site crawling

VitePress generates clean HTML from Markdown. Kelu crawls the published static site and normalizes each page into searchable chunks.

Frontmatter metadata extraction

The Kelu crawler extracts frontmatter-derived titles and descriptions to improve retrieval accuracy and citation quality.

Simple script tag embed

Add the Kelu widget script to VitePress's head configuration. No custom component required.

Sync on CI deploy

Trigger a Kelu sync from your GitHub Actions or Netlify/Vercel deploy pipeline after each VitePress build.

Setup

How to set it up

1

Add your deployed VitePress site URL as a source in Kelu. The sitemap is used to discover all documentation pages.

2

Trigger the first crawl and review the indexed pages in the Kelu dashboard to confirm coverage.

3

Add the widget script to VitePress's head config in .vitepress/config.ts to show the chat launcher on every page.

VitePress — Frequently Asked Questions

Common questions about connecting Kelu to VitePress.

Add the widget script tag to the head option in your .vitepress/config.ts file using the transformHead or head configuration. The widget will appear on every page of your VitePress site without requiring a custom Vue component.
Yes, they work independently. You can keep VitePress's built-in Algolia or local search for exact keyword lookup and add Kelu alongside it for AI-powered conversational answers with source citations.
Add a step in your GitHub Actions or Vercel/Netlify deploy pipeline to call the Kelu sync API after each successful build. This triggers an incremental re-index so answers reflect the latest content within minutes of a deploy.
Yes. Kelu's crawler extracts frontmatter-derived titles and descriptions from VitePress pages to improve chunking quality and citation accuracy. Page titles from frontmatter are used as document titles in citations.
Yes. Configure URL exclusion patterns in your Kelu source settings to skip pages you do not want indexed — for example, pages under /internal or pages with a noindex robots directive.

Ready to connect VitePress?

Start free. No credit card required. Connect your first integration in under 5 minutes.