This is a Programming Language Playground where you can write, execute, and see the output for various languages like Python, PHP, JavaScript, Go, HTML, CSS, Markdown, Java, and more. The application provides a responsive and user-friendly interface with built-in support for dark mode.
Feel free to explore, test your code, and enjoy coding in one place! You have to run this project using Docker to easily manage dependencies for all supported languages.
Light Mode | Dark Mode |
---|---|
- Support for multiple programming languages
- Python 🐍
- JavaScript 🟨
- PHP 💻
- Go 🐹
- Java ☕
- HTML & CSS 🌐
- Markdown 📄
- C / C++ 💡
- Responsive design for all screen sizes
- Dark mode toggle for comfortable coding
- Docker support for easy deployment
- Easy to use and test code with real-time feedback
Before running the project, make sure you have the following installed:
- Docker: You can install Docker from here.
You can run this project either locally or using Docker. Below are the steps for both options:
-
Clone the repository
git clone https://github.com/yourusername/playground.git cd playground
-
Build the Docker image
docker build -t playground-app .
-
Run the Docker container
docker run -p 3000:3000 playground-app
-
Access the application Once the Docker container is running, open your browser and navigate to http://localhost:3000 to start coding!
The following languages are supported in this playground, and you can run code by selecting your preferred language from the dropdown menu:
Language | Command |
---|---|
Python | /api/runPython |
JavaScript | /api/runJs |
PHP | /api/runPhp |
Go | /api/runGo |
C | /api/runC |
C++ | /api/runCpp |
Java | /api/runJava |
HTML | /api/runHtml |
CSS | /api/runCss |
Markdown | /api/runMarkdown |
Simply write your code in the editor and click Run Code to see the output in real-time.
Currently, there is an issue with running Java code in the playground. If you'd like to contribute to fixing this, we welcome pull requests!
If you found this project helpful or interesting, feel free to give it a ⭐ star on GitHub. Your support helps the project grow!
Contributions are welcome! If you encounter any bugs or have suggestions for improvement, feel free to create a pull request. Java code execution issues are a known area where contributions are needed.
For any questions, suggestions, or to just say hello, feel free to connect with me:
- Name: Riajul Kashem
- Email: [email protected]
I am always excited to connect with fellow developers! 😊
This project is licensed under the MIT License - free to use and modify. Thank you for visiting and using this programming playground. Happy coding!