Skip to main content

An AI tool to push files to GitHub repositories

Project description

🚀 GHPush

AI-Powered GitHub Pull Request Creation Tool

PyPI version License: MIT Python 3.8+ Downloads


🌟 Overview

GHPush is an intelligent command-line tool that revolutionizes your GitHub workflow by automating pull request creation. Using the power of AI, it analyzes your changes, generates meaningful PR titles and descriptions, and streamlines your contribution process - all without requiring a GitHub token!

✨ Features

  • 🤖 AI-Powered Summaries: Leverages OpenAI's GPT models to create contextual PR titles and descriptions
  • 🔄 Automated Workflow: Push your branch and open GitHub's PR page in one command
  • 📊 Smart Diff Analysis: Intelligent analysis of your code changes
  • 🔒 No GitHub Token Needed: Works with your local git configuration
  • 🌐 Cross-Platform: Seamless experience on Windows, macOS, and Linux
  • Fallback Mode: Basic summarization when AI is not configured

🚀 Quick Start

Installation Options

📦 Using pip (Recommended)

pip install ghpush

💫 Usage

ghpush --base main

That's it! GHPush will:

  1. 📝 Analyze your changes
  2. 🤖 Generate a PR title and description
  3. 🔄 Push your branch
  4. 🌐 Open the PR creation page

⚙️ Configuration

OpenAI Integration (Required)

Set your OpenAI API key as an environment variable:

# Linux/macOS
export OPENAI_API_KEY=your-api-key-here

# Windows (PowerShell)
$env:OPENAI_API_KEY="your-api-key-here"

🛠 Technical Requirements

🤝 Contributing

We love contributions! Here's how you can help:

  1. 🍴 Fork the repository
  2. 🌿 Create your feature branch
  3. 💻 Make your changes
  4. 🔄 Create a pull request

📝 License

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

🌟 Show Your Support

If you find GHPush useful, please consider:

  • ⭐ Starring the repository
  • 🐛 Reporting issues
  • 🤝 Contributing to the code
  • 📢 Spreading the word

Made with ❤️ by Sukeesh

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ghpush-0.1.5.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ghpush-0.1.5-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file ghpush-0.1.5.tar.gz.

File metadata

  • Download URL: ghpush-0.1.5.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for ghpush-0.1.5.tar.gz
Algorithm Hash digest
SHA256 8b296077acdad9220c0746899a93756d20724ce92f1c189f3ba38e774077345c
MD5 a76d5b85044f1e4a8df7f20ac03d4c06
BLAKE2b-256 df1a0d70ec3f09444503decee2d8c247317c2aabe8f973253f4cb3519f6731ab

See more details on using hashes here.

File details

Details for the file ghpush-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: ghpush-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for ghpush-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1141afb69ad003de7d6420c6afad8b760465072159fbe310782c8d06a60909de
MD5 30739ef4d1a3ceaf882041c6bff07d47
BLAKE2b-256 95a60f8c6fdcd716fd4594660908d07a2b50af41c709a571e0f3de35ed794cb8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page