A modern, feature-rich online code editor that supports Python, JavaScript, and C++ with real-time output, data visualization, and interactive input capabilities.
Play around with it here.
-
🐍 Python (≥ 3.9)
- Matplotlib integration for data visualization
- NumPy for numerical computations
- Real-time output display
- Dark-themed plots
- Supported Libraries:
- numpy
- matplotlib
- pandas
- scipy
- plotly
- scikit_learn
- sympy
- networkx
-
📜 JavaScript (≥ ES2017)
- Interactive input via
prompt()
- Console output capture
- Async/await support
- Modern APIs
- Promises
- Real-time execution
- Interactive input via
-
⚡ C++ (≥ C++17)
- Standard Template Library (STL)
- Standard I/O streams
- Interactive input via
std::cin
- File streams support
- Modern language features
- Remote compilation
- 🎨 Syntax highlighting
- 📏 Auto-formatting
- ↩️ Undo/Redo functionality
- 📋 Code copying
- 💾 Code download
- 🔍 Adjustable font size
- 🎯 Bracket pair colorization
- 📱 Mobile-responsive design
- 🌙 Dark mode interface
- 💻 Monaco Editor integration
- 🖼️ Modal plot viewer
- 📊 Interactive console
- ⌨️ Custom toolbar
- 🎮 Input/Output handling
- React + Vite
- Monaco Editor
- Pyodide for Python execution
- Matplotlib & NumPy
- Lucide Icons
- Clone the repository
git clone https://github.com/dan10ish/code.git
cd code
- Install dependencies
npm install
- Run the development server
npm run dev
- Build for production
npm run build
- Select your preferred programming language (Python, JavaScript, or C++)
- Write or paste your code in the editor
- Click the "Run" button or use the keyboard shortcut to execute
- View output in the console panel
- For Python plots, click to view in full-screen mode
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Danish
- Website: dan10ish.github.io
- GitHub: @dan10ish
- Monaco Editor for the powerful code editing capabilities
- Pyodide for enabling Python execution in the browser
- Wandbox for C++ compilation services
⭐️ Star this repo if you find it helpful!