Back to browse
GitHub Repository

Search and replace, TUI style. Mirror available on Codeberg.

36 starsRust

Swpui, a TUI for case-aware search and replace

by beeb·May 16, 2026·3 points·1 comment

AI Analysis

●●SolidCozyShip It

Rust TUI bringing VS Code's visual search confidence to the terminal with immediate feedback.

Strengths
  • Immediate query feedback solves the blind-spot problem of CLI tools like repgrep.
  • Case-aware replacement logic handles source code edge cases better than regex-only tools.
  • Built with Ratatui in Rust, ensuring speed and a native terminal feel.
Weaknesses
  • Search-and-replace is a solved problem with mature incumbents like sed and ripgrep.
  • TUI tools often struggle to gain traction against IDE-integrated workflows.
Target Audience

Terminal users and Vim/Neovim enthusiasts needing visual search confirmation

Similar To

repgrep · fastmod · sed

Post Description

Presentation article: https://beeb.li/blog/introducing-swpui Codeberg mirror: https://codeberg.org/beeb/swpui

I've been working on a TUI to suit my terminal IDE workflow after I noticed the most promising alternative stopped being maintained and had too many bugs.

The tool is implemented in Rust using the Ratatui library and focuses on being ergonomic, fast and provide case-aware replacement.

The main feature I wanted to have is immediate feedback for the search query, which is also why I didn't stick with tools like fastmod and repgrep. As much as I hate VS Code now, I really enjoyed the search/replace experience with it and that's what I tried to emulate in swpui.

Looking forward to your feedback!

Similar Projects

Social●●Solid

Concord – Discord in Terminal

Voice chat and Sixel image previews in a terminal Discord client - technically impressive.

CozyNiche Gem
n3ozz
10211d ago