I built Morph, an experimental fullstack HTML-first library for Deno, Node, and Bun.
Everything returns HTML, not JSON. No React, no Vite — just plain HTML with server-side rendering.
No build steps, no preprocessors, no complex configs — everything runs from a single file.
Perfect for Telegram Web Apps, internal tools, simple admin panels, dashboards, or anywhere a full-blown SPA feels like overkill.
Important: I built this entirely for myself — to solve my own problems. I hate complex frontend. I hate writing it. And I don’t want to waste time on it. But maybe it’ll help you too.
But, I wouldn't be surprised if its slower than PHP due to the overhead of starting up NodeJS for each request, as PHP has been optimised to have fast start times.
Deleted Comment
For trivial scripts, though, that practice is still pretty common. You don't necessarily need Twig or whatever if you just need a script to spit out the rows from a single database query.
So many people talk about missing the old Internet and the virtues of the small web, and breaking free from platforms… then at the same time speak out against the tools that allow a person to start small and dip their toe into the water of web development, without needing to spend several months in a boot camp for a few lines of server side code.
What is the add-on from this library? The only thing I read out of it, is some css and other templating benefits. Which is not the essence of PHP. The essence of PHP is that you mix html and code (which many JS tagged templates support).
This goes more in the direction of component oriented development (e.g. what Blazor does... even Angular). So my rant is about comparing it with PHP.
Not a node & browser dev, but I have my past in PHP and currently some Blazor.
"No build steps, no preprocessors, no complex configs".
I worked on a project recently that followed this and Devs loved it. The DX was amazing.
Well, I am sure that we need to develop the part with api. It already exists and works great, but lacks middlware functions and caching
Deleted Comment
Just unpack, set MySQL credentials, and done.