Alfred GitHub Workflow.
Project description
Welcome to afwf_github Documentation
It is an Alfred Workflow for GitHub operations. There already is a PHP alfred-github-workflow library for this. But the searching is based on Alfred built-in word level filtering, which doesn’t allow any typo, fuzzy, and full text search. This project aims to provide the best searching experience powered by tantivy (via sayt2), a Rust-based full-text search engine.
Install
Make sure you have Alfred 5 + installed and bought the Power Pack.
Go to Release, download the latest release.
Double click the file to install.
Prepare your GitHub Personal Access Token: go to https://github.com/settings/tokens, create a new token, make sure you checked repo -> public_repo, admin:org -> read:org, admin:enterprise -> read:enterprise so the workflow can get your public repo name and url information. If you want to get your private repo as well, you should check repo (Full control of private repositories).
Usage
Configuration.
In Alfred UI, type gh-config, it should open the ~/.alfred-afwf/afwf_github/config.json``
Build Index
In Alfred UI, type gh-rebuild-index, it should start to crawl your GitHub repos. It will take a while to finish. You can check the progress in the ~/.alfred-afwf/afwf_github/.repo_index/
Search GitHub
In Alfred UI, type gh ${query}, it should show the following UI:
Open Git Repo in Browser
Copy any absolute path of a file in any git repo, type gh-view-in-browser ${path} then hit Enter, it should open the repo in browser.
Trouble Shooting
gh ${query} doesn’t show any result.
Check the ${HOME}/.alfred-afwf/afwf_github/ folder, if there’s no folder name equal to your github username(where to store the index), it means the Workflow failed to crawl your GitHub repos. Please double check ${HOME}/.alfred-afwf/afwf_github/config.json to make sure you have the correct GitHub Personal Access Token.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file afwf_github-1.0.1.tar.gz.
File metadata
- Download URL: afwf_github-1.0.1.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e840ff994f6629e0ceb2ee7bd59f6cda79b6cfd7388e4ad08c4ee01f6e5eafb1
|
|
| MD5 |
9392a3b97abffa4feb763a5645016eff
|
|
| BLAKE2b-256 |
01c9105a08a3927003a696f5f81740829b365db983e105887ca2dc4bab419196
|
File details
Details for the file afwf_github-1.0.1-py3-none-any.whl.
File metadata
- Download URL: afwf_github-1.0.1-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b58ec6ca33e9f29a084ae2ae7d881918aeb3eafe94dcf7533cafeb882bcfe67
|
|
| MD5 |
24c02995686ac9a35b4eeb8479a89865
|
|
| BLAKE2b-256 |
8f087e4e578f7c3e208681b86d67858e69bd6816eadbe397d261cdcc654c90f1
|