Tirne

Structure over boilerplate. Tirne is a zero-boilerplate, Bun and Workers framework.

Tirne Code Examples

import { Server } from "tirne";
import type { Route } from "tirne";
const routes: Route[] = [
  {
    method: "GET",
    path: "/",
    handler: (req) => new Response("Hello from my framework!"),
  },
];

const server = new Server(routes);

export default {
  fetch: (req: Request) => server.fetch(req),
};

⚡️ Quickstart

npx create-tirne-app my-app
cd my-app
npm install
npm run dev
API will be ready at http://localhost:3000 instantly.

Tirne Performance

Tirne is best edge framework for Backend

❄️
Cold Start 👑

ms

0.02 ms. No delay. No compromise. The cold start crown is ours.

⚡️
Requests/sec

rps

Built for flash traffic — no warmup needed.

📉
Avg Latency

ms

Snappy under pressure. Always.

🎯
Total Requests (10s)

req / 10s

Served 905,000 in 10s. Edge-scale, real load.

Tirne Philosophy

Tirne is not just a framework. It's a philosophy of structure, clarity, and control.

Structure is Truth

APIs are defined as code, not behavior. No decorators or magic.

Errors are Data

Errors include status, type, and visibility. Not chaos—contracts.

Composition Matters

Middleware is ordered and scoped. No global leaks.

Edge-Native by Default

Runs natively on Bun, Workers, Deno — no cold start surprises.

No Boilerplate

No CLI, no config folders. Just code you own and understand.

Ready to write real code again?

Create your Tirne app in seconds. No boilerplate, no black box.