A React-based framework for building fast websites and apps, pulling data from CMSs, Markdown and APIs through GraphQL.
withastro/astro
A web build tool for content-driven websites that ships minimal JavaScript and supports multiple UI frameworks in one project.
- Stars
- 63,403
- Forks
- 3,865
- Open issues
- 108
- Last commit
- 3 hours ago
What is it?
Astro is a website build framework aimed at content-heavy sites such as blogs, marketing pages and documentation. It renders pages to static HTML by default and only ships JavaScript for interactive components, which keeps the output lightweight.
Components can be written with React, Preact, Svelte, Vue, Solid, Alpine.js and other frameworks, and the project supports mixing them within a single site. Optional server rendering is available through adapters for Node, Vercel, Netlify and Cloudflare, so a project can move from fully static output to on-demand rendering.
The repository is a monorepo that contains the core astro package, create-astro scaffolding, framework integrations, and language tooling such as a VS Code extension and a TypeScript plugin.
Key features
- 01Renders pages to static HTML by default and ships JavaScript only for interactive islands.
- 02Supports React, Preact, Svelte, Vue, Solid and Alpine.js components in one project.
- 03Offers server rendering through adapters for Node, Vercel, Netlify and Cloudflare.
- 04Provides official integrations such as MDX, sitemap, RSS and Partytown.
- 05Includes create-astro for scaffolding new projects and a VS Code language extension.
Use cases
- Building a content-driven blog or documentation site with Markdown or MDX.
- Creating a marketing or portfolio site that needs fast loading and minimal client JavaScript.
- Migrating an existing site to Astro incrementally while reusing React or Vue components.
- Deploying a mostly static site that adds server-rendered routes on Vercel, Netlify or Cloudflare.
Quick start
- 1
Create a new project with the recommended installer
npm create astro@latest - 2
Or install Astro manually into an existing project
npm install astro - 3
Open a starter project in your browser to try it without installing
Things to know
- The license is listed as NOASSERTION in the metadata, though the README links an MIT LICENSE file.
In collections
Topics
FAQ
- What is astro?
- A web build tool for content-driven websites that ships minimal JavaScript and supports multiple UI frameworks in one project. Astro is a website build framework aimed at content-heavy sites such as blogs, marketing pages and documentation. It renders pages to static HTML by default and only ships JavaScript for interactive components, which keeps the output lightweight.
- Is astro free to use? What license does it have?
- astro is open source under the Other license. Check the license terms before using it in commercial products.
- Is astro still maintained?
- Actively maintained. The last commit to astro was on Oct 22, 2026.
- What can I use astro for?
- Building a content-driven blog or documentation site with Markdown or MDX. Creating a marketing or portfolio site that needs fast loading and minimal client JavaScript. Migrating an existing site to Astro incrementally while reusing React or Vue components. Deploying a mostly static site that adds server-rendered routes on Vercel, Netlify or Cloudflare.
- How do I install astro?
- Create a new project with the recommended installer: npm create astro@latest Or install Astro manually into an existing project: npm install astro Open a starter project in your browser to try it without installing
- Where can I get astro?
- The source code and installation instructions are on GitHub: https://github.com/withastro/astro
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A React framework for building full-stack web applications, with Rust-based tooling for fast builds.
A minimal, accessible, SEO-friendly blog theme built on Astro with TypeScript, Tailwind CSS and Pagefind search.
A framework for building documentation websites with React.js, supporting Next.js, Astro, and Vite-based React frameworks.
A Next.js blog template that renders MDX posts with Tailwind CSS and TypeScript, ready to deploy on Vercel.
A Next.js-based framework for building documentation and content sites from MDX and Markdown files.