{"id":22863796,"url":"https://github.com/the-flx/flx-zig","last_synced_at":"2026-02-04T08:05:06.203Z","repository":{"id":226834223,"uuid":"769759406","full_name":"the-flx/flx-zig","owner":"the-flx","description":"Rewrite emacs-flx in Zig [maintainer=@jcs090218]","archived":false,"fork":false,"pushed_at":"2024-12-02T18:03:09.000Z","size":79,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T09:34:31.238Z","etag":null,"topics":["flx","fuzzy","zig"],"latest_commit_sha":null,"homepage":"https://jcs090218.github.io/flx-zig/","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-10T01:09:49.000Z","updated_at":"2024-12-02T18:03:13.000Z","dependencies_parsed_at":"2024-03-17T04:33:12.465Z","dependency_job_id":"3932699c-39ee-4efc-86ad-6998cf45d61f","html_url":"https://github.com/the-flx/flx-zig","commit_stats":null,"previous_names":["jcs090218/flx-zig","the-flx/flx-zig"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-flx%2Fflx-zig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-flx%2Fflx-zig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-flx%2Fflx-zig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-flx%2Fflx-zig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/the-flx","download_url":"https://codeload.github.com/the-flx/flx-zig/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252866043,"owners_count":21816383,"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:32.507Z","updated_at":"2026-02-04T08:05:06.198Z","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/flx-zig.svg?label=release\u0026logo=github)](https://github.com/the-flx/flx-zig/releases/latest)\n\n# flx-zig\n\u003e Rewrite emacs-flx in Zig\n\n[![Docs](https://github.com/the-flx/flx-zig/actions/workflows/docs.yml/badge.svg)](https://github.com/the-flx/flx-zig/actions/workflows/docs.yml)\n[![CI](https://github.com/the-flx/flx-zig/actions/workflows/test.yml/badge.svg)](https://github.com/the-flx/flx-zig/actions/workflows/test.yml)\n\n## 🔧 Usage\n\n```zig\nconst result: ?flx.Result = flx.score(allocator, \"switch-to-buffer\", \"stb\");\nstd.debug.print(\"{d}\\n\", .{result.?.score});\n\ndefer result.?.deinit(); // clean up\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/jcs090218/flx-zig/archive/82eb49e8e26ceb53c58e2f4fe5bc2ab3f6ec91d4.tar.gz\",\n        .hash = \"12202ffde84f17914ba10f6bc1799738b5db997e6ff8f9092384c7f8f9f63bfa4c42\",\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/flx-zig/tree/master/examples) for full example!*\n\n## ⚜️ License\n\n`flx-zig` 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%2Fflx-zig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthe-flx%2Fflx-zig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-flx%2Fflx-zig/lists"}