What is fragmenium ?

Fragmanium is a fragment-execution engine, not a library or framework. Running entirely in the browser, it loads and runs JS and CSS libraries or frameworks on your behalf while handling routing, page lifecycle, and cleanup. It introduces no new syntax—only a configuration file, reference.js. Static-first yet dynamically enhancing, client-side rendered, SPA-ready, and fragment-based, it is a general-purpose engine for modern web sites.

Why Fragmanium?

Developers often use React or Vue for single-page applications, but these libraries come with serious challenges:

These weaknesses are Fragmanium's strengths: it's easy to learn and use, cost-effective for agencies, speeds project completion, and gives users a smooth experience.

Fragment execution order

The Fragmanium engine executes fragments in the order; which fragment runs first really matters when you build logic that depends on earlier assets.

After reload page

After page route or calling cleanup(); function

In general, cleanup(); runs on popstate, on click of an a tag without a target attribute, or when the function is called directly.

From the developer

Setu Rakib

Hi, I’m Setu Rakib. I built Fragmanium to give developers, visitors and agencies a better deal: if HTML, CSS and JS are already enough for a SPA, why burn time learning custom syntax, burning server CPU on extra rendering or draining visitor batteries with heavy scripts?

I’m a front-end developer who’d rather stay out of the back-end weeds, but React and Vue kept pushing me there. Fragmanium is my answer to those pains—fewer moving parts, faster sites, and a smoother build for everyone.

Beyond the code, I wanted a tool that respects the open web. No lock-in, no hidden build steps, no vendor-controlled ecosystem—just plain files that run anywhere. Fragmanium lets you ship greener sites (less compute, less data) while keeping the silky feel of a single-page app. Use it for a landing page, a documentation hub, or a full client portal—the overhead is the same: one config file and the fragments you choose.

If this sounds like the workflow you’ve been missing, star the repo, open issues, share your builds. The engine is free, open and waiting for your pull requests. Let’s prove the web can be fast, simple and fun—without sacrificing the modern experience users expect.

Get Started Contact