{"id":18447646,"url":"https://github.com/koki-develop/go-fzf","last_synced_at":"2025-04-07T14:14:27.739Z","repository":{"id":147008142,"uuid":"618413925","full_name":"koki-develop/go-fzf","owner":"koki-develop","description":"🔍 Fuzzy Finder CLI and Library.","archived":false,"fork":false,"pushed_at":"2025-03-19T23:04:14.000Z","size":11002,"stargazers_count":59,"open_issues_count":17,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T12:07:58.436Z","etag":null,"topics":["cli","fzf","golang","terminal"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/koki-develop/go-fzf","language":"Go","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/koki-develop.png","metadata":{"files":{"readme":"README.ja.md","changelog":null,"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}},"created_at":"2023-03-24T12:18:49.000Z","updated_at":"2025-03-26T17:30:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"834a005c-f145-47c8-b864-f7ddc43fbe9c","html_url":"https://github.com/koki-develop/go-fzf","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koki-develop%2Fgo-fzf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koki-develop%2Fgo-fzf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koki-develop%2Fgo-fzf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koki-develop%2Fgo-fzf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koki-develop","download_url":"https://codeload.github.com/koki-develop/go-fzf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247666015,"owners_count":20975788,"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":["cli","fzf","golang","terminal"],"created_at":"2024-11-06T07:14:00.607Z","updated_at":"2025-04-07T14:14:27.703Z","avatar_url":"https://github.com/koki-develop.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e🔍 go-fzf\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://pkg.go.dev/github.com/koki-develop/go-fzf\"\u003e\u003cimg src=\"https://pkg.go.dev/badge/github.com/koki-develop/go-fzf.svg\" alt=\"Go Reference\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/koki-develop/go-fzf/releases/latest\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/koki-develop/go-fzf?style=flat-square\" alt=\"GitHub release (latest by date)\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/koki-develop/go-fzf/actions/workflows/ci.yml\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/koki-develop/go-fzf/ci.yml?logo=github\u0026amp;style=flat-square\" alt=\"GitHub Workflow Status\"\u003e\u003c/a\u003e\n\u003ca href=\"https://codeclimate.com/github/koki-develop/go-fzf/maintainability\"\u003e\u003cimg src=\"https://img.shields.io/codeclimate/maintainability/koki-develop/go-fzf?style=flat-square\u0026amp;logo=codeclimate\" alt=\"Maintainability\"\u003e\u003c/a\u003e\n\u003ca href=\"https://goreportcard.com/report/github.com/koki-develop/go-fzf\"\u003e\u003cimg src=\"https://goreportcard.com/badge/github.com/koki-develop/go-fzf?style=flat-square\" alt=\"Go Report Card\"\u003e\u003c/a\u003e\n\u003ca href=\"./LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/koki-develop/go-fzf?style=flat-square\" alt=\"LICENSE\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\nFuzzy Finder CLI and Library.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/koki-develop/go-fzf#readme\"\u003eEnglish\u003c/a\u003e | 日本語\n\u003c/p\u003e\n\n## 目次\n\n- [使い方](#使い方)\n  - [CLI](#cli-として使用する)\n  - [ライブラリ](#ライブラリとして使用する)\n- [ライセンス](#ライセンス)\n\n## 使い方\n\n### CLI として使用する\n\ngo-fzf で何ができるのかを知りたい場合は `gofzf` CLI を試してください。  \n`gofzf` CLI は go-fzf で作られており、 go-fzf のほとんどの機能を利用可能です。\n\n![](/docs/cli/demo.gif)\n\n詳しい情報は[ドキュメント](./docs/cli/README.ja.md)をご参照ください。\n\n### ライブラリとして使用する\n\ngo-fzf を使用するとカスタマイズ性の高い Fuzzy Finder を簡単に作ることができます。  \n例えば、たったこれだけのコードで以下のような Fuzzy Finder を作ることができます。\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"log\"\n\n\t\"github.com/koki-develop/go-fzf\"\n)\n\nfunc main() {\n\titems := []string{\"hello\", \"world\", \"foo\", \"bar\"}\n\n\tf, _ := fzf.New()\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tidxs, err := f.Find(items, func(i int) string { return items[i] })\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tfor _, i := range idxs {\n\t\tfmt.Println(items[i])\n\t}\n}\n```\n\n![](./examples/basic/demo.gif)\n\n詳しい情報は[ドキュメント](./docs/library/README.ja.md)をご参照ください。\n\n#### 使用例\n\n[examples](./examples/) には go-fzf の使い方の様々な例が用意されています。\n\n## ライセンス\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoki-develop%2Fgo-fzf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoki-develop%2Fgo-fzf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoki-develop%2Fgo-fzf/lists"}