This workflow for Alfred allows you to search through your GitHub stars.
It only works with Alfred 3.2 or later (because of the rerun
feature), you can download an older version for Alfred 2 here.
Search through your stars with ghs <keyword>
. Than just hit enter on a result to directly open the repository in your browser or use to modifier key cmd
to copy the URL to the clipboard. You can also use ctrl
to copy the git clone
command to the clipboard.
Download the Workflow here. Then go the Workflow variables inside Alfred and set your username. To prevent API rate limits you can also set an API token.
I used the public GitHub API wich currently limits anonymous request to 60 calls per hour. As of now the workflow features a simple cache, the GitHub Stars will be cached for 24 hours after the first request. You can change cache duration also inside the variables pane.
Is was inspired to create this workflow after seeing Adam Simpsons workflow to filter through StackOverflow favorites.