How imamulkadir/repolauncher works
Purpose and Entry Points
Repo Launcher is a Windows desktop utility for browsing repositories under a configured root and opening selected paths in IntelliJ IDEA. The source entry point is RepoLa.py; packaged execution is defined by RepoLauncher.spec, producing a standalone Windows executable.
Application Shell and UI
The application is a PySide6 desktop GUI with a frameless dark window, custom title bar, search input, repository tree, status display, action buttons, and settings drawer. UI state drives selected paths, active browse mode, search text, and enabled actions. The primary implementation is consolidated in RepoLa.py.
Persistent Configuration Boundary
At startup, the application loads or creates %APPDATA%\RepoIdeaLauncher\config.json. Configuration supplies the repository root_path and IntelliJ idea_path; settings edits update the persisted values and should refresh filesystem-backed views. Defaults target C:\Projects and a conventional IntelliJ installation path. Configuration handling resides in RepoLa.py.
Repository Browsing Model
Folders mode presents the configured root’s top-level repositories and supports drilling into immediate subfolders. The tree is lazy-loaded: child directories are scanned only when a user expands a node, keeping initial filesystem work bounded by the root listing. The custom tree rendering and directory traversal logic are in RepoLa.py.
Search and Files Mode
Search input filters repository names in folder browsing and supports recursive discovery of files and folders in Files mode. Input is debounced to avoid repeated expensive scans while typing. This establishes a key performance boundary: immediate/lazy directory enumeration for tree browsing versus recursive traversal for global file search. Both mode switching and filtering are implemented in RepoLa.py.
Selection and Launch Actions
Selecting an item exposes its full path in the status area and enables actions: open in Windows Explorer, copy the path to the clipboard, or launch it in IntelliJ. Double-click and Enter are alternate launch triggers. The launch boundary invokes the configured external idea64.exe; Explorer and clipboard operations use Windows/PySide integration. Action orchestration is in RepoLa.py.
Runtime and Packaging
The supported runtime is Windows with Python 3.10+ and PySide6. RepoLauncher.spec is the PyInstaller packaging definition; version_info.txt provides executable version metadata. The application is intended to run either directly through RepoLa.py or as the generated RepoLauncher.exe.
Main entry points: RepoLa.py Frameless app shell · RepoLauncher.spec PyInstaller spec · version_info.txt Version metadata
Components 15
Desktop UI
- Frameless app shell · Hosts title bar, status area, actions, and settings drawer.
RepoLa.py - UI state · Tracks selection, mode, search text, and action availability.
RepoLa.py - Settings drawer · Edits repository root and IntelliJ path.
RepoLa.py - Search and mode controls · Debounces input and switches between Folders and Files modes.
RepoLa.py - Repository tree · Renders repositories and expandable directory nodes.
RepoLa.py
Application Core
- RepoLa application · Desktop application implementation and runtime entry point.
RepoLa.py - Persistent config · Stores root_path and idea_path under %APPDATA%.
RepoLa.py - Directory browser · Lists root repositories and lazy-loads expanded child directories.
RepoLa.py - Recursive file search · Traverses files and folders only in Files mode.
RepoLa.py - Selection actions · Launches IntelliJ, opens Explorer, and copies selected paths.
RepoLa.py
Windows & Distribution
- Windows integrations · Filesystem, Explorer, clipboard, and external process integration.
RepoLa.py - IntelliJ IDEA · Configured idea64.exe receives selected paths.
- PyInstaller spec
RepoLauncher.spec - Version metadata
version_info.txt - RepoLauncher.exe · Packaged standalone application.
Connections 19
- RepoLa application → Frameless app shell: creates
- RepoLa application → Persistent config: loads or creates
- Persistent config → Settings drawer: supplies and persists values
- Frameless app shell → UI state: hosts
- Frameless app shell → Search and mode controls: contains
- Frameless app shell → Repository tree: contains
- UI state → Selection actions: enables selected-path actions
- Search and mode controls → Directory browser: Folders mode filters
- Search and mode controls → Recursive file search: Files mode triggers
- Persistent config → Directory browser: provides root path
- Directory browser → Repository tree: supplies lazy-loaded directories
- Recursive file search → Repository tree: supplies recursive results
- Repository tree → UI state: updates selection
- Selection actions → Windows integrations: opens Explorer and copies paths
- Selection actions → IntelliJ IDEA: launches selected path
- Persistent config → IntelliJ IDEA: provides executable path
- PyInstaller spec → RepoLauncher.exe: builds
- Version metadata → PyInstaller spec: version metadata
- RepoLauncher.exe → RepoLa application: packages runtime