Astro is a web framework for building content-driven websites, including documentation, publications, portfolios and other sites where much of the page can be delivered as HTML. Its rendering approach avoids sending unnecessary client-side code, while allowing interactive components to be added where required. Astro supports components written in its own template format and integrations with several popular user interface libraries.
Developers can construct pages from reusable layouts and content collections, with routing derived from the project’s file structure. Astro supports both static generation and server rendering, allowing a website to combine prebuilt content with dynamic routes and personalised responses. Interactive islands isolate browser-side functionality so that individual components can become interactive without requiring the whole page to behave as a client-rendered application. The framework also provides server islands, which allow selected dynamic content to be rendered independently of the surrounding page.
This is free and open source software.
Key Features
- Generates HTML-first websites with minimal client-side code by default.
- Supports static generation and on-demand server rendering.
- Provides file-based page and endpoint routing.
- Offers reusable layouts and Astro components.
- Supports content collections with schema validation.
- Processes Markdown and MDX content.
- Supports components from React, Vue, Svelte and other UI libraries.
- Uses interactive islands for selective client-side hydration.
- Provides server islands for deferred dynamic content.
- Supports configurable image optimisation and responsive images.
- Offers content querying and collection references.
- Provides actions for type-safe server operations.
- Supports middleware for request and response processing.
- Offers view transitions for navigation between pages.
- Supports environment variables and configurable server adapters.
- Provides integrations for additional framework and content functionality.
Website: github.com/withastro/astro
Support:
Developer: Fred K. Schott and contributors
License: MIT License
Astro is written in JavaScript and TypeScript. Learn JavaScript with our recommended free books and free tutorials. Learn TypeScript with our recommended free books and free tutorials.
Related Software
| JavaScript Static Site Generators | |
|---|---|
| Next.js | Minimalistic framework for server-rendered React applications |
| Gatsby | React-based open source framework for creating websites and apps |
| Build Awesome | Transforms a directory of templates (of varying types) into HTML |
| Hexo | Fast, simple & powerful blog framework, powered by Node.js |
| Astro | Website build tool for the modern web |
| Docusaurus | Build, deploy and maintain documentation websites |
| GitBook | Publish beautiful docs for your users |
| Publii | Desktop content management system |
| VuePress | Minimalistic Vue-powered static site generator |
| Metalsmith | Simple, pluggable static site generator |
| Docsify | Documentation site generator |
| React Static | Progressive static-site generator for React |
| Gridsome | Jamstack framework for Vue.js |
| Cuttlebelle | React static site generator |
| mkweb | Compact static website generator for Node.js |
| Assemble | Rapid prototyping and static site generation |
| Panini | Super simple flat file generator for use with Gulp |
| constexprjs | Stic site generator without a DSL or a templating language |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.