Skip to content

Feature Request: Add Support for GitHub Enterprise Server Instances #333

@cbjuan

Description

@cbjuan

Summary

Request to add compatibility for GitHub Enterprise Server instances that use custom domains (e.g., github.<company>.com, github.<company>.xxx) to enable gitingest functionality for organizations using on-premises or private GitHub Enterprise deployments.

Background

GitHub Enterprise Server is a self-hosted version of GitHub that many organizations use for their internal repositories. These instances typically use custom domains like:

  • github.company.com
  • github.acme.corp
  • git.company.internal
  • github.enterprise.org

Currently, gitingest appears to only support repositories hosted on github.com, which limits its usefulness for organizations that host their code on GitHub Enterprise Server instances.

Use Case

As a developer working with GitHub Enterprise Server, I would like to:

  1. Use gitingest to analyze repositories hosted on our enterprise instance
  2. Generate prompt-friendly text digests from private enterprise repositories
  3. Use both the CLI tool and web interface with enterprise repositories

Current Behavior

  • ✅ Works: https://github.com/user/repo
  • ❌ Doesn't work: https://github.company.com/user/repo

Proposed Solution

URL Pattern Recognition (simplest case possible)

Enhance gitingest to recognize and handle GitHub Enterprise URLs by:

  • Detecting URLs that match the pattern github.*
  • Supporting authentication for private enterprise repositories

Example Usage

CLI

# Current (github.com)
gitingest https://github.com/user/repo

# Proposed (enterprise)
gitingest https://github.company.com/user/repo
# or (typically the GitHub Enterprise require always tokens)
gitingest https://github.company.com/user/repo --token $GHE_PAT_ENTERPRISE

Benefits

  • Enables gitingest usage for the many organizations using GitHub Enterprise Server
  • Maintains compatibility with existing github.com functionality
  • Opens up the tool to enterprise developers who need to generate LLM-friendly code context from private repositories

Thank you for considering this feature request! This would greatly enhance gitingest's utility for enterprise users.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions