An AI-powered GitHub repository analyzer that automatically detects bugs and suggests improvements using Hugging Face's AI models.
- Automated Code Analysis: Scans GitHub repositories for bugs and potential improvements
- AI-Powered Suggestions: Uses Hugging Face models to generate intelligent code recommendations
- Automated Fixes: Can automatically create pull requests with suggested fixes
- Multi-Language Support: Works with JavaScript, Python, and Go repositories
- Priority-based Issues: Categorizes issues by severity (high, medium, low)

- Frontend: React + TypeScript + Vite
- Backend: Node.js + Express
- AI Integration: Hugging Face API
- GitHub Integration: Probot
- Styling: Tailwind CSS
- Node.js 18 or higher
- npm or yarn
- GitHub account
- Hugging Face API token
- Clone the repository:
git clone https://github.com/yourusername/Scriptocol.git
cd Scriptocol- Install dependencies:
npm run install-all- Set up environment variables:
cp .env.example .envEdit .env and add your:
- GitHub Token
- Hugging Face Token
- Webhook Secret
- Start the development server:
npm run dev- Open the web interface at
http://localhost:5173 - Enter a GitHub repository URL
- Choose analysis type (bugs or improvements)
- View results and apply suggested fixes
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Hugging Face for AI models
- GitHub for repository access
- The open-source community