{"id":31978637,"url":"https://github.com/nyaosorg/go-box","last_synced_at":"2026-05-17T15:07:53.133Z","repository":{"id":57487180,"uuid":"86361353","full_name":"nyaosorg/go-box","owner":"nyaosorg","description":"go-box - interactive item selector for the terminal","archived":false,"fork":false,"pushed_at":"2026-02-09T15:24:58.000Z","size":136,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-09T15:44:36.940Z","etag":null,"topics":["command-line","freebsd","go","golang","prompt","windows"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/nyaosorg/go-box/v3","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nyaosorg.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-03-27T16:56:28.000Z","updated_at":"2026-02-09T15:24:57.000Z","dependencies_parsed_at":"2024-04-19T06:27:53.739Z","dependency_job_id":"6b9951fb-8da8-4ff3-800c-9980a8e3ebdf","html_url":"https://github.com/nyaosorg/go-box","commit_stats":null,"previous_names":["zetamatta/go-box"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/nyaosorg/go-box","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyaosorg%2Fgo-box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyaosorg%2Fgo-box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyaosorg%2Fgo-box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyaosorg%2Fgo-box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nyaosorg","download_url":"https://codeload.github.com/nyaosorg/go-box/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nyaosorg%2Fgo-box/sbom","scorecard":{"id":699776,"data":{"date":"2025-08-11","repo":{"name":"github.com/nyaosorg/go-box","commit":"f8676ccc9efaffa8f1698afd234b6481317889b9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"Code-Review","score":0,"reason":"Found 0/30 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":"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: BSD 3-Clause \"New\" or \"Revised\" 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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v2.2.1 not signed: https://api.github.com/repos/nyaosorg/go-box/releases/151863509","Warn: release artifact v2.2.0 not signed: https://api.github.com/repos/nyaosorg/go-box/releases/150593144","Warn: release artifact v2.2.1 does not have provenance: https://api.github.com/repos/nyaosorg/go-box/releases/151863509","Warn: release artifact v2.2.0 does not have provenance: https://api.github.com/repos/nyaosorg/go-box/releases/150593144"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"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-22T04:55:45.499Z","repository_id":57487180,"created_at":"2025-08-22T04:55:45.499Z","updated_at":"2025-08-22T04:55:45.499Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33143276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["command-line","freebsd","go","golang","prompt","windows"],"created_at":"2025-10-14T22:24:48.577Z","updated_at":"2026-05-17T15:07:53.128Z","avatar_url":"https://github.com/nyaosorg.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Go-Box - Interactive item selector\r\n==================================\r\n\r\n\u003c!-- badges.cmd | --\u003e\r\n[![Go Test](https://github.com/nyaosorg/go-box/actions/workflows/go.yml/badge.svg)](https://github.com/nyaosorg/go-box/actions/workflows/go.yml)\r\n[![License](https://img.shields.io/badge/License-MIT-red)](https://github.com/nyaosorg/go-box/v3/blob/master/LICENSE)\r\n[![Go Reference](https://pkg.go.dev/badge/github.com/nyaosorg/go-box/v3.svg)](https://pkg.go.dev/github.com/nyaosorg/go-box/v3)\r\n\u003c!-- --\u003e\r\n\r\n\u003e **Note:** This is the documentation for **go-box v3**.  \r\n\u003e If your code still imports `github.com/nyaosorg/go-box` or `/v2`,  \r\n\u003e please update the import path to `github.com/nyaosorg/go-box/v3`.\r\n\r\nbox - Executable\r\n----------------\r\n\r\n`box` is a command-line program built with the **go-box** library.  \r\nIt reads a list of items from STDIN and lets the user select one interactively.\r\n\r\n\r\n![demo](./demo.gif)\r\n\r\n### Install\r\n\r\nDownload the binary package from [Releases](https://github.com/nyaosorg/go-box/releases) and extract the executable.\r\n\r\n#### Use \"go install\"\r\n\r\n```\r\ngo install github.com/nyaosorg/go-box/v3/cmd/box@latest\r\n```\r\n\r\n#### Use \"scoop-installer\"\r\n\r\n```\r\nscoop install https://raw.githubusercontent.com/nyaosorg/go-box/master/box.json\r\n```\r\n\r\nor\r\n\r\n```\r\nscoop bucket add hymkor https://github.com/hymkor/scoop-bucket\r\nscoop install box\r\n```\r\n\r\ngo-box - golang package\r\n-----------------------\r\n\r\n```examples/yesno.go\r\npackage main\r\n\r\nimport (\r\n    \"os\"\r\n\r\n    \"github.com/nyaosorg/go-box/v3\"\r\n)\r\n\r\nfunc main() {\r\n    println(\"Are you sure ?\")\r\n    choose, err := box.SelectString([]string{\"Yes\", \"No\"}, false, os.Stderr)\r\n    if err != nil {\r\n        println(err.Error())\r\n        os.Exit(1)\r\n    }\r\n    println()\r\n    if len(choose) \u003e= 1 {\r\n        println(\"You selected -\u003e\", choose[0])\r\n    } else {\r\n        println(\"You did not select any items\")\r\n    }\r\n}\r\n```\r\n\r\nRelease notes\r\n-------------\r\n\r\n- [English](release_note.md)\r\n- [Japanese](release_note_ja.md)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnyaosorg%2Fgo-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnyaosorg%2Fgo-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnyaosorg%2Fgo-box/lists"}