{"id":23888481,"url":"https://github.com/dan10ish/code","last_synced_at":"2025-04-10T05:07:40.716Z","repository":{"id":264767418,"uuid":"894328297","full_name":"dan10ish/code","owner":"dan10ish","description":"A modern online code editor with Python, JavaScript, and C++ support, real-time output, and data visualization.","archived":false,"fork":false,"pushed_at":"2024-12-13T05:41:51.000Z","size":2739,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T05:07:36.878Z","etag":null,"topics":["cpp","ide","javascript","python","reactjs","vscode"],"latest_commit_sha":null,"homepage":"https://code.danish.bio/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dan10ish.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-26T06:54:53.000Z","updated_at":"2025-03-24T19:02:34.000Z","dependencies_parsed_at":"2025-01-04T20:03:47.058Z","dependency_job_id":null,"html_url":"https://github.com/dan10ish/code","commit_stats":null,"previous_names":["dan10ish/code"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan10ish%2Fcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan10ish%2Fcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan10ish%2Fcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan10ish%2Fcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dan10ish","download_url":"https://codeload.github.com/dan10ish/code/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161273,"owners_count":21057555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","ide","javascript","python","reactjs","vscode"],"created_at":"2025-01-04T09:00:36.851Z","updated_at":"2025-04-10T05:07:40.672Z","avatar_url":"https://github.com/dan10ish.png","language":"JavaScript","readme":"# Interactive Code Editor 🚀\n\n[![Live Demo](https://img.shields.io/badge/Live-Demo-brightgreen)](https://code.danish.bio)\n[![GitHub](https://img.shields.io/badge/GitHub-Repository-blue)](https://github.com/dan10ish/code)\n\nA modern, feature-rich online code editor that supports Python, JavaScript, and C++ with real-time output, data visualization, and interactive input capabilities.\n\nPlay around with it [here](https://code.danish.bio).\n\n## ✨ Features\n\n### Multi-Language Support\n\n- 🐍 **Python (≥ 3.9)**\n\n  - Matplotlib integration for data visualization\n  - NumPy for numerical computations\n  - Real-time output display\n  - Dark-themed plots\n  - **Supported Libraries:**\n    - numpy\n    - matplotlib\n    - pandas\n    - scipy\n    - plotly\n    - scikit_learn\n    - sympy\n    - networkx\n\n- 📜 **JavaScript (≥ ES2017)**\n\n  - Interactive input via `prompt()`\n  - Console output capture\n  - Async/await support\n  - Modern APIs\n  - Promises\n  - Real-time execution\n\n- ⚡ **C++ (≥ C++17)**\n  - Standard Template Library (STL)\n  - Standard I/O streams\n  - Interactive input via `std::cin`\n  - File streams support\n  - Modern language features\n  - Remote compilation\n\n### Editor Features\n\n- 🎨 Syntax highlighting\n- 📏 Auto-formatting\n- ↩️ Undo/Redo functionality\n- 📋 Code copying\n- 💾 Code download\n- 🔍 Adjustable font size\n- 🎯 Bracket pair colorization\n- 📱 Mobile-responsive design\n\n### User Interface\n\n- 🌙 Dark mode interface\n- 💻 Monaco Editor integration\n- 🖼️ Modal plot viewer\n- 📊 Interactive console\n- ⌨️ Custom toolbar\n- 🎮 Input/Output handling\n\n## 🛠️ Tech Stack\n\n- React + Vite\n- Monaco Editor\n- Pyodide for Python execution\n- Matplotlib \u0026 NumPy\n- Lucide Icons\n\n## 🚀 Getting Started\n\n1. Clone the repository\n\n```bash\ngit clone https://github.com/dan10ish/code.git\ncd code\n```\n\n2. Install dependencies\n\n```bash\nnpm install\n```\n\n3. Run the development server\n\n```bash\nnpm run dev\n```\n\n4. Build for production\n\n```bash\nnpm run build\n```\n\n## 🌟 Usage\n\n1. Select your preferred programming language (Python, JavaScript, or C++)\n2. Write or paste your code in the editor\n3. Click the \"Run\" button or use the keyboard shortcut to execute\n4. View output in the console panel\n5. For Python plots, click to view in full-screen mode\n\n## 🛠️ Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## 📝 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 👨‍💻 Author\n\n**Danish**\n\n- Website: [danish.bio](https://danish.bio)\n- GitHub: [@dan10ish](https://github.com/dan10ish)\n\n## 🤝 Acknowledgments\n\n- Monaco Editor for the powerful code editing capabilities\n- Pyodide for enabling Python execution in the browser\n- Wandbox for C++ compilation services\n\n---\n\n⭐️ Star this repo if you find it helpful!\n\n[Live Demo](https://code.danish.bio) • [Report Bug](https://github.com/dan10ish/code/issues) • [Request Feature](https://github.com/dan10ish/code/issues)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdan10ish%2Fcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdan10ish%2Fcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdan10ish%2Fcode/lists"}