{"id":13755703,"url":"https://github.com/ruby/curses","last_synced_at":"2026-03-06T09:15:05.835Z","repository":{"id":12384476,"uuid":"15036558","full_name":"ruby/curses","owner":"ruby","description":"Ruby binding for curses, ncurses, and PDCurses.  Formerly part of the ruby standard library.","archived":false,"fork":false,"pushed_at":"2026-02-09T09:59:32.000Z","size":417,"stargazers_count":322,"open_issues_count":1,"forks_count":35,"subscribers_count":35,"default_branch":"master","last_synced_at":"2026-03-01T11:08:12.117Z","etag":null,"topics":["c","curses","pdcurses","ruby","ruby-bindings"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruby.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","contributing":null,"funding":null,"license":"COPYING","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":"2013-12-09T02:55:56.000Z","updated_at":"2026-02-28T01:10:27.000Z","dependencies_parsed_at":"2023-11-23T04:21:59.832Z","dependency_job_id":"088df085-7f33-4d4b-bd79-3d70f34cc3a6","html_url":"https://github.com/ruby/curses","commit_stats":{"total_commits":246,"total_committers":25,"mean_commits":9.84,"dds":"0.36585365853658536","last_synced_commit":"b8f3d4dbc09448c2ffdc8aa983531f7300683e32"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/ruby/curses","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fcurses","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fcurses/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fcurses/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fcurses/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruby","download_url":"https://codeload.github.com/ruby/curses/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fcurses/sbom","scorecard":{"id":788910,"data":{"date":"2025-08-11","repo":{"name":"github.com/ruby/curses","commit":"829680d763792b1279089c1823b0f5041892f007"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.5,"checks":[{"name":"Maintained","score":10,"reason":"24 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10","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 1/13 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":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/push_gem.yml:21","Info: topLevel 'contents' permission set to 'read': .github/workflows/gh-pages.yml:9","Warn: no topLevel permission defined: .github/workflows/macos.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/push_gem.yml:9","Warn: no topLevel permission defined: .github/workflows/ubuntu.yml:1","Warn: no topLevel permission defined: .github/workflows/windows.yml:1"],"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":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/ruby/curses/gh-pages.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/ruby/curses/gh-pages.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/ruby/curses/gh-pages.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/gh-pages.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/ruby/curses/gh-pages.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/macos.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/ruby/curses/macos.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/push_gem.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/ruby/curses/push_gem.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/push_gem.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/ruby/curses/push_gem.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/push_gem.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/ruby/curses/push_gem.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ubuntu.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/ruby/curses/ubuntu.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ubuntu.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/ruby/curses/ubuntu.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/windows.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/ruby/curses/windows.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/windows.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/ruby/curses/windows.yml/master?enable=pin","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   2 out of   6 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":"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":"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":"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"}},{"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":"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":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: COPYING:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 23 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"}}]},"last_synced_at":"2025-08-23T06:53:55.061Z","repository_id":12384476,"created_at":"2025-08-23T06:53:55.061Z","updated_at":"2025-08-23T06:53:55.061Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30064798,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","response_time":61,"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":["c","curses","pdcurses","ruby","ruby-bindings"],"created_at":"2024-08-03T11:00:25.312Z","updated_at":"2026-03-06T09:15:05.823Z","avatar_url":"https://github.com/ruby.png","language":"C","readme":"# curses\n\n[![Gem Version](https://badge.fury.io/rb/curses.svg)](https://badge.fury.io/rb/curses)\n[![ubuntu](https://github.com/ruby/curses/workflows/ubuntu/badge.svg)](https://github.com/ruby/curses/actions?query=workflow%3Aubuntu)\n[![windows](https://github.com/ruby/curses/workflows/windows/badge.svg)](https://github.com/ruby/curses/actions?query=workflow%3Awindows)\n[![macos](https://github.com/ruby/curses/workflows/macos/badge.svg)](https://github.com/ruby/curses/actions?query=workflow%3Amacos)\n\n* https://github.com/ruby/curses\n* https://github.com/ruby/curses/issues\n\n## Description\n\nA Ruby binding for curses, ncurses, and PDCurses.\ncurses is an extension library for text UI applications.\n\nFormerly part of the Ruby standard library, [curses was removed and placed in this gem][1]\nwith the release of Ruby 2.1.0. (see [ruby/ruby@9c5b2fd][2])\n\n## Install\n\n    $ gem install curses\n\nRequires ncurses or ncursesw (with wide character support).\nOn Debian based distributions, you can install it with apt:\n\n    $ apt install libncurses5-dev\n\nOr\n\n    $ apt install libncursesw5-dev\n\nOn Windows, `gem install curses` will build bundled PDCurses, so you\ndon't need to install extra libraries.\nHowever, if you prefer ncurses to PDCurses, specify the following option:\n\n    \u003e gem install curses -- --use-system-libraries\n\nOn mingw, you need DevKit to compile the extension library.\n\nOn MacOS, `ncurses` menu isn't natively supported. You can install the gem with menu support using homebrew:\n\n    brew install ncurses\n    gem install curses -- --use-system-libraries --with-ncurses-dir=/usr/local/opt/ncurses\n\n_with `/usr/local/opt/ncurses` the path where homebrew installed ncurses on your machine_\n\n## Documentation\n\nType the following command, and see `[rdoc]` of curses:\n\n    gem install rubygems-server\n    gem server -l\n\n## Limitations\n\n* On ncurses 6+ compiled with extended color support, more than 256 color pairs are supported transparently via the extended colors API (`init_extended_pair`, etc.). Use `Curses.support_extended_colors?` to check at runtime.\n\n## Developers\n\nAfter checking out the repo, run `bundle install` to install dependencies.\n\nTo compile the extension library, run `bundle exec rake compile`.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `curses.gemspec`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## License\n\ncurses is released under the Ruby and 2-clause BSD licenses.  See COPYING for\ndetails.\n\nIt includes a forked version of PDCurses, which is in the public domain:\n\n  https://github.com/Bill-Gray/PDCurses\n\nThe version for Win32 console mode in the wincon subdirectory is used.\n\n[1]: https://bugs.ruby-lang.org/issues/8584\n[2]: https://github.com/ruby/ruby/commit/9c5b2fd8aa0fd343ad094d47a638cfd3f6ae0a81\n","funding_links":[],"categories":["C"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby%2Fcurses","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruby%2Fcurses","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby%2Fcurses/lists"}