Best of Astro2025

  1. 1
    Article
    Avatar of communityCommunity Picks·1y

    Starwind UI

    Starwind UI offers a collection of powerful and accessible components for Astro projects, styled using Tailwind CSS v4. It is an open-source tool designed to help developers create beautiful websites quickly.

  2. 2
    Article
    Avatar of logrocketLogRocket·50w

    Top 5 Next.js alternatives for React developers

    Explores five alternatives to Next.js for React developers who want different approaches to building web applications. Covers Remix for full-stack apps with web-native patterns, Astro for content-heavy sites with island architecture, TanStack Start for type-safe full-stack development, Vike for flexible SSR control, and Vite + React Router for lightweight client-side apps. Each option offers different trade-offs in complexity, performance, and developer experience compared to Next.js.

  3. 3
    Article
    Avatar of css_tricksCSS-Tricks·1y

    Using Pages CMS for Static Site Content Management

    Pages CMS is an open-source content management system designed for static site generators, offering easy usage, minimal requirements, and customization. With no backend needed, content is stored as flat files in a git repository. It's free to use and supports user authentication via GitHub or email. Pages CMS simplifies content management and collaboration by providing a sleek user interface for editing and organizing content collections using configuration files. It integrates seamlessly with Astro for managing directories of Markdown files, offering flexibility and efficiency for managing static site content.

  4. 4
    Article
    Avatar of astro_sourceAstro·27w

    Astro 5.16

    Astro 5.16 introduces experimental SVG optimization using SVGO to reduce file sizes during builds, adds interactive keyboard shortcuts to the preview server (similar to the dev server), and improves AI agent compatibility with a --yes flag for automated integration setup. The release also includes an ActionInputSchema utility type for better type safety in actions and reduces the Netlify adapter's dependency footprint by 82 MB through updated dependencies.

  5. 5
    Article
    Avatar of newstackThe New Stack·46w

    Why React Is No Longer the Undisputed Champion of JavaScript

    React's dominance in frontend development is being challenged by modern browsers, HTML-first frameworks, and developer preferences for simpler solutions. While React remains popular, alternatives like Astro, HTMX, and native DOM APIs are gaining traction by offering lighter, faster approaches. React Server Components represent React's attempt to adapt, but add complexity. The shift represents a move from React-by-default to choosing the right tool for each project, marking a post-React era of diversified frontend tooling.

  6. 6
    Video
    Avatar of codinginpublicCoding in Public·1y

    Starwind UI: shadcn/ui for Astro

    Starwind UI is a new user interface framework for Astro, created by one of Astro's co-creators, Nate Moore. It uses Astro components and vanilla JavaScript, allowing easy installation and customization. The framework includes various components like buttons, avatars, tabs, and tooltips. It integrates seamlessly with Tailwind CSS and supports event handling and accessibility features. Users can update and delete components while customizing the styles and behavior.

  7. 7
    Video
    Avatar of awesome-codingAwesome·44w

    Microfrontends the right way

    Microfrontends promise independent deployments and team autonomy but often introduce unnecessary complexity. While the concept addresses organizational challenges more than technical ones, several implementation approaches exist: iframes provide hard isolation but poor UX, web components offer framework-agnostic custom elements with shadow DOM, single-spa adds orchestration layers that create distributed system complexity, and Webpack's module federation enables runtime code sharing. Modern browsers support native ES modules for cross-domain imports, potentially reducing bundler dependency. Astro's island architecture emerges as a practical solution, loading UI components only when needed.

  8. 8
    Article
    Avatar of hnHacker News·30w

    From VS Code to Helix

    A developer shares their journey switching from VS Code to Helix, a terminal-based text editor. Initially hesitant due to concerns about configuration complexity and learning curve, they were motivated by privacy concerns around Microsoft's AI integration and desire for open-source alternatives. The transition proved smoother than expected thanks to Helix's selection-first editing model and built-in tutorial. The post provides detailed setup instructions for Language Server Protocol integration with Markdown (using Marksman and Harper), Astro, and YAML, including formatters like dprint. While praising Helix's out-of-the-box philosophy and efficiency, the author notes the project struggles with PR backlog and could benefit from better contributor onboarding.

  9. 9
    Article
    Avatar of astro_sourceAstro·51w

    Astro 5.9

    Astro 5.9 introduces experimental Content Security Policy support using hash-based approach that works across static sites, serverless, and SPAs. The release adds renderMarkdown helper for content loaders, allows disabling default styles in responsive images for better Tailwind 4 compatibility, and enables adapters to suppress feature support logs. The CSP implementation generates meta elements with hashes for all scripts and styles, providing XSS protection without requiring server-side nonce generation.

  10. 10
    Article
    Avatar of astro_sourceAstro·49w

    Astro 5.10

    Astro 5.10 introduces experimental live content collections for runtime data fetching, stabilizes responsive images with automatic srcset generation and layout options, improves Content Security Policy support with header generation for static pages, and adds customizable Cloudflare Workers entrypoints for advanced features like Durable Objects and Cron Triggers.

  11. 11
    Article
    Avatar of astro_sourceAstro·1y

    Astro 5.6

    Astro 5.6 introduces several key features including first-class astro:env support for Cloudflare, experimental session support, and a new prefetch eagerness control. Additional highlights include custom fetch options for prerendered error pages, a new load() method for managing sessions, improved config validation, and breaking changes to the experimental SVG API. The release also comes with various bug fixes and contributions from the community.

  12. 12
    Article
    Avatar of astro_sourceAstro·38w

    What's new in Astro - August 2025

    A developer created a proof-of-concept integration using Notion as a content management system for Astro websites by building a custom loader. The project demonstrates how to connect Notion's database functionality with Astro's static site generation capabilities, though the implementation is described as rough and not comprehensive.

  13. 13
    Article
    Avatar of logrocketLogRocket·1y

    Authentication and authorization in Astro

    Astro's unique islands architecture presents challenges for authentication and authorization, requiring manual handling using middleware for protected routes. This guide demonstrates integrating authentication, leveraging Astro’s SSR capabilities, and using JWTs for a vehicle rental app. It details database setup, React and Tailwind integration, and server actions for user management. Route protection ensures admin-only access with detailed steps.

  14. 14
    Article
    Avatar of astro_sourceAstro·1y

    Astro 5.7

    Astro 5.7 introduces several new features and updates, including stable Sessions, support for SVG components, and a new Experimental Fonts API. Upgrading is made easy with the @astrojs/upgrade CLI tool. Sessions are now type-safe and can be managed without cookies. The Experimental Fonts API supports custom fonts with optimized performance. SVG files can now be directly used as components, enhancing development workflow. Bug fixes and updates from the Astro community are also included, making this a robust release.

  15. 15
    Article
    Avatar of astro_sourceAstro·1y

    Astro 5.5

    Astro 5.5 introduces significant improvements, including better support for diagramming tools in Markdown, type-safe experimental sessions, and enhanced compatibility for heading IDs. It also features a new experimental option to preserve the order of style and script tags. Users can upgrade their projects using the Astro CLI tool or manually through their package managers.

  16. 16
    Article
    Avatar of astro_sourceAstro·21w

    What's new in Astro - December 2025

    Astro v6 alpha has been released with an early upgrade guide available. The monthly roundup includes new community integrations like Astro Auto Load and Content Viewer, 38 new themes added to the directory, migration stories from WordPress and Webflow, tutorials on implementing features with Cloudflare services, and dozens of new sites built with Astro and Starlight. Core maintainer Reuben Tier spoke about Astro Islands at React Advanced London, and a 3-hour refactoring session with Florian Lefebvre is available on YouTube.

  17. 17
    Article
    Avatar of astro_sourceAstro·1y

    Astro 5.4

    Astro 5.4 introduces features like remote image optimization in Markdown, experimental responsive image support, and enhanced security for dev and preview servers. New RegExp support for Vercel ISR excludes allows flexible route exclusions, and new config helpers and build options offer easier programmatic use. Upgrade via `@astrojs/upgrade` CLI tool or manually.

  18. 18
    Article
    Avatar of astro_sourceAstro·35w

    Cloudflare Donates $150,000 to Support Astro's Open Source Mission

    Cloudflare has donated $150,000 to the Astro open source project and become an official hosting partner. The partnership aims to improve Astro's deployment experience on Cloudflare's platform, leveraging their global CDN for static sites and Workers for server-side rendering. The funding will support long-term maintenance of the Astro project, with future collaboration planned around the new Vite Environment API for better development and deployment runtime support.

  19. 19
    Article
    Avatar of astro_sourceAstro·1y

    Astro 5.3

    Astro 5.3 introduces faster page rendering, automatic session storage setup, more control over Netlify bundling, and improved handling of HEAD requests. The new version reduces rendering times through selective asynchronous rendering, simplifies session management by automatically configuring storage, and allows for better file management in Netlify deployments. These updates are accompanied by several bug fixes and community contributions.

  20. 20
    Article
    Avatar of astro_sourceAstro·45w

    Starlight 0.35

    Starlight 0.35 introduces three major customization features: custom icons for asides, custom HTML attributes for autogenerated sidebar links, and custom page slug processing. The release also includes bug fixes such as limiting Markdown plugins to docs content only and excluding banner content from search results. Users can upgrade using the automated @astrojs/upgrade CLI tool.

  21. 21
    Video
    Avatar of wdsWeb Dev Simplified·46w

    How I Built My Own Shadcn Library

    A comprehensive guide on creating a custom shadcn/ui component registry that allows developers to build, share, and install reusable components across projects. The tutorial covers setting up the registry.json configuration file, organizing component files with proper import aliases, using the canary version of shadcn CLI for the experimental registry feature, and building a documentation site using Astro Starlight. The process enables one-click component installation similar to the official shadcn library, with support for component dependencies and custom themes.

  22. 22
    Article
    Avatar of astro_sourceAstro·31w

    Astro 5.15

    Astro 5.15 introduces automatic skew protection for Netlify deployments to prevent version mismatches between client and server during deployments. The release adds new adapter APIs that allow hosting platforms to customize fetch headers and asset query parameters, enabling Vercel to also implement reliable skew protection. Font preloading now supports granular filtering by weight, style, and subset for better performance optimization. Additional improvements include a copy button for stack traces in the error overlay and automatic wrangler.jsonc scaffolding for Cloudflare integration.

  23. 23
    Article
    Avatar of astro_sourceAstro·35w

    Astro 5.14

    Astro 5.14 introduces several developer experience improvements including prerendered route collision warnings to catch routing conflicts, route patterns in getStaticPaths for complex dynamic routes, async rendering support for Svelte components, React 19 Actions integration with useActionState, and enhanced database support with libSQL for non-Node.js environments. Additional features include sitemap namespace configuration, programmatic font data access, and a new SvgComponent type for better TypeScript support.

  24. 24
    Article
    Avatar of astro_sourceAstro·1y

    Starlight 0.32

    Starlight 0.32 introduces new features including a route middleware system to facilitate customization without component overrides, enhanced internationalization APIs, updated plugin hooks, and multisite search support using Pagefind. Existing users can easily upgrade with the @astrojs/upgrade CLI tool. The release also includes bug fixes and improvements.

  25. 25
    Article
    Avatar of astro_sourceAstro·1y

    Astro 5.2

    Astro 5.2 introduces Tailwind 4 support, trailing slash and external redirects, and TOML frontmatter in Markdown files. It also includes experimental features like `astro:config` for accessing configuration values and the ability to disable React streaming. Users can upgrade using the `@astrojs/upgrade` CLI tool or manually via package managers.