Skip to content

A stateless sandboxed code-runner using cloudflare containers

Notifications You must be signed in to change notification settings

akash-ramaswamy/php-code-playground

Repository files navigation

PHP Sandbox Playground

This project is an outcome of my love towards two things:

  1. Tehplayground
  2. Cloudflare

Since the introduction of Cloudflare Containers, I was searching for a valid usecase. And as they mentioned about Sandboxed environment, immediate thing which striked my mind was Tehplayground. I love that tool and it is a crucial part of my workflow whenever I code in PHP.

Deploy to Cloudflare

alt text

Getting Started

Clone this repo. Just run npm install followed by npm run dev in that directory. Thats it, your code runner is ready!

Open http://localhost:8787 with your browser to see the result.

Deployment

You may need a paid workers plan for deploying. If you already have one, just run npm run deploy.

Learn More

To learn more about Containers, take a look at the following resources:

Your feedback and contributions are welcome!

About

A stateless sandboxed code-runner using cloudflare containers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published