Grekpro

Gitingest: Simplifying Codebase Extraction from GitHub URLs πŸš€

GitHub Release License Issues

Table of Contents

Overview

Gitingest is a simple tool designed to enhance your workflow when dealing with GitHub repositories. By replacing β€œhub” with β€œingest” in any GitHub URL, you can easily obtain a prompt-friendly extract of a codebase. This tool aims to streamline the process of code ingestion, making it easier for developers and teams to access the information they need quickly.

How It Works

Gitingest operates by intercepting standard GitHub URLs. It modifies the URL to replace β€œhub” with β€œingest,” allowing you to fetch a structured extract of the codebase. This method provides a clear, concise view of the code, making it easier to analyze and understand the project’s structure.

Key Features

Installation

To get started with Gitingest, you need to download the latest release. Visit the Releases page to find the appropriate version for your system. Download the file and execute it to set up Gitingest on your machine.

Usage

Using Gitingest is straightforward. After installation, you can use it from the command line. Here’s how:

  1. Open your terminal.
  2. Enter the modified URL:
    gitingest https://github.com/user/repo
    
  3. Gitingest will process the URL and provide you with a clean extract of the codebase.

Command Line Options

Gitingest supports various command-line options to customize its behavior. Here are some of the most useful options:

Examples

Here are some practical examples of using Gitingest:

Example 1: Basic Usage

To get a simple extract from a repository:

gitingest https://github.com/Grekpro/sample-repo

Example 2: Specifying Output Format

To get the output in JSON format:

gitingest --format json https://github.com/Grekpro/sample-repo

Example 3: Filtering by Language

To filter the extract to only show Python files:

gitingest --language python https://github.com/Grekpro/sample-repo

Contributing

We welcome contributions to Gitingest! If you have ideas for new features, improvements, or bug fixes, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes and commit them (git commit -m 'Add new feature').
  4. Push to the branch (git push origin feature-branch).
  5. Create a pull request.

Please ensure your code adheres to our coding standards and includes appropriate tests.

License

Gitingest is licensed under the MIT License. See the LICENSE file for details.

Contact

For questions, suggestions, or feedback, please reach out via the GitHub issues page or contact me directly at [your-email@example.com].


For the latest updates and releases, visit the Releases page.

Happy coding!