|
Download README.md from SyedTahir/STHASI-Code-Review-Assistant: direct link, hf CLI and curl.
- Browser
- Download file 2.99 kB
-
https://huggingface.co/spaces/SyedTahir/STHASI-Code-Review-Assistant/resolve/main/README.md
- Command line
-
hf download hf://spaces/SyedTahir/STHASI-Code-Review-Assistant/README.md
-
curl -L -o README.md https://huggingface.co/spaces/SyedTahir/STHASI-Code-Review-Assistant/resolve/main/README.md
2.99 kB
| license: apache-2.0 | |
| title: STHASI Code Review Assistant | |
| emoji: π» | |
| colorFrom: blue | |
| colorTo: purple | |
| sdk: gradio | |
| sdk_version: 5.49.1 | |
| π STHASI Code Review Assistant | |
| An AI-powered code review assistant that analyzes code quality, detects security vulnerabilities, and suggests improvements. | |
| π Features | |
| Code Quality Analysis: Evaluate code structure, readability, and best practices | |
| Security Vulnerability Detection: Identify SQL injection, XSS, authentication flaws, and more | |
| Improvement Suggestions: Get performance optimizations and refactoring recommendations | |
| Bug Detection: Find logic errors, edge cases, and potential issues | |
| Multi-Language Support: Python, JavaScript, Java, C++, Go, Rust, PHP, and more | |
| π Technology Stack | |
| Model: Qwen2.5-Coder-7B-Instruct (State-of-the-art code understanding) | |
| Framework: Gradio 5.49.1 | |
| Platform: Hugging Face Spaces | |
| π¦ Installation | |
| For Hugging Face Spaces Deployment: | |
| Create a new Space on Hugging Face | |
| Choose "Gradio" as the SDK | |
| Upload the following files: | |
| app.py | |
| requirements.txt | |
| README.md | |
| Set the Space to use GPU (recommended: T4 or A10G) | |
| For Local Development: | |
| # Clone the repository | |
| git clone <your-repo-url> | |
| cd sthasi-code-review-assistant | |
| # Install dependencies | |
| pip install -r requirements.txt | |
| # Run the application | |
| python app.py | |
| π― Usage | |
| Paste your code in the code editor | |
| Select the programming language | |
| Choose analysis type: | |
| Full Analysis (Quality + Security + Improvements) | |
| Security Vulnerabilities Only | |
| Code Quality & Improvements | |
| Bug Detection | |
| Click "Analyze Code" and get comprehensive feedback | |
| π Supported Languages | |
| Python | |
| JavaScript | |
| Java | |
| C/C++ | |
| C# | |
| Go | |
| Rust | |
| PHP | |
| Ruby | |
| TypeScript | |
| SQL | |
| Bash | |
| Kotlin | |
| Swift | |
| π§ Advanced Settings | |
| Temperature: Control response creativity (0.1-1.0) | |
| Max Tokens: Set maximum analysis length (512-4096) | |
| π Analysis Types | |
| π Full Analysis | |
| Comprehensive review covering code quality, security, and improvements | |
| π‘οΈ Security Vulnerabilities Only | |
| Focused security analysis with severity ratings and CVE references | |
| β¨ Code Quality & Improvements | |
| Evaluation of code structure, performance, and best practices | |
| π Bug Detection | |
| Identification of syntax errors, logic errors, and edge case failures | |
| β οΈ Important Notes | |
| This is an AI-powered tool. Always verify critical security findings with manual review | |
| The tool provides suggestions based on best practices and common vulnerabilities | |
| For production systems, consult with security experts for comprehensive audits | |
| π€ Contributing | |
| Contributions are welcome! Please feel free to submit issues or pull requests. | |
| π Contact | |
| Syed Tahir Hussan | |
| LinkedIn: syedtahirhussan | |
| GitHub: SyedTahirHussan | |
| π License | |
| This project is open source and available under the MIT License. | |
| π Acknowledgments | |
| Powered by Qwen2.5-Coder-7B-Instruct | |
| Built with Gradio | |
| Hosted on Hugging Face Spaces | |
| Built with β€οΈ by Syed Tahir Hussan | |
| Made with β€οΈ for the developer community |