{"id":26964434,"url":"https://github.com/nicklayb/alfred-bitbucket","last_synced_at":"2025-04-03T06:32:21.929Z","repository":{"id":22675812,"uuid":"97013732","full_name":"nicklayb/alfred-bitbucket","owner":"nicklayb","description":"Workflow to get through your and your teams public / private repositories using App password","archived":false,"fork":false,"pushed_at":"2022-07-07T00:47:43.000Z","size":491,"stargazers_count":38,"open_issues_count":10,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-08T12:16:54.653Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/nicklayb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-12T13:53:22.000Z","updated_at":"2024-04-10T19:14:28.000Z","dependencies_parsed_at":"2022-08-24T16:31:03.645Z","dependency_job_id":null,"html_url":"https://github.com/nicklayb/alfred-bitbucket","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicklayb%2Falfred-bitbucket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicklayb%2Falfred-bitbucket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicklayb%2Falfred-bitbucket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicklayb%2Falfred-bitbucket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicklayb","download_url":"https://codeload.github.com/nicklayb/alfred-bitbucket/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246948010,"owners_count":20859362,"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":[],"created_at":"2025-04-03T06:31:28.375Z","updated_at":"2025-04-03T06:32:21.912Z","avatar_url":"https://github.com/nicklayb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# alfred-bitbucket\n\n![alt text](alfred-bitbucket.gif)\n\n## Installation\n\n```\nnpm install --global alfred-bitbucket\n```\n\nWhen installing `alfred-bitbucket`, an `alfred-bitbucket/info.plist` file is created inside your global `node_modules` directory. This file will be used to save your Bitbucket secret and clientId. See the [Configuration](#configuration) section.\n\n## Configuration\n\n### Generate Bitbucket App Password\n\n1. Go to your personal [**Bitbucket's settings**](https://bitbucket.org/account/settings/app-passwords/).\n2. Click \"Create app password\"\n3. Give it a label, such as \"AlfredBitBucket\"\n4. Give it the relevant **Read** permissions\n5. Click \"Create\"\n6. Your app password should now appear. Make note of it as once you leave the page it's gone and you'll have to start the process over. \n\n### Register environment variables\n\n1. Open Alfred Preferences.\n2. Go to the Workflows tab.\n3. Select BitBucket.\n4. Open the variables panel by clicking the `Configure workflow and variables` button on the right.\n5. Fill the values\n    - `username`: Your BitBucket Username\n    - `appPasword`: The App password you generated boce\n    - `repoMaxAge`: Number of minutes list of repositories should be cached, defaults to 480\n    - `userMaxAge`: Number of minutes user information should be cached, defaults to 720\n    - `teamMaxAge`: Number of minutes list of teams should be cached, defaults to 720\n6. Save\n\n## Usage\n\n### `bit` command\nOpen Alfred and type `bit`. Select a team. Now you can :\n- Open bookmarked repositories.\n- Enter to see the Team's projects.\n- Cmd+Enter to open the Team's web page.\n- Shift+Enter to mark a team/user as default.\n\n### `repo` command\n\nIf you set a default team with Shift+Enter on any team/user, this user will be loaded by default. If you select a team using the `bit` command it'll be loaded instead. Then, you'll be able to do the following :\n- Enter to see repo's PRs, Issues and Forks.\n- Cmd+Enter to open the Repo's page.\n- Shift+Enter to bookmark or remove a bookmarked repository.\n- **New** Alt+Enter to copy repo's url to clipboard.\n\n### `marks` command\n\nDisplays all the bookmarks you made with all the repos options :\n- Pull requests (Enter, to show the PRs, Cmd+Enter to open the PRs web page).\n- Issues (Enter, to show the issues, Cmd+Enter to open the issues web page).\n- Forks (Enter, to show the forks).\n\n### Pull requests\n\n- ✅ : The pull request has been merged.\n- ❌ : The pull request has been declined.\n- ☑️ : The pull request has x tasks to be resolved.\n- 💬 : The pull request has x comments.\n\n### Pipelines\n\n- ✅ : The pipeline ran successfully.\n- ❌ : The pipeline failed.\n\n\n## OAuth2 Configuration (Deprecated)\n\nIt is now preferred to configure alfred-bitbucket with App passwords, but if you need to configure it with OAuth, here are the old instructions: [Generate BitBucket Consumer](https://github.com/nicklayb/alfred-bitbucket/blob/5b3051f3b0d21da9ecff2bfc6105107cb387f11d/README.md#generate-bitbucket-consumer)\n\n## plist Configuration (Deprecated)\n\nIt is now preferred to configure the alfred-bitbucket variables through the workflow preferences. If you need to configure directly through the plist, here are the old instructions: [Through the plist file](https://github.com/nicklayb/alfred-bitbucket/blob/5b3051f3b0d21da9ecff2bfc6105107cb387f11d/README.md#through-the-plist-file) \n\n# License\nMIT © [Nicolas Boisvert](https://nboisvert.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicklayb%2Falfred-bitbucket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicklayb%2Falfred-bitbucket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicklayb%2Falfred-bitbucket/lists"}