Skip to content

Repository files navigation

Scriptocol

An AI-powered GitHub repository analyzer that automatically detects bugs and suggests improvements using Hugging Face's AI models.

Features

  • 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) Screenshot 2025-04-09 045526

Tech Stack

  • Frontend: React + TypeScript + Vite
  • Backend: Node.js + Express
  • AI Integration: Hugging Face API
  • GitHub Integration: Probot
  • Styling: Tailwind CSS

Getting Started

Prerequisites

  • Node.js 18 or higher
  • npm or yarn
  • GitHub account
  • Hugging Face API token

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/Scriptocol.git
cd Scriptocol
  1. Install dependencies:
npm run install-all
  1. Set up environment variables:
cp .env.example .env

Edit .env and add your:

  • GitHub Token
  • Hugging Face Token
  • Webhook Secret
  1. Start the development server:
npm run dev

Usage

  1. Open the web interface at http://localhost:5173
  2. Enter a GitHub repository URL
  3. Choose analysis type (bugs or improvements)
  4. View results and apply suggested fixes

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Hugging Face for AI models
  • GitHub for repository access
  • The open-source community

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages