Project
Wormhole
A micro frontend lab inspired by the series Dark.
Open the demo ↗ (The demo opens in a new tab.)Source code ↗

Wormhole
Wormhole is a host application that loads separately built and deployed micro frontends at runtime through Module Federation. Its look is inspired by the Netflix series Dark: void black, fog grey, raincoat yellow, uppercase serif titles and the triquetra symbol.
How it works
One host, six remotes
The Wormhole host knows nothing about the micro frontends’ code: webpack declares six remotes (cast, weather, cityWeather and the three timelines) and fetches each from its entry file only when a route or component needs it.
Shared dependencies
Angular, the router, HttpClient and Transloco are shared singletons with strict versions: host and remotes use the same instance and nothing is bundled twice.
Independent deploys
Each remote is a standalone Angular application with its own port and build. You can ship one without rebuilding the host: that is the real payoff of micro frontends.
Communication without coupling
Remotes never import each other. The three timelines talk and announce themselves through the Lorentz event bus, a separately published library.
Shared design tokens
Colours, spacing and radii live in Sass maps and are exposed as --wormhole-* CSS variables, keeping host and remotes consistent without sharing stylesheets.
What’s inside
Three timelines talking
Three micro frontends (1953, 1986, 2019) chat with each other and announce their presence through the Lorentz event bus.
Cast and weather
Independent micro frontends: the cast of Dark (TVmaze API), weather and city weather built with signals.
Carbon footprint
Grid carbon intensity and a kWh to gCO₂ calculator using the Carbon Intensity API.
Modern architecture
Standalone components only, zoneless change detection, signals, Sass and no Angular Material.
Cross-cutting infrastructure
HTTP interceptors with a loader (NgRx and signals) and an error dialog, documented with Compodoc.