Documentation Index

Fetch the complete documentation index at: /docs/llms.txt

Use this file to discover all available pages before exploring further.

Skip to main content
This code starts an HTTP server listening on port 3000. It responds to every request with a 200 status and the body "Welcome to Bun!". See Bun.serve for details.
server.ts
const server = Bun.serve({
  port: 3000,
  fetch(request) {
    return new Response("Welcome to Bun!");
  },
});

console.log(`Listening on ${server.url}`);
Morty Proxy This is a proxified and sanitized view of the page, visit original site.