{"id":21619135,"url":"https://github.com/bannzai/swifttui","last_synced_at":"2026-02-06T13:38:34.909Z","repository":{"id":62291122,"uuid":"210328545","full_name":"bannzai/SwiftTUI","owner":"bannzai","description":"TUI utility framework with Swift.","archived":false,"fork":false,"pushed_at":"2020-05-31T13:46:14.000Z","size":916,"stargazers_count":7,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-04-06T05:00:03.039Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bannzai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-23T10:34:14.000Z","updated_at":"2023-10-27T00:28:02.000Z","dependencies_parsed_at":"2022-10-30T04:30:45.679Z","dependency_job_id":null,"html_url":"https://github.com/bannzai/SwiftTUI","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bannzai%2FSwiftTUI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bannzai%2FSwiftTUI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bannzai%2FSwiftTUI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bannzai%2FSwiftTUI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bannzai","download_url":"https://codeload.github.com/bannzai/SwiftTUI/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248362721,"owners_count":21091186,"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":[],"created_at":"2024-11-24T23:08:06.514Z","updated_at":"2026-02-06T13:38:29.835Z","avatar_url":"https://github.com/bannzai.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⚠️  This Project Work In Progress ⚠️  \n\n# SwiftTUI\n**SwiftTUI** is framework for easily build **TUI** with swift.\n\n\n## Usage\n\n```swift\nimport SwiftTUI\n\nstruct Main: View {\n  @State var model = Main.ViewModel\n\n  var body: some View {\n    List(model.items, action: model.selectItem) { item in\n      Triangle()\n      VStack(alignment: .leading) {\n        Text(item.title)\n        Text(item.subTitle)\n          .color(.gray)\n      }\n    }\n  }\n}\n```\n## Development\nGreat helpful stackoverflow exists. reference from https://stackoverflow.com/questions/56251835/swift-package-manager-unable-to-compile-ncurses-installed-through-homebrew.\nThis section is quoted above stackoverflow links.\n\n#### ncurses version\nRequired ncurses version is over 6.1. See also [HOW TO INSTALL ncurses on MacOSX](https://gist.github.com/cnruby/960344)\n\n#### Environment\n- DEBUG_LOGGER_PATH: SwiftTUI debug log path. e.g) ~/development/SwiftTUI/debug.log.d\n- PKG_CONFIG_PATH: your ncurses package config file path. e.g) \"/usr/local/opt/ncurses/lib/pkgconfig\"\n\n\n#### Quoted\nIf you want to generate a Xcode project, use the following command:\n\n```shell\nswift package generate-xcodeproj\n```\n\n\n## LICENSE\nSwiftTUI is available under the MIT license. See the LICENSE file for more info.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbannzai%2Fswifttui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbannzai%2Fswifttui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbannzai%2Fswifttui/lists"}