Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ratatui-opencode-example

A Ratatui example demonstrating how to build a terminal UI inspired by opencode. Features a scrollable message list, an input bar with slash commands, a command palette (Ctrl+P), theme switching, and an animated loading indicator.

screenshot

Dependencies

Usage

cargo run

Key bindings

Key Action
Enter Send message
Shift+Enter Newline in input
Tab / Shift+Tab Cycle Build/Plan agent tabs
Ctrl+P Open command palette
Ctrl+X then B Toggle sidebar
Ctrl+X then S Toggle session scrollbar
/ Open slash command menu
PageUp / PageDown Scroll messages
Up / Down Input history
Esc Quit (or close modal)

License

MIT

About

A Ratatui example of an opencode-like terminal UI

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages