scooter: Interactive Find-and-Replace in Your Terminal

This repository profile is provided by osrepos.com, an open source repository discovery platform.

scooter: Interactive Find-and-Replace in Your Terminal

Summary

`scooter` is an interactive terminal UI application designed for efficient find-and-replace operations. It allows users to recursively search through files or process text from stdin, providing an interactive interface to toggle which instances to replace. Built with Rust, `scooter` delivers fast performance and supports advanced regex features, custom themes, and seamless editor integrations.

Repository Information

Analyzed by OSRepos on February 23, 2026

Topics

Click on any tag to explore related repositories

Use at your own risk

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.

Introduction

scooter is a powerful and interactive terminal UI application for find-and-replace operations. Built with Rust for speed and efficiency, it allows users to recursively search through files in the current directory or process text piped from stdin. With scooter, you can use either fixed strings or regular expressions for searching, enter a replacement, and then interactively toggle which instances you want to replace. It intelligently handles changes in files, ensuring replacements only occur on valid instances.

Key features include:

  • Interactive terminal user interface.
  • Support for both fixed string and regular expression searches.
  • Ability to use capture groups in replacement strings.
  • Respects .gitignore and .ignore files.
  • Customizable syntax highlighting themes.
  • Seamless integration with popular editors like Helix and Neovim.

Installation

scooter can be installed via several package managers or by building from source.

Homebrew

On macOS and Linux:

brew install scooter

Nix

scooter is available as scooter in nixpkgs:

# Example for NixOS
environment.systemPackages = with pkgs; [ scooter ];

AUR

For Arch Linux users:

yay -S scooter
# Or for the latest commit:
yay -S scooter-git

Winget

On Windows:

winget install thomasschafer.scooter

Scoop

On Windows:

scoop install scooter

NetBSD

Install from official repositories:

pkgin install scooter

Prebuilt Binaries

Download the appropriate binary for your system from the scooter releases page. Extract the binary and move it to a directory in your PATH.

Cargo

Ensure you have Cargo installed, then run:

cargo install scooter

Building from Source

Ensure you have Cargo installed, then run:

git clone https://github.com/thomasschafer/scooter.git
cd scooter
cargo install --path scooter --locked

Examples

Basic Usage

To launch scooter in the current directory:

scooter

To specify a different directory:

scooter ../foo/bar

Processing Stdin

Pipe content to scooter:

echo "hello world" | scooter

To write results to a file when processing stdin (in TUI mode, results go to stderr):

cat input.txt | scooter 2> output.txt

For --no-tui mode, results are written to stdout:

cat input.txt | scooter -N -s before -r after > output.txt

Pre-populating Search Fields

You can pre-populate search fields directly from the command line:

scooter \
  --search-text "old" \
  --replace-text "new" \
  --fixed-strings \
  --files-to-include "*.rs,*.py"

Use the --immediate-search flag to skip the initial search screen and jump straight to results.

Why Use It?

scooter stands out for its unique combination of interactivity, performance, and flexibility:

  • Interactive Control: Unlike traditional find-and-replace tools, scooter provides a terminal UI where you can review and selectively apply replacements, giving you fine-grained control over changes.
  • Blazing Fast Performance: Leveraging the ripgrep file walker, scooter is exceptionally fast. Benchmarks show it performing find-and-replace operations on large codebases, like the Linux kernel, with speed comparable to or even exceeding other specialized tools.
  • Powerful Regex Capabilities: It supports advanced regular expressions, including capture groups, allowing for complex and precise search patterns and dynamic replacements.
  • Customization: Tailor your experience with custom syntax highlighting themes and configurable keybindings to match your workflow.
  • Editor Integration: scooter offers deep integration with popular text editors such as Helix and Neovim, enabling you to perform project-wide or buffer-specific find-and-replace without leaving your editor environment.

Links

Related repositories

Similar repositories that may be relevant next.

CubeSandbox: Instant, Concurrent, and Secure Sandbox for AI Agents

CubeSandbox: Instant, Concurrent, and Secure Sandbox for AI Agents

August 9, 2026

CubeSandbox, developed by TencentCloud, is a high-performance, secure sandbox service built on RustVMM and KVM, designed specifically for AI agents. It offers ultra-fast startup times, hardware-level isolation, and high-density deployment, making it ideal for scalable and secure agent execution environments. The service is also fully compatible with the E2B SDK for seamless integration.

agentscontainersandbox
StringWars: Benchmarking High-Performance String Processing in Rust and Python

StringWars: Benchmarking High-Performance String Processing in Rust and Python

July 21, 2026

StringWars is a comprehensive GitHub repository dedicated to benchmarking performance-oriented string processing libraries in Rust and Python. It meticulously compares various operations, including substring search, hashing, and edit distances, across both CPUs and GPUs. This project serves as an invaluable resource for developers seeking to identify the fastest and most efficient solutions for critical string manipulation tasks, particularly those leveraging modern SIMD instructions and GPU acceleration.

benchmarkstring-processingRust
pgrust: Postgres Rewritten in Rust, Passing All Regression Tests

pgrust: Postgres Rewritten in Rust, Passing All Regression Tests

July 11, 2026

pgrust is an ambitious project rewriting Postgres in Rust, now successfully passing 100% of Postgres regression tests. It aims for compatibility with Postgres 18.3 and offers significant performance improvements, especially for transaction and analytical workloads. This project focuses on making internal changes easier while maintaining Postgres behavior and disk compatibility.

RustPostgresPostgreSQL
OpenLogi: A Native, Local-First Logitech Options+ Alternative in Rust

OpenLogi: A Native, Local-First Logitech Options+ Alternative in Rust

June 1, 2026

OpenLogi is a native, local-first alternative to Logitech Options+, built with Rust. It allows users to remap mouse buttons, control DPI, and manage SmartShift functionality over HID++ without requiring an account or collecting telemetry. This project prioritizes privacy and local control for Logitech mouse users.

RustLogitechMouse Remapping

Source repository

Open the original repository on GitHub.

12 counted GitHub visits

View on GitHub
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️