Skip to content

Support GitHub URLs with branch or subdirectory context #164

Open

Description

@naheel0

The current generator assumes a simple repository root URL. Monorepos and branch-specific URLs would benefit from preserving the original context when a user shares a deeper GitHub path.

Proposed scope

  • Accept URLs that include tree/<branch> or nested repository context.
  • Extract repository metadata while keeping branch context available to generation logic.
  • Avoid rejecting valid GitHub repository URLs that are not root-only.

Acceptance criteria

  • Valid GitHub URLs with branch context are accepted.
  • The generator still resolves the correct repository owner and name.
  • Invalid non-repository GitHub paths continue to fail cleanly.

Activity

  1. added
    ci/cdAutomated workflows for building, testing, and deploying code.
    enhancementNew feature or request
    area: backendRelated to Next.js API routes or Octokit/GitHub API.
    typescriptType definition fixes, interfaces, or TS configuration.
    on May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: backendRelated to Next.js API routes or Octokit/GitHub API.ci/cdAutomated workflows for building, testing, and deploying code.enhancementNew feature or requesttypescriptType definition fixes, interfaces, or TS configuration.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions