This project is an outcome of my love towards two things:
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.
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.
You may need a paid workers plan for deploying. If you already have one, just run npm run deploy.
To learn more about Containers, take a look at the following resources:
- Container Documentation - learn about Containers
- Container Class - learn about the Container helper class
Your feedback and contributions are welcome!
