{"id":22941077,"url":"https://github.com/adamsky/cns","last_synced_at":"2025-10-07T01:44:03.738Z","repository":{"id":54285324,"uuid":"283329647","full_name":"adamsky/cns","owner":"adamsky","description":"Search through rust crates without leaving the terminal","archived":false,"fork":false,"pushed_at":"2024-10-15T21:16:26.000Z","size":1346,"stargazers_count":31,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T20:50:31.172Z","etag":null,"topics":["crates","crates-io","search","tui"],"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/adamsky.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":"2020-07-28T21:14:51.000Z","updated_at":"2025-09-03T04:52:22.000Z","dependencies_parsed_at":"2022-08-13T11:00:41.768Z","dependency_job_id":null,"html_url":"https://github.com/adamsky/cns","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/adamsky/cns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamsky%2Fcns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamsky%2Fcns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamsky%2Fcns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamsky%2Fcns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamsky","download_url":"https://codeload.github.com/adamsky/cns/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamsky%2Fcns/sbom","scorecard":{"id":165555,"data":{"date":"2025-08-11","repo":{"name":"github.com/adamsky/cns","commit":"d86c59a3742a0e438cd146424965b4d9403145b8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"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":"Code-Review","score":0,"reason":"Found 2/27 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":"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":"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":"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":"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":"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":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 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":0,"reason":"15 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: RUSTSEC-2022-0078 / GHSA-f85w-wvc7-crwc","Warn: Project is vulnerable to: RUSTSEC-2022-0056","Warn: Project is vulnerable to: RUSTSEC-2024-0421 / GHSA-h97m-ww89-6jmq","Warn: Project is vulnerable to: RUSTSEC-2024-0436","Warn: Project is vulnerable to: RUSTSEC-2025-0010","Warn: Project is vulnerable to: GHSA-4p46-pwfr-66x6","Warn: Project is vulnerable to: RUSTSEC-2025-0009","Warn: Project is vulnerable to: GHSA-c86p-w88r-qvqr","Warn: Project is vulnerable to: RUSTSEC-2024-0336","Warn: Project is vulnerable to: GHSA-qg5g-gv98-5ffh","Warn: Project is vulnerable to: RUSTSEC-2024-0399","Warn: Project is vulnerable to: RUSTSEC-2023-0049","Warn: Project is vulnerable to: RUSTSEC-2023-0052 / GHSA-8qv2-5vq6-g2g7","Warn: Project is vulnerable to: RUSTSEC-2021-0019 / GHSA-2xpg-3hx4-fm9r / GHSA-3288-cwgw-ch86 / GHSA-3cj3-jrrp-9rxf / GHSA-mp6r-fgw2-rxfx","Warn: Project is vulnerable to: RUSTSEC-2020-0097 / GHSA-c8hq-x4mm-p6q6"],"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-16T14:43:46.692Z","repository_id":54285324,"created_at":"2025-08-16T14:43:46.692Z","updated_at":"2025-08-16T14:43:46.692Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278708050,"owners_count":26031932,"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-10-06T02:00:05.630Z","response_time":65,"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":["crates","crates-io","search","tui"],"created_at":"2024-12-14T13:36:26.971Z","updated_at":"2025-10-07T01:44:03.722Z","avatar_url":"https://github.com/adamsky.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crate name search\n\nSearch through Rust crates without leaving the terminal.\n\nGet a quick summary, compare different crates, quickly open crate\nrepositories and documentation in the browser, copy `Cargo.toml` dependency\nlines to clipboard, and more. \n\n![](.github/cns_demo.gif)\n\n`cns` supports composite queries of categories, keywords, strings, and sorts:\n```text\n# get sudoku games with most recent downloads\ncat=games sudoku sort=rdl\n# see what's new in the web development space\nkey=web sort=new\n# look for actively maintained socket programming libraries\nsocket sort=update\n# see the most popular crate search apps\nkey=crates search sort=dl \n```\n\n## How to install `cns`\n\n```\ncargo install cns\n```\n\nor\n\n```\ngit clone https://github.com/adamsky/cns\ncd ./cns\ncargo run --release\n```\n\nor, if you're on Arch Linux:\n\n```sh\n# Use an AUR helper, e.g.:\nparu -S cns\n\n# or compile with makepkg:\ngit clone https://aur.archlinux.org/cns.git\ncd ./cns\nmakepkg -si\n```\n\n## How to use `cns`\n\n```\n                  __\n.----.----.---.-.|  |_.-----.\n|  __|   _|  _  ||   _|  -__|\n|____|__| |___._||____|_____|\n.-----.---.-.--------.-----.\n|     |  _  |        |  -__|\n|__|__|___._|__|__|__|_____|\n.-----.-----.---.-.----.----.|  |--.\n|__ --|  -__|  _  |   _|  __||     |\n|_____|_____|___._|__| |____||__|__|\n\n\u003cC-h\u003e toggle this help window\n\n# search mode\n\u003cC-s\u003e clear input\n\u003cEnter\u003e perform the search and focus the results block\n\u003cEscape\u003e | \u003cC-r\u003e focus the results block\n\u003cC-q\u003e | \u003cC-c\u003e quit\n\n# results mode\n\u003cEscape\u003e | \u003cC-s\u003e focus the search bar\n\u003ck\u003e, \u003cj\u003e, \u003cup\u003e, \u003cdown\u003e move up and down the results\n\u003ch\u003e, \u003cl\u003e, \u003cleft\u003e, \u003cright\u003e move left and right between result tabs\n\u003cC-u\u003e, \u003cC-d\u003e scroll up and down the readme view\n\u003cC-g\u003e go to documentation (browser)\n\u003cC-r\u003e go to repository (browser)\n\u003cEnter\u003e go to crate (browser)\n\u003cc\u003e copy Cargo.toml dependency line to clipboard\n\u003cx\u003e copy clone+compile+run one-liner to clipboard\n\u003cC-q\u003e | \u003cC-c\u003e | \u003cq\u003e quit\n```  \n\n\n## Disable registry summary\n\nPass `--no-summary` argument when running `cns` if you don't want to load\na registry summary on application startup.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamsky%2Fcns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamsky%2Fcns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamsky%2Fcns/lists"}