{"id":32929520,"url":"https://github.com/zerocore-ai/rxtui","last_synced_at":"2026-01-18T12:03:32.880Z","repository":{"id":311001064,"uuid":"1042072135","full_name":"zerocore-ai/rxtui","owner":"zerocore-ai","description":"reactive terminal interfaces for Rust. because CLIs deserve better.","archived":false,"fork":false,"pushed_at":"2025-12-30T06:05:10.000Z","size":728,"stargazers_count":311,"open_issues_count":0,"forks_count":12,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-14T01:09:30.351Z","etag":null,"topics":["cli","rust","terminal","tui"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zerocore-ai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-21T12:48:59.000Z","updated_at":"2026-01-13T22:13:17.000Z","dependencies_parsed_at":"2025-12-30T08:01:01.932Z","dependency_job_id":null,"html_url":"https://github.com/zerocore-ai/rxtui","commit_stats":null,"previous_names":["microsandbox/termtui","microsandbox/rxtui","zerocore-ai/rxtui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zerocore-ai/rxtui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerocore-ai%2Frxtui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerocore-ai%2Frxtui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerocore-ai%2Frxtui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerocore-ai%2Frxtui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zerocore-ai","download_url":"https://codeload.github.com/zerocore-ai/rxtui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerocore-ai%2Frxtui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28535316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T10:13:46.436Z","status":"ssl_error","status_checked_at":"2026-01-18T10:13:11.045Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","rust","terminal","tui"],"created_at":"2025-11-11T12:01:17.239Z","updated_at":"2026-01-18T12:03:32.861Z","avatar_url":"https://github.com/zerocore-ai.png","language":"Rust","readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"./#gh-dark-mode-only\" target=\"_blank\"\u003e\n    \u003cimg width=\"500\" alt=\"rxtui-dark\" src=\"https://github.com/user-attachments/assets/3e3235bc-3792-44eb-88d5-e847631c0086\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"./#gh-light-mode-only\" target=\"_blank\"\u003e\n    \u003cimg width=\"500\" alt=\"rxtui-light\" src=\"https://github.com/user-attachments/assets/3d1e00f4-39ac-4053-b45b-c4bab7de1361\" /\u003e\n  \u003c/a\u003e\n\n  \u003cbr /\u003e\n\n\u003cb\u003e———\u0026nbsp;\u0026nbsp;\u0026nbsp;reactive terminal UI framework for rust\u0026nbsp;\u0026nbsp;\u0026nbsp;———\u003c/b\u003e\n\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n\u003cdiv align='center'\u003e\n  \u003ca href=\"https://crates.io/crates/rxtui\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/v/rxtui?style=for-the-badge\u0026logo=rust\u0026logoColor=white\" alt=\"crates.io version\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"./LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-Apache%202.0-blue?style=for-the-badge\" alt=\"license\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"./DOCS.md\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/docs-comprehensive-%2300acee.svg?color=ff4500\u0026style=for-the-badge\u0026logo=gitbook\u0026logoColor=white\" alt=\"documentation\"/\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n\u003e [!WARNING]\n\u003e\n\u003e This project is in early development. APIs may change, and bugs may exist.\n\n# \u003csub\u003eWHY RXTUI?\u003c/sub\u003e\n\nTerminal UIs have traditionally been painful to build. You either work with low-level escape sequences (error-prone and tedious) or use immediate-mode libraries that require you to manage all state manually. **RxTUI** takes a different approach.\n\nWe bring the retained-mode, component-based architecture that revolutionized web development to the terminal:\n\n- [x] **Declarative UI** - Describe what your UI should look like, not how to change it\n- [x] **True Composability** - Build complex apps from simple, reusable components\n- [x] **Best of Both Worlds** - Elm's message architecture meets React's components\n- [x] **TUI Optimizations** - Automatic diffing, dirty tracking, and minimal redraws\n- [x] **Inline Mode** - Render directly in terminal with persistent output for CLI tools\n\n\u003cbr /\u003e\n\n\u003cdiv align='center'\u003e\n  \u003cimg width=\"100%\" alt=\"align demo\" src=\"https://github.com/user-attachments/assets/bff6886f-7d38-4e90-a512-04d79a3e6246\" /\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n# \u003csub\u003eQUICK START\u003c/sub\u003e\n\n### \u003cspan\u003e1\u003c/span\u003e\u0026nbsp;\u0026nbsp;Install RxTUI\n\nAdd to your `Cargo.toml`:\n\n```toml\n[dependencies]\nrxtui = \"0.1\"\n```\n\n### \u003cspan\u003e2\u003c/span\u003e\u0026nbsp;\u0026nbsp;Create Your First App\n\nA simple working example showing separation of state management and UI building:\n\n```rust\nuse rxtui::prelude::*;\n\n#[derive(Component)]\nstruct Counter;\n\nimpl Counter {\n    #[update]\n    fn update(\u0026self, _ctx: \u0026Context, msg: \u0026str, mut count: i32) -\u003e Action {\n        match msg {\n            \"inc\" =\u003e Action::update(count + 1),\n            \"dec\" =\u003e Action::update(count - 1),\n            _ =\u003e Action::exit(),\n        }\n    }\n\n    #[view]\n    fn view(\u0026self, ctx: \u0026Context, count: i32) -\u003e Node {\n        node! {\n            div(\n                pad: 2,\n                align: center,\n                w_frac: 1.0,\n                gap: 1,\n                @key(up): ctx.handler(\"inc\"),\n                @key(down): ctx.handler(\"dec\"),\n                @key(esc): ctx.handler(\"exit\")\n            ) [\n                text(format!(\"Count: {count}\"), color: white, bold),\n                text(\"use ↑/↓ to change, esc to exit\", color: bright_black)\n            ]\n        }\n    }\n}\n\nfn main() -\u003e std::io::Result\u003c()\u003e {\n    App::new()?.run(Counter)\n}\n```\n\n### \u003cspan\u003e3\u003c/span\u003e\u0026nbsp;\u0026nbsp;Run Your App\n\n```bash\ncargo run\n```\n\n\u003cimg width=\"100%\" alt=\"counter demo\" src=\"https://github.com/user-attachments/assets/c841f1e6-8bf9-4b5a-bed5-97bc31cc3537\" /\u003e\n\n\u003cdiv align='center'\u003e• • •\u003c/div\u003e\n\n# \u003csub\u003eDOCUMENTATION\u003c/sub\u003e\n\n| Document                                  | Description                                |\n| ----------------------------------------- | ------------------------------------------ |\n| **[Examples](./examples)**                | Collection of example apps                 |\n| **[Documentation](DOCS.md)**              | Complete framework documentation           |\n| **[Tutorial](TUTORIAL.md)**               | Step-by-step guide from basics to advanced |\n| **[API Reference](API_REFERENCE.md)**     | Detailed API documentation                 |\n| **[Quick Reference](QUICK_REFERENCE.md)** | Handy cheat sheet for common patterns      |\n| **[Implementation](IMPLEMENTATION.md)**   | Internal architecture details              |\n\n\u003cdiv align='center'\u003e• • •\u003c/div\u003e\n\n# \u003csub\u003eDEVELOPMENT\u003c/sub\u003e\n\nWant to contribute? We'd love to have you!\n\n- **[Development Guide](DEVELOPMENT.md)** - Set up your dev environment\n- **[Contributing](CONTRIBUTING.md)** - Contribution guidelines\n- **[GitHub Issues](https://github.com/microsandbox/rxtui/issues)** - Report bugs or request features\n\n\u003cdiv align='center'\u003e• • •\u003c/div\u003e\n\n# \u003csub\u003eLICENSE\u003c/sub\u003e\n\nThis project is licensed under the [Apache License 2.0](./LICENSE).\n","funding_links":[],"categories":["Rust"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerocore-ai%2Frxtui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzerocore-ai%2Frxtui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerocore-ai%2Frxtui/lists"}