{"id":15877876,"url":"https://github.com/onatm/kx","last_synced_at":"2025-08-23T09:10:12.040Z","repository":{"id":62441799,"uuid":"237473728","full_name":"onatm/kx","owner":"onatm","description":"Interactively switch between kubernetes contexts without any external dependencies","archived":false,"fork":false,"pushed_at":"2024-04-29T23:00:08.000Z","size":105,"stargazers_count":45,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-13T22:29:43.491Z","etag":null,"topics":["kubectl-plugins","kubernetes","kubernetes-context","kubernetes-contexts","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/onatm.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-01-31T16:47:45.000Z","updated_at":"2025-05-23T05:19:50.000Z","dependencies_parsed_at":"2025-08-13T22:20:35.788Z","dependency_job_id":null,"html_url":"https://github.com/onatm/kx","commit_stats":{"total_commits":43,"total_committers":2,"mean_commits":21.5,"dds":"0.13953488372093026","last_synced_commit":"519e21a40fcbc71a0bbdedd8e740878c7d34a02e"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/onatm/kx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onatm%2Fkx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onatm%2Fkx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onatm%2Fkx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onatm%2Fkx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onatm","download_url":"https://codeload.github.com/onatm/kx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onatm%2Fkx/sbom","scorecard":{"id":706621,"data":{"date":"2025-08-11","repo":{"name":"github.com/onatm/kx","commit":"aa4b93ad72453c03214061809ee440dc5f90fc3b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"Code-Review","score":0,"reason":"Found 1/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":"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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.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":"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:10: update your workflow using https://app.stepsecurity.io/secureworkflow/onatm/kx/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/onatm/kx/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/onatm/kx/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/onatm/kx/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/onatm/kx/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/onatm/kx/build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/onatm/kx/build.yml/main?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 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":"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.3.0 not signed: https://api.github.com/repos/onatm/kx/releases/93692179","Warn: release artifact v1.2.0 not signed: https://api.github.com/repos/onatm/kx/releases/43793754","Warn: release artifact v1.1.1 not signed: https://api.github.com/repos/onatm/kx/releases/32363738","Warn: release artifact v1.1.0 not signed: https://api.github.com/repos/onatm/kx/releases/30910063","Warn: release artifact v1.0 not signed: https://api.github.com/repos/onatm/kx/releases/23548873","Warn: release artifact v1.3.0 does not have provenance: https://api.github.com/repos/onatm/kx/releases/93692179","Warn: release artifact v1.2.0 does not have provenance: https://api.github.com/repos/onatm/kx/releases/43793754","Warn: release artifact v1.1.1 does not have provenance: https://api.github.com/repos/onatm/kx/releases/32363738","Warn: release artifact v1.1.0 does not have provenance: https://api.github.com/repos/onatm/kx/releases/30910063","Warn: release artifact v1.0 does not have provenance: https://api.github.com/repos/onatm/kx/releases/23548873"],"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 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":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: RUSTSEC-2021-0145 / GHSA-g98v-hv3f-hcfr","Warn: Project is vulnerable to: RUSTSEC-2024-0375","Warn: Project is vulnerable to: RUSTSEC-2024-0370","Warn: Project is vulnerable to: GHSA-c827-hfw6-qwvm","Warn: Project is vulnerable to: RUSTSEC-2020-0071 / GHSA-wcg3-cvx6-7396"],"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-22T06:46:44.644Z","repository_id":62441799,"created_at":"2025-08-22T06:46:44.645Z","updated_at":"2025-08-22T06:46:44.645Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271746302,"owners_count":24813557,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["kubectl-plugins","kubernetes","kubernetes-context","kubernetes-contexts","rust"],"created_at":"2024-10-06T02:04:35.328Z","updated_at":"2025-08-23T09:10:12.000Z","avatar_url":"https://github.com/onatm.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kx\n\n`kx` is a utility to switch interactively between kubernetes contexts without any external dependencies and bash witchcraft. Written in Rust :crab:\n\n![Build](https://github.com/onatm/kx/workflows/Build/badge.svg)\n\n## Installation\n\n### From binary\n\nYou can directly [download the kx executable](https://github.com/onatm/kx/releases).\n\n### Install from crates.io\n\n```sh\ncargo install kx\n```\n\n### Build Manually\n\nClone the repo and run:\n\n```sh\ncargo install --path .\n```\n\nAlternatively, run:\n\n```sh\ncargo build --release\n```\n\nthen put the resulting `target/release/kx` executable on your PATH.\n\n## Usage\n\n```md\nkx               : list the contexts\nkx \u003cNAME\u003e        : switch to context \u003cNAME\u003e\nkx -c, --current : show the current context name\nkx -u, --unset   : unset the current context\n```\n\n## Todo\n\n- [ ] Add tests\n- [ ] `bash`/`zsh`/`fish` completions\n- [ ] Use [crossterm](https://github.com/crossterm-rs/crossterm) based solution instead of [skim](https://github.com/lotabout/skim)\n- [ ] Windows support\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonatm%2Fkx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonatm%2Fkx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonatm%2Fkx/lists"}