r/RatatuiRust • • Sep 19 '26

Discussion No More Code Dumps

Thumbnail reddit.com
2 Upvotes

Here we are people 😮‍💨

Our rust projects are no longer welcome as posts, but only as comments in the "What are you making this week in Rust?" threads.

What do you think about this? Is this a good decision or not?


r/RatatuiRust • • 11d ago

Discussion Maybe the tui deserves more credit.

Thumbnail
gallery
19 Upvotes

Someone put a spell on me this week. I finally got home for a few days and had some time to code, then the machine I was working on died. Spent a day recovering data. Now I'm back on my old 2015 MacBook Air running Omarchy. Still does the job. 😅

I'm working on sdrtop using Rust and Ratatui, and have come to really appreciate what a powerful tool a terminal can be.

We often associate terminals with running commands, building and compiling code or administering a system, but they offer so much more.

Using Ratatui we can build fully featured applications with dynamic data, graphics, tables, views and fully keyboard driven controls all in a terminal.

It really does fit well with my project sdrtop. Radio is all about watching things that are constantly changing, so having a clean interface that shows my metrics, signal activity and useful information is great.

I also love how the same app can be used on an old laptop, via SSH and tmux or on my little cyberdeck.

There's no need for a bulky desktop environment.

Whilst the retro feel is a nice touch, Ratatui has really made me appreciate how powerful a terminal can be as an application platform.

There is still a lot to cook! 👨🏽‍🍳🐁


r/RatatuiRust • • Sep 26 '26

Showcase Blur is a vim-inspired editor. Please try it :)

6 Upvotes

Hello there!

So, me and castlesp5 have been developing Blur, which as you can tell from the title, is a vim-inspired editor built fully in Ratatui

It has a nicer design than vim tho in my opinion, but isn't obviously trying to replace it.

Vim has a far more stable and mature ecosystem, and this is more of a hobby-project than an alternative.

With that being said, feedback is appreciated, and a star would make our day: https://github.com/castlesp5/blur

Thanks :)


r/RatatuiRust • • Sep 18 '26

Showcase Rust 6502 - A MOS 6502 emulator

13 Upvotes

So I built Rust 6502 who is a MOS 6502 emulator built in Rust with Ratatui

Here is some image and the github Repo:

https://github.com/wirenux/Rust-6502

(Go leave a star... pls ?)


r/RatatuiRust • • 8d ago

tmail: a terminal email client with a workspace instead of a plain inbox.

15 Upvotes

I've been using aerc for a while, but I honestly hated its ugly UI, so I decided to build Tmail, a faster, cleaner, and more modern terminal email client.

Built with Rust/Ratatui on top of Rataflow, it visualizes email threads as node-based graphs, with messages as cards and replies as edges. It also supports IMAP/SMTP, Maildir, PGP/S-MIME, Lua scripting, and more.

My favorite features are rendering HTML emails directly in the terminal, Markdown-to-HTML conversion, and the node-based reply system.

I didn't originally plan to vibe-code it and i designed the ui without ai help, but I ended up using Opus 5.5 to get something usable as quickly as possible. (cuz i made this for myself lol)

https://github.com/tuna4ll/tmail


r/RatatuiRust • • Oct 20 '26

Library Fenth is a zero-dependency theming library with 11 built-in themes

20 Upvotes

r/RatatuiRust • • Sep 19 '26

Showcase Nine Ratatui TUIs later, here's what I'd tell you

33 Upvotes

I've been building system diagnostic TUIs in Ratatui for a while. Rather than dump a project list, here are the lessons I'd hand to someone starting out.

Separate your data from your layout early. The temptation is to build a screen, then another screen, then discover they need the same numbers. Model the state once and treat each layout as a view over it. It's what lets you offer a full tabbed interface, a cramped 80x24 version and a dense wide version from one codebase, and switch between them at runtime without restarting anything.

Decide what your theme layer is allowed to defer. Terminal palettes are a courtesy to the user, and they're also a constraint. Anything that encodes meaning in colour, a heat ramp, a severity gradient, a magnitude scale, needs real colour values. Anything decorative can defer. Get that boundary explicit or you'll ship a build where the user's theme quietly flattens the one thing a view exists to show.

Only redraw when something changed. Polling for input and redrawing unconditionally is the default shape of every Ratatui tutorial, and it's fine right up until a view gets expensive. Then you're burning a core re-rendering identical data. Track dirty state, and cache anything derived from your model against a revision number so scrolling and filtering reuse it instead of rebuilding it.

Terminal size is a feature, not an afterthought. Decide what happens below your target dimensions and make the degradation deliberate. If a layout silently drops panels when it's short, that's a decision users should understand, not a surprise. Test the small sizes as seriously as the large ones.

Render into TestBackend. You can render real state into an off-screen buffer, assert on its contents and time it, with no terminal involved. It catches layout regressions that unit tests miss and gives you a place to benchmark draw cost. Badly underused in this ecosystem.

Build a shared chrome and stop relitigating it. Pick your borders, focus model, key bindings and status conventions once. Reuse them across everything. Users move between your tools without relearning, and you stop making the same layout decisions from scratch on each project.

The projects, most to least mature:

- netwatch — network diagnostics, ten tabs, TLS decryption, packet decode

https://github.com/matthart1983/netwatch · cargo install netwatch-tui

- syswatch — host diagnostics, twelve tabs, session scrubber

https://github.com/matthart1983/syswatch · cargo install syswatch

- diskwatch — read-only disk diagnostics

https://github.com/matthart1983/diskwatch · cargo install diskwatch

- essh — SSH client with the same chrome

https://github.com/matthart1983/essh · cargo install essh

- netscan — nmap workflow with differential scanning

https://github.com/matthart1983/netscan · cargo install netscan-tui

- kernwatch — kernel observability, flame graphs in the terminal. Newest and roughest.

https://github.com/matthart1983/kernwatch (binaries on the releases page, not

- logwatch — log introspection, live templating, novel-pattern detection

https://github.com/matthart1983/logwatch

- soundwatch — audio diagnostics in ten tabs

https://github.com/matthart1983/soundwatch

Note the crate names differ from the repo names for two of them: netwatch-tui and netscan-tui

Happy to go into detail on any of it.


r/RatatuiRust • • Oct 12 '26

Showcase TUI for Sport Scores

Thumbnail
github.com
3 Upvotes

r/RatatuiRust • • Oct 03 '26

Showcase mpris-lyrics Linux CLI displays lyrics from the MPRIS `xesam:asText` property

8 Upvotes

So yeah, as the probably unnecessarily long title says, this is a CLI that displays the current playing lyrics, but instead of trying to go online and fetch a match it just uses the already there xesam:asText property in MPRIS.

Sadly a lot of popular players that implement the MPRIS2 standard still don't implement that specific one, so it wont work with them. Even the one used in the showcase had to be modified, tho I am hopefully gonna upstream it soon.

I am very strict about AI usage, so for this project the only hint of AI that was used was for tab auto completion that is just used for boilerplate like, idk, implementing the Default trait for PlayerState (not including the actual tricky metadata_last_updated part). Safe to say it was only one notch above no AI at all.

So yeah, here you go give it a try and feel free to roast me, after all this is my first cli and cargo publish ;)


r/RatatuiRust • • 8d ago

Showcase Ratclone a keyboard-driven terminal UI for rclone

Post image
31 Upvotes

A keyboard-driven terminal UI for rclone, with Vim keys. Browse your accounts and the local disk, copy and move between them, rename and delete, and keep transfers running in the background — even after you quit.

https://github.com/SyscallBrain/ratclone


r/RatatuiRust • • Oct 09 '26

Pomodoro Time Chamber

Post image
11 Upvotes

r/RatatuiRust • • 3d ago

Showcase Building a local-first TUI aggregator in Rust: Ratatui, SQLx/SQLite and an SSRF-safe HTTP client

10 Upvotes

r/RatatuiRust • • 8d ago

Showcase Advent of Code TUI

Thumbnail
gallery
9 Upvotes

Hey so having tried Advent of Code last year, I though I would make a TUI for it. It saves your submissions via a Session cookie.

As for programming language, you can add any language you want in the config file or change it in the UI itself

It allows you to view, solve and submit advent of code problems. It also allows you to view previous year's problems.

https://github.com/craftty-org/aoc-tui


r/RatatuiRust • • Oct 11 '26

Help Working on wstrace — looking for TUI design feedback (Windows syscall/API monitor in Rust)

2 Upvotes

Hey r/RatatuiRust,

I've been building wstrace — a zero-driver Windows system & API monitor written in Rust, similar to strace but for Windows. It hooks into ETW (Event Tracing for Windows) to capture process/thread/file/registry/network events in real time.

The TUI is built with Ratatui and currently looks like this:

It's functional but pretty bare-bones. The layout has three panels:

  • A header bar showing target process, PID, live event count, and active category filter

  • An event stream table (time, category, operation, target, result, details)

  • An event inspector at the bottom for the selected row

  • A keybindings footer

Constraints I'm working around:

  • Windows terminals (conhost, Windows Terminal) have inconsistent Unicode/box-drawing support — going too fancy breaks on some setups

  • Event volume can be high (hundreds/sec), so rendering needs to stay lightweight

  • Color is the main differentiator right now (yellow = category, green = success, magenta = metadata)

What I want to add:

  • Optional resource graphs (RAM usage, disk I/O — when relevant to what's being traced) rendered inline with Ratatui's Sparkline or BarChart

  • A configurable layout — let users show/hide panels, resize sections, or toggle graphs on demand, while keeping the event stream as the permanent core of the interface

  • The goal is to stay focused on what wstrace is: a diagnostic and debugging tool, not a system monitor. Graphs would only appear when they add context to the trace, not as decoration

If you've dealt with dynamic layouts or toggleable panels in Ratatui, or have opinions on embedding lightweight graphs into a dense event stream UI without cluttering it, I'd love to hear your approach.

Repo: https://github.com/gilnett/wstrace


r/RatatuiRust • • 8d ago

News surprise, surprise...! 🥁😸🤭

Post image
8 Upvotes

0, 100, 200, 300, 400, 500, 600, 700, 800, 900 ❌

1,000 WEEKLY VISITORS ✅✅✅

ratatuists, let's celebrate this, shall we? 😻✨🎊

drop a 🥳 in the comments below to show your support!!!

let's keep:

  • 🌱 growing

  • 🛠️ building

  • 🤝 sharing

  • 🧭 exploring

  • 🧠 learning

...and most importantly, being the #1 TUI community on Reddit! 💗

stay safe everyone, peace ✌️🕊️

*~ yours lovingly...*
s.d.


r/RatatuiRust • • 16d ago

Showcase edamame: a terminal Markdown editor

Post image
13 Upvotes

r/RatatuiRust • • 16d ago

Showcase I built a keyboard-first GitHub Actions TUI in Rust 🦀🔬

Post image
5 Upvotes

Hey everyone!

I've been working on a small Rust project called Runline.

It's a terminal UI for monitoring and investigating GitHub Actions runs. The idea is simple: when a CI run fails, I wanted a quicker way to find what went wrong without constantly switching between the terminal and GitHub's web interface.

Some things it supports:

  • Failure-first dashboard for GitHub Actions runs.

  • Navigate jobs and steps, with failed steps automatically selected.

  • Search logs and jump directly between errors.

  • View annotations, warnings and errors with file and line information.

  • Rerun failed jobs and cancel stuck runs.

  • Switch between run attempts.

  • Themes, log saving and an offline demo mode.

It's written in Rust and uses the GitHub CLI (gh) for authentication and API access.

You can install it with:

cargo install runline

GitHub: https://github.com/programmersd21/runline

It's still a relatively new project, and I'd genuinely appreciate feedback from people who work with Rust, terminal applications, or CI/CD.

I'm particularly interested in thoughts on the TUI design, architecture and anything that could be improved.

Thanks for checking it out!


r/RatatuiRust • • 8d ago

Tutorial Getting started with TachyonFX: Adding animations to Ratatui applications

9 Upvotes

Ratatui is great for building terminal interfaces, but sometimes a static interface isn't enough. Transitions, fades and other small animations can make a TUI feel much more responsive.

That's where TachyonFX comes in.

TachyonFX is an effects and animation library built for Ratatui. It provides a collection of effects that can be composed, sequenced and applied directly to Ratatui's rendering buffer.

In this tutorial, we'll build a small application and learn how to integrate TachyonFX into a Ratatui render loop.

1. Setting up the project

Create a new Rust project:

cargo new ratatui-effects
cd ratatui-effects

Add the dependencies:

cargo add [email protected]
cargo add [email protected]

2. Understanding how TachyonFX works

Before writing code, there are three important things to understand:

  • Effects are stateful. Create an effect once and keep it around while it runs.

  • Effects transform rendered content. Render your widgets first, then process effects.

  • Effects need time information. Each frame, pass the elapsed time since the previous frame.

The general rendering flow looks like this:

  1. Calculate the elapsed time.

  2. Render your Ratatui widgets.

  3. Process the active TachyonFX effects.

  4. Draw the next frame.

3. Your first animation

Replace src/main.rs with:

use std::{
    io,
    time::Instant,
};

use ratatui::{
    crossterm::event::{self, Event, KeyCode},
    prelude::*,
    widgets::Paragraph,
};

use tachyonfx::{
    fx,
    EffectManager,
    Interpolation,
};

fn main() -> io::Result<()> {
    let mut terminal = ratatui::init();

    let mut effects: EffectManager<()> = EffectManager::default();

    let effect = fx::fade_to(
        Color::Cyan,
        Color::Gray,
        (1_000, Interpolation::SineIn),
    );

    effects.add_effect(effect);

    let mut last_frame = Instant::now();

    loop {
        let elapsed = last_frame.elapsed();
        last_frame = Instant::now();

        terminal.draw(|frame| {
            let area = frame.area();

            let paragraph = Paragraph::new(
                "Hello, TachyonFX!"
            )
            .alignment(Alignment::Center);

            frame.render_widget(paragraph, area);

            effects.process_effects(
                elapsed.into(),
                frame.buffer_mut(),
                area,
            );
        })?;

        if event::poll(std::time::Duration::from_millis(16))? {
            if let Event::Key(key) = event::read()? {
                if key.code == KeyCode::Char('q') {
                    break;
                }
            }
        }
    }

    ratatui::restore();

    Ok(())
}

Run it:

cargo run

You should see the text rendered in your terminal with a color transition.

Press q to exit.

4. Combining multiple effects

One of the most useful features of TachyonFX is effect composition.

You don't have to implement every animation manually. You can combine existing effects.

There are two particularly useful composition functions.

Parallel

Runs multiple effects at the same time.

let effect = fx::parallel(&[
    fx::fade_from_fg(Color::Red, 500),
    fx::coalesce(800),
]);

Sequence

Runs effects one after another.

let effect = fx::sequence(&[
    fx::fade_from_fg(Color::Black, 300),
    fx::coalesce(500),
]);

These are useful when building transitions between different screens or revealing content gradually.

5. Exploring other effects

TachyonFX includes considerably more than simple fades.

Some interesting effects to explore:

EffectPurpose
dissolveGradually dissolves content
coalesceGradually materializes content
slide_inSlides content into view
sweep_inReveals content using a sweep
evolveTransforms characters over time
explodeCreates a particle-like dispersion
hsl_shiftAnimates colors through HSL
glitchApplies glitch-style visual effects

It also supports spatial patterns such as radial, diagonal, checkerboard and spiral patterns.

You can explore interactive effect examples through TachyonFX FTL.

6. A few things to keep in mind

When integrating TachyonFX into a real application:

  • Don't recreate effects inside your render loop.

  • Keep track of elapsed time between frames.

  • Apply effects after rendering the widgets they should affect.

  • Use effect composition instead of manually implementing complex transitions.

  • Avoid unnecessary animations that make terminal interfaces harder to read.

7. Useful resources

That's the basic idea behind using TachyonFX with Ratatui.

There's a lot more to explore, especially effect composition, custom effects, cell filtering and spatial patterns.

If you've used TachyonFX in your own Ratatui projects, I'd be interested to hear how you've integrated it and what effects you've found useful.


r/RatatuiRust • • Oct 05 '26

Discussion Optimizing ratatui for embedded devices

Thumbnail
gallery
6 Upvotes

I recently started developing an audio player with rodio/fundsp and of course the presentation layer is handled by ratatui.

My issue now is how do I get to have this running in resource constrained scenarios. I have read a bit about no_std and understand the problem it aims to address.

What would be the best way to gracefully degrade a program so that it still works on constrained hardware.

You can check out the archived PR here that has the intentions of the project

https://github.com/prjctimg/gtm/pull/7

I have no previous experience with working with hardware and am open to learn from more experienced folks.


r/RatatuiRust • • 14d ago

Meme Well, it's how it is...

Post image
29 Upvotes

r/RatatuiRust • • 14d ago

Showcase I built Rustel: a native Strudel engine in Rust with a terminal studio using Ratatui and full CLI

6 Upvotes

r/RatatuiRust • • 7d ago

Showcase venti - a terminal multiplexer built with ratatui

28 Upvotes

hey! i've been working on venti, a linux terminal multiplexer written in rust with ratatui.

the goal is to build a keyboard-driven terminal workspace that makes managing multiple sessions, panes and workspaces feel natural, without adding unnecessary complexity.

what it currently supports

  • persistent sessions using unix domain sockets

  • dwindle tiling and monocle layouts

  • floating panes with mouse-based movement and resizing

  • multiple workspaces

  • four keybinding profiles: beginner, hypr, vim and dev

  • vim-like copy mode and scrollback search

  • a command palette and live settings editor

  • 15 built-in themes

  • mouse support and interface animations

  • configurable keybindings and application settings

a little about the implementation

venti uses ratatui for its interface, crossterm for terminal interaction, portable-pty for managing terminal sessions, and unix domain sockets for communication between clients and the persistent session server.

one area i've been exploring is terminal graphics support. venti has experimental support for kitty, sixel and iterm2 graphics protocols. this part is still a work in progress, particularly when panes are resized, moved or rearranged. i'd rather be clear about that than present it as finished.

the project is linux-only at the moment, and is still actively developing. there's plenty left to improve.

i'd genuinely appreciate feedback, especially from people familiar with ratatui, terminal emulators or terminal multiplexer internals. i'm interested in hearing what feels right, what feels awkward, and what could be designed better.

demo: https://youtu.be/GsD61wQLam0

source: https://github.com/programmersd21/venti

thanks for taking a look!


r/RatatuiRust • • Oct 24 '26

Showcase sdrtop

Thumbnail
gallery
15 Upvotes

hi r/ratatuiRust 👋 📟

I found a slightly ridiculous use for my Rust TUI project: saying hi to the Ratatui community through a pager in terminal: the plastic box with a tiny dot-matrix screen that doctors and plumbers carried before phones.

I'm building sdrtop, a terminal-based SDR bench tool. It started as a way to understand radio signals beyond just looking at a spectrum or listening to audio. Now it has custom digital decoders, Wi-Fi frame analysis, Bluetooth hopping visualizations, and a POCSAG pager decoder.

And of course, once I had the pager decoder working, I had to do this.

Somewhere between writing Rust and staring at radio signals, this seemed like a perfectly reasonable idea.

Ratatui made the terminal side possible. Radio did the message. 😄

repo: https://github.com/musithang/sdrtop


r/RatatuiRust • • Sep 22 '26

News Ratatui 🐭 • Sept 22 🗓️ • News 📰

8 Upvotes

Ratatui and TUI roundup | September 22, 2026

A small update from the TUI world.

Ratatui

Ratatui 0.30.2 is still the latest stable release.

There has not been a new release since June. The project itself is still active though. The official GitHub organisation shows recent activity across Ratatui and its ecosystem, including updates to awesome-ratatui, the website, and several Ratatui crates during September.

So there is no new version number to announce today, but the project is definitely not sitting still.

Some genuinely new TUIs

CometixCode

A very new Rust project that is attempting a file-by-file reimplementation of Claude Code's terminal UI using iocraft. It appeared on GitHub on September 20 and quickly attracted attention. It is explicitly unofficial and is not affiliated with Anthropic.

Tincan

A new terminal voice and text chat application built with Ratatui. It was posted to the official Ratatui forum on September 19. One particularly nice idea is that its UI divider represents the live connection state instead of being purely decorative.

One interesting thing

There is a lot of experimentation happening around TUIs right now, but the interesting part isn't simply that more terminal apps are appearing.

People are starting to use the terminal as an actual interface again, rather than treating it as a place to put a few commands.

If you've found a genuinely new TUI recently, drop it below. New projects preferred.

*P.S. the featured app in the post gif is `oatmeal`


r/RatatuiRust • • 10d ago

Showcase Live performance for Android apps in your terminal!

Post image
55 Upvotes