{"id":21966458,"url":"https://github.com/dreamingechoes/aiml-ruby-example","last_synced_at":"2026-05-19T09:06:02.147Z","repository":{"id":96611053,"uuid":"53988602","full_name":"dreamingechoes/aiml-ruby-example","owner":"dreamingechoes","description":"An extremely simple example of how to use AIML files in Ruby through the terminal.","archived":false,"fork":false,"pushed_at":"2016-03-16T00:46:20.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T21:46:02.032Z","etag":null,"topics":["aiml","exmple","ruby"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dreamingechoes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-03-16T00:35:46.000Z","updated_at":"2023-04-01T06:54:18.000Z","dependencies_parsed_at":"2023-03-16T20:30:13.264Z","dependency_job_id":null,"html_url":"https://github.com/dreamingechoes/aiml-ruby-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dreamingechoes/aiml-ruby-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamingechoes%2Faiml-ruby-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamingechoes%2Faiml-ruby-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamingechoes%2Faiml-ruby-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamingechoes%2Faiml-ruby-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dreamingechoes","download_url":"https://codeload.github.com/dreamingechoes/aiml-ruby-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreamingechoes%2Faiml-ruby-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265625563,"owners_count":23800623,"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":["aiml","exmple","ruby"],"created_at":"2024-11-29T13:16:18.174Z","updated_at":"2026-05-19T09:05:57.093Z","avatar_url":"https://github.com/dreamingechoes.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aiml-ruby-example\n\n## About\n\nThis is an extremely simple example of how to use AIML files in Ruby through the terminal. It uses the [ProgramR](https://github.com/robertjwhitney/programr) gem to parse the `.aiml` files and to get an response of our questions.\n\nThis example uses the Sara Spanish set of AIMLs that you could find [here](http://www.alicebot.org/downloads/sets.html). You could try to download another set to play with it.\n\n## Usage\n\nTo test this example, you should follow this steps:\n\n* Install ***Ruby*** version 2.2.3 e.g. (using [RVM](https://github.com/rvm/rvm) or [RBenv](https://github.com/sstephenson/rbenv) or whatever).\n\n* Clone the repo and make the `bot.rb` file executable:\n\n```sh\nuser@computer:~$ git clone git@github.com:dreamingechoes/aiml-ruby-example.git\nuser@computer:~$ cd aiml-ruby-example\nuser@computer:/aiml-ruby-example$ chmod +x bot.rb\n```\n\n* Install the `ProgramR` gem by executing:\n\n```sh\nuser@computer:/aiml-ruby-example$ gem install programr\n```\n\n* Then you are ready to test this by executing the file and starting to type some questions to get an answer:\n\n```sh\nuser@computer:/aiml-ruby-example$ ./bot.rb\n```\n\nWhen you've tired of talking to the bot, type `quit` to exit.\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Added some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## License\n\n**aiml-ruby-example** is released under the [MIT License](http://www.opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreamingechoes%2Faiml-ruby-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdreamingechoes%2Faiml-ruby-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreamingechoes%2Faiml-ruby-example/lists"}