Niral is a dependency-free, compiler-first full-stack framework built alongside a coding agent and a local browser-based development workspace. Its framework puts server logic, client behavior, markup, and scoped styles in one feature file; server functions become callable client-side RPCs, while server-only code and secrets are excluded from browser bundles. The compiler also detects environment variables used by an app and reports missing names before deployment. The project presents this compile-time approach as a way to improve performance and make security boundaries explicit. In a reproducible test serving a dynamic, uncached 1,000-row page, Niral handled 4,722 requests per second, with a 20 ms median and 40 ms 99th-percentile response time. It also reported a 0.1-second build and 196 MB memory use, outperforming the tested frameworks on those measures.
Niral DI is a model-agnostic coding agent that uses a key supplied by the user and can work in any project. It can edit files, compile code, and run tests, but asks before each change; file access and commands stay within the workspace, and Git operations are read-only. Its security checks flag patterns such as exposed credentials and unsafe SQL, while explicitly not claiming to prove a project secure. Niral Studio offers the same agent in a local browser workspace with an editor, terminals, Git tools, and live preview; files remain on the user’s machine. The framework and agent have no dependencies, and the project publishes its benchmark setup and source for inspection.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.