Astro
Modern static site builder with partial hydration and zero JavaScript by default.
Web frameworks npm MIT
Used in agent projects
133
1.0% of 12,697 public repos built with AI coding agents
Rank in web frameworks
#6 of 26
by use in those projects
Downloads
7.1M
npm, last 7 days, astro
GitHub stars
63.1K
last push Oct 10, 2026
How Astro is used
Astro is a dependency in 133 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (1.0%), #6 of 26 in web frameworks. The most used alternative there is React. Projects that use it most often also use Tailwind CSS (71.4%), Playwright (JavaScript) (32.3%), Wrangler (22.6%).
Often used with Astro
| Tailwind CSS | 71.4% of Astro projects · 2.1× more than average |
|---|---|
| Playwright (JavaScript) | 32.3% of Astro projects · 3.7× more than average |
| Wrangler | 22.6% of Astro projects · 13.4× more than average |
| TypeScript | 63.2% of Astro projects |
| Prettier | 34.6% of Astro projects · 2.0× more than average |
| Sharp | 17.3% of Astro projects · 5.6× more than average |
| React | 51.1% of Astro projects |
| Vitest | 23.3% of Astro projects · 1.9× more than average |
By coding agent
| GitHub Copilot | 2.3% of projects set up for it |
|---|---|
| Claude Code | 1.8% of projects set up for it |
| Cursor | 1.7% of projects set up for it |
| Gemini CLI | 2.1% of projects set up for it |
| OpenCode | 2.5% of projects set up for it |
| OpenAI Codex | 1.1% of projects set up for it |
Share of public repos configured for each agent that list Astro as a dependency.
Install
| Package | npm install astro |
|---|---|
| Packages counted | astro, @astrojs/check, @astrojs/react, @astrojs/sitemap, @astrojs/mdx, @astrojs/rss, @astrojs/cloudflare, @astrojs/vercel |
| Main stacks | TypeScript / JavaScript (125), Python (4), PHP (2), Next.js (1) |
| Example projects | awslabs/nx-plugin-for-aws, ChrisTitusTech/website, monkilabs/opencastle, HYP3R00T/CelestialDocs, volodymyr4509/kulmanlab |
Alternatives to Astro
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| React npm JavaScript library for building interactive user interfaces with components. |
5,510 (43.4%) | 186M | 251K | MIT |
| Next.js npm React framework for production with server-side rendering and static generation. |
2,861 (22.5%) | 66.2M | 143K | MIT |
| next-themes npm Abstraction for managing themes (dark/light mode) in Next.js apps. |
1,116 (8.8%) | 26.9M | 6,333 | MIT |
| React Router npm Declarative routing library for building single-page React applications. |
972 (7.7%) | 44.8M | 56.6K | MIT |
| Vue npm Progressive JavaScript framework for building interactive user interfaces. |
210 (1.7%) | 17.1M | 54.6K | MIT |
| React Native Web npm React Native APIs and components for web allowing code sharing between web and mobile. |
121 (1.0%) | 7.2M | 22.1K | MIT |
| Angular npm Full-featured web framework with TypeScript, dependency injection and RxJS. |
104 (0.8%) | 5.9M | 101K | MIT |
| Svelte npm Compiler-based frontend framework for building reactive web interfaces with less boilerplate. |
102 (0.8%) | 6.5M | 88.4K | MIT |