A web server based on Deno runtime, capable of running JavaScript, TypeScript, and WASM services.
You can use it to:
- Locally test and self-host Supabase's Edge Functions (or any Deno Edge Function)
- As a programmable HTTP Proxy: You can intercept / route HTTP requests
WARNING: Beta Software. There will be breaking changes to APIs / Configuration Options
./run.sh start --main-service /path/to/supabase/functions -p 9000
using Docker:
docker build -t edge-runtime .
docker run -it --rm -p 9000:9000 -v /path/to/supabase/functions:/usr/services supabase/edge-runtime start --main-service /usr/services
make sure the docker daemon is running and create a docker image:
docker build -t edge-runtime:test .
install tests dependencies:
cd test
npm install
run tests:
npm run test
- Select the Deno version to upgrade and visit its tag on GitHub (eg: https://github.com/denoland/deno/blob/v1.30.3/Cargo.toml)
- Open the
Cargo.toml
at the root of of this repo and modify alldeno_*
modules to match to the selected tag of Deno.
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.