Skip to content

foskey51/sandbox

Repository files navigation

Sandbox - Secure Online Coding Platform

A web-based frontend interface for writing, editing, and securely executing code in a sandboxed environment. This interface integrates a real-time terminal, AI-driven programming guidance, and syntax-aware code editing and a VM for fun sandbox experimentation.

Overview

This repository contains the frontend implementation of a secure online code execution system. It provides users with an intuitive interface to write, compile, and run code in a safe environment. The system uses Monaco Editor for editing, Xterm.js for terminal emulation, and WebSocket for real-time communication.

Preview

Features

  • Code Editing: Monaco Editor with syntax highlighting, code suggestions, and inline error detection.
  • Terminal Emulation: Xterm.js for interactive, real-time execution output.
  • AI Assistance: Integrated chatbot powered by LLAMA-3.2 offering help with debugging, explanations, and suggestions.
  • Real-time Communication: WebSocket support for live code execution and response handling.

Installation Steps

  1. Clone the Repository:

    git clone https:github.com/foskey51/sandbox.git
    cd sandbox
  2. Install Dependencies:

    npm install
  3. Run the Application:

    npm run tauri:dev                                                                 

Notes

  • This repository only contains the frontend interface.
  • Ensure that the backend is up and running.
  • AI chatbot functionality depends on integration with a LLAMA-3.2 compatible model.

Contributing

Contributions are welcome! Please open a pull request or file an issue to suggest improvements, report bugs, or propose features.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Online compiler with integrated AI. View the backend link 👇

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages