Labsco
SiddheshDongare logo

GIT-Pilot

โ˜… 4

from SiddheshDongare

A powerful GitHub automation and management tool providing a comprehensive API wrapper for GitHub operations.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeAdvanced setup

MseeP.ai Security Assessment Badge

GIT-Pilot

<div align="center"> <img src="images/logo.jpg" alt="GIT-Pilot Logo" width="200"/> </div>

Python Version License GitHub

<div align="center"> <h3>โญ๏ธ If you find this project helpful, please give it a star! โญ๏ธ</h3> </div>

GIT-Pilot is a powerful GitHub automation and management tool that provides a comprehensive API wrapper for GitHub operations. It simplifies GitHub interactions through a FastMCP-based server, making it easy to manage repositories, pull requests, issues, and more.

๐ŸŒŸ Features

๐Ÿ” Authentication & Security

  • Secure token management with encryption using Fernet
  • Token expiration and automatic cleanup
  • Rate limit handling and automatic retries
  • Configurable authentication timeouts

๐Ÿ“ฆ Repository Management

  • Create and manage repositories
  • Handle branches and commits
  • File operations (create, update, delete)
  • Repository search and filtering
  • Commit comparison and history

๐Ÿ”„ Pull Request Operations

  • Create and manage pull requests
  • Merge strategies (merge, squash, rebase)
  • Status check validation
  • Conflict detection and handling
  • Draft PR support

๐Ÿ“ Issue Management

  • Create and update issues
  • Label management
  • Assignee handling
  • Comment management
  • Issue search and filtering

๐Ÿ›  Technical Features

  • Thread-safe operations
  • Resource management
  • Comprehensive error handling
  • Detailed logging
  • Type safety
  • Configuration management
  • FastMCP server integration

๐Ÿ›ก Security

  • Tokens are encrypted at rest using Fernet
  • Automatic token expiration and cleanup
  • Rate limit protection with retries
  • Input validation
  • Comprehensive error handling
  • Secure token cleanup

๐Ÿ”„ Rate Limiting

The service includes built-in rate limit handling:

  • Automatic retry on rate limit
  • Configurable retry attempts
  • Delay between retries
  • Rate limit status logging
  • Exponential backoff

๐Ÿงช Error Handling

Comprehensive error handling for:

  • Authentication failures
  • API errors
  • Rate limits
  • Invalid inputs
  • Resource conflicts
  • Network issues
  • Token validation
  • File operations

๐Ÿ“ˆ Logging

Detailed logging with:

  • Timestamp
  • Log level
  • Function name
  • Line number
  • Error details
  • Stack traces
  • Rate limit information
  • Token operations

๐Ÿค Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a Pull Request

๐Ÿ“ License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

  • PyGithub for the GitHub API wrapper
  • FastMCP for the server framework
  • Fernet for secure token encryption

Made with โค๏ธ by the GIT-Pilot team