CLI tool for searching github organization repositories using fzf
Project description
gituhubu
CLI tool for speeding up searching repositories in your organization.
It fetches your organization repository list and store it in local cache file, then utilize fuzzy search finder through iterfzf to speed up finding specific repository you'll need to clone, preview, or check it's changelog.
Installation
pip3 install gituhubu
Configuration
At first launch gituhubu
will ask you to create a file config.json
in specific location for your OS.
Example configuration:
{
"organization": "ORGANIZATION_NAME",
"token": "API_TOKEN"
}
You can also use environment variables as a alternative:
GITHUB_ORGANIZATION=ORGANIZATION_NAME
GITHUB_TOKEN=API_TOKEN
Where ORGANIZATION_NAME is a github organization you want to search and API_TOKEN is a github personal access token with minimum scope of repos
.
More details about creating such token you can find in github docs.
Usage
CLI mode
gituhubu
to invoke search list. Type any part of repository name you'll searching for and hit enter to select it.
After selection you will get a short details about repo and possible actions:
Repository Name - last update: 2020-09-25T07:51:48Z #TODO fix that date
Actions:
- (o)pen in browser
- (c)lone
- view c(h)angelog
o
- will open given repository in your default browserc
- will clone through ssh given repository to current working directoryh
- will try to open/CHANGELOG.md
repository file in your default browser
Rofi mode
For those using rofi as application launcher, you can use gituhubu as a custom mode.
rofi -modi gituhubu:"gituhubu --rofi" -show gituhubu
Selecting given repository in rofi mode opens it in your default browser.
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
File details
Details for the file gituhubu-0.2.0.tar.gz
.
File metadata
- Download URL: gituhubu-0.2.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e27150840603cd2a8333aa9ce97fc8bfbe06ed979c6955f3507ebe58496d87a0 |
|
MD5 | 44f2f0d707ed4caec2a2f2e5f2143ab5 |
|
BLAKE2b-256 | bd390e5bba0fa430bd35b37adf2f5320299d967182856c89a32200f129614823 |
File details
Details for the file gituhubu-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: gituhubu-0.2.0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78e75882a34f564f98dc0c913f66317a82210709e6568433f5ff776e4f666ccb |
|
MD5 | fa7f55a0e9bde8624ddf754b7285bac2 |
|
BLAKE2b-256 | a6f0518a01a51f632550083291cf08a721d90a5aa8171915c73dec74cfe80e86 |