A professional-grade online code editor with real-time collaboration, multi-language support, and stunning visual design.
CodeEditor Pro isn't just another code editorβit's a complete development environment in your browser. Built with modern technologies and designed for both beginners and professional developers, it combines the power of desktop IDEs with the convenience of web-based tools.
- Learning to code with instant feedback
- Quick prototyping and testing ideas
- Teaching programming with live examples
- Collaborative coding sessions
- Code interviews and technical assessments
- API testing and documentation
- Glass Morphism Design: Modern translucent UI with blur effects
- Dark Theme: Eye-friendly dark mode with gradient accents
- Responsive Layout: Seamlessly adapts to any screen size
- Split Pane View: Adjustable editor and output panels
- Font Size Control: Dynamic text sizing (10px-24px)
- Status Bar: Real-time line count and execution status
- JavaScript (ES6+ with console.log handling)
- Python (Pyodide integration with stdout capture)
- HTML (Live preview with iframe rendering)
- CSS (Comprehensive preview with demo elements)
- Syntax Highlighting: Professional code coloring
- Auto-completion: Intelligent code suggestions
- Error Highlighting: Real-time error detection
- Browser-Based: No server setup required for frontend
- Real-Time Output: Instant code execution results
- Error Handling: Comprehensive error reporting
- HTML/CSS Preview: Live rendering in iframe
- Python Console: Full stdout capture and display
- JavaScript Debugging: Enhanced console.log support
- Real-Time Sync: Code changes broadcast instantly
- Session Management: Join/create coding sessions
- Cursor Tracking: See other users' cursor positions
- User Presence: Live user list with status indicators
- WebSocket Communication: Low-latency real-time updates
- RESTful API: Complete CRUD operations
- GraphQL Support: Flexible data querying
- MongoDB Integration: Persistent code snippet storage
- Redis Caching: Optimized session management
- Health Monitoring: Service status endpoints
React 19.1.0 // Modern UI framework
CodeMirror 6 // Professional code editor
TailwindCSS // Utility-first styling
Fira Code // Developer-friendly font
Inter // Modern UI typographyNode.js 18+ // Runtime environment
Express 4.18.2 // Web framework
MongoDB // NoSQL database
Redis // In-memory cache
WebSocket // Real-time communication
GraphQL // Query languageESLint // Code quality
Prettier // Code formatting
Hot Module Replacement // Instant updates- Node.js 16+
- npm or yarn
- MongoDB (optional, for full features)
- Redis (optional, for collaboration)
# Clone the repository
git clone https://github.com/yourusername/codeeditor-pro.git
cd codeeditor-pro
# Install dependencies
npm install
# Start development servers
npm run dev# Backend Server
cd backend
npm install
npm start
# β http://localhost:5000
# Frontend Server
cd frontend
npm install
npm start
# β http://localhost:3000- Select Language: Choose from JavaScript, Python, HTML, or CSS
- Write Code: Start typing in the editor with syntax highlighting
- Run Code: Press
Ctrl+Enteror click the "Run Code" button - View Output: See results in the output panel or preview
/* Your CSS automatically applies to rich demo content */
h1 { color: #e74c3c; }
button {
background: linear-gradient(45deg, #667eea, #764ba2);
border-radius: 25px;
}# Full Python support with stdout capture
print("Hello, World!")
numbers = [1, 2, 3, 4, 5]
print(f"Sum: {sum(numbers)}")// Enhanced console.log handling
const user = { name: "Alice", age: 25 };
console.log("User data:", user); // Pretty-printed objectsCtrl+Enter- Run codeCtrl+S- Save (placeholder)Ctrl+/- Toggle comment (planned)
codeeditor-pro/
βββ frontend/ # React application
β βββ src/
β β βββ components/ # React components
β β βββ hooks/ # Custom hooks
β β βββ styles/ # CSS files
β βββ public/ # Static assets
βββ backend/ # Node.js server
β βββ src/
β β βββ routes/ # API endpoints
β β βββ models/ # Database models
β β βββ middleware/ # Express middleware
β βββ config/ # Configuration files
βββ docs/ # Documentation
# Backend Configuration
PORT=5000
MONGODB_URI=mongodb://localhost:27017/codeeditor
REDIS_URL=redis://localhost:6379
# Frontend Configuration
REACT_APP_API_URL=http://localhost:5000
REACT_APP_WS_URL=ws://localhost:5000- Themes: Modify CSS variables for color schemes
- Languages: Add new language support via CodeMirror extensions
- Plugins: Extend functionality with custom components
We welcome contributions! Here's how to get started:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
- Follow ESLint configuration
- Write meaningful commit messages
- Add tests for new features
- Update documentation as needed
- More Languages: TypeScript, Rust, Go, Ruby
- File System: Upload/download code files
- Code Sharing: Public/private snippets
- Themes: Light mode and custom themes
- Extensions: Plugin system
- Mobile App: React Native version
- AI Integration: Code completion and suggestions
- Version Control: Git integration
- Collaboration: Video chat and screen sharing
- Deployment: One-click deployment to various platforms
Python not loading?
# Check browser console for Pyodide loading errors
# Ensure no ad-blockers are blocking CDN requestsBackend connection failed?
# Verify MongoDB and Redis are running
# Check environment variables in .env fileCSS not applying?
# Clear browser cache
# Check for CSS syntax errors in console- Use Chrome/Edge for best performance
- Disable ad-blockers for Pyodide CDN
- Close unused browser tabs for better memory
This project is licensed under the MIT License - see the LICENSE file for details.
- CodeMirror - Amazing code editor component
- Pyodide - Python in the browser
- React - UI framework
- Express - Backend framework
- MongoDB - Database solution
- π§ Email: support@codeeditor.pro
- π¬ Discord: Join our community
- π¦ Twitter: @CodeEditorPro
- π± Issues: GitHub Issues
Made with β€οΈ by the CodeEditor Pro team