Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ghall89/alfred-git-workflow
An Alfred workflow for listing local git repositories
https://github.com/ghall89/alfred-git-workflow
alfred alfred-workflow git go
Last synced: 1 day ago
JSON representation
An Alfred workflow for listing local git repositories
- Host: GitHub
- URL: https://github.com/ghall89/alfred-git-workflow
- Owner: ghall89
- Created: 2024-04-15T22:42:57.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-17T22:44:04.000Z (7 months ago)
- Last Synced: 2024-04-17T23:37:06.365Z (7 months ago)
- Topics: alfred, alfred-workflow, git, go
- Language: Go
- Homepage:
- Size: 1.32 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Git Repos
## About
An Alfred workflow for listing all git repos in a directory (including sub-directories).
Inspired by the [git-repos Raycast extension](https://github.com/raycast/extensions/tree/main/extensions/git-repos)
## Installation
Download the latest version from [releases](https://github.com/ghall89/alfred-git-workflow/releases/). When downloaded, unzip then double-click the file `Git Repos.alfredworkflow`, and follow the prompts to install and configure the Workflow to your preferences.
## Usage
When Alfred is active, type `repo`, and you'll get a list of all the repos inside the directory you chose during the installation process. You can continue to type to search for a specific repo.
When a result is highlighted:
- Pressing the right arrow key will bring up the standard Alfred folder actions.
- Pressing return/enter will trigger the default "open in" action you selected during installation.
## Go
This workflow's custom logic is handled by a simple utility I wrote in Go. The utility is compiled for performance and ease of use - you don't need Go installed on your machine to use it. However, I've included the source code for the utility in `src/getRepos` for anybody who is curious.