{"id":21026448,"url":"https://github.com/nimblehq/redisearch-ruby-demo","last_synced_at":"2026-05-18T04:41:28.275Z","repository":{"id":145309796,"uuid":"316159128","full_name":"nimblehq/redisearch-ruby-demo","owner":"nimblehq","description":"Small demo application, illustrating how to use RediSearch with ruby in a dockerized environment","archived":false,"fork":false,"pushed_at":"2020-12-23T08:19:47.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-01T12:46:53.789Z","etag":null,"topics":["redis","redisearch","ruby"],"latest_commit_sha":null,"homepage":"","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/nimblehq.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":"2020-11-26T07:52:30.000Z","updated_at":"2024-02-03T04:08:17.000Z","dependencies_parsed_at":"2024-04-19T08:00:32.270Z","dependency_job_id":null,"html_url":"https://github.com/nimblehq/redisearch-ruby-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nimblehq/redisearch-ruby-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimblehq%2Fredisearch-ruby-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimblehq%2Fredisearch-ruby-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimblehq%2Fredisearch-ruby-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimblehq%2Fredisearch-ruby-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nimblehq","download_url":"https://codeload.github.com/nimblehq/redisearch-ruby-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimblehq%2Fredisearch-ruby-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274232030,"owners_count":25245856,"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-09-08T02:00:09.813Z","response_time":121,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["redis","redisearch","ruby"],"created_at":"2024-11-19T11:44:40.282Z","updated_at":"2025-11-11T20:39:42.056Z","avatar_url":"https://github.com/nimblehq.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# redisearch-ruby-demo\n\n## About\nThis repo provides a small demo for using RediSearch with ruby\n\n## Dependences\ndocker, docker-compose\n\n## Installation\n\nRun the following commands to install using docker\n\n```\ndocker-compose build\ndocker-compose up\n```\n\nThen notice the console output carefully, as the startup script for docker container adds some seed data into redis, and performs\nsome search operations as well. Have a look at files below to understand how the scripts work:\n\n```\nstart.sh\n/scripts/create_schema.rb\n/scripts/add_product.rb\n/scripts/search_product.rb\n```\n\n## Usage\n\n```\ndocker ps # Get the container id of the app\ndocker exec -it {container_id} /bin/bash\n```\n\n* To search for a product from seed data\n\n```\nruby scripts/search_product.rb Jui\nruby scripts/search_product.rb Man\n```\n\n* To add a new product\n\n```\nruby scripts/add_product.rb #{id} #{name} #{quantity}\nruby scripts/add_product.rb 1 Apple 5\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimblehq%2Fredisearch-ruby-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnimblehq%2Fredisearch-ruby-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimblehq%2Fredisearch-ruby-demo/lists"}