Guardian Engineering Site screenshot

Guardian Engineering Site

Author Avatar Theme by Guardian
Updated: 22 Dec 2025
34 Stars

Code for theguardian.engineering site

Categories

Overview

The development process for theguardian.engineering’s codebase is streamlined and efficient, thanks to its use of Astro as a static site generator. This setup not only simplifies building and deploying web pages but also enhances performance. Whether you’re a seasoned developer or a newcomer looking to contribute, the guidelines provided make it easy to navigate the project.

Moreover, the integration with GitHub Pages allows for seamless publishing, enabling developers to work locally and verify changes before merging. This approach encourages collaborative development while maintaining a high standard of code management.

Features

  • Simple Installation: Run pnpm install from the root to easily set up project dependencies without hassle.
  • Effortless Building: Use pnpm build to compile the project into a production-ready format, generating files in the ./dist/ directory for deployment.
  • Local Development Server: Launch a local server with pnpm dev, allowing you to preview changes in real-time at localhost:3000.
  • Content Organization: Blog posts can be named simply and clearly, helping to maintain clarity and ease of access for future contributors.
  • Image Optimization: Recommended to use .jpg images for standfirsts to ensure reduced file sizes, enhancing loading times.
  • Easy Inlined Images: Transition posts to .mdx files for inlined images, streamlining content presentation.
  • Automated Deployment: Automatic publishing to GitHub Pages occurs upon merging to the main branch, simplifying the deployment process.
  • Community Engagement: Opportunities for collaboration are encouraged through dedicated communication channels for Guardian developers and interested contributors alike.