Runable v1.0.0-alpha.20
Why Runable? Docs Modules Work with AI Blog About Changelog
  • 01Why Runable?
  • 02Docs
  • 03Modules
  • 04Work with AI
  • 05Blog
  • 06About
  • 07Changelog
Vue without a fixed server runtime.
Getting Started Structure Integrations Guide MCP API
  • Getting Started Structure Integrations Guide MCP API
  • Express
  • Fastify
  • Hono
  • Koa
  • NestJS
  • AdonisJS
  • h3
  • Bun
  • Deno
  • Custom

Bun

Use Runable's Fetch API adapter with Bun.serve().

Installation

bun add runable vue vue-router

Configuration

// server.ts
import { bun } from "runable/adapters/bun";

Bun.serve({
  port: 3000,
  fetch: bun(),
});

bun() returns a (request: Request) => Response | Promise<Response> function. It uses Fetch API objects directly, with no conversion to Node HTTP classes.

To keep API routes, use the adapter as a fallback:

const renderRunable = bun();

Bun.serve({
  async fetch(request) {
    const url = new URL(request.url);
    if (url.pathname === "/api/health") {
      return Response.json({ status: "ok" });
    }

    return renderRunable(request);
  },
});
Report an issue Edit this page
h3

Connect h3 to Runable manually with the Node or Fetch API primitives.

Deno

Use Runable's Fetch API adapter with Deno.serve().

On this page

  • 1Installation
  • 2Configuration
Runable

The Vue framework that brings productive conventions to any backend.

Product

  • Why Runable
  • Documentation
  • Installation
  • Integrations

Project

  • About
  • Blog
  • Changelog
  • Sponsor

Community

  • GitHub
  • Issues
  • Discussions
  • Bluesky

© 2026 Runable. Released under the MIT License.

Open source Built with Vue and Runable