Skip to content

Static Zonemaster GUI with Astro & Svelte#500

Merged
matsduf merged 250 commits into
zonemaster:feature/ssg-standalone-componentsfrom
sewebb:ssg-standalone-components
Nov 19, 2025
Merged

Static Zonemaster GUI with Astro & Svelte#500
matsduf merged 250 commits into
zonemaster:feature/ssg-standalone-componentsfrom
sewebb:ssg-standalone-components

Conversation

@tbleckert

Copy link
Copy Markdown
Contributor

This PR initiates a modernization effort for the Zonemaster GUI, enhancing customizability, portability, and overall user experience. Leveraging Astro and Svelte, the new implementation delivers a static, performant, and flexible user interface.

Proposed Architecture

The revamped Zonemaster GUI embraces a Static Multi-Page Application (MPA) approach built with Astro, designed specifically to address performance, maintainability, and flexibility shortcomings in the existing solution.

Core Elements of the New Architecture

  1. Framework Choice

    • Astro: Generates static HTML for rapid loading, improved performance, and better SEO.
    • Svelte: Provides lightweight, reactive UI components with native Web Component compatibility.
  2. Static Site Generation

    • Fully static HTML output, ensuring fast deployments and reducing dependencies on server-side configurations or runtime delays.
  3. Reusable Components

    • Components such as <zm-domain-test /> are standalone, making them easily reusable and integrable into external projects.
    • Components can be integrated using modern JavaScript module imports, e.g., import { TestAgent } from '.../agent.js';.
  4. Enhanced Localization

    • Adopts Inlang paired with JSON files for simplified, efficient localization.

Architecture Summary

Aspect Technology/Approach
Framework Astro
Architecture Static Multi-Page Application
Customizability CSS variables, custom themes, configurations
Localization Inlang with JSON files

@tbleckert

Copy link
Copy Markdown
Contributor Author

And then I created it in the base directory where the GUI is installed, but when I restarted apache it still says

[Wed Oct 15 11:16:31.113571 2025] [core:warn] [pid 7452] AH00111: Config variable ${BASE_URL} is not defined
[Wed Oct 15 11:16:31.113621 2025] [core:warn] [pid 7452] AH00111: Config variable ${BASE_URL} is not defined

That warning comes from Apache, so probably there's a system env variable that isn't sticking.

@tgreenx

tgreenx commented Nov 18, 2025

Copy link
Copy Markdown
Contributor

@tbleckert @rhedman hi guys, we are reaching end of development for this release, could you take care of fixing the conflicts so that this PR can be merged? thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RC-BreakingChanges Release category: Breaking changes. V-Major Versioning: The change gives an update of major in version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants