Skip to content

Feature Request: Allow GitHub mirrors and other platforms for repository import #97

Description

@Milor123

Description:
I am opening this issue to request an enhancement for the repository import feature. Currently, when I try to paste the URL of a GitHub mirror, the extension rejects it and throws a message saying that it "only supports GitHub links".

Could you please add an option to allow GitHub mirror URLs (or just relax the domain validation)?

Image

Context & Use Case:
In my country, my ISP often heavily throttles standard GitHub connections, resulting in absurdly slow download speeds. A repository that should normally take 5 seconds to download can end up taking hours. My usual and straightforward solution for this is to use a GitHub mirror, which works perfectly and restores normal speeds.

The Problem:
Because your extension strictly validates the URL to be from github.com, I am completely blocked from using my mirror workaround, even though the mirror's repository structure and download process should work exactly the same way.

Additionally, I imagine this strict URL limitation also prevents users from importing repositories from other major Git platforms like GitLab or Bitbucket.

Proposed Solution:

  • Add a toggle or option to bypass the GitHub-only link restriction so we can use mirrors.
  • (Bonus) Officially support URLs from other platforms like GitLab.

Thanks for your time and for considering this request!


Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions