r/tui • • 3h ago

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

7 Upvotes

SENTRI is a terminal app that collects opportunities (events, jobs,
hackathons) and tech news into a local SQLite database and ranks them.
A few things that were interesting to build:

  • Cargo workspace split into core (pure domain), storage (SQLx), sources (connectors), app and TUI crates.
  • Safe fetching: a reqwest client that resolves only public IPs, rejects HTTPS→HTTP redirects, enforces MIME allowlists and size limits, and uses ETag/Last-Modified for incremental refreshes.
  • Parallel collection with a semaphore and per-source progress streamed to the UI, so the first screen fills in as sources answer.
  • SQLite concurrency: deferred transactions failed with SQLITE_BUSY_SNAPSHOT under parallel writers; switching writes to BEGIN IMMEDIATE fixed it (regression test included).
  • Terminal width bugs: some glyphs (✍, emoji with VS16) are one column for unicode-width but two for tmux, which broke borders.

Clippy pedantic with -D warnings, Rust 1.89+, edition 2024.
Repo: https://github.com/HustavoJhon/sentri

Happy to hear how you'd structure the connector layer differently.


r/tui • • 19m ago

AI assisted Browse nyaa.si from your terminal

Post image
2 Upvotes

Browse nyaa.si from your terminal

A fast, keyboard-driven TUI for searching English-translated anime torrents on nyaa.si

Built in Rust with ratatui, powered by the nyaa RSS feed.

No scraping, no browser

https://github.com/metaory/nyaa-tui


r/tui • • 2h ago

AI assisted mrkdwn - a simple tui markdown viewer in the terminal

Post image
1 Upvotes

r/tui • • 6h ago

I started a community for Rust terminal application developers

1 Upvotes

I've been interested in the Rust TUI ecosystem for a while, particularly Ratatui. There are some genuinely interesting projects being built with it, and I wanted a dedicated place where people could discover them, share their work and exchange ideas.

That's why I started r/RatatuiRust.

The idea is simple: a community focused on Rust terminal applications, Ratatui projects, custom widgets, UI design, rendering techniques, tutorials and the ecosystem around them.

It's currently growing, and I'd like to make it a useful meeting point for people interested in building terminal applications with Rust.

If you're working with Ratatui, exploring Rust TUIs, or just interested in the ecosystem, you're welcome to join:

https://www.reddit.com/r/RatatuiRust/

I'd be glad to have more developers involved and hear what you'd like to see in the community.


r/tui • • 6h ago

AI assisted pi-sessions: a terminal UI to browse and keep track of your pi sessions

Post image
1 Upvotes

r/tui • • 18h ago

AI assisted google-tasks-tui — Simple, Focused Rust Google Tasks client

5 Upvotes

I built a terminal Google Tasks TUI in Rust (ratatui) with some nice theming functionality. Also the same CRUD is also available as CLI subcommands for agents to read and write easilly.

Why I made it

The Google Tasks app is great on mobile but trying to use it in the calendar webapp on desktop is a pretty aweful experiance. So why not make a TUI so I can get instant (cached) local startup, remappable keys, and rich theme support that doesn’t fight Omarchy/ANSI/NO_COLOR?

Highlights

  • Instant board from local cache; Google syncs in the background (read-only until sync finishes)
  • Shipped Desktop OAuth client — no personal GCP project required for first run (verification still pending)
  • / cross-list search (title + notes)
  • List CRUD, clear completed, move across lists, reparent / reorder siblings
  • Remappable keys via config.toml
  • Omarchy-aware theming + live reload
  • CLI with Markdown / JSON output, same auth as the TUI

Install

cargo install --git https://github.com/relston/google-tasks-tui.git
google-tasks-tui

Links

Caveat while OAuth verification finishes

Google still shows the “unverified app” interstitial for new sign-ins. You can continue via Advanced → Go to app. I’m mid sensitive-scope verification; until that’s approved there’s also Google’s unverified-user cap. You can also use your own Google Cloud credentials if you want.

Happy to answer questions or take feature requests.


r/tui • • 13h ago

AI assisted I bring Binance into terminal

2 Upvotes

I spend a lot of time in the terminal and got tired of switching to a browser just to check prices, charts, or my positions, so I built crypto-ticker.

It is a terminal UI for watching crypto markets in real time. Binance is the default, and it works without an API key if you only want public market data.

Right now it can:

- monitor futures and spot prices over WebSocket

- switch between futures and spot with `Tab`

- render live candlestick charts for 1h, 2h, 4h, 1d, and 3d intervals

- show volume, EMA20/50, RSI14, Bollinger Bands, and MACD

- display 24h change, funding rate, open interest, and the long/short ratio

- show a small sparkline for each symbol

- open a live 20-level order book inside the TUI

- highlight price movement in green/red

If you add API credentials, it can also show positions, balances, and open orders. There is basic order management for limit and market orders, including placing, cancelling, and editing orders. The selected futures or spot panel determines where the order goes.

I originally built it around Binance, but it now also supports Gate, OKX, and Bitget. Symbols, the default panel, chart size, timezone, colors, API endpoints, and other settings are configured through a TOML file.

For custom symbols or another exchange, copy one of the examples from configs/ to config.toml and edit it. The app checks the current directory first, then ~/.config/crypto-ticker/config.toml, and finally falls back to the embedded Binance config.

Repo: https://github.com/byteoxo/crypto-ticker


r/tui • • 12h ago

I built Musica, a terminal music player with album art and a live audio spectrum

Post image
1 Upvotes

r/tui • • 1d ago

AI assisted Diffler: vi-like magit inspired diff viewer, PR reviews, MCP and more

Thumbnail
gallery
14 Upvotes

Are you guys still reviewing code?

Diffler is basically a standalone magit from doom-emacs, also highly inspired by neovim plugins such as neogit supporting git and jj. I tried to mash the best from every terminal diff review tool I've ever used into this one because the demand of code reviews is so much higher now and I refuse to leave the terminal and my TUIs! So I have been working on this and polishing it a lot in the last few months.

It's more than a diff viewer. It's a git client for the everyday stuff, without leaving the terminal:

  • Stage/unstage files or line ranges (V for visual selection like vim)
  • Add comments to lines or ranges and copy them for agents
  • commit, pull, push, blame views etc
  • ctrl+k quick fuzzy search for commands
  • Fully reconfigurable keybindings
  • Tabs - Multiple git repos in the same session
  • Listing and opening or checking out PRs from github, gitlab and forgejo
  • Submit PR/MR reviews
  • Explore/checkout past commits, PRs, worktrees, branches
  • watch the CI/CD workflows, with a view of the flow and logs, list and view past runs
  • MCP: You can connect to your agents and let them watch and respond to you inline or act on requests.
  • WIth MCP agents can also control the TUI, take you to files or any places, open projects, add comments. It does not allow submiting reviews.
  • Walkthroughs: Custom review buffer where the agent select what matters and comments on it (this is my attempt on having simpler reviews on things I care less about).
  • Avatar images for terminal emulators that support it
  • Different left sidebar modes where you can have a file-tree, review and viewed, or separate by file type (hit t to cycle between)
  • And a few more!

It's written in Rust with ratatui.

https://github.com/matheusfillipe/diffler

Feedback and feature suggestions are welcome!


r/tui • • 1d ago

AI assisted venti - a terminal multiplexer built with ratatui!

20 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.

if you find the project interesting, consider leaving a star on github. it genuinely helps the project reach more people. thanks for checking it out!

demo: https://youtu.be/GsD61wQLam0

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

thanks for taking a look!


r/tui • • 1d ago

Vibe coded ytm-go

10 Upvotes

I find so slow using ytm, so i recreate it using go, wdyt on here?


r/tui • • 19h ago

CLI I am curious what y'all can build here? let me know in the comments.

Thumbnail
amosnimos.neocities.org
0 Upvotes

r/tui • • 1d ago

(c)Bonsai!

Post image
5 Upvotes

Anyone else still using `cbonsai`? I have a command setup to generate them when i reset a window in iTerm and I find that I have saved loads of screenshots from it


r/tui • • 1d ago

Vibe coded >))) Hum - Your Plex TUI music player for Macs

Post image
1 Upvotes

This started as a PoC to see if I could get some XCode help writing swift code, if you're interested to try it out comment below and I might push the binary to github.

Features

  • Connects to Plex just like a regular App and store token in Keychain
  • Built-in support for browse by artists/moods/labels/genres/style
  • Artwork is ASCII art (no cheating)
  • Multiple visualizers running on the console at 60fps
  • Lyrics including karaoke style real-time
  • Control center integration (cover art, track)
  • Media key support (next/prev/pause/play)
  • Sound volume (in the app)
  • Free text search
  • Taking screenshot (mostly for debugging)

Thinking about adding other sources like Spotify but would like this to be stable first. Only requirement at the moment is a terminal so this could in theory run over SSH and control a tiny Mac Mini for example :)


r/tui • • 1d ago

AI assisted rclip 4: semantic image search in the terminal, now with a TUI

3 Upvotes

r/tui • • 2d ago

AI assisted I wanted VS Code in my ssh sessions, so I built a terminal editor that runs its extensions

58 Upvotes

Hi! I wanna show you my insane experiment: a terminal editor that runs VS Code extensions.

Some backstory. I wrote production C# and Java in jb ides for years, then slowly moved to VS Code. Then I went remote, and now most of my day is a terminal with console agents in it. I wanted my editor right there, in the same ssh session. So about 8 months ago I decided to try the dumb thing and build a terminal editor that can run VS Code extensions as is.

It's called 'diode'. It actually worked out better than I expected. I've been using it as my main editor for 3-4 months now, so I guess it's time to show it to someone besides me.

What it does: VS Code keybindings, settings.json and themes, non-modal. Extensions install from openVSX and run as is, so LSP, completion, go to definition etc. come from the same extensions VS Code uses. Works over ssh and in containers, starts in about 100 ms.

I know about ttt and fresh, they're great projects and I've looked at both. But I didn't want to learn a new editor, I wanted to keep working the way I always did in VS Code, with the same extensions.

It's alpha. No debugger yet (DAP - wip), and webviews are never going to happen.

And yes, I build it with AI agents. To keep it from turning into slop there's a lot of testing in CI -- but this is other story.

I've only really tested it on Ubuntu (x64 and arm) and macOS, with kitty + tmux. Fedora, Arch, NixOS, WSL, other terminals: no idea. If you try it, even a quick "works" or "broke like this" would help a lot.

https://github.com/diode-editor/diode

Bugs welcome, I'll fix them.


r/tui • • 2d ago

AI assisted Codemark 0.9: install tree-sitter grammars from a registry, and add anchored comments

Post image
7 Upvotes

Codemark is a CLI and TUI for bookmarking code by its structure instead of by line number. It uses tree-sitter to remember what you marked (a function, a block, a type), so the bookmark still points at the right code after you refactor or reformat around it. Since I last posted, two big things have landed:

🧩 Grammar profile registry

Grammars are no longer compiled into the binary. Each language loads at runtime as a WASM tree-sitter grammar, which roughly halved the binary size.

https://github.com/DanielCardonaRojas/codemark-grammars

💬 Comments anchored to code

You can now comment on specific lines inside a bookmark, not just on the bookmark as a whole. Each comment gets its own structural query, so it follows its code as the file changes, just like bookmarks do.

Try it

codemark install-skill --agent claude --scope user

codemark tui

It runs on macOS, Linux and Windows, it's MIT-licensed and written in Rust.

Repo: https://github.com/DanielCardonaRojas/codemark

Feedback is welcome, and so are registry contributions if your language is missing. Adding one is mostly writing a profile, and CI checks it for you.


r/tui • • 2d ago

AI assisted smolify: spotify as a TUI

19 Upvotes

Initially started because I wanted a low RAM but good looking spotify player.

Includes:

  1. real cover art with Kitty graphics, half-blocks everywhere else (or you can completely disable them if you fancy a graphic-less experience)
  2. full mouse support, including back/forward with the mouse side buttons or trackpad swipe since I use those a lot in Chrome
  3. plays audio itself, no other app needed (Premium only though)
  4. `smolify -gui` runs the same app as a native macOS window (native windows / linux support soon)

Install via brew:

brew install --cask lunguini/tap/smolify

or grab a build for macOS, Linux or Windows from here: https://github.com/lunguini/smolify

It's v0.1 so I'm sure there's stuff that's not yet perfect; but all feedback is welcome!

Let me know what you find and hope you like it!


r/tui • • 3d ago

AI assisted Anime in the terminal with anime websites UI design.

177 Upvotes

So basically i wanted to watch anime in the terminal because i fed up on how slow the videos on the anime websites, and i couldnt find many languages for subtitles. So I made my own with different languages and u can turn ur phone into a remote with different functionalities. Another feature i added, is that u can sync ur data from anilist (AL) and my anime list (MAL) with just typing ur id name or downloading the json folder from the official website. Also, there is analysis and telemetry section to tell u about the anime's ur watching and taste wizard in which u answer 10 mcq question and gives u suggestions on potential anime u might like based on ur answers.

please watch the video to the fullest and let me know about it, and I made a youtube version of this so I dont have to go to youtube again. The idea is to stay away from browsers to save ram and be able to watch anime and youtube and 4k scaling without load buffering.


r/tui • • 2d ago

zaag: a sidebar for zellij that shows what all your coding agents are doing (inspired by herdr)

Post image
4 Upvotes

If you don't know herdr: it's a terminal app for running several coding agents at once. It gives you a sidebar with all your agents and their status.

I really liked it but tbh, my fingers refuse to learn Ctrl+B. So I made a kit that gives zellij the same idea:

- a sidebar with projects and agents, and their status

- Ctrl-o g to search and jump to any agent, in any session (herdr inspired)

- a zaag command to list, read, prompt and start agents, which also works over SSH for agents on another machine

- a skill so your agents can boss each other around

It works with Claude Code, Codex and Hermes. It's plain zellij: no fork, just a plugin, a Python script and some hooks.

Repo: https://github.com/IsmailHatim/zaag


r/tui • • 2d ago

Advent of Code TUI

Thumbnail gallery
7 Upvotes

r/tui • • 1d ago

AI assisted I got tired of ssh-ing into my boxes, so I made this

Thumbnail
reddit.com
0 Upvotes

r/tui • • 2d ago

AI assisted Keyboard-driven terminal UI for libvirt/virsh, with vim keys and live graphs

4 Upvotes

virsh-tui shows every virtual machine on a libvirt connection with live CPU, memory, disk and network graphs, and lets you start, stop, snapshot, reconfigure and create them from the keyboard. Every action is a virsh (or virt-install) command, and virsh-tui shows you that command before and after it runs, so nothing happens behind your back and you can reuse it in a script.

It works with qemu:///system, qemu:///session and remote hosts over qemu+ssh://, with the same permissions virsh has.

https://syscallbrain.github.io/virsh-tui/

https://github.com/SyscallBrain/virsh-tui


r/tui • • 2d ago

AI assisted Welcome to r/lazymobile: one terminal screen for iOS simulators, Android emulators and their logs

Post image
2 Upvotes