One HTML file, one component
Template, styles, and logic live in the same file. The tag name is the component name, and the browser loads it directly—no build output, no hidden magic.
ofa.js is a zero-build, zero-dependency frontend framework. One .html file is one component, and the browser runs it directly—no scaffolding, no bundler black box, just the HTML, CSS, and JavaScript you already know.
Copy the URL and paste it into a <script type="module"> tag or an import.
No npm, Node.js, or webpack—and no new set of compilation rules to learn. The browser already supports components; ofa.js just makes that simple enough to use.
Template, styles, and logic live in the same file. The tag name is the component name, and the browser loads it directly—no build output, no hidden magic.
Proxy-driven data tracking: change the data, and the UI follows. Give it a click.
Nothing to install, configure, or queue for a build. Write, save, refresh—even AI-generated code can be verified as-is.
o-app manages the app, o-router owns the address bar, and scsr outputs real paths. Back, forward, and refresh land exactly where they should.
About 24 KB gzipped, with no runtime dependencies. Small enough to drop into any page.
Components are Custom Elements, styles are isolated inside Shadow DOM, and modules use ES Modules. A component written with ofa.js can be embedded in any page and coexist with React or Vue—it isn't another runtime, just a thin wrapper over native capabilities.
The to-do app on the right is just an ordinary HTML file: the list, two-way binding, and computed stats are all handled by ofa.js in the browser.
No installs, no config files. Open your editor and write a single HTML file—that's all it takes.
Just copy the v5 .mjs URL. No dependencies, no build.
Template, styles, and logic in one file—save it and it runs.
Drop the file into any static directory and open it in a browser—done.
The framework itself and its three foundational libraries share one repo and evolve together. Each layer is thin, and each can be used on its own.
ofa.js↗
The application framework. Components, pages, o-app routing, context, and template syntax.
Frameworkxhear↗
The Web Components foundation. A thin layer for element encapsulation, template rendering, and data binding.
Web Componentsstanz↗
A Proxy-based reactive core. Objects, arrays, and deep changes—all observable.
Reactivitydrill↗
A browser-side module loader. HTML, CSS, and JS can all be modules.
Module Loadero-router
scsr
formdata
inject-host
body-ghost
global-link
Just import and use—not part of the default build.
No environment to set up, no build to wait for. Create a file, write your tags, then refresh the browser—your app has already begun.
Copy the URL and paste it into a <script type="module"> tag or an import.