{"id":22863788,"url":"https://github.com/the-flx/zig-flx","last_synced_at":"2026-01-28T06:08:08.384Z","repository":{"id":226564404,"uuid":"769023503","full_name":"the-flx/zig-flx","owner":"the-flx","description":"Zig bindings for flx-c","archived":false,"fork":false,"pushed_at":"2024-12-02T18:03:06.000Z","size":57,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T09:34:28.744Z","etag":null,"topics":["flx","fuzzy","zig"],"latest_commit_sha":null,"homepage":"https://jcs090218.github.io/zig-flx/","language":"Zig","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/the-flx.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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},"funding":{"github":["the-flx","jcs090218"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2024-03-08T07:24:03.000Z","updated_at":"2024-12-02T18:03:10.000Z","dependencies_parsed_at":"2024-03-17T04:34:54.793Z","dependency_job_id":"ecaba12a-0806-4755-982c-ca0096c0cc1b","html_url":"https://github.com/the-flx/zig-flx","commit_stats":null,"previous_names":["jcs090218/zig-flx","the-flx/zig-flx"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-flx%2Fzig-flx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-flx%2Fzig-flx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-flx%2Fzig-flx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-flx%2Fzig-flx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/the-flx","download_url":"https://codeload.github.com/the-flx/zig-flx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252866024,"owners_count":21816378,"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":["flx","fuzzy","zig"],"created_at":"2024-12-13T11:17:31.907Z","updated_at":"2026-01-28T06:08:08.376Z","avatar_url":"https://github.com/the-flx.png","language":"Zig","funding_links":["https://github.com/sponsors/the-flx","https://github.com/sponsors/jcs090218"],"categories":[],"sub_categories":[],"readme":"[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n[![Zig Version](https://img.shields.io/badge/Zig-0.12.0+-F7A41D.svg?logo=zig)](https://ziglang.org/)\n[![Release](https://img.shields.io/github/tag/the-flx/zig-flx.svg?label=release\u0026logo=github)](https://github.com/the-flx/zig-flx/releases/latest)\n\n# zig-flx\n\u003e Zig bindings for flx-c\n\n[![Docs](https://github.com/the-flx/zig-flx/actions/workflows/docs.yml/badge.svg)](https://github.com/the-flx/zig-flx/actions/workflows/docs.yml)\n[![CI](https://github.com/the-flx/zig-flx/actions/workflows/test.yml/badge.svg)](https://github.com/the-flx/zig-flx/actions/workflows/test.yml)\n\n## 🔧 Usage\n\n```zig\nconst std = @import(\"std\");\nconst flx = @import(\"flx\");\n\npub fn main() !void {\n    const result = flx.score(\"switch-to-buffer\", \"stb\");\n    std.debug.print(\"Score: {d}\", .{result.*.score});\n}\n```\n\n## 💾 Installation\n\n1. Add the dependency to the `build.zig.zon` of your project.\n\n```zig\n.dependencies = .{\n    .flx = .{\n        .url = \"https://github.com/the-flx/zig-flx/archive/9370accf3bb09a9e27a8c3a6ed7181cecc6679be.tar.gz\",\n        .hash = \"12205a4519fc774374102a05b52a460e4598019dc775d7fb535517171a45abad3a08\",\n    },\n},\n```\n\n2. Add the dependency and module to your `build.zig`.\n\n```zig\nconst flx_dep = b.dependency(\"flx\", .{});\nconst flx_mod = flx_dep.module(\"flx\");\nexe.addModule(\"flx\", flx_mod);\n```\n\n3. Import it inside your project.\n\n```zig\nconst flx = @import(\"flx\");\n```\n\n*📝 P.S. See [examples](https://github.com/the-flx/zig-flx/tree/master/examples) for full example!*\n\n## ⚜️ License\n\n`zig-flx` is distributed under the terms of the MIT license.\n\nSee [`LICENSE`](./LICENSE) for details.\n\n\n\u003c!-- Links --\u003e\n\n[flx]: https://github.com/lewang/flx\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-flx%2Fzig-flx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthe-flx%2Fzig-flx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-flx%2Fzig-flx/lists"}