Quick Start

Teasim is a library built for Bun.

Bun is all you need to get started.

curl https://bun.sh/install | bash

Bootstrap a new project with bun create:

bun create teasim hi-teasim

Then you should see the folder name hi-teasim in your directory.

cd hi-teasim

Open src/index.ts, and you should see:

import { Teasim } from "teasim";

const app = new Teasim().get("/", () => "Hello Teasim").listen(3000);

console.log(`🦊 Teasim is running at ${app.server?.hostname}:${app.server?.port}`);

Start a development server by:

bun dev

Open your browser and go to http://localhost:3000.

You should see your server is running.


Congrats! You've just created a new web server with Teasim 🎉🎉