Skip to content

Repository files navigation

CEL Playground

GitHub Go Report Card slack

CEL Playground is an interactive WebAssembly (Wasm) powered environment to explore and experiment with the Common Expression Language (CEL). It provides a simple and user-friendly interface to write and quickly evaluate CEL expressions.

CEL libraries

CEL Playground is built by compiling Go code to WebAssembly and includes the following libraries that are available in the environment:

The Kubernetes policy modes (Validating Admission Policy and Web Hooks) additionally include the IP, CIDR and format libraries, two-variable comprehensions, and the CEL list extension (.sort()), matching the CEL environment a Kubernetes apiserver exposes.

Take a look at the environment options in eval/eval.go (the CEL mode) and k8s/cel.go (the Kubernetes modes).

Development

Build the Wasm binary:

make build

Serve the static files:

make serve

Community

To engage with our community, you can use the following resources:

License

CEL Playground is available under the Apache 2.0 license. See the LICENSE file for more info.

About

CEL Playground provides a simple and user-friendly interface to write and quickly evaluate CEL expressions.

Topics

Resources

Code of conduct

Contributing

Stars

179 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages