MCPcopy Index your code
hub / github.com/BunnyWay/edge-script-sdk

github.com/BunnyWay/edge-script-sdk @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
133 symbols 297 edges 73 files 9 documented · 7% updated 14d ago@bunny.net/edgescript-sdk@0.13.0-rc.0 · 2026-05-26★ 445 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Bunny

Bunny Edge SDK

This repository contains multiple libraries to work with Bunny:

  • @bunny.net/edgescript-sdk: a library designed to simplify the development and testing of applications on the Bunny Edge Scripting platform. With this SDK, you can build, debug, and run scripts locally, then deploy them seamlessly to Bunny’s global edge network for production.
  • @bunny.net/storage-sdk: a library designed to help you interact with the Bunny Storage, to store & access file efficiently accross our whole network.

🥕 Usage

With @bunny.net/edgescript-sdk, you can write scripts that run smoothly on Deno, Node, and within the bunny.net network. Below is a quick example to help you get started with setting up a local server. For additional examples and use cases, refer to the examples folder.

Hello World Example

import * as BunnySDK from "@bunny.net/edgescript-sdk";

function sleep(ms: number): Promise<void> {
  return new Promise((resolve) => setTimeout(resolve, ms));
}

console.log("Starting server...");

BunnySDK.net.http.serve({ port: 8080, hostname: '127.0.0.1' }, async (req) => {
  console.log(`[INFO]: ${req.method} - ${req.url}`);
  await sleep(1000); // Simulate some processing delay
  return new Response("Hello, Bunny Edge!");
});

If you want more information, feel free to dive into each packages to check associated examples and documentations.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 81
Method 25
Interface 22
Class 4
Enum 1

Languages

TypeScript100%

Modules by API surface

docs/assets/main.js43 symbols
libs/bunny-storage/types/deno.d.ts13 symbols
libs/bunny-sdk/types/deno.d.ts13 symbols
libs/bunny-storage/src/file.ts9 symbols
libs/bunny-storage/tests/integration.test.ts6 symbols
libs/bunny-sdk/src/net/serve.ts6 symbols
libs/bunny-sdk/src/net/tcp.ts5 symbols
libs/bunny-sdk/src/net/socket_addr.ts5 symbols
libs/bunny-storage/src/zone.ts4 symbols
libs/bunny-storage/examples/node/form-upload/index.ts4 symbols
libs/bunny-sdk/src/net/socket/v4.ts3 symbols
libs/bunny-storage/src/regions.ts2 symbols

For agents

$ claude mcp add edge-script-sdk \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page