Giter Site home page Giter Site logo

gitpilotai's Introduction

GitPilotAI πŸš€

Welcome to GitPilotAI! This is not just another Git tool; it's your AI-powered assistant for handling Git operations with a sprinkle of fun and efficiency. πŸ€–βœ¨

What is GitPilotAI? πŸ€”

GitPilotAI is a command-line tool that brings a new spin to your Git experience. Crafted in Go, it leverages AI to automate several Git tasks, streamlining your workflow and adding a bit of joy to your day-to-day dev tasks.

Key Features 🌟

  • AI-Generated Commit Messages: Let AI take the wheel for your commit messages, based on your code changes.
  • Automated Staging: Stages your changes intelligently, while smartly excluding binaries.
  • Flexible and Context-Aware: Runs in any directory, adapting to your project's context.
  • Fun and Engaging CLI: Git operations with a touch of cheerfulness!

Getting Started πŸš€

Prerequisites

  • Go (version 1.20 or newer).
  • Git installed and configured on your machine.

Installation

For Mac Users

  1. Clone the repository:

    git clone https://github.com/yourusername/GitPilotAI.git
  2. Navigate to the directory:

    cd GitPilotAI
  3. Build the binary:

    go build -o gitpilotai
  4. Move the binary to a location in your PATH (e.g., /usr/local/bin):

    mv gitpilotai /usr/local/bin/

For Windows Users

  1. Clone the repository in Git Bash or Command Prompt:

    git clone https://github.com/yourusername/GitPilotAI.git
  2. Navigate to the directory:

    cd gitpilotai
  3. Build the binary:

    go build -o gitpilotai
  4. Add the directory to your system PATH, or move the .exe file to a directory already in your PATH.

Building and Installing with Makefile πŸ› οΈ

GitPilotAI includes a Makefile for easy building and installation. This tool automates the compilation and installation process with just a few commands.

Prerequisites for Using Makefile

  • Ensure you have make installed on your system. Most Unix-like systems, including Linux and macOS, come with make pre-installed.
  • You should have Go installed and properly set up to compile the source code.

How to Use the Makefile

  1. Build the Binary:

    • To compile the source code into a binary, simply run:
      make
    • This command executes the default target in the Makefile, which builds the gitpilotai binary.
  2. Install the Binary:

    • To install the binary to your system (specifically to /usr/bin/), run:
      sudo make install
    • This command requires sudo privileges as it writes to a system directory.

What Does the Makefile Do?

  • Build Target: The build target compiles the Go source code and generates an executable named gitpilotai.
  • Install Target: The install target moves the gitpilotai binary to /usr/bin/, making it accessible system-wide.

Customization

  • If you wish to change the installation path or modify the build process, you can edit the Makefile according to your needs.

Note

  • The Makefile is designed for Unix-like systems. If you're using Windows, you'll need a different method for building and installing the application.

Usage

Just run GitPilotAI in your Git repository:

gitpilotai generate

This will:

  • Automatically stage your changes (excluding binaries).
  • Generate an AI-crafted commit message.
  • Commit the changes.

Customization

Dive into the code to tailor GitPilotAI to your preferences. You can adjust the AI model, staging logic, or enhance the CLI outputs.

Upcoming Improvements 🚧

  • Pull Request Management: Streamlining PR workflows.
  • Change Impact Assessment: Insights on the impact of code changes.
  • Release Notes Generation: Automate your release notes creation.

Contributing 🀝

Contributions are welcome! Whether it's bug fixing, feature additions, or documentation improvements, your input is valuable.

Feedback and Support πŸ“’

Encounter an issue or have an idea? Feel free to open an issue or start a discussion. Your feedback fuels GitPilotAI's evolution!


Enjoy coding with GitPilotAI! Let's make Git both fun and efficient! πŸŽ‰πŸ’»

gitpilotai's People

Contributors

ksred avatar

Stargazers

Jan WΓ€chter avatar Grafaffel avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.