{"id":20431961,"url":"https://github.com/doums/ruzy","last_synced_at":"2026-04-19T01:37:59.219Z","repository":{"id":100442978,"uuid":"603207638","full_name":"doums/ruzy","owner":"doums","description":"a Lua library for fuzzy search","archived":false,"fork":false,"pushed_at":"2023-02-19T10:59:03.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-09T13:03:52.881Z","etag":null,"topics":["fuzzy","fuzzy-library","fuzzy-match","fuzzy-search","lua","lua-library","match"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/doums.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":"2023-02-17T21:09:28.000Z","updated_at":"2024-11-17T17:53:17.000Z","dependencies_parsed_at":"2023-05-14T17:30:44.262Z","dependency_job_id":null,"html_url":"https://github.com/doums/ruzy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/doums/ruzy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doums%2Fruzy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doums%2Fruzy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doums%2Fruzy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doums%2Fruzy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doums","download_url":"https://codeload.github.com/doums/ruzy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doums%2Fruzy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31991720,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"ssl_error","status_checked_at":"2026-04-18T20:23:29.375Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fuzzy","fuzzy-library","fuzzy-match","fuzzy-search","lua","lua-library","match"],"created_at":"2024-11-15T08:13:28.960Z","updated_at":"2026-04-19T01:37:59.197Z","avatar_url":"https://github.com/doums.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## ruzy\n\n⚡ A Lua library for fuzzy search\n\n### API\n\nThe library exposes a Lua module with one function:\n\n#### fuzzy (input: `string`, items: `list\u003cstring\u003e`)\n\n`fuzzy` function takes 2 arguments. The first is the search\ninput, the second is the list of string to fuzzy match.\n\nreturns a list of the matching items sorted by score. Each\nitem includes:\n\n- item: `string`\n- score: `number`, fuzzy score\n- indexes: `list\u003cnumber\u003e`, the matching indexes\n\n### Usage\n\nMove the `libruzy.so` shared library (latest [release](https://github.com/doums/ruzy/releases/latest))\nin your project and import it from Lua code.\n\n```lua\n  local fuzzy = require('libruzy').fuzzy\n  local res = fuzzy('lou', { 'pierre', 'et', 'le', 'loup' })\n  -- res:\n  -- { {\n  --     item = \"loup\",\n  --     score = 71,\n  --     indexes = { 0, 1, 2 }\n  -- } }\n```\n\n### Algorithm\n\nSkim V2\n\n### Build\n\n#### prerequisites:\n\n- [rust](https://www.rust-lang.org/tools/install)\n\nTo build for production run\n\n```\ncargo build --release\n```\n\n### Credits\n\n- https://crates.io/crates/fuzzy-matcher\n- https://github.com/khvzak/mlua\n\n### License\n\nMozilla Public License 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoums%2Fruzy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoums%2Fruzy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoums%2Fruzy/lists"}