Github-Quick-Launcher
Quickly access your GitHub repositories and stars from Flow Launcher


Screenshots


Install
In Flow Launcher, run:
pm install github quick launcher
Usage
The default action keyword is gr.
| Query |
What it does |
gr flow launcher |
Search all of GitHub once you have typed three characters. Your own matching repositories are listed first. |
gr / |
List your repositories, most recently updated first. |
gr /dot |
Filter your repositories. |
gr * or gr *py |
List or filter your starred repositories. |
gr torvalds/ or gr torvalds/lin |
Search another user’s repositories. |
gr !refresh |
Fetch your repositories and stars again right now. |
gr !clear |
Delete the repository lists cached on this PC. |
Your repositories


/ needs to know who you are. Set either option in the plugin settings:
| Setting |
Default |
Description |
| GitHub username |
empty |
Lists that account’s public repositories and stars. No token needed. |
| Personal access token |
empty |
Adds private repositories and raises the API rate limit. Prefer a fine-grained token with an expiry and read-only Metadata access; a classic token needs no scopes, plus read:org for organization repositories. |
| Cache lifetime (minutes) |
360 |
How long the repository and star lists are reused before they are refreshed in the background. A filter that matches nothing, or a search that finds one of your repositories missing from the list, refreshes it early (at most once a minute, or once every ten minutes without a token). A stored 10, the previous default, is read as 360. |
| Search all of GitHub as you type |
on |
Off keeps every query on this PC: only your cached repositories are searched. |
| Show owner avatars |
on |
Off shows the plugin icon instead of loading avatars from GitHub. |
Stars


Another user’s repositories


Press Shift+Enter or right-click a repository to open it in GitHub Desktop or VS Code, or to copy its name, URL, or a clone command.


Speed
The first / or * after you set your username waits for GitHub. After that sync, your repositories and stars are kept in memory and on disk, so both answer from the local copy, even right after Flow Launcher starts. The list refreshes in the background once it is older than the cache lifetime, using conditional requests. With a token these do not count against GitHub’s rate limit when nothing changed. Without one, every page of 100 that is checked counts against the 60 requests an hour, so a token is worth setting once your lists run to several hundred entries. Because GitHub marks a list as changed whenever any repository in it is pushed to, the lifetime is long; when a filter finds nothing, the plugin asks GitHub early (at most once a minute, or once every ten minutes without a token) and waits up to three seconds for a fresh list.
Privacy
The plugin talks only to GitHub and sends no telemetry.
- Queries. Filtering
/ and * runs locally. A global query is sent to GitHub’s search API only after three characters and a short pause in typing, and never when Search all of GitHub as you type is off. With a token set, GitHub sees these searches as yours.
- Avatars. Owner avatars are loaded from
avatars.githubusercontent.com, resized to what your display needs. Turn Show owner avatars off to load no images.
- Cache. Your repository and star lists are stored under
%APPDATA%\FlowLauncher\Settings\Plugins\Github Quick Launcher\cache. Lists fetched with a token include private repository names. They are deleted when you change or remove the username or token, and gr !clear deletes them at any time. A deleted list is fetched again the next time you list your repositories or stars.
- Token. Flow Launcher stores plugin settings, including the token, unencrypted in its settings folder. The plugin masks tokens in its own log.
Contributing
Issues and pull requests are welcome at Garulf/Github-Quick-Launcher.
Screenshots are re-rendered with docs/screenshots/render.sh from the repo root.
License
MIT
评论