{"id":15647484,"url":"https://github.com/liamg/flinch","last_synced_at":"2025-11-03T17:38:37.259Z","repository":{"id":48410183,"uuid":"335724730","full_name":"liamg/flinch","owner":"liamg","description":"A collection of terminal-based widgets for richer Golang CLI apps.","archived":false,"fork":false,"pushed_at":"2021-06-24T18:01:38.000Z","size":1537,"stargazers_count":46,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-19T01:31:45.265Z","etag":null,"topics":["cli","gui","terminal-ui","tui"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liamg.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}},"created_at":"2021-02-03T18:56:27.000Z","updated_at":"2025-01-20T11:53:40.000Z","dependencies_parsed_at":"2022-08-27T19:01:36.366Z","dependency_job_id":null,"html_url":"https://github.com/liamg/flinch","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Fflinch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Fflinch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Fflinch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liamg%2Fflinch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liamg","download_url":"https://codeload.github.com/liamg/flinch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251687631,"owners_count":21627603,"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","gui","terminal-ui","tui"],"created_at":"2024-10-03T12:19:37.594Z","updated_at":"2025-10-30T04:53:09.333Z","avatar_url":"https://github.com/liamg.png","language":"Go","readme":"# Flinch\n\nA collection of terminal-based widgets for richer Golang CLI apps.\n\nShips with a library to build your own widgets/TUIs too.\n\n**Warning**: This module is experimental right now.\n\n### Input\n\n![](example_input.png)\n\n```golang\nname, _ := widgets.Input(\"Enter your name...\")\n```\n\n### Password Input\n\n![](example_password.png)\n\n```golang \npassword, _ := widgets.PasswordInput(\"Enter your password...\")\n```\n\n### List Selection\n\n![](example_list.png)\n\n```golang\n_, item, err := widgets.ListSelect(\n    \"Select an environment...\",\n    []string{\n        \"Development\",\n        \"Test\",\n        \"Staging\",\n        \"Production\",\n    },\n)\n```\n\n### Multi List Selection\n\n![](example_multi.png)\n\n```golang\n_, items, err := widgets.MultiSelect(\n    \"Select an option...\",\n    options,\n)\n```\n\n(scrollbars appear for long lists)\n\n### Confirmation\n\n![](example_confirm.png)\n\n```golang\nuserConfirmed, _ := widgets.Confirm(\"Are you sure?\")\n```\n\n## Try It Out\n\nYou can play with the examples by running them directly, e.g.\n\n```bash\ngo run ./_examples/multiselect-long/\n```\n\n## Build Your Own Widgets\n\nCheck out the [widgets](widgets) package for inspiration.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliamg%2Fflinch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliamg%2Fflinch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliamg%2Fflinch/lists"}