{"id":13502975,"url":"https://github.com/tsoding/rcui","last_synced_at":"2025-11-06T22:03:33.931Z","repository":{"id":55626618,"uuid":"309698149","full_name":"tsoding/rcui","owner":"tsoding","description":"Simple TUI framework in Rust","archived":false,"fork":false,"pushed_at":"2020-12-17T06:33:24.000Z","size":136,"stargazers_count":36,"open_issues_count":8,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-29T12:15:50.431Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/tsoding.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":"2020-11-03T13:40:31.000Z","updated_at":"2024-10-13T13:06:20.000Z","dependencies_parsed_at":"2022-08-15T04:50:28.696Z","dependency_job_id":null,"html_url":"https://github.com/tsoding/rcui","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/tsoding%2Frcui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsoding%2Frcui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsoding%2Frcui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsoding%2Frcui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsoding","download_url":"https://codeload.github.com/tsoding/rcui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251498958,"owners_count":21598983,"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-07-31T22:02:32.277Z","updated_at":"2025-11-06T22:03:33.856Z","avatar_url":"https://github.com/tsoding.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"[![Build Status](https://github.com/tsoding/rcui/workflows/CI/badge.svg)](https://github.com/tsoding/rcui/actions)\n\n# rcui\n\nSimple TUI framework in Rust.\n\n## Example\n\nItem List with 100 elements and vim-like navigation\n\n```rust\nuse rcui::*;\n\nfn main() {\n    Rcui::exec(Proxy::wrap(\n        |list, context, event| match event {\n            Event::KeyStroke(key) =\u003e match *key as u8 as char {\n                'q' =\u003e context.quit(),\n                'j' =\u003e list.down(),\n                'k' =\u003e list.up(),\n                _ =\u003e {}\n            }\n\n            _ =\u003e {}\n        },\n        ItemList::new((0..100).map(|x| format!(\"item-{:02}\", x)).collect()),\n    ));\n    println!(\"Quitting gracefully uwu\");\n}\n```\n\n## Quick Start\n\n```console\n$ cargo run --example 01_grid\n$ cargo run --example 02_item_list\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsoding%2Frcui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsoding%2Frcui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsoding%2Frcui/lists"}