{"id":13615309,"url":"https://github.com/fzdwx/infinite","last_synced_at":"2025-04-05T17:07:35.884Z","repository":{"id":52114332,"uuid":"520483556","full_name":"fzdwx/infinite","owner":"fzdwx","description":"Help you to create interactive command line applications in Go.","archived":false,"fork":false,"pushed_at":"2024-03-19T07:56:47.000Z","size":1723,"stargazers_count":352,"open_issues_count":2,"forks_count":30,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-04-17T16:20:09.574Z","etag":null,"topics":["autocomplete","cli","command-line-tool","confirm","golang","multi-process-bar","processbar","prompt","select","terminals","tui"],"latest_commit_sha":null,"homepage":"https://fzdwx.github.io/infinite/zh/guide/","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/fzdwx.png","metadata":{"files":{"readme":"README.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":"2022-08-02T12:10:59.000Z","updated_at":"2024-06-12T13:54:44.448Z","dependencies_parsed_at":"2024-06-12T13:54:42.968Z","dependency_job_id":"1a850a21-8358-45df-9963-028b156846b7","html_url":"https://github.com/fzdwx/infinite","commit_stats":null,"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fzdwx%2Finfinite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fzdwx%2Finfinite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fzdwx%2Finfinite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fzdwx%2Finfinite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fzdwx","download_url":"https://codeload.github.com/fzdwx/infinite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247369952,"owners_count":20927928,"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":["autocomplete","cli","command-line-tool","confirm","golang","multi-process-bar","processbar","prompt","select","terminals","tui"],"created_at":"2024-08-01T20:01:11.798Z","updated_at":"2025-04-05T17:07:35.862Z","avatar_url":"https://github.com/fzdwx.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# infinite\n\n![gif](https://user-images.githubusercontent.com/65269574/184916069-076a0f6a-70bd-49e1-b7d7-0d2e7fc5c6bb.gif)\n\nHelp you to create interactive command line applications in Go.\n\n## Features\n\n- multi/single select\n- progress-bar group\n- spinner\n- confirm(input/selection)\n- input\n\n## Install\n\n```shell\ngo get github.com/fzdwx/infinite@main\n```\n\n## Examples\n\n\n```go\nfunc main() {\n\tinput := components.NewInput()\n\tinput.Prompt = \"Filtering: \"\n\tinput.PromptStyle = style.New().Bold().Italic().Fg(color.LightBlue)\n\n\tkeymap := components.DefaultMultiKeyMap()\n\tkeymap.Choice = key.NewBinding(\n\t\tkey.WithKeys(tea.KeySpace.String()),\n\t)\n\t_, _ = inf.NewMultiSelect([]string{\n\t\t\"a\", \"b\", \"c\",\n\t\t\"d\", \"e\",\n\t\t\"f\",\n\t\t\"g\",\n\t\t\"h\",\n\t},\n\t\tmultiselect.WithKeyMap(keymap),\n\t\tmultiselect.WithHintSymbol(\"x\"),\n\t\tmultiselect.WithUnHintSymbol(\"√\"),\n\t\tmultiselect.WithPageSize(3),\n\t\tmultiselect.WithFilterInput(input),\n\t).\n\t\tDisplay(\"select your items!\")\n}\n```\n\nMore: https://github.com/fzdwx/infinite/tree/main/_examples\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffzdwx%2Finfinite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffzdwx%2Finfinite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffzdwx%2Finfinite/lists"}