Kagi News is a SvelteKit application that connects to the live data API atDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/kagisearch/kite-public/llms.txt
Use this file to discover all available pages before exploring further.
https://kite.kagi.com. Because the data is fetched at runtime, there is nothing special to configure for local development — clone the repo, install dependencies, and the app is ready to run. The steps below take you from zero to a fully functional local instance in under five minutes.
Install Prerequisites
You need Node.js LTS and npm (bundled with Node.js). Check your installed versions before proceeding:Download Node.js LTS from nodejs.org if it is not already installed.
Configure Environment Variables
The repository ships with a
.env file that points the app at the live Kagi News data API. No changes are required for local development — the defaults work out of the box:.env
VITE_BASE_PATH is the root URL used for all news data requests. VITE_STATIC_PATH is the URL for static assets such as publisher logos. Both values are embedded at build time by Vite, so any change requires a rebuild.Start the Development Server
Launch the Vite development server with hot-module replacement:The app opens at http://localhost:5173. The server proxies data requests to
https://kite.kagi.com as configured in your .env file.Useful Development Commands
| Command | Description |
|---|---|
npm run dev | Start the Vite development server at localhost:5173 |
npm run build | Compile a production build into build/ |
npm run preview | Serve the production build locally for inspection |
npm run check | Run svelte-kit sync then svelte-check for TypeScript diagnostics |
npm run test | Run the full Vitest test suite in watch mode |
npm run lint | Lint the codebase with Biome |
TypeScript Checking
Run a full type-check pass across the entire project with:svelte-kit sync) and then runs svelte-check against tsconfig.json. It is recommended to run this before opening a pull request.
Running Tests
Next Steps
Self-Hosting
Deploy your own Kagi News instance to Netlify, Vercel, GitHub Pages, or any Node.js host.
News Model
Understand how once-daily updates, AI summarization, and multi-source clustering work together.
Contributing Feeds
Add new RSS sources or categories to the community-curated feed index.
Introduction
Learn about the philosophy and open-source model behind Kagi News.