{"id":30107098,"url":"https://github.com/hari7261/codemaster-llm","last_synced_at":"2025-08-10T01:33:34.884Z","repository":{"id":302809926,"uuid":"1013689251","full_name":"hari7261/CodeMaster-LLM","owner":"hari7261","description":"Code helper application built with Streamlit that combines a live code editor, terminal execution, and AI-powered assistance for multiple programming languages.","archived":false,"fork":false,"pushed_at":"2025-07-04T10:01:09.000Z","size":216,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-04T11:19:24.460Z","etag":null,"topics":["agentic-project","ai-agent","ai-code-generator","ai-project","code-generation","code-generator","deepseek","generative-ai","hari7261","llm","llm-models","ollama","programmer-tool"],"latest_commit_sha":null,"homepage":"","language":"Python","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/hari7261.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,"zenodo":null}},"created_at":"2025-07-04T09:56:21.000Z","updated_at":"2025-07-04T10:03:58.000Z","dependencies_parsed_at":"2025-07-04T11:29:46.324Z","dependency_job_id":null,"html_url":"https://github.com/hari7261/CodeMaster-LLM","commit_stats":null,"previous_names":["hari7261/codemaster-llm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hari7261/CodeMaster-LLM","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hari7261%2FCodeMaster-LLM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hari7261%2FCodeMaster-LLM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hari7261%2FCodeMaster-LLM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hari7261%2FCodeMaster-LLM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hari7261","download_url":"https://codeload.github.com/hari7261/CodeMaster-LLM/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hari7261%2FCodeMaster-LLM/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269663405,"owners_count":24455804,"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","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["agentic-project","ai-agent","ai-code-generator","ai-project","code-generation","code-generator","deepseek","generative-ai","hari7261","llm","llm-models","ollama","programmer-tool"],"created_at":"2025-08-10T01:33:32.623Z","updated_at":"2025-08-10T01:33:34.847Z","avatar_url":"https://github.com/hari7261.png","language":"Python","readme":"# 🚀 CodeMaster-LLM\r\n\r\nAn intelligent code helper application built with Streamlit that combines a live code editor, terminal execution, and AI-powered assistance for multiple programming languages.\r\n\r\n## ✨ Features\r\n\r\n- **📝 Interactive Code Editor** - Syntax highlighting for Python, JavaScript, Java, C++, and Go\r\n- **⚡ Live Code Execution** - Run Python code instantly with real-time output\r\n- **🤖 AI Assistant** - Get intelligent help with coding questions and debugging\r\n- **💬 Chat Interface** - Persistent conversation history with context awareness\r\n- **🔧 Terminal Integration** - Execute code with proper error handling and timeout protection\r\n- **🎛️ Customizable Settings** - Toggle between explanation modes and clear chat history\r\n\r\n## 🖼️ Screenshots\r\n\r\n### Main Interface\r\n![CodeMaster-LLM Interface](/Screenshot%202025-07-04%20152428.png)\r\n*Clean and intuitive interface with code editor, terminal, and chat*\r\n\r\n### AI Assistant in Action\r\n![AI Assistant](/Screenshot%202025-07-04%20152453.png)\r\n*Structured responses with analysis, code fixes, and explanations*\r\n\r\n## 🛠️ Installation\r\n\r\n1. **Clone the repository**\r\n```bash\r\ngit clone https://github.com/hari7261/CodeMaster-LLM.git\r\ncd CodeMaster-LLM\r\n```\r\n\r\n2. **Install dependencies**\r\n```bash\r\npip install -r requirements.txt\r\n```\r\n\r\n3. **Install Ollama** (for AI functionality)\r\n   - Download from [ollama.ai](https://ollama.ai)\r\n   - Install the required model:\r\n```bash\r\nollama pull gemma3\r\n```\r\n\r\n4. **Run the application**\r\n```bash\r\nstreamlit run app.py\r\n```\r\n\r\n## 📋 Requirements\r\n\r\nCreate a `requirements.txt` file with:\r\n```\r\nstreamlit\u003e=1.46.0\r\nollama\u003e=0.5.0\r\nstreamlit-code-editor\u003e=0.1.22\r\n```\r\n\r\n## 🚀 Usage\r\n\r\n1. **Code Editor**: Write your code in the left panel with syntax highlighting\r\n2. **Run Code**: Click \"Run Code\" to execute Python scripts in the terminal\r\n3. **AI Chat**: Ask questions about programming, get code fixes, and explanations\r\n4. **Settings**: Toggle explanation modes and manage chat history\r\n\r\n## 🎯 AI Response Structure\r\n\r\nThe AI provides structured responses:\r\n\r\n### Explain Mode ON:\r\n- **Analysis**: Problem identification\r\n- **Explanation**: What's wrong and why\r\n- **Code**: Clean solution with minimal comments\r\n- **Implementation**: How the fix works\r\n- **Summary**: Key takeaways\r\n\r\n### Explain Mode OFF:\r\n- **Problem**: Quick issue identification\r\n- **Code**: Direct solution\r\n- **Summary**: Brief explanation\r\n\r\n## 🔧 Configuration\r\n\r\n- **Python Path**: Automatically detects your Python installation\r\n- **Timeout**: 10-second execution limit for safety\r\n- **Languages**: Support for Python execution (others for syntax highlighting)\r\n- **AI Model**: Uses Gemma3 via Ollama\r\n\r\n## 📂 Project Structure\r\n\r\n```\r\nCodeMaster-LLM/\r\n├── app.py              # Main Streamlit application\r\n├── requirements.txt    # Python dependencies\r\n├── README.md          # Project documentation\r\n├── screenshot1.png    # Interface screenshot\r\n└── screenshot2.png    # AI assistant screenshot\r\n```\r\n\r\n## 🤝 Contributing\r\n\r\n1. Fork the repository\r\n2. Create a feature branch (`git checkout -b feature/AmazingFeature`)\r\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\r\n4. Push to the branch (`git push origin feature/AmazingFeature`)\r\n5. Open a Pull Request\r\n\r\n## 📝 License\r\n\r\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\r\n\r\n## 🙏 Acknowledgments\r\n\r\n- **Streamlit** - For the amazing web framework\r\n- **Ollama** - For local AI model execution\r\n- **streamlit-code-editor** - For the code editor component\r\n\r\n## 📧 Contact\r\n\r\n**Hariom Kumar** - [@hari7261](https://github.com/hari7261)\r\n\r\nProject Link: [https://github.com/hari7261/CodeMaster-LLM](https://github.com/hari7261/CodeMaster-LLM)\r\n\r\n---\r\n\r\n⭐ If you found this project helpful, please give it a star!\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhari7261%2Fcodemaster-llm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhari7261%2Fcodemaster-llm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhari7261%2Fcodemaster-llm/lists"}