# Aphex CMS > Aphex is an open-source, headless CMS that lives inside your SvelteKit app. Define schemas in TypeScript, bring your own Postgres, and extend anything. The open-source Sanity for the Svelte ecosystem. Aphex is built for SvelteKit + Svelte 5. It is self-hostable, type-safe end to end, and ships with a built-in studio for editors. Content is stored in your own Postgres instance — no third-party data store, no per-seat pricing, no vendor lock-in. Key concepts: - Schemas are defined as TypeScript objects (documents, objects, fields). - Content is queried via a local API (in-process), HTTP API, or GraphQL endpoint. - The studio admin UI runs at `/admin` inside your own SvelteKit app. - Auth is powered by Better Auth with multi-org and role-based access control. - Adapters: Postgres (storage), S3 / local (assets), Resend / Nodemailer (email). ## Docs - [Documentation](https://docs.getaphex.com): Full reference — installation, schema definition, queries, plugins, adapters, deployment. - [Getting Started](https://docs.getaphex.com/getting-started): Install, configure, and ship your first schema. - [Schemas](https://docs.getaphex.com/schemas): Defining documents, objects, and fields in TypeScript. - [Queries](https://docs.getaphex.com/queries): Local API, HTTP API, and GraphQL. - [Page Builder](https://docs.getaphex.com/page-builder): Building marketing pages with composable blocks. - [Adapters](https://docs.getaphex.com/adapters): Storage, email, and asset adapters. - [Deployment](https://docs.getaphex.com/deployment): Self-hosting, Docker, Postgres setup. ## Product - [Homepage](https://getaphex.com): Marketing site, features, and live demo. - [Roadmap](https://getaphex.com/#roadmap): Upcoming releases and milestones. ## Optional - [GitHub](https://github.com/): Source code, issues, and discussions.