{"id":48406546,"url":"https://github.com/omnidotdev/template-rust-tui","last_synced_at":"2026-04-06T03:37:19.638Z","repository":{"id":334591815,"uuid":"1141728688","full_name":"omnidotdev/template-rust-tui","owner":"omnidotdev","description":"🖥️ Rust TUI template","archived":false,"fork":false,"pushed_at":"2026-03-31T11:52:03.000Z","size":44,"stargazers_count":1,"open_issues_count":11,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-06T03:37:18.091Z","etag":null,"topics":["foss","mit","open-source","ratatui","rust","template","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/omnidotdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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},"funding":{"github":["omnidotdev"],"custom":["https://omni.dev"]}},"created_at":"2026-01-25T10:23:38.000Z","updated_at":"2026-03-20T03:47:47.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/omnidotdev/template-rust-tui","commit_stats":null,"previous_names":["omnidotdev/template-rust-tui"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/omnidotdev/template-rust-tui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnidotdev%2Ftemplate-rust-tui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnidotdev%2Ftemplate-rust-tui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnidotdev%2Ftemplate-rust-tui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnidotdev%2Ftemplate-rust-tui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omnidotdev","download_url":"https://codeload.github.com/omnidotdev/template-rust-tui/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnidotdev%2Ftemplate-rust-tui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31458838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["foss","mit","open-source","ratatui","rust","template","tui"],"created_at":"2026-04-06T03:37:18.491Z","updated_at":"2026-04-06T03:37:19.632Z","avatar_url":"https://github.com/omnidotdev.png","language":"Rust","funding_links":["https://github.com/sponsors/omnidotdev","https://omni.dev"],"categories":[],"sub_categories":[],"readme":"# 🖥️ Rust TUI Template\n\nTerminal user interface application built with [Ratatui](https://ratatui.rs).\n\n## Features\n\n- 🖥️ **Interactive TUI**: Built with [ratatui](https://ratatui.rs) and crossterm\n- ⚡ **Event-driven**: Async architecture with tokio\n- ⌨️ **Full keyboard support**: Emacs-style line editing\n- 🖱️ **Mouse support**: Scroll with mouse wheel\n- 📜 **Auto-scroll**: With manual override\n- 🔒 **Safety**:\n  - Unsafe code forbidden via lint\n  - Strict Clippy lints (pedantic, nursery, cargo)\n- ⚡ **Optimized Builds**:\n  - LTO (Link-Time Optimization) enabled\n  - Single codegen unit for maximum optimization\n  - Binary stripping for smaller size\n\n## Prerequisites\n\n- [Rust](https://rustup.rs) 1.85+\n\n## Development\n\n### Running\n\n```sh\ncargo run\n```\n\n### Testing\n\n```sh\ncargo test\n```\n\n### Linting\n\n```sh\ncargo clippy\n```\n\n### Formatting\n\n```sh\ncargo fmt\n```\n\n## Building\n\n```sh\ncargo build --release\n```\n\n## Key Bindings\n\n| Key | Action |\n|-----|--------|\n| `Ctrl+C` / `Ctrl+D` / `Esc` | Quit |\n| `Left` / `Right` | Move cursor |\n| `Ctrl+A` | Move to start |\n| `Ctrl+E` | Move to end |\n| `Backspace` | Delete char |\n| `Delete` | Delete char forward |\n| `Ctrl+U` | Delete to start |\n| `Ctrl+K` | Delete to end |\n| `Ctrl+W` | Delete word |\n| `Ctrl+L` | Clear input |\n| `Enter` | Submit |\n| `Up` / `Down` | Scroll |\n| `PageUp` / `PageDown` | Scroll fast |\n| `Home` / `End` | Scroll to top/bottom |\n| Mouse wheel | Scroll |\n\n## License\n\nThe code in this repository is licensed under Apache 2.0, \u0026copy; [Omni LLC](https://omni.dev). See [LICENSE.md](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomnidotdev%2Ftemplate-rust-tui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomnidotdev%2Ftemplate-rust-tui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomnidotdev%2Ftemplate-rust-tui/lists"}