You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A web server based on [Deno](https://deno.land) runtime, capable of running JavaScript, TypeScript, and WASM services.
4
4
5
-
### Why are we building this?
5
+
You can use it to:
6
6
7
-
The primary goal of this project is to have a runtime environment that can simulate the capabilities and limitations of [Deno Deploy](https://deno.com/deploy).
7
+
* Locally test and self-host Supabase's Edge Functions (or any Deno Edge Function)
8
+
* As a programmable HTTP Proxy: You can intercept / route HTTP requests
8
9
9
-
This enables Supabase users to test their Edge Functions locally while simulating the behavior at the edge (eg: runtime APIs like File I/O not available, memory and CPU time enforced).
10
-
Also, this enables portability of edge functions to those users who want to self-host them outside of Deno Deploy.
10
+
** WARNING: Beta Software. There will be breaking changes to APIs / Configuration Options **
* better error messages for incorrect module loading paths
31
-
* better error messages for invalid import map paths
32
-
* Support snapshotting the runtime
33
-
* Support for private modules (DENO_AUTH_TOKENS)
34
-
* HTTP/2 support (need the host to support SSL)
35
-
* Add tests
36
-
* Add a benchmarking suite
37
-
38
-
## How to update to a Deno version
39
-
40
-
* Select the Deno version to upgrade and visit its tag on GitHub (eg: https://github.com/denoland/deno/blob/v1.30.3/Cargo.toml)
41
-
* Open the `Cargo.toml` at the root of of this repo and modify all `deno_*` modules to match to the selected tag of Deno.
42
-
43
25
## How to run tests
44
26
45
27
make sure the docker daemon is running and create a docker image:
@@ -60,3 +42,16 @@ run tests:
60
42
```bash
61
43
npm run test
62
44
```
45
+
46
+
## How to update to a newer Deno version
47
+
48
+
* Select the Deno version to upgrade and visit its tag on GitHub (eg: https://github.com/denoland/deno/blob/v1.30.3/Cargo.toml)
49
+
* Open the `Cargo.toml` at the root of of this repo and modify all `deno_*` modules to match to the selected tag of Deno.
50
+
51
+
## Contributions
52
+
53
+
We welcome contributions to Supabase Edge Runtime!
54
+
55
+
To get started either open an issue on [GitHub](https://github.com/supabase/edge-runtime/issues) or drop us a message on [Discord](https://discord.com/invite/R7bSpeBSJE)
56
+
57
+
Edge Runtime follows Supabase's [Code of Conduct](https://github.com/supabase/.github/blob/main/CODE_OF_CONDUCT.md).
0 commit comments