Skip to content

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.

Notifications You must be signed in to change notification settings

riajulkashem/playground

Repository files navigation

🚀 Programming Language Playground

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.

🎨 Screenshots

Light Mode Dark Mode
Programming Language Playground Programming Language Playground

🌟 Features

  • 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

🚧 Prerequisites

Before running the project, make sure you have the following installed:

  • Docker: You can install Docker from here.

🛠️ Installation and Setup

You can run this project either locally or using Docker. Below are the steps for both options:

Local Setup

  1. Clone the repository

    git clone https://github.com/yourusername/playground.git
    cd playground
  2. Build the Docker image

    docker build -t playground-app .
  3. Run the Docker container

    docker run -p 3000:3000 playground-app
  4. Access the application Once the Docker container is running, open your browser and navigate to http://localhost:3000 to start coding!

🔥 Supported Languages

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.

🐛 Known Issues

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!

⭐ Give the Project a Star!

If you found this project helpful or interesting, feel free to give it a ⭐ star on GitHub. Your support helps the project grow!

🔧 Pull Requests

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.

🗨️ Get in Touch

For any questions, suggestions, or to just say hello, feel free to connect with me:

I am always excited to connect with fellow developers! 😊

⚖️ License

This project is licensed under the MIT License - free to use and modify. Thank you for visiting and using this programming playground. Happy coding!

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published