Skip to content

Latest commit

 

History

2,036 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Sveltepress
Sveltepress

SvelteKit docs & blog SSG — write Markdown, keep the full power of SvelteKit.
Svelte 5 Runes in Markdown · document versioning · i18n · Pagefind / DocSearch

Docs npm npm downloads GitHub stars MIT

sveltepress-promo-github.mp4

Sveltepress screenshots

Sveltepress lighthouse

Not affiliated with the archived GeopJr/SveltePress.

Why Sveltepress

Inspired by VitePress, built on SvelteKit — so you get a docs/blog toolkit and the full SvelteKit surface (SSR, adapters, server routes, hooks).

  • Svelte 5 in Markdown — Runes, components, and interactive islands inside .md
  • Immutable doc versioning — clean current URLs plus historical snapshots
  • Search that works — Pagefind by default; DocSearch / Meilisearch when you need them
  • i18n built in — locales, switcher, version-aware navigation
  • Docs + blog themes — default docs theme, or theme-blog for posts, RSS, OG images

Requires Svelte 5, SvelteKit 2 (2.65.1+) or 3, Vite 8, and Node.js ^20.19.0 or >=22.12.0.

Comparison

Feature / Aspect Sveltepress VitePress Astro (Starlight) Docusaurus
Ecosystem Svelte / SvelteKit Vue 3 Framework-agnostic React
Build Engine Vite 8 + SvelteKit 2/3 Vite + Vue 3 Vite + Astro compiler Webpack
Fullstack Power Full SvelteKit surface (SSR, API routes, hooks) Static-focused SSG Requires SSR adapter Requires Node plugins
Reactivity Svelte 5 Runes natively in .md Vue 3 Composition API Static by default (Islands) React Hooks
Interactive Code Native live components + Twoslash hover Vue components Requires plugins Requires react-live
Doc Versioning Content-addressed immutable deltas & diffs Branch/dir-based Requires plugins Directory snapshot copies
Search Pagefind (built-in) / DocSearch / Meilisearch Pagefind / DocSearch Pagefind Algolia / local plugins
AI Knowledge (llms.txt) Built-in automatic generation Third-party plugin Third-party plugin Third-party plugin

Quick start

npm create @sveltepress@latest

Docs: sveltepress.site · Blog theme: getting started

Packages

Package Purpose
@sveltepress/create Interactive scaffolder for JavaScript and TypeScript Sveltepress sites
@sveltepress/cli Version manifest, documentation snapshot, and validation CLI
@sveltepress/vite Core Vite and SvelteKit integration, Markdown pipeline, and version routing
@sveltepress/theme-default Default documentation theme with navigation, search, and content features
@sveltepress/theme-blog Static magazine-style blog theme with posts, pagination, RSS, OG images, and Pagefind
@sveltepress/twoslash TypeScript and Svelte hover information for Shiki code blocks
@sveltepress/docsearch Algolia DocSearch UI component for Sveltepress themes
@sveltepress/meilisearch Meilisearch search UI integration for Sveltepress themes

Contributing

All kinds of contributions are welcome. See Contributing.

Thanks

This project would not exist without:

Who's using

Using Sveltepress? Open a PR or comment on #334 and we'll add you.

LICENSE

MIT

About

SvelteKit docs & blog SSG — Svelte 5 in Markdown, versioning, i18n, and Pagefind.

Topics

Resources

Code of conduct

Contributing

Stars

539 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages