Astro

Open source

Astro is a JavaScript web framework for content-driven websites that renders on the server and ships little client-side JavaScript.

Open-source alternative to

astro.build
Astro homepage screenshot
GitHub stars
64k
Last 30 days
+777(+1%)
Last commit
today
Repository age
5 years
Version
@astrojs/node@11.1.14
Licence
Custom
Self-hosted
Yes

About Astro

Astro describes itself as a JavaScript web framework optimized for building fast, content-driven websites. Components render on the server, and the browser receives lightweight HTML instead of a large JavaScript bundle. Data can come from the file system, an external API or a CMS, so content is not tied to one source.

Projects start with the npm create astro@latest command. Built-in pieces include content collections for Markdown and MDX, view transitions and image optimisation, and integrations extend it further. Astro works with the major UI frameworks, including React, Vue, Preact, Svelte and Solid, so existing components can be reused inside Astro pages.

Key features

  • Server-side rendering of components to light HTML
  • Content collections for Markdown and MDX
  • Only needed JavaScript is shipped
  • Page transitions through browser View Transition APIs
  • Works with major UI frameworks
  • Loads data from files, APIs or a CMS

Good fit for

  • Marketing sites
  • Blogs
  • E-commerce storefronts
  • Content sites fed by a CMS
Tags
web framework
static site
javascript
content
mdx
open source

Astro: questions and answers

What is Astro used for?
Astro is a JavaScript web framework for content-driven websites that renders on the server and ships little client-side JavaScript. It is a good fit for marketing sites, blogs and e-commerce storefronts.
Is Astro open source?
Yes. Astro is open source under a custom licence. Its source code is on GitHub at withastro/astro and is written mainly in TypeScript.
Is Astro free?
Yes. Astro is open source, so the software itself is free to use under the terms of its own licence.
Can I self-host Astro?
Yes. Astro can be self-hosted on your own server or infrastructure.
What is Astro an alternative to?
Astro is an open-source alternative to Hashnode, Readymag and Notion Mail. Other open-source alternatives to Hashnode include Hugo, Jekyllrb and Hexo.
Is Astro actively maintained?
Yes. The most recent commit to Astro was on 22 November 2026. The project has 64k stars on GitHub, with 777 added in the last 30 days.

Open-source alternatives to Astro

See all

SaaS alternatives to Astro

See all