launchbar-github icon indicating copy to clipboard operation
launchbar-github copied to clipboard

GitHub action for LaunchBar 6 !

GitHub action for LaunchBar 6

Authentication is now supported ! (See below)

Overview

How to install ?

  1. Clone this repository or downloads its content
  2. Place launchbar-github.lbaction in ~/Library/Application Support/LaunchBar/Actions
  3. Type github in LaunchBar

Nothing works after an update !

This is most likely due to a change in the database schema. To update the schema, please run !update. You won't need to login again (your token won't be erased).

How to authenticate ?

  1. Create a personal access token. Name it "GitHub for LaunchBar" and leave the default permissions.
  2. Copy the personal access token in your clipboard, and type in the GitHub action for LaunchBar : !login <paste-your-token>
  3. You're authenticated ! If everything went well, you should see all your repos by typing my in GitHub action for LaunchBar.

To log out, simply type !logout. Please note that your token will be lost.

What's supported ?

  • Authentication !

  • Pagination

  • Get the repositories of a user
    Get the repositories

  • List the issues from a repository
    List the issues

  • Display the discussion about an issue or a pull request
    Discussion about an issue

  • Show the pull requests for a repository
    Pull requests

  • Show the branches of a repository
    Branches

Comprehensive list of supported inputs :

Please note that username repo and username/repo are equivalent.

  • !login <your-access-token> will register the token so that it is used for all queries.
  • !logout will remove the token. All subsequent queries won't use it.
  • !empty will empty the cache.
  • !update will update the database schema (sometimes needed after an update).
  • my will list your repositories.
  • my repo will list all your repositories whose name contain repo or actions related to repo.
  • username will display all repositories from username.
  • username repo will list all repostories from username whose name contain repo or actions related to repo.
  • username repo i[ssues] will display issues from username/repo (can be shortened).
  • username repo p[ulls] will display pull requests from username/repo (can be shortened).
  • username repo b[ranches] will display branches from username/repo (can be shortened).
  • username repo #XYZ will display the discussion about issue #XYZ.

Thanks to...

  • Thanks to Stephen Hutchings for the very nice icons !
  • @leonardt and @zeno for the bug reports.