Skip to content

Dev2Forge/eval

Repository files navigation

eval | Code Playground

A lightweight and modern multi-language playground for quick code experimentation. Run JavaScript, Python, Ruby, PHP, and Lua directly in your interface.

Engine & Architecture

This project is built with React 19 and Vite, featuring a robust editor experience powered by React Ace (based on Ace Builds). Code execution is handled entirely client-side using codapi.

Note

Browser Only Runtimes
All supported languages in this playground execute entirely in the browser. There is no backend involved for code execution.
For technical details on how these runtimes work without a server, please refer to the codapi-js only-browser documentation.

🚀 Features

  • Multi-language Support: Run JavaScript, Python, Ruby, PHP, and Lua.
  • Modern Stack: Built with React 19, Vite, and TypeScript.
  • Beautiful UI: Styled with Tailwind CSS v4 and DaisyUI.
  • Pro Editor Experience: Integrated React Ace for syntax highlighting and editing features.
  • Theme Support: The playground editor supports both Dark and Light modes (Ace Editor themes).
  • Client-Side Execution: Zero latency, 100% privacy (code never leaves your browser).

📸 Language Previews

Language Preview
JavaScript JavaScript
Python Python
Ruby Ruby
PHP PHP
Lua Lua

🛠️ Getting Started

Follow these steps to set up the project locally. This project uses pnpm for package management.

Prerequisites

  • Node.js installed
  • pnpm installed

Install pnpm (if needed):

npm install -g pnpm

Installation

git clone https://github.com/Dev2Forge/eval.git
cd eval
pnpm install
pnpm dev

Open your browser and navigate to:

http://localhost:5173

🗺️ Roadmap

Core & Logic

  • Implement deeper logic validation for executed code.
  • Add support for additional browser-compatible languages (Scaling support as the project grows).
  • Optimize runtime performance for larger snippets.

UI/UX

  • Expand Dark/Light mode toggling to the entire web interface (currently limited to the Editor component).
  • Improve minors fixes to mobile responsiveness.

🤝 Credits & Technologies

This project stands on the shoulders of giants:

  • Execution Engine: codapi-js (via @antonz/codapi).
  • Editor Core: Ace Builds.
  • React Component: React Ace.
  • Developed by: Dev2Forge.

⚖️ Third-Party Licenses

This project uses the following open-source libraries. You can find their original licenses here:

  • Ace Builds: BSD-3-Clause License
  • React Ace: MIT License
  • codapi-js: MIT License

📄 License Notice

Copyright (C) 2026 Dev2Forge

This project is licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later). See the LICENSE file in the repository for the full license text or visit https://www.gnu.org/licenses/.

SPDX-License-Identifier: AGPL-3.0-or-later