cd /news/developer-tools/i-spent-a-year-writing-a-full-stack-… · home › topics › developer-tools › article
[ARTICLE · art-181206] src=github.com ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

I spent a year writing a full-stack framework with 0 dependencies

ZyoraLabs released Niral, a compiler-first full-stack framework written from scratch with zero dependencies, alongside Niral DI, a coding agent that runs on a user-supplied model and key, and Niral Studio, a local browser workspace. In the company's own end-to-end benchmark (1000-row dynamic SSR page, 100 connections × 10s), Niral served ~2,200 req/s at a 40 ms p50 and 0.2 s build, versus ~580 req/s at 128 ms for SvelteKit 2 (Svelte 5) and ~290 req/s at 310 ms for Next 16 (React 19). Niral DI ships 21 tools, requires approval before every file change, confines file access and commands to the workspace, refuses shell chaining such as `npm install && rm -rf .`, and keeps Git read-only.

key takeaway

Niral DI runs on a user-supplied model key with 21 tools, asks approval before every file change, confines commands to the workspace without a shell, and keeps Git read-only.

read3 min views8 publishedDec 3, 2026
I spent a year writing a full-stack framework with 0 dependencies
Image: Michielbdejong (auto-discovered)

A full-stack framework, a coding agent, and a browser workspace. No dependencies.

Written from scratch at ZyoraLabs — not a fork, not a wrapper.

What it is Install
Niral Compiler-first full-stack framework. Components, routing, SSR, auth, jobs, realtime. npx create-niral my-app
Niral DI A coding agent that runs on your own model and key. 21 tools, every change asks first. npm i -g niral-di
Niral Studio The same agent in a local browser workspace, with an editor, terminals and a live preview. npx niral-studio

Each works on its own. DI works in any project, Niral or not.

One file holds a feature: server code, client code, markup and scoped styles.

<server>
export async function load() {
  return { posts: await sql`select id, title from posts limit 10` }
}
</server>

<script>
  let { posts } = $props
</script>

<ul>
  {#for post of posts key post.id}
    <li><a href="https://github.com/post/{post.id}">{post.title}</a></li>
  {/for}
</ul>

<style>
  li { padding: 8px 0 }
</style>

The <server> block never reaches the browser. Exported functions become RPCs callable by name from client code.

Each framework's own production server, dynamic SSR per request, the same 1000-row page, 100 connections × 10s — run it yourself:

framework req/s p50 p99 build
niral ~2,200 40 ms ~150 ms 0.2 s
sveltekit 2 (svelte 5) ~580 128 ms ~1.6 s 2.3–3.7 s
next 16 (react 19) ~290 310 ms 2.3–3.2 s 3.3–5.5 s

Hydration ties Svelte at 6.6 ms / 1000 rows, 29.7 KB of JS.

npx create-niral my-app
cd my-app && npm run dev

A coding agent in your terminal or your editor, running on a model you choose. There is no default model, no account, and no middleman: you supply the key.

npm install -g niral-di
niral-di setup
niral-di chat

It reads, writes and verifies. Creates files and directories, edits part of a file without rewriting it, searches by meaning, compiles what it writes, runs your tests, and reports what it could not verify.

It asks first. Every change to your files waits for you. Deleting and moving always ask, whatever you allowed before.

It cannot wander off. File access and commands are confined to the workspace. Commands never reach a shell, so there is no chaining or redirection — npm install && rm -rf . is refused rather than run. Git is read-only: DI can read history and diffs, but cannot commit, push or discard.

It scans for the mistakes that ship. Credentials written into source, SQL built by joining strings, markup written from untrusted values, weak randomness for secrets. Pattern matching, not proof — a clean result is not a secure project.

Also in VS Code and in Studio. Full documentation.

The same agent in a local browser workspace: file tree, editor, terminals, Git, and a live preview. Nothing is uploaded; it runs on your machine.

npx niral-studio

Compiler, not runtime. The work happens once, at build time.

Zero dependencies. niral and niral-di both ship with none. No supply chain, no audits, no upstream breakage — every line that runs is a line you can read.

Honest measurement. Every benchmark here is reproducible. We would rather you check.

bin/niral.js        the CLI — create · dev · check · test · build · start · deploy · doctor
src/compiler/       parser, codegen (DOM + string-SSR), rewriter
src/runtime/        signals, DOM ops, hydration, router, i18n, rpc client
src/server/         dev + prod servers, sessions, auth, jobs, live, ai, rag, migrate
src/di/             the agent, vendored from packages/niral-di
packages/niral-di/  the agent engine — the source everything else consumes
studio/             the browser workspace
editors/vscode/     the VS Code extension
apps/docs/          the documentation site, itself a Niral app
bench/              reproducible benchmarks vs Next.js, SvelteKit, SolidStart, Astro
tests/              the test suite — npm test

Documentation: niral.site · Getting started · CLI reference · DI

MIT licensed. NiralScript is Apache-2.0.

நிரல் — "program" in Tamil · Built in India · ZyoraLabs

── more in #developer-tools 4 stories · sorted by recency
── more on @zyoralabs 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/i-spent-a-year-writi…] indexed:0 read:3min 2026-12-03 · —