Source: https://seerepo.com/compare/statelyai/xstate/vs/withastro/astro
Markdown source: https://seerepo.com/compare/statelyai/xstate/vs/withastro/astro.md
Description: xstate and astro share 6 technologies: React, Solid, Preact, Svelte, Vue, and Zod. Both are written in TypeScript.

# xstate vs astro

xstate and astro share 6 technologies: React, Solid, Preact, Svelte, Vue, and Zod. Both are written in TypeScript.

- [statelyai/xstate](https://seerepo.com/r/statelyai/xstate): State machines, statecharts, and actors for complex logic
- [withastro/astro](https://seerepo.com/r/withastro/astro): The web framework for content-driven websites.

## What they share and what sets them apart

- In common: React, Solid, Preact, Svelte, Vue, Zod
- Only in xstate: @angular/core, Angular, vue-demi, Ajv, saxes
- Only in astro: Vite, Hono, unstorage, Alpine.js, Express, Fastify, preact-render-to-string, prismjs, fast-xml-parser, xml2js, unifont, @capsizecss/unpack, fontace, @clack/prompts, am-i-vibing, Cheerio, html-escaper, parse-srcset, shiki, ultrahtml, sharp, unist-util-visit, tinyps, linkedom, @markdoc/markdoc, htmlparser2, satteri, @shikijs/rehype, rehype-mathjax, rehype-pretty-code, remark-math, remark-toc, unified, Netlify, Vercel, yaml, retext-smartypants, vfile, mdast-util-mdx, mdast-util-mdx-jsx, rehype-raw, remark-gfm, remark-smartypants, estree-util-visit, hast-util-from-html, hast-util-to-html, hast-util-to-text, mdast-util-definitions, mdast-util-mdx-expression, rehype-stringify, remark, remark-parse, unist-util-remove-position, unist-util-visit-parents

## Side by side

| | xstate | astro |
|---|---|---|
| Size | 235,571 lines written, 522 code files | 297,833 lines written, 1,007 code files |
| Who writes it | 0.2% of its commits signed by AI. With Devin, Claude Code, and Cursor | 0.2% of its commits signed by AI. With Claude Code, GitHub Copilot, and Cursor |
| Activity | Last push November 7, 2026, 5,990 commits, 30,421 stars | Last push November 9, 2026, 15,186 commits, 63,851 stars |
| Tests | 398 test files. 19.3% of its code files have a test that imports them | 3,218 test files. 4.6% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, xstate or astro?

astro, with 297,833 lines written; xstate has 235,571.

The proof: [withastro/astro's code at commit c904827](https://github.com/withastro/astro/tree/c904827015f4a71e890ac51919adada9c219a3e9)

### Which has more GitHub stars, xstate or astro?

astro, with 63,851 stars; xstate has 30,421.

The proof: [withastro/astro on GitHub](https://github.com/withastro/astro)

### Which has more tests, xstate or astro?

astro, with 3,218 test files; xstate has 398.

The proof: [withastro/astro's code at commit c904827](https://github.com/withastro/astro/tree/c904827015f4a71e890ac51919adada9c219a3e9)

### Which was updated more recently, xstate or astro?

astro: its last push was on November 9, 2026, and xstate's on November 7, 2026.

The proof: [withastro/astro's commits on GitHub](https://github.com/withastro/astro/commits)

### Which has more commits signed by AI, xstate or astro?

In both, an AI signed 0.2% of their commits.

## Sources

- statelyai/xstate: Read on November 7, 2026, at commit 975ba72 (https://github.com/statelyai/xstate/tree/975ba721932b5bc84f77c50a467ae6093e1392cf)
- withastro/astro: Read on November 9, 2026, at commit c904827 (https://github.com/withastro/astro/tree/c904827015f4a71e890ac51919adada9c219a3e9)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
