{"id":20153261,"url":"https://github.com/pmutua/codecraftgpt","last_synced_at":"2025-04-09T21:32:58.984Z","repository":{"id":207095182,"uuid":"718083424","full_name":"pmutua/CodeCraftGPT","owner":"pmutua","description":"A web app with a suite of AI-driven tools for intelligent code refactoring, style checking, test case generation, and cross-language translation, built with Python, Streamlit, and OpenAI.","archived":false,"fork":false,"pushed_at":"2023-12-29T08:46:22.000Z","size":2360,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T23:26:46.618Z","etag":null,"topics":["chatgpt","chatgpt-api","generative-ai","langchain","openai","openai-api","prompt-engineering","python","python-project","python3","streamlit","streamlit-application","streamlit-option-menu","streamlit-web","streamlit-webapp"],"latest_commit_sha":null,"homepage":"https://codecraftgpt.streamlit.app/","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/pmutua.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}},"created_at":"2023-11-13T10:45:28.000Z","updated_at":"2025-01-29T08:26:51.000Z","dependencies_parsed_at":"2023-11-30T12:24:40.599Z","dependency_job_id":"39ef6c74-83cc-47d6-b0ef-d9285357709f","html_url":"https://github.com/pmutua/CodeCraftGPT","commit_stats":null,"previous_names":["pmutua/codecraftgpt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmutua%2FCodeCraftGPT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmutua%2FCodeCraftGPT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmutua%2FCodeCraftGPT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmutua%2FCodeCraftGPT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmutua","download_url":"https://codeload.github.com/pmutua/CodeCraftGPT/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248114919,"owners_count":21050142,"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":["chatgpt","chatgpt-api","generative-ai","langchain","openai","openai-api","prompt-engineering","python","python-project","python3","streamlit","streamlit-application","streamlit-option-menu","streamlit-web","streamlit-webapp"],"created_at":"2024-11-13T23:17:51.501Z","updated_at":"2025-04-09T21:32:58.965Z","avatar_url":"https://github.com/pmutua.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodeCraftGPT\n\u003cimg src=\"./logo.png\" alt=\"CodecraftGPT\" width=\"200\"\u003e\n\u003cbr\u003e\nCodeCraft GPT is an innovative, all-in-one platform harnessing the power of advanced Language Models (OpenAI). It seamlessly integrates four key components to elevate the coding experience for developers.\n\n## Demo \n\n![CodeCraftGPT Demo](demo.gif)\n\n## Prerequisites\n\nBefore using this application, ensure you have the following prerequisites in place:\n\n1. **Python:**\n    - This project requires **Python 3.8 \u003e= 3.11.** Ensure you have Python installed on your system.\n    - You can download Python from the [official Python website](https://www.python.org/downloads/).\n\u0026nbsp;\n2. **OpenAI API Key:**\n   - To access certain features and functionalities, you'll need a valid [OpenAI API key](https://platform.openai.com/api-keys).\n   - If you don't have an API key, you can obtain one by following the instructions on the [OpenAI platform](https://platform.openai.com/signup).\n\u0026nbsp;\n3. **LangChain:**\n    - LangChain is a framework designed to simplify the creation of applications using large language models. As a language model integration framework, LangChain's use-cases largely overlap with those of language models in general, including document analysis and summarization, chatbots, and code analysis. Learn about [LangChain](https://python.langchain.com/).\n\u0026nbsp;\n4. **Streamlit:**\n    - Streamlit is a free and open-source framework to rapidly build and share beautiful machine learning and data science web apps. It is a Python-based library specifically designed for machine learning engineers. Learn about [Streamlit](https://streamlit.io/). [Installation requirements](https://docs.streamlit.io/library/get-started/installation)\n\u0026nbsp;\n5. **Streamlit-Option-Menu:**\n    - streamlit-option-menu is a simple Streamlit component that allows users to select a single item from a list of options in a menu. It is similar in function to st. selectbox(), except that: It uses a simple static list to display the options instead of a dropdown. Learn about [Streamlit-Option-Menu](https://github.com/victoryhb/streamlit-option-menu#:~:text=streamlit%2Doption%2Dmenu-,streamlit%2Doption%2Dmenu%20is%20a%20simple%20Streamlit%20component%20that%20allows,options%20instead%20of%20a%20dropdown).\n\n## How to Set Up the Project Locally\n\nFollow these steps to set up the project:\n\n1. Navigate to your workspace\n2. Create a virtual environment by running: `python -m venv env`\n3. Activate your virtual environment based on your operating system:\n\n    ```shell\n    #Windows\n    env/Scripts/activate\n\n    #Linux or MacOS\n    source env/bin/activate\n    ```\n\n4. Install dependencies by running the command:\n    \u0026nbsp;\n    `pip install -r requirements.txt`\n    \u0026nbsp;\n\n5. Run the application using the following command:\n    \u0026nbsp;\n    `streamlit run main.py`\n\nEnsure you follow these steps to successfully set up and run the project. You're ready to explore the full capabilities of our AI-powered development tools.\n\n## Key Features\n\n### RefactorRite (Code Refactoring Advisor) 💡\n\nLeverage AI-driven code analysis and automated refactoring to enhance code readability, boost performance, and improve maintainability. RefactorRite suggests intelligent refinements and even automates the refactoring process, allowing developers to focus on building robust software.\n\n### StyleSculpt (Code Style Checker) 🎨\n\nEnsure code quality and adherence to coding standards with StyleSculpt. This AI tool provides feedback on coding style, offering suggestions for improvement. By enforcing best practices, StyleSculpt enhances code quality and consistency.\n\n### TestGenius (Code Testing and Test Case Generation) 🧪\n\nEmpower developers to create reliable and comprehensive test suites effortlessly. TestGenius uses AI to generate test cases for code snippets, functions, or classes, fostering correctness and enhancing test coverage. This accelerates the development cycle while ensuring robust software quality.\n\n### LangLink (Code Translation and Cross-Language Compatibility) 🌐\n\nOvercome language barriers with LangLink, an AI-powered tool facilitating smooth code translation between programming languages. Developers can confidently migrate codebases, ensuring compatibility and seamless transitions across different languages.\n\n\u003c!-- ## Examples\n\nwe will Provide code examples or usage scenarios to help users understand how to use the project in real-world situations.[if any] --\u003e\n\n\u003c!-- ## Contributing\n\nwe will explain how others can contribute to the project, including guidelines for reporting issues or submitting pull requests. --\u003e\n\n\u003c!-- ## Testing\n\nWe will outline any testing procedures or instructions for users to validate the project. --\u003e\n\n\u003c!-- ## License\n\nwe will clearly state the project's license, providing information on how others can use, modify, and distribute the code. --\u003e\n\n\u003c!-- ## Acknowledgments\n\nWe will give credit to contributors, libraries, or tools that have been instrumental in the development of the project. --\u003e\n\n\u003c!-- ## Contact Information\n\nwe will provide ways for users to contact the project lead or maintainers. --\u003e\n\n\u003c!-- ## FAQs (Frequently Asked Questions):\n\nsection for common questions and answers to address potential issues or concerns. --\u003e\n\n\u003c!-- ## Changelog\n\nLog of changes made to the project, including version updates and release notes. --\u003e\n\n\u003c!-- ## Additional Resources\n\nLink to any external documentation, tutorials, or related resources that can help users understand or extend the project. --\u003e\n\n## Technologies Used\n\n1. [Python](https://www.python.org/downloads/)\n2. [OpenAI](https://platform.openai.com)\n3. [LangChain](https://python.langchain.com/)\n4. [StreamLit](https://streamlit.io/)\n\n## Members\n\n### Core Team\n\n- **[Philip Mutua](https://github.com/pmutua)**\n  - Role: Team Lead and Developer\n\n- **[Tusiime Ronald](https://github.com/tron66)**\n  - Role: Developer\n\n- **[Harrison Wachira](https://github.com/hnjogu)**\n  - Role: Developer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmutua%2Fcodecraftgpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmutua%2Fcodecraftgpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmutua%2Fcodecraftgpt/lists"}