A modern, secure, and feature-rich online code compiler built with Next.js, Docker, and Monaco Editor. Run and test code in multiple programming languages directly in your browser with real-time output. All code execution happens within isolated Docker containers for maximum security and reliability.
-
Multi-Language Support
- Python
- C/C++ (GCC)
- Extensible architecture for adding more languages
-
Rich Code Editor
- Monaco Editor (VS Code-like experience)
- Syntax highlighting for multiple languages
- Multiple editor themes
- Customizable font sizes and settings
- Line numbers and word wrap
- Auto-completion and IntelliSense
-
Project Management
- File explorer with tree view
- Multiple file support
- Project-based organization
- Real-time file saving
- File creation and deletion
-
Secure Code Execution
- Docker containerized execution
- Isolated environments per project
- Resource limitations
- Secure input/output handling
- Protected file system access
-
Real-time Output
- Standard output (stdout)
- Error output (stderr)
- Input support for interactive programs
- Execution status indicators
- Terminal-like interface
-
Frontend
- Next.js
- React
- Monaco Editor
- TailwindCSS
- Zustand for state management
- React Query for data fetching
-
Backend
- Next.js API Routes
- Dockerode for container management
- Prisma for database operations
- NextAuth.js for authentication
-
Execution Environment
- Docker containers for isolated code execution
- Resource-limited runtime environments
- Secure sandboxing for user code
-
Database
- PostgreSQL
- Prisma ORM
- Node.js
- Docker
- PostgreSQL
- Clone the repository