Codify is a versatile online code editor that supports multiple programming languages and features both classical programming and web development environments. It offers real-time code execution, multiple themes, and an integrated console.
- Multi-language support (JavaScript, Python, C++, Java)
- Web development environment with HTML, CSS support
- Multiple editor themes including:
- Android Studio
- Dracula
- Github Dark/Light
- Copilot
- Solarized Dark/Light
- Real-time code execution using Judge0 API
- Integrated console input/output
- Local storage for code persistence
- Responsive design
- React
- TypeScript
- Judge0 API for code execution
- Axios for API calls
- Local Storage for data persistence
- Clone the repository:
git clone https://github.com/yourusername/codify.git
- Install dependencies:
cd codify && npm install
- Set up environment variables:
Create a
.env
file in the root directory with: REACT_APP_JUDGE0_CREATE_SUBMISSION_API_KEY=your_api_key REACT_APP_JUDGE0_GET_SUBMISSION_API_KEY=your_api_key
- Start the development server:
npm start
- Choose your coding environment:
- Classical Programming: For languages like Python, Java, C++, JavaScript
- Web Development: For HTML, CSS, JavaScript
- Features:
- Select your preferred programming language
- Choose from multiple themes
- Write and execute code
- View output in the integrated console
- Input test cases through console input
- Auto-save functionality
- Get your API keys from RapidAPI Judge0 CE
- Set up the environment variables
- Ensure you have Node.js installed
- 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.