finds.dev← search

// the find

jherr/create-mf-app

★ 783 · TypeScript · MIT · updated Jun 2025

CLI app to create Module Federation applications

A scaffolding CLI (and programmatic API) for spinning up Module Federation apps, API servers, or libraries from a template. Covers a wide spread of frontend frameworks (React 18/19, Vue3, Svelte, Solid, Preact, lit-html, vanilla) plus Express/NestJS/GraphQL server templates. Aimed at people who want to prototype a federated microfrontend setup fast rather than hand-roll rspack/webpack config.

Genuinely broad template coverage for an MF-specific tool — most generators cover 2-3 frameworks, this one has nine frontend variants plus four server flavors. Generated projects use rspack instead of webpack, which is the right call for MF given how much faster its module federation plugin is. Exposes both a CLI (interactive prompts and flags like --name/--port/--css/--template) and a programmatic buildProject() API, so it's usable from scripts or other tooling, not just npx. Has actual tests (src/__tests__), a husky pre-commit hook, and eslint config — basic hygiene that a lot of scaffolding tools skip.

The README states outright these are 'not production complete' — it's a prototyping tool, so don't expect generated projects to have real build optimization, CI, or deployment config. No story for keeping generated projects in sync after creation: once scaffolded, there's no update/eject mechanism, so if the underlying rspack config template improves, existing projects don't benefit. Odd framework gaps for an MF-focused tool — no Angular or Next.js template despite Angular being one of the heaviest real-world MF adopters, while more niche frameworks like lit-html and Solid are covered. No documented guidance on wiring up multiple generated remotes/hosts together once you have more than one app — each template is generated in isolation with no cross-project config helper.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →