# pracht

A full-stack Preact framework on Vite. Routes, loaders, API routes, and typed capabilities resolve into one app graph that serves browsers and agents.

Each link is the Markdown version of a docs page. A page URL without `.md` answers the same Markdown to requests sent with `Accept: text/markdown`. https://pracht.resynapse.dev/llms.txt indexes the same pages with one-line summaries.

## Get started

- [Quick start](/docs/getting-started.md)
- [Your first shared operation](/docs/recipes/first-workflow.md)
- [Why pracht](/docs/why-pracht.md)
- [Example app tour](/docs/demo-comparison.md)
- [Examples](/docs/examples.md)
- [Migrate from Next.js](/docs/migrate/nextjs.md)

## Core concepts

- [Routing](/docs/routing.md)
- [Pages router](/docs/pages-router.md)
- [Rendering modes](/docs/rendering.md)
- [Data loading](/docs/data-loading.md)
- [Head and headers](/docs/head.md)
- [Shells](/docs/shells.md)
- [Middleware](/docs/middleware.md)
- [API routes](/docs/api-routes.md)
- [Islands](/docs/islands.md)
- [Server islands](/docs/server-islands.md)

## Features

- [Content collections](/docs/content.md)
- [API validation](/docs/api-validation.md)
- [OpenAPI](/docs/openapi.md)
- [Styling](/docs/styling.md)
- [Fonts](/docs/fonts.md)
- [Images](/docs/images.md)
- [Environment variables](/docs/env.md)
- [Prefetching](/docs/prefetching.md)
- [Performance](/docs/performance.md)

## Deploy

- [Deployment](/docs/deployment.md)
- [Adapters](/docs/adapters.md)
- [Cloudflare Workers](/docs/adapters/cloudflare.md)
- [Node.js](/docs/adapters/node.md)
- [Vercel and Netlify](/docs/adapters/vercel-netlify.md)
- [Static export](/docs/adapters/static.md)

## Agents

- [Overview](/docs/agents.md)
- [Capabilities](/docs/capabilities.md)
- [WebMCP and remote MCP](/docs/mcp-tools.md)
- [Standalone capabilities](/docs/standalone-capabilities.md)
- [Agent trust](/docs/agent-trust.md)
- [Audit trail](/docs/agent-audit.md)
- [Testing agent flows](/docs/agent-eval.md)
- [Coding agents](/docs/coding-agents.md)

## Recipes

- [Authentication](/docs/recipes/auth.md)
- [Forms](/docs/recipes/forms.md)
- [Internationalization](/docs/recipes/i18n.md)
- [Content Security Policy](/docs/recipes/csp.md)
- [Testing](/docs/recipes/testing.md)
- [Logging](/docs/recipes/logging.md)
- [SSE and WebSockets](/docs/recipes/streaming.md)
- [TanStack Query](/docs/recipes/tanstack-query.md)
- [View transitions](/docs/recipes/view-transitions.md)
- [Full-stack Cloudflare](/docs/recipes/fullstack-cloudflare.md)
- [Full-stack Vercel](/docs/recipes/fullstack-vercel.md)

## Reference

- [API](/docs/reference/api.md)
- [Client hooks](/docs/reference/hooks.md)
- [CLI](/docs/cli.md)
- [Configuration](/docs/reference/config.md)
- [i18n](/docs/reference/i18n.md)

## Tools

- Docs MCP server (Streamable HTTP): `https://pracht.resynapse.dev/mcp` with `docs_search`, `docs_read`, and `docs_list`.
- Agent skills: `https://pracht.resynapse.dev/.well-known/agent-skills/index.json`.
