{"id":15032808,"url":"https://github.com/ruby/readline-ext","last_synced_at":"2025-04-04T16:13:59.144Z","repository":{"id":42975142,"uuid":"200771959","full_name":"ruby/readline-ext","owner":"ruby","description":"The Readline module provides interface for GNU Readline. ","archived":false,"fork":false,"pushed_at":"2024-11-29T00:07:56.000Z","size":471,"stargazers_count":11,"open_issues_count":4,"forks_count":6,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-03-28T15:07:11.917Z","etag":null,"topics":["ruby"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-06T03:47:13.000Z","updated_at":"2024-11-29T00:08:00.000Z","dependencies_parsed_at":"2024-06-19T16:23:43.822Z","dependency_job_id":"342ad943-0f03-44db-9a6a-b878a073850d","html_url":"https://github.com/ruby/readline-ext","commit_stats":{"total_commits":407,"total_committers":46,"mean_commits":8.847826086956522,"dds":0.7862407862407863,"last_synced_commit":"1e7b6cb1e247859868aa8354a0fd2b3cde1bcbb6"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Freadline-ext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Freadline-ext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Freadline-ext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Freadline-ext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruby","download_url":"https://codeload.github.com/ruby/readline-ext/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247208143,"owners_count":20901570,"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","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ruby"],"created_at":"2024-09-24T20:19:29.351Z","updated_at":"2025-04-04T16:13:59.107Z","avatar_url":"https://github.com/ruby.png","language":"C","readme":"# Readline\n\nThe Readline module provides interface for GNU Readline.\nThis module defines a number of methods to facilitate completion\nand accesses input history from the Ruby interpreter.\nThis module supported Edit Line(libedit) too.\nlibedit is compatible with GNU Readline.\n\n- [GNU Readline](http://www.gnu.org/directory/readline.html)\n- [libedit](http://www.thrysoee.dk/editline/)\n\nSee RDoc for Readline module.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'readline'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install readline\n\n## Usage\n\n```ruby\nrequire \"readline\"\nwhile buf = Readline.readline(\"\u003e \", true)\n  p buf\nend\n```\n\n```ruby\nrequire \"readline\"\nwhile buf = Readline.readline(\"\u003e \", true)\n  p Readline::HISTORY.to_a\n  print(\"-\u003e \", buf, \"\\n\")\nend\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/ruby/readline-ext.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby%2Freadline-ext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruby%2Freadline-ext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby%2Freadline-ext/lists"}