{"id":20231775,"url":"https://github.com/bswinnerton/launchbar-github","last_synced_at":"2025-04-10T18:07:32.643Z","repository":{"id":48032222,"uuid":"82398282","full_name":"bswinnerton/launchbar-github","owner":"bswinnerton","description":"A LaunchBar action for GitHub","archived":false,"fork":false,"pushed_at":"2022-12-02T07:49:49.000Z","size":3742,"stargazers_count":70,"open_issues_count":23,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-24T15:47:35.001Z","etag":null,"topics":["github","launchbar","launchbar-action"],"latest_commit_sha":null,"homepage":"http://launchbar-github.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bswinnerton.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-18T16:02:20.000Z","updated_at":"2024-02-19T01:54:29.000Z","dependencies_parsed_at":"2023-01-23T22:02:11.115Z","dependency_job_id":null,"html_url":"https://github.com/bswinnerton/launchbar-github","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bswinnerton%2Flaunchbar-github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bswinnerton%2Flaunchbar-github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bswinnerton%2Flaunchbar-github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bswinnerton%2Flaunchbar-github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bswinnerton","download_url":"https://codeload.github.com/bswinnerton/launchbar-github/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248266909,"owners_count":21075265,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github","launchbar","launchbar-action"],"created_at":"2024-11-14T07:49:20.942Z","updated_at":"2025-04-10T18:07:32.587Z","avatar_url":"https://github.com/bswinnerton.png","language":"JavaScript","readme":"# GitHub LaunchBar Action\n\nThis is a GitHub [LaunchBar](https://www.obdev.at/products/launchbar) action\nthat can search various parts of GitHub based on your input.\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshots/default.gif\" width=\"864px\" /\u003e\u003c/p\u003e\n\nDownload and install the action [here](http://launchbar-github.com).\n\n## Actions\n\nAt any point you can either hit enter to navigate into available options, or\nhit \u003ckbd\u003e⌘\u003c/kbd\u003e + \u003ckbd\u003eEnter\u003c/kbd\u003e to go directly to the corresponding GitHub\npage.\n\n### For a user or organization\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshots/default.png\" width=\"668px\" /\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshots/user.png\" width=\"668px\" /\u003e\u003c/p\u003e\n\nSimply add a `/` to the end of a user or organization and the repositories will\nbe fetched:\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshots/user-repos-expanded.png\" width=\"668px\" /\u003e\u003c/p\u003e\n\n### For a repository\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshots/default.png\" width=\"668px\" /\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshots/repo.png\" width=\"668px\" /\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshots/repo-expanded.png\" width=\"668px\" /\u003e\u003c/p\u003e\n\n### For an issue or pull request\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshots/default.png\" width=\"668px\" /\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshots/issue.png\" width=\"668px\" /\u003e\u003c/p\u003e\n\n### For a commit\n\nAt any time, paste a commit SHA into LaunchBar and hit \u003ckbd\u003eTab\u003c/kbd\u003e. Start\ntyping \"github\" and you should see the action appear, hit \u003ckbd\u003eEnter\u003c/kbd\u003e.\nOnce complete, the action will bring you to the pull request that introduced\nthe commit. If the commit is associated with multiple pull requests, they will\nbe displayed in a list.\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshots/commit.png\" width=\"668px\" /\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshots/commit-expanded.png\" width=\"668px\" /\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshots/commit-pr-list.png\" width=\"668px\" /\u003e\u003c/p\u003e\n\n### Shortening a link\n\nAt any time, paste a GitHub link into LaunchBar and hit \u003ckbd\u003eTab\u003c/kbd\u003e. Start\ntyping \"github\" and you should see the action appear, hit \u003ckbd\u003eEnter\u003c/kbd\u003e.\nOnce complete, the action will ask you if you want to shorten the link, hit\n\u003ckbd\u003eEnter\u003c/kbd\u003e and the shortened link will be copied to your clipboard.\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshots/shorten-link.png\" width=\"668px\" /\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshots/shorten-link-expanded.png\" width=\"668px\" /\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshots/shorten-link-final.png\" width=\"668px\" /\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshots/shorten-link-notification.png\" width=\"378px\" /\u003e\u003c/p\u003e\n\n### Sending a link to [Things][things]\n\nSimilarly to shortening a link, you can paste a GitHub link into LaunchBar at\nany time and hit \u003ckbd\u003eTab\u003c/kbd\u003e. From there, either find GitHub in the options\nor type \"github\" to have it appear for the first time, then hit\n\u003ckbd\u003eEnter\u003c/kbd\u003e to open the quick add menu of the Things application.\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshots/shorten-link.png\" width=\"668px\" /\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshots/shorten-link-expanded.png\" width=\"668px\" /\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshots/send-to-things.png\" width=\"668px\" /\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"screenshots/send-to-things-final.png\" width=\"668px\" /\u003e\u003c/p\u003e\n\n## Installing\n\n### Automatic\n\nThe easiest way to install this action is by visiting\nhttp://launchbar-github.com/. You'll want to first\n[Download](http://launchbar-github.com/download) and then\n[Install](http://launchbar-github.com/install) the action.\n\nWhen clicking on Install, you'll be prompted to sign in with GitHub. Once\ncomplete, you will be automatically brought back into the LaunchBar\napplication and can start using the action.\n\n### Manual\n\nIf for any reason that doesn't work, the action can either be downloaded from\nthe [Releases](https://git.io/vyose) page, or if you'd like to use the latest\nfeatures as they come out (from `master`), you can clone this repository to\nyour LaunchBar Actions folder:\n\n```\nmkdir -p ~/Library/Application\\ Support/LaunchBar/Actions/\ngit clone https://github.com/bswinnerton/launchbar-github ~/Library/Application\\ Support/LaunchBar/Actions/github.lbaction\n```\n\n### GitHub Access Token\n\nYou'll need to get an access token from GitHub if you'd like to use any of the\nfeatures that return data directly in LaunchBar. To do so, go to\nhttps://github.com/settings/tokens/new and create a new token with the `repo`\n`user`, `read:discussion` scopes selected. Copy the token to your clipboard and\ninvoke the GitHub action and select \"Settings\". From here, choose \"Set GitHub\naccess token from clipboard\".\n\n## Updating\n\nThis action can be updated using the [Action\nUpdates](https://prenagha.github.io/launchbar/updates.html) action, or you can\ndrop into a terminal and pull the latest changes from Git using:\n\n```\ncd ~/Library/Application\\ Support/LaunchBar/Actions/github.lbaction/\ngit pull origin master\n```\n\nIn some cases, you may need to restart LaunchBar and regenerate a GitHub access\ntoken.\n\n## Development\n\nThis LaunchBar plugin is written in Javascript. Because I value both writing\nJavascript in ES6, _and_ support for the action to run in older OS X\nenvironments, [Babel](https://babeljs.io/) is used to convert the files in\n`Contents/Scripts/` into \"vanilla Javascript\" that can be parsed by most OS X\nJS engines.\n\nIf you're looking to contribute to this repository, you'll need to bootstrap\nthe project by running:\n\n```\nscript/bootstrap\n```\n\nThis will install all dependencies for you. From there, you can run:\n\n```\nscript/server\n```\n\nWhich will listen for changes to any files in `Contents/Scripts/` and\nautomatically compile your Javascript into a single file that can be executed by\nLaunchBar.\n\nIf at any time you would like to run the tests, you can run:\n\n```\nscript/test\n```\n\n## Troubleshooting\n\n### I'm not seeing all of the repositories that I was expecting\n\nIf you set your token using http://launchbar-github.com and are not seeing\nrepositories belonging to an organization you are a part of, the organization\nmay have enabled [Organization Application Policies][oap]. OAP limits access to\nprivate resources on GitHub unless the OAuth application has been granted\naccess. You can either [request access][request-oap-access] from an\norganization administrator, or instead use a Personal Access Token as [outlined\nabove](#manual) to get around this problem.\n\n[oap]: https://developer.github.com/changes/2015-01-19-an-integrators-guide-to-organization-application-policies/\n[request-oap-access]: https://github.com/settings/connections/applications/7f3d43c8412a4385727e\n[things]: https://culturedcode.com/things/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbswinnerton%2Flaunchbar-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbswinnerton%2Flaunchbar-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbswinnerton%2Flaunchbar-github/lists"}