Open That Repo

February 7, 2025 ยท View on GitHub

A desktop application that helps you quickly locate and open your local Git repositories using their GitHub URLs. If you have multiple Git repositories on your system and can't remember where a specific one is located, simply paste its GitHub URL and let Open That Repo find it for you.

alt text

Features

  • Search for local Git repositories using GitHub URLs
  • Configure custom base directory for Git repositories
  • Quick open in Visual Studio Code
  • User-friendly PyQt6-based interface
  • Persistent settings storage

Requirements

  • Python 3.x
  • PyQt6 (>=6.0.0)
  • Visual Studio Code (for the "Open in VS Code" feature)

Installation

  1. Clone this repository:
git clone https://github.com/yourusername/open-that-repo.git
cd open-that-repo
  1. Install the required dependencies:
pip install -r requirements.txt

Usage

  1. Run the application:
python main.py
  1. Configure your Git base path:

    • Enter the path where you store your Git repositories
    • Click "Save" to persist the setting
  2. Find a repository:

  3. Open in VS Code:

    • Once a repository is found, click "Open in VS Code" to launch it

Configuration

The application stores its settings in ~/.config/open-that-repo/config.json. The main setting is:

  • git_base_path: The base directory where the application searches for Git repositories (defaults to ~/Git)