The way you code shapes the way you think. And the platform you choose shapes the coder you become.
CodeHat is a platform designed to provide a seamless and efficient coding environment in your browser. Run code with custom inputs, test algorithms, and experiment with logic without the overhead of a traditional IDE.
This repository contains the official open-source frontend for the CodeHat platform.
Built for Coders, Open to Everyone. No Cost. No Catch. Just Code.
This is how CodeHat code editor looks.
- High-Performance Editor: A lightweight and optimized code editor built with CodeMirror, designed to be faster and more responsive than many conventional online editors.
- Custom Input Handling: Easily provide standard input (
stdin) to your programs to test various edge cases and scenarios. - Initial Language Support: Currently optimized for Python, with a clear roadmap to include more languages.
- Open Source Frontend: The entire user-facing interface is open source (MIT License), welcoming community contributions and ensuring transparency in its development.
To get the CodeHat frontend running on your local machine for development or contributions, follow these steps:
-
Clone the repository:
git clone https://github.com/YOUR_GITHUB_USERNAME/YOUR_REPOSITORY_NAME.git cd YOUR_REPOSITORY_NAME -
Install dependencies:
npm install
-
Run the development server:
npm start
The application will be available at
http://localhost:3000.
- Frontend: React.js
- Code Editor: CodeMirror
- Styling: Tailwind CSS
We are actively working to evolve CodeHat into a full-fledged platform. Our current focus is on building a robust and secure multi-language backend.
- Containerized Backend: Implementing Docker to create isolated and secure execution environments for user code.
- Multi-Language Support: Expanding beyond Python to include JavaScript, C++, Java, and Go.
- User Accounts: Allowing users to save their code snippets and history.
- UI/UX Enhancements: Continuously improving the user interface.
- Backend Source: Considering open-sourcing the backend in the future.
Contributions to the CodeHat frontend are highly welcome! Whether it's a bug fix, a new feature, or a documentation update, your input is valued.
- Report a Bug: Find a bug? Please open an issue with a detailed description.
- Suggest a Feature: Have an idea for the UI or a new feature? We'd love to hear it in an issue.
- Submit a Pull Request: Please fork the repository and submit a PR for review.
The code in this repository is licensed under the MIT License. See the LICENSE file for details.