TEMPLATES(1)
NAME
templates — Templates for bootstrapping a Rust TUI application with Ratatui
SYNOPSIS
$
cargo install cargo-generateINFO
387 stars
44 forks
0 views
RustDeveloper Tools
DESCRIPTION
Templates for bootstrapping a Rust TUI application with Ratatui
README
Ratatui Templates 🧀
This repository contains templates for bootstrapping a Rust
TUI application with
Ratatui and
crossterm.
Getting Started
Install
cargo-generatecargo install cargo-generateCreate a new app based on this repository:
cargo generate ratatui/templatesChoose one of the following templates:
- Hello World: A "Hello, World!" example.
- Simple | Simple Async: A simple example.
- Event Driven | Event Driven Async: An example of an event-driven TUI application.
- Component: An example of a component-based TUI application.
Contributing
To keep the generated code up to date, install just and run just generate-all (or a specific
template - e.g. just generate-simple).
SEE ALSO
neovim(1)— Hyperextensible Vim-based text editor — the future of Vimtmux(1)— Terminal multiplexer — split panes, detach sessions, pair programhyperfine(1)— A command-line benchmarking tool — measure execution timestokei(1)— Count lines of code quickly — supports 150+ languagescftunnel(1)— 全协议内网穿透 CLI — Cloud 模式免费 HTTP/WS 穿透 + Relay 模式自建中继 TCP/UDP 全协议 | Cloudflare Tunnel + frp 双引擎
clihub3/4/2026TEMPLATES(1)