{"id":136,"name":null,"description":"A set of methods for processing keyboard input in character, line and multiline modes.","url":"https://github.com/piotrmurach/tty-reader","last_synced_at":"2026-04-30T16:30:17.703Z","repository":{"id":24558115,"uuid":"101916183","full_name":"piotrmurach/tty-reader","owner":"piotrmurach","description":"A set of methods for processing keyboard input in character, line and multiline modes.","archived":false,"fork":false,"pushed_at":"2023-11-09T11:18:46.000Z","size":1036,"stargazers_count":97,"open_issues_count":15,"forks_count":17,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-26T08:16:35.595Z","etag":null,"topics":["cli","console","line-editing","ruby","ruby-gem","terminal","tty","word-completion"],"latest_commit_sha":null,"homepage":"https://ttytoolkit.org","language":"Ruby","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/piotrmurach.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":"piotrmurach"}},"created_at":"2017-08-30T18:33:59.000Z","updated_at":"2026-01-06T14:19:38.000Z","dependencies_parsed_at":"2024-05-28T19:27:37.743Z","dependency_job_id":"32ba0600-32a2-4dff-9316-9b9b46f43883","html_url":"https://github.com/piotrmurach/tty-reader","commit_stats":{"total_commits":228,"total_committers":7,"mean_commits":32.57142857142857,"dds":"0.030701754385964897","last_synced_commit":"ac9257188cfd19f91f5386217ef29c218b9a83bd"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/piotrmurach/tty-reader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piotrmurach","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/sbom","scorecard":{"id":734847,"data":{"date":"2025-08-11","repo":{"name":"github.com/piotrmurach/tty-reader","commit":"ac9257188cfd19f91f5386217ef29c218b9a83bd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.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":"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 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":"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":"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":"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/ci.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/piotrmurach/tty-reader/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/piotrmurach/tty-reader/ci.yml/master?enable=pin","Info:   0 out of   1 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":"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":"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":"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.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt: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":-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":-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"}}]},"last_synced_at":"2025-08-22T15:28:37.671Z","repository_id":24558115,"created_at":"2025-08-22T15:28:37.671Z","updated_at":"2025-08-22T15:28:37.671Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31216898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-30T15:24:02.938Z","status":"ssl_error","status_checked_at":"2026-03-30T15:23:44.804Z","response_time":138,"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"}},"owner":{"login":"piotrmurach","name":"Piotr Murach","uuid":"444312","kind":"user","description":"Tender loving command line.","email":"","website":"https://piotrmurach.com","location":"Sheffield / Olsztyn","twitter":"piotr_murach","company":null,"icon_url":"https://avatars.githubusercontent.com/u/444312?v=4","repositories_count":89,"last_synced_at":"2025-11-23T03:03:05.684Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/piotrmurach","funding_links":["https://github.com/sponsors/piotrmurach"],"total_stars":12891,"followers":648,"following":42,"created_at":"2022-11-02T16:41:01.260Z","updated_at":"2025-11-23T03:03:05.684Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piotrmurach","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piotrmurach/repositories"},"packages":[{"id":320393,"name":"tty-reader","ecosystem":"rubygems","description":"A set of methods for processing keyboard input in character, line and multiline modes. It maintains history of entered input with an ability to recall and re-edit those inputs. It lets you register to listen for keystroke events and trigger custom key events yourself.","homepage":"https://ttytoolkit.org","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/piotrmurach/tty-reader","keywords_array":[],"namespace":null,"versions_count":9,"first_release_published_at":"2017-08-30T19:31:06.244Z","latest_release_published_at":"2020-12-08T21:59:46.317Z","latest_release_number":"0.9.0","last_synced_at":"2026-04-25T14:00:42.523Z","created_at":"2022-04-06T11:58:20.858Z","updated_at":"2026-04-25T14:02:24.379Z","registry_url":"https://rubygems.org/gems/tty-reader","install_command":"gem install tty-reader -s https://rubygems.org","documentation_url":"http://www.rubydoc.info/gems/tty-reader/","metadata":{"funding":null},"repo_metadata":{"id":24558115,"uuid":"101916183","full_name":"piotrmurach/tty-reader","owner":"piotrmurach","description":"A set of methods for processing keyboard input in character, line and multiline modes.","archived":false,"fork":false,"pushed_at":"2023-11-09T11:18:46.000Z","size":1036,"stargazers_count":97,"open_issues_count":15,"forks_count":17,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-26T08:16:35.595Z","etag":null,"topics":["cli","console","line-editing","ruby","ruby-gem","terminal","tty","word-completion"],"latest_commit_sha":null,"homepage":"https://ttytoolkit.org","language":"Ruby","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/piotrmurach.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":"piotrmurach"}},"created_at":"2017-08-30T18:33:59.000Z","updated_at":"2026-01-06T14:19:38.000Z","dependencies_parsed_at":"2024-05-28T19:27:37.743Z","dependency_job_id":"32ba0600-32a2-4dff-9316-9b9b46f43883","html_url":"https://github.com/piotrmurach/tty-reader","commit_stats":{"total_commits":228,"total_committers":7,"mean_commits":32.57142857142857,"dds":"0.030701754385964897","last_synced_commit":"ac9257188cfd19f91f5386217ef29c218b9a83bd"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/piotrmurach/tty-reader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piotrmurach","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/sbom","scorecard":{"id":734847,"data":{"date":"2025-08-11","repo":{"name":"github.com/piotrmurach/tty-reader","commit":"ac9257188cfd19f91f5386217ef29c218b9a83bd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.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":"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 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":"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":"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":"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/ci.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/piotrmurach/tty-reader/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/piotrmurach/tty-reader/ci.yml/master?enable=pin","Info:   0 out of   1 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":"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":"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":"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.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt: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":-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":-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"}}]},"last_synced_at":"2025-08-22T15:28:37.671Z","repository_id":24558115,"created_at":"2025-08-22T15:28:37.671Z","updated_at":"2025-08-22T15:28:37.671Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31216898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-30T15:24:02.938Z","status":"ssl_error","status_checked_at":"2026-03-30T15:23:44.804Z","response_time":138,"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"},"owner_record":{"login":"piotrmurach","name":"Piotr Murach","uuid":"444312","kind":"user","description":"Tender loving command line.","email":"","website":"https://piotrmurach.com","location":"Sheffield / Olsztyn","twitter":"piotr_murach","company":null,"icon_url":"https://avatars.githubusercontent.com/u/444312?v=4","repositories_count":89,"last_synced_at":"2025-11-23T03:03:05.684Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/piotrmurach","funding_links":["https://github.com/sponsors/piotrmurach"],"total_stars":12891,"followers":648,"following":42,"created_at":"2022-11-02T16:41:01.260Z","updated_at":"2025-11-23T03:03:05.684Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piotrmurach","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piotrmurach/repositories"},"tags":[{"name":"v0.9.0","sha":"a5932084e59cca6b49b8bb56592667a91c080af6","kind":"tag","published_at":"2020-12-08T21:58:55.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.9.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.9.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.9.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.9.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.9.0/manifests"},{"name":"v0.8.0","sha":"90cd6b26bfdce3970239d82c8aa1fbdf0df41c8c","kind":"tag","published_at":"2020-06-28T19:24:04.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.8.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.8.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.8.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.8.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.8.0/manifests"},{"name":"v0.7.0","sha":"e748044c707910d5da090257d17e1ceb969aa856","kind":"tag","published_at":"2019-11-24T18:49:32.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.7.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.7.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.7.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.7.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.7.0/manifests"},{"name":"v0.6.0","sha":"b6e66462f5cc1e9df03dc6317bab34b0bee89ce9","kind":"tag","published_at":"2019-05-27T18:47:41.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.6.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.6.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.6.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.6.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.6.0/manifests"},{"name":"v0.5.0","sha":"95413658ce726efb12cb3dfee30e4eb8fbdab85f","kind":"tag","published_at":"2018-11-24T17:05:45.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.5.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.5.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.5.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.5.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.5.0/manifests"},{"name":"v0.4.0","sha":"b1cc8c49c9a94b855416314389ceccf41206968c","kind":"tag","published_at":"2018-08-05T11:51:21.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.4.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.4.0/manifests"},{"name":"v0.3.0","sha":"f034a2b2ebb2b59cf6675f2158f876dcc9e340fd","kind":"tag","published_at":"2018-04-29T14:04:57.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.3.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.3.0/manifests"},{"name":"v0.2.0","sha":"e06f10e8e061103e54a2957a7df6c40ff4e5459e","kind":"tag","published_at":"2018-01-01T18:58:06.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.2.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.2.0/manifests"},{"name":"v0.1.0","sha":"aa2213d4ac16a26cadba53417d44e741d6d4b190","kind":"tag","published_at":"2017-08-30T19:30:55.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.1.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2026-04-25T14:02:24.379Z","dependent_packages_count":24,"downloads":82261587,"downloads_period":"total","dependent_repos_count":3188,"rankings":{"downloads":0.5792952658954,"dependent_repos_count":0.554500526888204,"dependent_packages_count":1.1671353617781484,"stargazers_count":5.903965467690765,"forks_count":7.373053753867135,"docker_downloads_count":0.26034475957555914,"average":2.6397158559492016},"purl":"pkg:gem/tty-reader","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/rubygems/tty-reader","docker_dependents_count":247,"docker_downloads_count":482641807,"usage_url":"https://repos.ecosyste.ms/usage/rubygems/tty-reader","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/rubygems/tty-reader/dependencies","status":null,"funding_links":["https://github.com/sponsors/piotrmurach"],"critical":true,"issue_metadata":{"last_synced_at":"2026-03-03T12:01:01.943Z","issues_count":18,"pull_requests_count":18,"avg_time_to_close_issue":6435623.7,"avg_time_to_close_pull_request":4155379.0,"issues_closed_count":10,"pull_requests_closed_count":10,"pull_request_authors_count":15,"issue_authors_count":17,"avg_comments_per_issue":3.8333333333333335,"avg_comments_per_pull_request":2.2222222222222223,"merged_pull_requests_count":7,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":2,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":2,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":1.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/issues","maintainers":[{"login":"piotrmurach","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/piotrmurach"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/tty-reader/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/tty-reader/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/tty-reader/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/tty-reader/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/tty-reader/codemeta","maintainers":[{"uuid":"54662","login":"piotrmurach","name":null,"email":null,"url":null,"packages_count":65,"html_url":"https://rubygems.org/profiles/piotrmurach","role":null,"created_at":"2022-11-09T09:54:54.960Z","updated_at":"2022-11-09T09:54:54.960Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/rubygems.org/maintainers/piotrmurach/packages"}],"registry":{"name":"rubygems.org","url":"https://rubygems.org","ecosystem":"rubygems","default":true,"packages_count":205536,"maintainers_count":68468,"namespaces_count":0,"keywords_count":0,"github":"rubygems","metadata":{"funded_packages_count":7260},"icon_url":"https://github.com/rubygems.png","created_at":"2022-04-04T15:19:23.446Z","updated_at":"2026-04-03T06:42:17.024Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages","maintainers_url":"https://packages.ecosyste.ms/api/v1/registries/rubygems.org/maintainers","namespaces_url":"https://packages.ecosyste.ms/api/v1/registries/rubygems.org/namespaces"}},{"id":5302843,"name":"rb-tty-reader","ecosystem":"conda","description":null,"homepage":"https://rubygems.org/gems/tty-reader","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/piotrmurach/tty-reader","keywords_array":[],"namespace":null,"versions_count":2,"first_release_published_at":"2019-09-11T03:28:26.000Z","latest_release_published_at":"2019-11-25T18:28:55.000Z","latest_release_number":"0.7.0","last_synced_at":"2026-03-05T03:47:20.066Z","created_at":"2022-10-03T16:13:32.396Z","updated_at":"2026-03-05T03:47:20.067Z","registry_url":"https://anaconda.org/conda-forge/rb-tty-reader","install_command":"conda install -c conda-forge rb-tty-reader","documentation_url":null,"metadata":{},"repo_metadata":{"id":24558115,"uuid":"101916183","full_name":"piotrmurach/tty-reader","owner":"piotrmurach","description":"A set of methods for processing keyboard input in character, line and multiline modes.","archived":false,"fork":false,"pushed_at":"2023-11-09T11:18:46.000Z","size":1036,"stargazers_count":94,"open_issues_count":13,"forks_count":17,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-24T18:23:25.095Z","etag":null,"topics":["cli","console","line-editing","ruby","ruby-gem","terminal","tty","word-completion"],"latest_commit_sha":null,"homepage":"https://ttytoolkit.org","language":"Ruby","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/piotrmurach.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":"piotrmurach"}},"created_at":"2017-08-30T18:33:59.000Z","updated_at":"2025-02-08T09:46:49.000Z","dependencies_parsed_at":"2024-05-28T19:27:37.743Z","dependency_job_id":"32ba0600-32a2-4dff-9316-9b9b46f43883","html_url":"https://github.com/piotrmurach/tty-reader","commit_stats":{"total_commits":228,"total_committers":7,"mean_commits":32.57142857142857,"dds":"0.030701754385964897","last_synced_commit":"ac9257188cfd19f91f5386217ef29c218b9a83bd"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/piotrmurach/tty-reader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piotrmurach","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/sbom","scorecard":{"id":734847,"data":{"date":"2025-08-11","repo":{"name":"github.com/piotrmurach/tty-reader","commit":"ac9257188cfd19f91f5386217ef29c218b9a83bd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.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":"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 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":"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":"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":"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/ci.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/piotrmurach/tty-reader/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/piotrmurach/tty-reader/ci.yml/master?enable=pin","Info:   0 out of   1 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":"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":"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":"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.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt: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":-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":-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"}}]},"last_synced_at":"2025-08-22T15:28:37.671Z","repository_id":24558115,"created_at":"2025-08-22T15:28:37.671Z","updated_at":"2025-08-22T15:28:37.671Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273018209,"owners_count":25031596,"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-31T02:00:09.071Z","response_time":79,"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"},"owner_record":{"login":"piotrmurach","name":"Piotr Murach","uuid":"444312","kind":"user","description":"Tender loving command line.","email":"","website":"https://piotrmurach.com","location":"Sheffield / Olsztyn","twitter":"piotr_murach","company":null,"icon_url":"https://avatars.githubusercontent.com/u/444312?v=4","repositories_count":89,"last_synced_at":"2025-08-30T13:59:48.802Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/piotrmurach","funding_links":["https://github.com/sponsors/piotrmurach"],"total_stars":12795,"followers":640,"following":42,"created_at":"2022-11-02T16:41:01.260Z","updated_at":"2025-08-30T13:59:48.803Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piotrmurach","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piotrmurach/repositories"},"tags":[{"name":"v0.9.0","sha":"a5932084e59cca6b49b8bb56592667a91c080af6","kind":"tag","published_at":"2020-12-08T21:58:55.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.9.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.9.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.9.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.9.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.9.0/manifests"},{"name":"v0.8.0","sha":"90cd6b26bfdce3970239d82c8aa1fbdf0df41c8c","kind":"tag","published_at":"2020-06-28T19:24:04.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.8.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.8.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.8.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.8.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.8.0/manifests"},{"name":"v0.7.0","sha":"e748044c707910d5da090257d17e1ceb969aa856","kind":"tag","published_at":"2019-11-24T18:49:32.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.7.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.7.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.7.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.7.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.7.0/manifests"},{"name":"v0.6.0","sha":"b6e66462f5cc1e9df03dc6317bab34b0bee89ce9","kind":"tag","published_at":"2019-05-27T18:47:41.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.6.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.6.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.6.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.6.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.6.0/manifests"},{"name":"v0.5.0","sha":"95413658ce726efb12cb3dfee30e4eb8fbdab85f","kind":"tag","published_at":"2018-11-24T17:05:45.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.5.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.5.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.5.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.5.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.5.0/manifests"},{"name":"v0.4.0","sha":"b1cc8c49c9a94b855416314389ceccf41206968c","kind":"tag","published_at":"2018-08-05T11:51:21.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.4.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.4.0/manifests"},{"name":"v0.3.0","sha":"f034a2b2ebb2b59cf6675f2158f876dcc9e340fd","kind":"tag","published_at":"2018-04-29T14:04:57.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.3.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.3.0/manifests"},{"name":"v0.2.0","sha":"e06f10e8e061103e54a2957a7df6c40ff4e5459e","kind":"tag","published_at":"2018-01-01T18:58:06.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.2.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.2.0/manifests"},{"name":"v0.1.0","sha":"aa2213d4ac16a26cadba53417d44e741d6d4b190","kind":"tag","published_at":"2017-08-30T19:30:55.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.1.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2025-08-31T19:20:04.373Z","dependent_packages_count":1,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":34.025455452957324,"dependent_packages_count":28.819565759920142,"stargazers_count":32.0139755428001,"forks_count":37.309708010980785,"average":33.04217619166459},"purl":"pkg:conda/rb-tty-reader?repository_url=https://conda-forge.org","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/conda/rb-tty-reader","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/conda/rb-tty-reader","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/conda/rb-tty-reader/dependencies","status":null,"funding_links":["https://github.com/sponsors/piotrmurach"],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-31T12:09:33.785Z","issues_count":17,"pull_requests_count":16,"avg_time_to_close_issue":6435623.7,"avg_time_to_close_pull_request":4155379.0,"issues_closed_count":10,"pull_requests_closed_count":10,"pull_request_authors_count":14,"issue_authors_count":16,"avg_comments_per_issue":4.117647058823529,"avg_comments_per_pull_request":2.4375,"merged_pull_requests_count":7,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":2,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":2,"past_year_avg_comments_per_issue":0.5,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/issues","maintainers":[{"login":"piotrmurach","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/piotrmurach"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/conda-forge.org/packages/rb-tty-reader/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/conda-forge.org/packages/rb-tty-reader/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/conda-forge.org/packages/rb-tty-reader/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/conda-forge.org/packages/rb-tty-reader/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/conda-forge.org/packages/rb-tty-reader/codemeta","maintainers":[],"registry":{"name":"conda-forge.org","url":"https://conda-forge.org","ecosystem":"conda","default":false,"packages_count":20636,"maintainers_count":0,"namespaces_count":0,"keywords_count":0,"github":"conda-forge","metadata":{"kind":"conda-forge","key":"CondaForge","api":"https://conda.anaconda.org"},"icon_url":"https://github.com/conda-forge.png","created_at":"2022-10-03T15:37:08.743Z","updated_at":"2026-04-27T18:20:20.507Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/conda-forge.org/packages","maintainers_url":"https://packages.ecosyste.ms/api/v1/registries/conda-forge.org/maintainers","namespaces_url":"https://packages.ecosyste.ms/api/v1/registries/conda-forge.org/namespaces"}},{"id":8614441,"name":"github.com/piotrmurach/tty-reader","ecosystem":"go","description":null,"homepage":null,"licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/piotrmurach/tty-reader","keywords_array":[],"namespace":null,"versions_count":9,"first_release_published_at":"2023-12-02T02:14:25.504Z","latest_release_published_at":"2020-12-08T21:51:46.000Z","latest_release_number":"v0.9.0","last_synced_at":"2026-04-25T14:00:43.353Z","created_at":"2023-12-02T02:14:18.727Z","updated_at":"2026-04-25T14:00:43.353Z","registry_url":"https://pkg.go.dev/github.com/piotrmurach/tty-reader","install_command":"go get github.com/piotrmurach/tty-reader","documentation_url":"https://pkg.go.dev/github.com/piotrmurach/tty-reader#section-documentation","metadata":{},"repo_metadata":{"id":24558115,"uuid":"101916183","full_name":"piotrmurach/tty-reader","owner":"piotrmurach","description":"A set of methods for processing keyboard input in character, line and multiline modes.","archived":false,"fork":false,"pushed_at":"2023-11-09T11:18:46.000Z","size":1036,"stargazers_count":94,"open_issues_count":13,"forks_count":17,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-24T18:23:25.095Z","etag":null,"topics":["cli","console","line-editing","ruby","ruby-gem","terminal","tty","word-completion"],"latest_commit_sha":null,"homepage":"https://ttytoolkit.org","language":"Ruby","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/piotrmurach.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":"piotrmurach"}},"created_at":"2017-08-30T18:33:59.000Z","updated_at":"2025-02-08T09:46:49.000Z","dependencies_parsed_at":"2024-05-28T19:27:37.743Z","dependency_job_id":"32ba0600-32a2-4dff-9316-9b9b46f43883","html_url":"https://github.com/piotrmurach/tty-reader","commit_stats":{"total_commits":228,"total_committers":7,"mean_commits":32.57142857142857,"dds":"0.030701754385964897","last_synced_commit":"ac9257188cfd19f91f5386217ef29c218b9a83bd"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/piotrmurach/tty-reader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piotrmurach","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/sbom","scorecard":{"id":734847,"data":{"date":"2025-08-11","repo":{"name":"github.com/piotrmurach/tty-reader","commit":"ac9257188cfd19f91f5386217ef29c218b9a83bd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.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":"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 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":"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":"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":"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/ci.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/piotrmurach/tty-reader/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/piotrmurach/tty-reader/ci.yml/master?enable=pin","Info:   0 out of   1 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":"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":"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":"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.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt: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":-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":-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"}}]},"last_synced_at":"2025-08-22T15:28:37.671Z","repository_id":24558115,"created_at":"2025-08-22T15:28:37.671Z","updated_at":"2025-08-22T15:28:37.671Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273018209,"owners_count":25031596,"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-31T02:00:09.071Z","response_time":79,"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"},"owner_record":{"login":"piotrmurach","name":"Piotr Murach","uuid":"444312","kind":"user","description":"Tender loving command line.","email":"","website":"https://piotrmurach.com","location":"Sheffield / Olsztyn","twitter":"piotr_murach","company":null,"icon_url":"https://avatars.githubusercontent.com/u/444312?v=4","repositories_count":89,"last_synced_at":"2025-08-30T13:59:48.802Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/piotrmurach","funding_links":["https://github.com/sponsors/piotrmurach"],"total_stars":12795,"followers":640,"following":42,"created_at":"2022-11-02T16:41:01.260Z","updated_at":"2025-08-30T13:59:48.803Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piotrmurach","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piotrmurach/repositories"},"tags":[{"name":"v0.9.0","sha":"a5932084e59cca6b49b8bb56592667a91c080af6","kind":"tag","published_at":"2020-12-08T21:58:55.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.9.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.9.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.9.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.9.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.9.0/manifests"},{"name":"v0.8.0","sha":"90cd6b26bfdce3970239d82c8aa1fbdf0df41c8c","kind":"tag","published_at":"2020-06-28T19:24:04.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.8.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.8.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.8.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.8.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.8.0/manifests"},{"name":"v0.7.0","sha":"e748044c707910d5da090257d17e1ceb969aa856","kind":"tag","published_at":"2019-11-24T18:49:32.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.7.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.7.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.7.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.7.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.7.0/manifests"},{"name":"v0.6.0","sha":"b6e66462f5cc1e9df03dc6317bab34b0bee89ce9","kind":"tag","published_at":"2019-05-27T18:47:41.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.6.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.6.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.6.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.6.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.6.0/manifests"},{"name":"v0.5.0","sha":"95413658ce726efb12cb3dfee30e4eb8fbdab85f","kind":"tag","published_at":"2018-11-24T17:05:45.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.5.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.5.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.5.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.5.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.5.0/manifests"},{"name":"v0.4.0","sha":"b1cc8c49c9a94b855416314389ceccf41206968c","kind":"tag","published_at":"2018-08-05T11:51:21.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.4.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.4.0/manifests"},{"name":"v0.3.0","sha":"f034a2b2ebb2b59cf6675f2158f876dcc9e340fd","kind":"tag","published_at":"2018-04-29T14:04:57.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.3.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.3.0/manifests"},{"name":"v0.2.0","sha":"e06f10e8e061103e54a2957a7df6c40ff4e5459e","kind":"tag","published_at":"2018-01-01T18:58:06.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.2.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.2.0/manifests"},{"name":"v0.1.0","sha":"aa2213d4ac16a26cadba53417d44e741d6d4b190","kind":"tag","published_at":"2017-08-30T19:30:55.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.1.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2025-08-31T19:20:04.370Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":10.801592556016239,"dependent_packages_count":9.575730298247606,"stargazers_count":4.7525520378628885,"forks_count":5.307414949652445,"docker_downloads_count":null,"average":7.609322460444795},"purl":"pkg:golang/github.com/piotrmurach/tty-reader","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/piotrmurach/tty-reader","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/piotrmurach/tty-reader","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/piotrmurach/tty-reader/dependencies","status":null,"funding_links":["https://github.com/sponsors/piotrmurach"],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-31T12:09:33.785Z","issues_count":17,"pull_requests_count":16,"avg_time_to_close_issue":6435623.7,"avg_time_to_close_pull_request":4155379.0,"issues_closed_count":10,"pull_requests_closed_count":10,"pull_request_authors_count":14,"issue_authors_count":16,"avg_comments_per_issue":4.117647058823529,"avg_comments_per_pull_request":2.4375,"merged_pull_requests_count":7,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":2,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":2,"past_year_avg_comments_per_issue":0.5,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/issues","maintainers":[{"login":"piotrmurach","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/piotrmurach"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fpiotrmurach%2Ftty-reader/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fpiotrmurach%2Ftty-reader/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fpiotrmurach%2Ftty-reader/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fpiotrmurach%2Ftty-reader/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fpiotrmurach%2Ftty-reader/codemeta","maintainers":[],"registry":{"name":"proxy.golang.org","url":"https://proxy.golang.org","ecosystem":"go","default":true,"packages_count":2117327,"maintainers_count":0,"namespaces_count":782439,"keywords_count":112823,"github":"golang","metadata":{"funded_packages_count":53495},"icon_url":"https://github.com/golang.png","created_at":"2022-04-04T15:19:22.939Z","updated_at":"2026-04-19T05:14:45.920Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages","maintainers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/maintainers","namespaces_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/namespaces"}},{"id":12346184,"name":"tty-reader","ecosystem":"rubygems","description":"A set of methods for processing keyboard input in character, line and multiline modes. It maintains history of entered input with an ability to recall and re-edit those inputs. It lets you register to listen for keystroke events and trigger custom key events yourself.","homepage":"https://ttytoolkit.org","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/piotrmurach/tty-reader","keywords_array":[],"namespace":null,"versions_count":9,"first_release_published_at":"2017-08-30T19:31:06.244Z","latest_release_published_at":"2020-12-08T21:59:46.317Z","latest_release_number":"0.9.0","last_synced_at":"2026-04-28T12:18:37.322Z","created_at":"2025-10-07T06:37:57.077Z","updated_at":"2026-04-28T13:16:18.106Z","registry_url":"https://gem.coop/gems/tty-reader","install_command":"gem install tty-reader -s https://gem.coop","documentation_url":"http://www.rubydoc.info/gems/tty-reader/","metadata":{"funding":null},"repo_metadata":{"id":24558115,"uuid":"101916183","full_name":"piotrmurach/tty-reader","owner":"piotrmurach","description":"A set of methods for processing keyboard input in character, line and multiline modes.","archived":false,"fork":false,"pushed_at":"2023-11-09T11:18:46.000Z","size":1036,"stargazers_count":97,"open_issues_count":15,"forks_count":17,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-26T08:16:35.595Z","etag":null,"topics":["cli","console","line-editing","ruby","ruby-gem","terminal","tty","word-completion"],"latest_commit_sha":null,"homepage":"https://ttytoolkit.org","language":"Ruby","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/piotrmurach.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":"piotrmurach"}},"created_at":"2017-08-30T18:33:59.000Z","updated_at":"2026-01-06T14:19:38.000Z","dependencies_parsed_at":"2024-05-28T19:27:37.743Z","dependency_job_id":"32ba0600-32a2-4dff-9316-9b9b46f43883","html_url":"https://github.com/piotrmurach/tty-reader","commit_stats":{"total_commits":228,"total_committers":7,"mean_commits":32.57142857142857,"dds":"0.030701754385964897","last_synced_commit":"ac9257188cfd19f91f5386217ef29c218b9a83bd"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/piotrmurach/tty-reader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piotrmurach","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/sbom","scorecard":{"id":734847,"data":{"date":"2025-08-11","repo":{"name":"github.com/piotrmurach/tty-reader","commit":"ac9257188cfd19f91f5386217ef29c218b9a83bd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.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":"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 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":"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":"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":"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/ci.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/piotrmurach/tty-reader/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/piotrmurach/tty-reader/ci.yml/master?enable=pin","Info:   0 out of   1 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":"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":"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":"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.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt: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":-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":-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"}}]},"last_synced_at":"2025-08-22T15:28:37.671Z","repository_id":24558115,"created_at":"2025-08-22T15:28:37.671Z","updated_at":"2025-08-22T15:28:37.671Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31216898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-30T15:24:02.938Z","status":"ssl_error","status_checked_at":"2026-03-30T15:23:44.804Z","response_time":138,"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"},"owner_record":{"login":"piotrmurach","name":"Piotr Murach","uuid":"444312","kind":"user","description":"Tender loving command line.","email":"","website":"https://piotrmurach.com","location":"Sheffield / Olsztyn","twitter":"piotr_murach","company":null,"icon_url":"https://avatars.githubusercontent.com/u/444312?v=4","repositories_count":89,"last_synced_at":"2025-11-23T03:03:05.684Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/piotrmurach","funding_links":["https://github.com/sponsors/piotrmurach"],"total_stars":12891,"followers":648,"following":42,"created_at":"2022-11-02T16:41:01.260Z","updated_at":"2025-11-23T03:03:05.684Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piotrmurach","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piotrmurach/repositories"},"tags":[{"name":"v0.9.0","sha":"a5932084e59cca6b49b8bb56592667a91c080af6","kind":"tag","published_at":"2020-12-08T21:58:55.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.9.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.9.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.9.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.9.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.9.0/manifests"},{"name":"v0.8.0","sha":"90cd6b26bfdce3970239d82c8aa1fbdf0df41c8c","kind":"tag","published_at":"2020-06-28T19:24:04.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.8.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.8.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.8.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.8.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.8.0/manifests"},{"name":"v0.7.0","sha":"e748044c707910d5da090257d17e1ceb969aa856","kind":"tag","published_at":"2019-11-24T18:49:32.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.7.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.7.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.7.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.7.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.7.0/manifests"},{"name":"v0.6.0","sha":"b6e66462f5cc1e9df03dc6317bab34b0bee89ce9","kind":"tag","published_at":"2019-05-27T18:47:41.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.6.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.6.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.6.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.6.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.6.0/manifests"},{"name":"v0.5.0","sha":"95413658ce726efb12cb3dfee30e4eb8fbdab85f","kind":"tag","published_at":"2018-11-24T17:05:45.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.5.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.5.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.5.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.5.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.5.0/manifests"},{"name":"v0.4.0","sha":"b1cc8c49c9a94b855416314389ceccf41206968c","kind":"tag","published_at":"2018-08-05T11:51:21.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.4.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.4.0/manifests"},{"name":"v0.3.0","sha":"f034a2b2ebb2b59cf6675f2158f876dcc9e340fd","kind":"tag","published_at":"2018-04-29T14:04:57.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.3.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.3.0/manifests"},{"name":"v0.2.0","sha":"e06f10e8e061103e54a2957a7df6c40ff4e5459e","kind":"tag","published_at":"2018-01-01T18:58:06.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.2.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.2.0/manifests"},{"name":"v0.1.0","sha":"aa2213d4ac16a26cadba53417d44e741d6d4b190","kind":"tag","published_at":"2017-08-30T19:30:55.000Z","download_url":"https://codeload.github.com/piotrmurach/tty-reader/tar.gz/v0.1.0","html_url":"https://github.com/piotrmurach/tty-reader/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/piotrmurach/tty-reader@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2026-04-28T13:16:18.080Z","dependent_packages_count":0,"downloads":82485047,"downloads_period":"total","dependent_repos_count":0,"rankings":{"downloads":0.4022339119951126,"dependent_repos_count":0.0,"dependent_packages_count":0.0,"stargazers_count":null,"forks_count":null,"docker_downloads_count":0.2108484216103413,"average":0.15327058340136349},"purl":"pkg:gem/tty-reader?repository_url=https://gem.coop","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/rubygems/tty-reader","docker_dependents_count":247,"docker_downloads_count":482641807,"usage_url":"https://repos.ecosyste.ms/usage/rubygems/tty-reader","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/rubygems/tty-reader/dependencies","status":null,"funding_links":["https://github.com/sponsors/piotrmurach"],"critical":null,"issue_metadata":{"last_synced_at":"2026-03-03T12:01:01.943Z","issues_count":18,"pull_requests_count":18,"avg_time_to_close_issue":6435623.7,"avg_time_to_close_pull_request":4155379.0,"issues_closed_count":10,"pull_requests_closed_count":10,"pull_request_authors_count":15,"issue_authors_count":17,"avg_comments_per_issue":3.8333333333333335,"avg_comments_per_pull_request":2.2222222222222223,"merged_pull_requests_count":7,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":2,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":2,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":1.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/issues","maintainers":[{"login":"piotrmurach","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/piotrmurach"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/packages/tty-reader/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/packages/tty-reader/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/packages/tty-reader/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/packages/tty-reader/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/packages/tty-reader/codemeta","maintainers":[{"uuid":"54662","login":"piotrmurach","name":null,"email":null,"url":null,"packages_count":65,"html_url":"https://gem.coop/profiles/piotrmurach","role":null,"created_at":"2025-10-09T23:57:07.133Z","updated_at":"2025-10-09T23:57:07.133Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/maintainers/piotrmurach/packages"}],"registry":{"name":"gem.coop","url":"https://gem.coop","ecosystem":"rubygems","default":false,"packages_count":190389,"maintainers_count":67476,"namespaces_count":0,"keywords_count":0,"github":"gem-coop","metadata":{"funded_packages_count":6507},"icon_url":"https://github.com/gem-coop.png","created_at":"2025-10-06T17:24:20.932Z","updated_at":"2026-04-03T06:45:05.763Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/packages","maintainers_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/maintainers","namespaces_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/namespaces"}}],"commits":{"id":34611,"full_name":"piotrmurach/tty-reader","default_branch":"master","total_commits":228,"total_committers":7,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":32.57142857142857,"dds":0.030701754385964897,"past_year_total_commits":0,"past_year_total_committers":0,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":0.0,"past_year_dds":0.0,"last_synced_at":"2026-04-27T15:04:12.379Z","last_synced_commit":"ac9257188cfd19f91f5386217ef29c218b9a83bd","created_at":"2023-03-07T16:57:05.665Z","updated_at":"2026-04-27T15:04:12.341Z","committers":[{"name":"Piotr Murach","email":"pmurach@gmail.com","login":"piotrmurach","count":221},{"name":"Samuel Williams","email":"samuel.williams@oriontransfer.co.nz","login":"ioquatix","count":2},{"name":"Mark Allen","email":"mark.ivan.allen@gmail.com","login":"TSMMark","count":1},{"name":"Katelyn Schiesser","email":"katelyn.schiesser@gmail.com","login":"slowbro","count":1},{"name":"Josh Bodah","email":"jbodah","login":"jbodah","count":1},{"name":"Joe Eli McIlvain","email":"joe.eli.mac@gmail.com","login":"jemc","count":1},{"name":"Charles Pence","email":"charles@charlespence.net","login":"cpence","count":1}],"past_year_committers":[],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-28T00:00:07.369Z","repositories_count":6221065,"commits_count":900020071,"contributors_count":34885892,"owners_count":1146678,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"piotrmurach/tty-reader","html_url":"https://github.com/piotrmurach/tty-reader","last_synced_at":"2026-03-03T12:01:01.943Z","status":"error","issues_count":18,"pull_requests_count":18,"avg_time_to_close_issue":6435623.7,"avg_time_to_close_pull_request":4155379.0,"issues_closed_count":10,"pull_requests_closed_count":10,"pull_request_authors_count":15,"issue_authors_count":17,"avg_comments_per_issue":3.8333333333333335,"avg_comments_per_pull_request":2.2222222222222223,"merged_pull_requests_count":7,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":2,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":2,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":1.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"created_at":"2023-05-10T21:58:43.080Z","updated_at":"2026-03-03T12:01:01.944Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-reader/issues","issue_labels_count":{"enhancement":4,"bug":3,"help wanted":1},"pull_request_labels_count":{},"issue_author_associations_count":{"NONE":14,"OWNER":2,"CONTRIBUTOR":2},"pull_request_author_associations_count":{"NONE":11,"CONTRIBUTOR":7},"issue_authors":{"piotrmurach":2,"jemc":1,"cpence":1,"DannyBen":1,"Kris-LIBIS":1,"mmitchellg5":1,"pjvleeuwen":1,"64kramsystem":1,"doriantaylor":1,"mmrwoods":1,"ddoherty03":1,"mattbrictson":1,"thewyzard44":1,"jeremie-stripe":1,"wrzasa":1,"brandondrew":1,"vemv":1},"pull_request_authors":{"ioquatix":2,"qd3v":2,"zzyzwicz":2,"jbodah":1,"kmayer":1,"ColonelPanicks":1,"64kramsystem":1,"jemc":1,"eikes":1,"slowbro":1,"boutil":1,"TSMMark":1,"doriantaylor":1,"cpence":1,"Ranhiru":1},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-25T00:00:14.967Z","repositories_count":14386555,"issues_count":34396482,"pull_requests_count":112636650,"authors_count":11244842,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{"bug":1},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{"NONE":1},"past_year_pull_request_author_associations_count":{"NONE":1},"past_year_issue_authors":{"ddoherty03":1},"past_year_pull_request_authors":{"boutil":1},"maintainers":[{"login":"piotrmurach","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/piotrmurach"}],"active_maintainers":[]},"events":{"total":{"PullRequestEvent":1,"ForkEvent":1,"IssuesEvent":2,"WatchEvent":8,"IssueCommentEvent":3},"last_year":{"WatchEvent":1}},"keywords":["cli","console","line-editing","ruby","ruby-gem","terminal","tty","word-completion"],"dependencies":[{"ecosystem":"rubygems","filepath":"Gemfile","sha":null,"kind":"manifest","created_at":"2022-07-16T23:30:50.038Z","updated_at":"2022-07-16T23:30:50.038Z","repository_link":"https://github.com/piotrmurach/tty-reader/blob/master/Gemfile","dependencies":[{"id":239603482,"package_name":"benchmark-ips","ecosystem":"rubygems","requirements":"~\u003e 2.7.2","direct":true,"kind":"development","optional":false},{"id":239603483,"package_name":"rspec-benchmark","ecosystem":"rubygems","requirements":"~\u003e 0.6","direct":true,"kind":"development","optional":false},{"id":239603484,"package_name":"coveralls_reborn","ecosystem":"rubygems","requirements":"~\u003e 0.21.0","direct":true,"kind":"development","optional":false},{"id":239603485,"package_name":"simplecov","ecosystem":"rubygems","requirements":"~\u003e 0.21.0","direct":true,"kind":"development","optional":false},{"id":239603486,"package_name":"yard","ecosystem":"rubygems","requirements":"~\u003e 0.9","direct":true,"kind":"development","optional":false},{"id":239603487,"package_name":"yardstick","ecosystem":"rubygems","requirements":"~\u003e 0.9.9","direct":true,"kind":"development","optional":false}]},{"ecosystem":"rubygems","filepath":"tty-reader.gemspec","sha":null,"kind":"manifest","created_at":"2022-07-16T23:30:50.293Z","updated_at":"2022-07-16T23:30:50.293Z","repository_link":"https://github.com/piotrmurach/tty-reader/blob/master/tty-reader.gemspec","dependencies":[{"id":239606286,"package_name":"tty-screen","ecosystem":"rubygems","requirements":"~\u003e 0.8","direct":true,"kind":"runtime","optional":false},{"id":239606290,"package_name":"tty-cursor","ecosystem":"rubygems","requirements":"~\u003e 0.7","direct":true,"kind":"runtime","optional":false},{"id":239606292,"package_name":"wisper","ecosystem":"rubygems","requirements":"~\u003e 2.0","direct":true,"kind":"runtime","optional":false},{"id":239606294,"package_name":"rake","ecosystem":"rubygems","requirements":"\u003e= 0","direct":true,"kind":"development","optional":false},{"id":239606295,"package_name":"rspec","ecosystem":"rubygems","requirements":"\u003e= 3.0","direct":true,"kind":"development","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/ci.yml","sha":null,"kind":"manifest","created_at":"2024-05-28T19:27:37.212Z","updated_at":"2024-05-28T19:27:37.212Z","repository_link":"https://github.com/piotrmurach/tty-reader/blob/master/.github/workflows/ci.yml","dependencies":[{"id":18269827235,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":18269827236,"package_name":"ruby/setup-ruby","ecosystem":"actions","requirements":"v1","direct":true,"kind":"composite","optional":false}]}],"score":27.50992253912711,"created_at":"2024-12-15T21:38:07.079Z","updated_at":"2026-04-30T16:30:17.707Z","avatar_url":"https://github.com/piotrmurach.png","language":"Ruby","monthly_downloads":0,"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://ttytoolkit.org\"\u003e\u003cimg width=\"130\" src=\"https://github.com/piotrmurach/tty/raw/master/images/tty.png\" alt=\"TTY Toolkit logo\" /\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n# TTY::Reader [![Gitter](https://badges.gitter.im/Join%20Chat.svg)][gitter]\n\n[![Gem Version](https://badge.fury.io/rb/tty-reader.svg)][gem]\n[![Actions CI](https://github.com/piotrmurach/tty-reader/workflows/CI/badge.svg?branch=master)][gh_actions_ci]\n[![Build status](https://ci.appveyor.com/api/projects/status/cj4owy2vlty2q1ko?svg=true)][appveyor]\n[![Maintainability](https://api.codeclimate.com/v1/badges/2f68d5e8ecc271bda820/maintainability)][codeclimate]\n[![Coverage Status](https://coveralls.io/repos/github/piotrmurach/tty-reader/badge.svg)][coverage]\n[![Inline docs](http://inch-ci.org/github/piotrmurach/tty-reader.svg?branch=master)][inchpages]\n\n[gitter]: https://gitter.im/piotrmurach/tty\n[gem]: http://badge.fury.io/rb/tty-reader\n[gh_actions_ci]: https://github.com/piotrmurach/tty-reader/actions?query=workflow%3ACI\n[travis]: http://travis-ci.org/piotrmurach/tty-reader\n[appveyor]: https://ci.appveyor.com/project/piotrmurach/tty-reader\n[codeclimate]: https://codeclimate.com/github/piotrmurach/tty-reader/maintainability\n[coverage]: https://coveralls.io/github/piotrmurach/tty-reader\n[inchpages]: http://inch-ci.org/github/piotrmurach/tty-reader\n\n\u003e A pure Ruby library that provides a set of methods for processing keyboard input in character, line and multiline modes. It maintains history of entered input with an ability to recall and re-edit those inputs. It lets you register to listen for keystroke events and trigger custom key events yourself.\n\n**TTY::Reader** provides independent reader component for [TTY](https://github.com/piotrmurach/tty) toolkit.\n\n![](assets/shell.gif)\n\n## Compatibility\n\nThe `tty-reader` is not compatible with the GNU Readline and doesn't aim to be. It originated from [tty-prompt](https://github.com/piotrmurach/tty-prompt) project to provide flexibility, independence from underlying operating system and Ruby like API interface for creating different prompts.\n\n`TTY::Reader` forges its own path to provide features necessary for building line editing in terminal applications!\n\n## Features\n\n* Pure Ruby\n* Reading [single keypress](#21-read_keypress)\n* [Line editing](#22-read_line)\n* Reading [multiline input](#23-read_multiline)\n* Ability to [register](#24-on) for keystroke events\n* Track input [history](#32-track_history)\n* No global state\n* Works on Linux, OS X, FreeBSD and Windows\n* Supports Ruby versions `\u003e= 2.0.0` \u0026 JRuby\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem \"tty-reader\"\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install tty-reader\n\n* [1. Usage](#1-usage)\n* [2. API](#2-api)\n  * [2.1 read_keypress](#21-read_keypress)\n  * [2.2 read_line](#22-read_line)\n  * [2.3 read_multiline](#23-read_multiline)\n  * [2.4 on](#24-on)\n  * [2.5 subscribe](#25-subscribe)\n  * [2.6 unsubscribe](#26-unsubscribe)\n  * [2.7 trigger](#27-trigger)\n  * [2.8 supported events](#28-supported-events)\n* [3. Configuration](#3-configuration)\n  * [3.1 :interrupt](#31-interrupt)\n  * [3.2 :track_history](#32-track_history)\n  * [3.3 :history_cycle](#33-history_cycle)\n  * [3.4 :history_duplicates](#34-history_duplicates)\n  * [3.5 :history_exclude](#35-history_exclude)\n  * [3.6 :history_size](#36-history_size)\n\n## Usage\n\nIn just a few lines you can recreate IRB prompt.\n\nInitialize the reader:\n\n```ruby\nreader = TTY::Reader.new\n```\n\nThen register to listen for key events, in this case listen for `Ctrl-X` or `Esc` keys to exit:\n\n```ruby\nreader.on(:keyctrl_x, :keyescape) do\n  puts \"Exiting...\"\n  exit\nend\n```\n\nFinally, keep asking user for line input with a `=\u003e` as a prompt:\n\n```ruby\nloop do\n  reader.read_line(\"=\u003e \")\nend\n```\n\n## API\n\n### 2.1 read_keypress\n\nTo read a single key stroke from the user use `read_char` or `read_keypress`:\n\n```ruby\nreader.read_char\nreader.read_keypress\nreader.read_keypress(nonblock: true)\n```\n\n### 2.2 read_line\n\nBy default `read_line` works in `raw mode` which means it behaves like a line editor that allows you to edit each character, respond to `control characters` such as `Control-A` to `Control-B` or navigate through history.\n\nFor example, to read a single line terminated by a new line character use `read_line` like so:\n\n```ruby\nreader.read_line\n```\n\nIf you wish for the keystrokes to be interpreted by the terminal instead, use so called `cooked` mode by providing the `:raw` option set to `false`:\n\n```ruby\nreader.read_line(raw: false)\n```\n\nAny non-interpreted characters received are written back to terminal, however you can stop this by using `:echo` option set to `false`:\n\n```ruby\nreader.read_line(echo: false)\n```\n\nYou can also provide a line prefix displayed before input by passing it as a first argument:\n\n```ruby\nreader.read_line(\"\u003e\u003e \")\n# \u003e\u003e\n```\n\nTo pre-populate the line content for editing use `:value` option:\n\n```ruby\nreader.read_line(\"\u003e \", value: \"edit me\")\n# \u003e edit me\n```\n\n### 2.3 read_multiline\n\nBy default `read_multiline` works in `raw mode` which means it behaves like a multiline editor that allows you to edit each character, respond to `control characters` such as `Control-A` to `Control-B` or navigate through history.\n\nFor example, to read more than one line terminated by `Ctrl+d` or `Ctrl+z` use `read_multiline`:\n\n```ruby\nreader.read_multiline\n# =\u003e [ \"line1\", \"line2\", ... ]\n```\n\nIf you wish for the keystrokes to be interpreted by the terminal instead, use so called `cooked` mode by providing the `:raw` option set to `false`:\n\n```ruby\nreader.read_line(raw: false)\n```\n\nYou can also provide a line prefix displayed before input by passing a string as a first argument:\n\n```ruby\nreader.read_multiline(\"\u003e\u003e \")\n```\n\n### 2.4 on\n\nYou can register to listen on a key pressed events. This can be done by calling `on` with a event name(s):\n\n```ruby\nreader.on(:keypress) { |event| .... }\n```\n\nor listen for multiple events:\n\n```ruby\nreader.on(:keyctrl_x, :keyescape) { |event| ... }\n```\n\nThe `KeyEvent` object is yielded to a block whenever a particular key event fires. The event responds to:\n\n* `key`   - key pressed\n* `value` - value of the key pressed\n* `line`  - the content of the currently edited line, empty otherwise\n\nThe `value` returns the actual key pressed and the `line` the content for the currently edited line or is empty.\n\nThe `key` is an object that responds to following messages:\n\n* `name`  - the name of the event such as :up, :down, letter or digit\n* `meta`  - true if event is non-standard key associated\n* `shift` - true if shift has been pressed with the key\n* `ctrl`  - true if ctrl has been pressed with the key\n\nFor example, to add listen to vim like navigation keys, one would do the following:\n\n```ruby\nreader.on(:keypress) do |event|\n  if event.value == \"j\"\n    ...\n  end\n\n  if event.value == \"k\"\n    ...\n  end\nend\n```\n\nYou can subscribe to more than one event:\n\n```ruby\nreader.on(:keypress) { |event| ... }\n      .on(:keydown)  { |event| ... }\n```\n\n### 2.5 subscribe\n\nYou can subscribe any object to listen for the emitted [key events](#27-supported-events) using the `subscribe` message. The listener would need to implement a method for every event it wishes to receive.\n\nFor example, if a `MyListener` class wishes to only listen for `keypress` event:\n\n```ruby\nclass MyListener\n  def keypress(event)\n    ...\n  end\nend\n```\n\nThen subscribing is done:\n\n```ruby\nreader.subscribe(MyListener.new)\n```\n\nAlternatively, `subscribe` allows you to listen to events only for the duration of block execution like so:\n\n```ruby\nreader.subscribe(MyListener) do\n  ...\nend\n```\n\n### 2.6 unsubscribe\n\nYou can unsubscribe any object from listening to the key events using the `unsubscribe` message:\n\n```ruby\nreader.unsubscribe(my_listener)\n```\n\n### 2.7 trigger\n\nThe signature for triggering key events is `trigger(event, args...)`. The first argument is a [key event name](#27-supported-events) followed by any number of actual values related to the event being triggered.\n\nFor example, to trigger `:keydown` event do:\n\n```ruby\nreader.trigger(:keydown)\n```\n\nTo add vim bindings for line editing you could discern between alphanumeric inputs like so:\n\n```ruby\nreader.on(:keypress) do |event|\n  if event.value == \"j\"\n    reader.trigger(:keydown)\n  end\n  if evevnt.value == \"k\"\n    reader.trigger(:keyup)\n  end\nend\n```\n\n### 2.8 supported events\n\nThe available key events for character input are:\n\n* `:keypress`\n* `:keyenter`\n* `:keyreturn`\n* `:keytab`\n* `:keybackspace`\n* `:keyspace`\n* `:keyescape`\n* `:keydelete`\n* `:keyalpha`\n* `:keynum`\n\nThe navigation related key events are:\n\n* `:keydown`\n* `:keyup`\n* `:keyleft`\n* `:keyright`\n* `:keyhome`\n* `:keyend`\n* `:keyclear`\n\nThe specific `ctrl` key events:\n\n* `:keyctrl_a`\n* `:keyctrl_b`\n* ...\n* `:keyctrl_z`\n\nThe key events for functional keys `f*` are:\n\n* `:keyf1`\n* `:keyf2`\n* ...\n* `:keyf24`\n\n## 3. Configuration\n\n### 3.1. `:interrupt`\n\nBy default `InputInterrupt` error will be raised when the user hits the interrupt key(Control-C). However, you can customise this behaviour by passing the `:interrupt` option. The available options are:\n\n* `:signal` - sends interrupt signal\n* `:exit` - exists with status code\n* `:noop` - skips handler\n* custom proc\n\nFor example, to send interrupt signal do:\n\n```ruby\nreader = TTY::Reader.new(interrupt: :signal)\n```\n\n### 3.2. `:track_history`\n\nThe `read_line` and `read_multiline` provide history buffer that tracks all the lines entered during `TTY::Reader.new` interactions. The history buffer provides previous or next lines when user presses up/down arrows respectively. However, if you wish to disable this behaviour use `:track_history` option like so:\n\n```ruby\nreader = TTY::Reader.new(track_history: false)\n```\n\n### 3.3. `:history_cycle`\n\nThis option determines whether the history buffer allows for infinite navigation. By default it is set to `false`. You can change this:\n\n```ruby\nreader = TTY::Reader.new(history_cycle: true)\n```\n\n### 3.4. `:history_duplicates`\n\nThis option controls whether duplicate lines are stored in history. By default set to `false`. You can change this:\n\n```ruby\nreader = TTY::Reader.new(history_duplicates: true)\n```\n\n### 3.5. `:history_exclude`\n\nThis option allows you to exclude lines from being stored in history. It accepts a `Proc` with a line as a first argument. By default it is set to exclude empty lines. To change this:\n\n```ruby\nreader = TTY::Reader.new(history_exclude: -\u003e(line) { ... })\n```\n\n### 3.6. `:history_size`\n\nBy default, the history buffer can store up to `512` lines. This can be changed with the `:history_size` configuration:\n\n```ruby\nreader = TTY::Reader.new(history_size: 2048)\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/piotrmurach/tty-reader. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n1. Clone the project on GitHub\n2. Create a feature branch\n3. Submit a Pull Request\n\nImportant notes:\n- **All new features must include test coverage.** At a bare minimum, unit tests are required. It is preferred if you include acceptance tests as well.\n- **The tests must be be idempotent.** Any test run should produce the same result when run over and over.\n- **All new features must include source code \u0026 readme documentation** Any new method you add should include yarddoc style documentation with clearly specified parameter and return types.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the TTY::Reader project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/piotrmurach/tty-reader/blob/master/CODE_OF_CONDUCT.md).\n\n## Copyright\n\nCopyright (c) 2017 Piotr Murach. See LICENSE for further details.\n","funding_links":["https://github.com/sponsors/piotrmurach"],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":["menus","prompt","ruby-cli","terminal-input","terminal-menu","tty-components","user-interface"],"project_url":"https://ruby.ecosyste.ms/api/v1/projects/136","html_url":"https://ruby.ecosyste.ms/projects/136"}