Astro

From IndieWeb

Astro is an open source JavaScript-based static site generator and front end framework used by several people in the IndieWeb community to run their personal sites.

Originally built to be a more performant and web-focused alternative to popular SSG frameworks like Gatsby, Next.js, and Nuxt, Astro has always tried to minimise the amount of JavaScript that is actually sent to the browser. In more recent major version releases, this has increasingly taken the form of server-side JavaScript rendering, focusing on concepts like HTML streaming and the "islands architecture" method of hydration, both of which aim to send as much of a page as HTML as possible, before injecting dynamic content using JavaScript, if it is available.

Astro is also designed with code migration in mind, allowing you to use almost any other front-end framework or templating language, and then fully converting the output to server-rendered HTML and vanilla JavaScript wherever possible.

By default, it expects you to use the `.astro` templating format/language, which is based on JSX but removes any differences between web attributes/APIs and that format (for instance, Astro require you to use HTML attributes like `for` directly, rather than the more common JSX `htmlFor` attribute). However, you can also integrate other front-end frameworks, including React, Vue, Svelte, Preact, and HTMX, using "adaptors".

This focus on working "with the grain of the web" has allowed Astro to adopt web-native technologies like the View Transitions API very early, falling back to polyfills for browsers that do not yet support it yet.

There is an active community Discord and robust documentation; docs are built using their Starlight kit, a documentation-specific starter pack and plugin set built on top of the Astro framework. There are also a number of migration guides for other front end frameworks.

As of January 2026 it was announced that the Astro project would be acquired and managed by Cloudflare: Astro is Joining Cloudflare

Getting Started

The Astro team maintain a getting started guide, alongside a number of migration guides and themes/starter packs.

Building Blocks

(See other static site generators for basic principles)

IndieWeb Examples

See Also

Open Source IndieWeb related projects and tools
Topics Why open source?How to open source a projectOpen for contributionsIndieWeb PrinciplesPackage managers for various languages and systems
PHP (See LAMP) b2evolutionCASSISKnownFalcon (portions) • HamsterCMSp3k (portions) • stapibasdobradoGravMiniflux-legacyProcessWireTextpatterntt-rssTwyneTYPO3
WordPress (PHP) Indieweb PluginWebmentionSemantic LinkbacksMicropubIndieAuthPost KindsSyndication LinksWebSub pluginsSee Template:WordPress for others.
Python BeautifulSoupblagBleachBridgy FedBundledjango CMSIndieWeb SearchIndieWeb Utilskakumf2utilNefelibataninkaPublPushlpython-indiewebRed WindRequestsronkyuuWoodwindgunicorn
Ruby Dark MatterFeedbinFrancisCMSGitLabMicropublishPublifyRuby on RailsSinatraSingulusTransformativewebmention.ioJekyllAuthorioruby parsermicroformats-ruby
JavaScript CASSISCamelEleventyGhostIndieKitD3
Others Apache (C) • Forgejo (Go) • Hugo (Go) • Firefox (C++) • Nginx (C) • NetNewsWire (Swift) • Snac (C)