● Bun-native TypeScript framework · MIT
The Fastest Way to Build
with Bun
A batteries-included TypeScript framework for building scalable APIs, Web3 platforms, and backend services with confidence.
$ bunx @bejibun/cli your-project01
Built for Web3 builders
x402 payments shipped, wallet/RPC/contract SDK on the way. Designed for dApp backends from day one.
02
Laravel developer experience
Controllers, models, migrations, validators, and an ace CLI. Every pattern you already know — in TypeScript.
03
Fast by default
Bun runtime under everything: <10ms cold starts, 5x faster builds, built for high-throughput APIs.
01 — Web3 · Blockchain Native
Built for the on-chain economy.
Blockchain isn't a plugin here. x402 payments shipped, a full wallet/RPC/contract SDK is on the way — your dApp backend, first-class from line one.
Wallet, RPC & contracts in one SDK
Connect wallets, call nodes, and interact with smart contracts through type-safe interfaces. One import away.
import {WalletService} from "@bejibun/web3";
const wallet = new WalletService();
// Connect wallet
const address = await wallet.connect({
provider: "metamask"
});
// Sign message
const signature = await wallet.sign(
"Welcome to Bejibun!"
);CQhbNnCGKfDaKXt8uE61i5DrBYJV7NPsCDD9vQgypump02 — Developer Experience
Build features, not boilerplate.
Routing & Middleware
Groups, prefixes, guards, and resource routes for API-heavy dApps.
Controllers & Validation
Parse, validate, and respond with VineJS-powered validators, request helpers, and database-aware rules.
Eloquent-style ORM
Objection.js + Knex with soft deletes, query builders, migrations, seeders, and multi-database support.
Real-time & Background Jobs
WebSockets, queues, delayed jobs, retries, and cron-style task scheduling built into the framework.
CLI & Scaffolding
Generate controllers, models, validators, migrations, seeders, commands, and more with "bun ace".
Storage & Utilities
Multi-disk storage, caching, logging, CORS, maintenance mode, and production-ready helpers.
API Documentation
Swagger/OpenAPI generation with decorators and automatic endpoint discovery.
Bun-Native Performance
Built from the ground up for Bun with fast startup times, minimal overhead, and TypeScript-first development.
Grouping, prefixes, middleware chaining, and Laravel-style resource routes.
import Router from "@bejibun/core/facades/Router";
import YourController from "@/app/controllers/YourController";
import TestMiddleware from "@/app/middlewares/TestMiddleware";
export default Router.prefix("test")
.middleware(new TestMiddleware())
.group([
Router.get("get", "TestController@get"),
Router.get("detail/:id", "TestController@detail"),
Router.post("add", "TestController@add"),
Router.post("edit", "TestController@edit"),
Router.delete("delete/:id", "TestController@delete"),
Router.get("restore/:id", "TestController@restore"),
Router.resource("path", YourController),
Router.resource("path", YourController, {
only: ["index", "store"] // "index" | "store" | "show" | "update" | "destroy"
}),
Router.resource("path", YourController, {
except: ["index", "store"] // "index" | "store" | "show" | "update" | "destroy"
})
]);03 — Performance
Fast where it counts.
Bejibun runs on Bun — ideal for DeFi protocols, NFT marketplaces, and any API where latency is a feature.
Cold start
Bun's native runtime and bundler — no JIT warm-up tax.
Faster builds
Compared to traditional Node.js runtimes.
TypeScript
Native TS execution. No transpile step, no config.
Throughput
Concurrent requests with minimal overhead for real-time Web3.
Quickstart
Zero to API in four steps.
Read the full documentation →Install Bun
Bejibun runs on the Bun runtime.
curl -fsSL https://bun.sh/install | bashCreate a project
Scaffold a new Bejibun app with the CLI.
bunx @bejibun/cli your-project
cd your-projectRun the dev server
Cold starts in under 10ms.
bun devBuild & Ship
Production mode, one command away.
bun startRoadmap
Where Bejibun is heading.
Q4 2025
Shipped
Framework foundation & core infrastructure.
Q1 2026
Shipped
Platform growth & essential services.
Q2 2026
In progress
Scalability, scheduling & storage expansion.
Q3 2026
Planned
Testing, real-time features & database expansion.
Q4 2026
Planned
Performance optimization & ecosystem maturity.
Ready to build at
Bun speed?
Start your next backend project with a framework designed for performance, productivity, and scale.
$ bunx @bejibun/cli your-project