supabase /edge-runtime

A server based on Deno runtime, capable of running JavaScript, TypeScript, and WASM services.

★ 997⑂ 137👁 30⑃ 577● 189▤ 375
RustMITCreated 2023-01-09
TA的项目
下载:v1.79.1v1.79.1 ↓1.79.12026-11-13
+0
日增长
997
stars
137
forks
30
watchers
577
prs
189
issues
375
releases

README

Supabase Edge Runtime

A web server based on Deno runtime, capable of running
JavaScript, TypeScript, and WASM services. Edge Runtime is built and maintained
by the Supabase team. For more details, read the
intro blog post.

You can use it to:

- Locally test and self-host Supabase's Edge Functions (or any Deno Function)
- As a programmable HTTP Proxy: You can intercept / route HTTP requests

WARNING: Beta Software. There will be breaking changes to APIs / Configuration
Options

 Architecture

!Sequence diagram of Edge Runtime request flow

The edge runtime can be divided into two runtimes with different purposes.

- Main runtime:
  - An instance for the _main runtime_ is responsible for proxying the
    transactions to the _user runtime_.
  - The main runtime is meant to be an entry point before running user
    functions, where you can authentication, etc. before calling the user
    function.
  - Has no user-facing limits
  - Has access to all environment variables.
- User runtime:
  - An instance for the _user runtime_ is responsible for executing users' code.
  - Limits are required to be set such as: Memory and Timeouts.
  - Has access to environment variables explictly allowed by the main runtime.

 Developers

To learn how to build / test Edge Runtime, visit DEVELOPERS.md

 Contributions

We welcome contributions to Supabase Edge Runtime!

To get started either open an issue on
GitHub or drop us a message
on Discord

Edge Runtime follows Supabase's
Code of Conduct.

Top issues

Latest release

v1.79.1 v1.79.1 2026-11-13
1.79.1 (2026-11-13)


 Bug Fixes

 trigger releases for refactor-type commits (771) (ccb1966)

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON