{"id":47699832,"url":"https://github.com/craftamap/bb","last_synced_at":"2026-04-02T17:04:05.630Z","repository":{"id":45941674,"uuid":"304676232","full_name":"craftamap/bb","owner":"craftamap","description":"inoffical Bitbucket.org command line tool","archived":false,"fork":false,"pushed_at":"2025-06-17T16:08:05.000Z","size":30873,"stargazers_count":31,"open_issues_count":14,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-17T17:24:16.980Z","etag":null,"topics":["atlassian","atlassian-bitbucket","bitbucket","bitbucket-api","bitbucket-cloud","bitbucket-pipelines","cli","golang","hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"Go","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/craftamap.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-10-16T16:05:38.000Z","updated_at":"2025-06-17T16:08:08.000Z","dependencies_parsed_at":"2024-09-14T10:17:43.467Z","dependency_job_id":"a89158cd-714f-4a41-acda-dc25b8e12666","html_url":"https://github.com/craftamap/bb","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/craftamap/bb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craftamap%2Fbb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craftamap%2Fbb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craftamap%2Fbb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craftamap%2Fbb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/craftamap","download_url":"https://codeload.github.com/craftamap/bb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craftamap%2Fbb/sbom","scorecard":{"id":307089,"data":{"date":"2025-08-11","repo":{"name":"github.com/craftamap/bb","commit":"b98e7dc9738b2d0fee9afa37a5dbec83e438602a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Maintained","score":3,"reason":"2 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/23 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/lint.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/craftamap/bb/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/craftamap/bb/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/craftamap/bb/lint.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/lint.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/craftamap/bb/lint.yml/main?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.6.0 not signed: https://api.github.com/repos/craftamap/bb/releases/125049598","Warn: release artifact v0.5.0 not signed: https://api.github.com/repos/craftamap/bb/releases/48744625","Warn: release artifact v0.4.1 not signed: https://api.github.com/repos/craftamap/bb/releases/47482548","Warn: release artifact v0.4.0 not signed: https://api.github.com/repos/craftamap/bb/releases/44818940","Warn: release artifact v0.3.1 not signed: https://api.github.com/repos/craftamap/bb/releases/41494704","Warn: release artifact v0.6.0 does not have provenance: https://api.github.com/repos/craftamap/bb/releases/125049598","Warn: release artifact v0.5.0 does not have provenance: https://api.github.com/repos/craftamap/bb/releases/48744625","Warn: release artifact v0.4.1 does not have provenance: https://api.github.com/repos/craftamap/bb/releases/47482548","Warn: release artifact v0.4.0 does not have provenance: https://api.github.com/repos/craftamap/bb/releases/44818940","Warn: release artifact v0.3.1 does not have provenance: https://api.github.com/repos/craftamap/bb/releases/41494704"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 10 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":2,"reason":"8 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2024-3269 / GHSA-p2h2-3vg9-4p87","Warn: Project is vulnerable to: GO-2024-3296","Warn: Project is vulnerable to: GO-2024-3310 / GHSA-2m9h-r57g-45pj","Warn: Project is vulnerable to: GO-2025-3467","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2025-3488 / GHSA-6v2p-p543-phr9"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T22:20:48.383Z","repository_id":45941674,"created_at":"2025-08-17T22:20:48.383Z","updated_at":"2025-08-17T22:20:48.383Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31311047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["atlassian","atlassian-bitbucket","bitbucket","bitbucket-api","bitbucket-cloud","bitbucket-pipelines","cli","golang","hacktoberfest"],"created_at":"2026-04-02T17:04:05.464Z","updated_at":"2026-04-02T17:04:05.615Z","avatar_url":"https://github.com/craftamap.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bb\n\n![github versions](https://img.shields.io/github/v/release/craftamap/bb?style=flat-square) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/craftamap/bb/build?style=flat-square) [![Go Report Card](https://goreportcard.com/badge/github.com/craftamap/bb?style=flat-square)](https://goreportcard.com/report/github.com/craftamap/bb)\n\n![bb logo](.github/bb-logo.png)\n\n---\n\n`bb` is an inoffical bitbucket.org command line tool deeply inspired by the \nofficial [GitHub CLI](https://github.com/cli/cli/). It brings pull requests, \ndownloads, and other bitbucket concepts to your terminal.\n\n![screenshot showing ](.github/screenshot_create_pr.png)\n\n## Installation\n\n### General\n\nCheck out the [Releases](https://github.com/craftamap/bb/releases) page where you\ncan find the latest releases built for every environment. This includes\nbuilds for macOS, Windows, Debian, and many more!\n\n\n### macOS\n\n```bash\nbrew tap craftamap/tap \u0026\u0026 brew install bb\n```\n\n### Arch / AUR\n\n```bash\nyay bbcli-git\n```\n\n### Using `go get`\nMake sure you have a working Go environment. Follow the \n[Go install instructions](https://golang.org/doc/install).\n\n```bash\ngo get github.com/craftamap/bb\n```\n\n### Building from source\nMake sure you have a working Go environment. Follow the \n[Go install instructions](https://golang.org/doc/install).\n\n```bash\ngit clone https://github.com/craftamap/bb.git\ngo build\n```\n\n## Set-Up\n\nYou need to authenticate with your credentials first. \nYou can either use a [Scoped API Token](https://support.atlassian.com/bitbucket-cloud/docs/api-tokens/)\nor an [app password (deprecated)](https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/)\nfor that. Make sure to grant read and write access to the features you want to use.\n(**Recommended**:Repositories: Read/Write, Pull Requests: Read/Write, \nPipelines: Read/Write, Account: Email/Read, Workspace membership: Read/Write).\n\nRun the following command to enter your username and password:\n\n```bash\nbb auth login\n```\n\nIf using an Scoped API Token, use your email address as the username and the API\nToken as the password. If using an app password, use your bitbucket username as\nusername and the app password as password.\n\nYour credentials will be stored to `~/.config/bb/configuration.toml`.\n\n## Usage\n\nTo see all available commands, use `bb` without any subcommand.\nMany commands support the `--web`-flag to execute the action in the browser, or\nopen the browser after performing an specific action.\n\n### Pull Requests\n\nYou can use `bb pr create` to create new pull requests.\n\n![Create prs within seconds](.github/screencast_pr_create.gif)\n\nAlso, you can use `bb pr` to list (`bb pr list`), view (`bb pr view`) \nor merge  existing pull requests (`bb pr merge`) and see how their pipelines \nran (`bb pr statuses`). Use `bb pr comments` to see the discussion of a pull \nrequest. Use `bb pr checkout` to checkout the branch of a pull request.\n\n![Manage prs like a ruler](.github/screencast_pr_flow.gif)\n\n### Downloads\n\nManage downloads by listing (`bb downloads list`), downloading \n(`bb downloads \u003cfile name\u003e`) or uploading (`br downloads upload`) them.\n\n\n![up and down](.github/screencast_downloads_flow.gif)\n\n### Pipelines\n\nCheck the latest pipeline executions by running `bb pipelines list`. Find out\nmore about them by running `bb pipelines view \u003cpipeline id\u003e`, or view their\nlogs by running `bb pipelines logs \u003cpipeline id\u003e`.\n\n![never gonna give you up](.github/screencast_pipelines_flow.gif)\n\n### Repositories\n\nView basic repository information by running `bb repo view`, or open the \nrepository in the browser by using `bb repo view --web`.\n\n![A repo in all its beauty](.github/screencast_repo_view.gif)\n\n### Issues\n\nIf you have the native bitbucket issues enabled in your project, you can list \nall open issues by typing `bb issue list`. You can also create new ones using\n`bb issue create`, update existing ones using `bb issue update \u003cid\u003e`, delete \nand view existing ones with `bb issue delete \u003cid\u003e` and `bb issue view \u003cid\u003e` and\ncomment them using `bb issue comment \u003cid\u003e`.\n\n## Development\n### Used Libraries\n\nWe use the following bitbucket libary:\n\n - https://github.com/ktrysmt/go-bitbucket (Apache-2.0 License)\n   \nThanks a lot for the work!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcraftamap%2Fbb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcraftamap%2Fbb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcraftamap%2Fbb/lists"}