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.
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.
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.
Using Gitingest is straightforward. After installation, you can use it from the command line. Hereβs how:
gitingest https://github.com/user/repo
Gitingest supports various command-line options to customize its behavior. Here are some of the most useful options:
--format
: Specify the output format (e.g., JSON, XML).--depth
: Control the level of detail in the output.--language
: Filter the output by programming language.Here are some practical examples of using Gitingest:
To get a simple extract from a repository:
gitingest https://github.com/Grekpro/sample-repo
To get the output in JSON format:
gitingest --format json https://github.com/Grekpro/sample-repo
To filter the extract to only show Python files:
gitingest --language python https://github.com/Grekpro/sample-repo
We welcome contributions to Gitingest! If you have ideas for new features, improvements, or bug fixes, please follow these steps:
git checkout -b feature-branch
).git commit -m 'Add new feature'
).git push origin feature-branch
).Please ensure your code adheres to our coding standards and includes appropriate tests.
Gitingest is licensed under the MIT License. See the LICENSE file for details.
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!