rossmacarthur / github.alfredworkflow

:octocat: Alfred workflow to search GitHub repositories

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

github.alfredworkflow

Build Status Latest release

:octocat: Alfred workflow to search GitHub repositories.

Screenshot

Features

  • List repositories for any configured users and/or organizations.
  • Open the selected repository in your browser.
  • Blazingly fast 🤸.

📦 Installation

Pre-packaged

Grab the latest release from the releases page.

Because the release contains an executable binary later versions of macOS will mark it as untrusted and Alfred won't be able to execute it. You can run the following to explicitly trust the release before installing to Alfred.

xattr -c ~/Downloads/github-*-apple-darwin.alfredworkflow

Building from source

This workflow is written in Rust, so to install it from source you will first need to install Rust and Cargo using rustup. Then install powerpack. Then you can run the following to build an .alfredworkflow file.

git clone https://github.com/rossmacarthur/github.alfredworkflow.git
cd github.alfredworkflow
powerpack package

The release will be available at target/workflow/github.alfredworkflow.

Configuration

You can configure the users and organizations from which the list of repositories is fetched for by setting the following environment variables.

Name Example Description
GITHUB_TOKEN ghp_pv7K2GA... GitHub personal access token with repo and read:org scopes
GITHUB_USERS rossmacarthur Comma separated list of GitHub users
GITHUB_ORGS extractions,rust-lang Comma separated list of GitHub organizations

License

This project is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.

About

:octocat: Alfred workflow to search GitHub repositories

License:Apache License 2.0


Languages

Language:Rust 100.0%