A blazing-fast, modern Terminal User Interface (TUI) package search and pager for Scoop on Windows, powered directly by the official Scoop Azure AI Search API.
- Fast Real-Time Search: Search across all Scoop buckets instantly with zero local cloning, heavy downloads, or manual index maintenance.
- Split-Screen Package Inspection:
- Results List: Compact overview displaying package name, version, bucket badge, repository stars, and relative update recency (e.g.
now,3h,12d,2mo,1y). - Package Details Pane: Instant inspection of package metadata including description, bucket repository, homepage URL, SPDX license, git commit SHA, and exact update timestamp.
- Ready-to-Run Install Command: Automatically generates the correct
scoop bucket add <bucket>andscoop install <app>commands.
- Results List: Compact overview displaying package name, version, bucket badge, repository stars, and relative update recency (e.g.
- Direct Interactive Installation: Press
<Enter>on any result to open a confirmation prompt and install packages directly without leaving the app. - Vim-Friendly & Intuitive Navigation: Fluid browsing with arrow keys or vim navigation (
j/k,g/G), instant search filtering, and seamless pane focus cycling with<Tab>. - Safe Exit Safeguards: Protection against accidental terminationsβrequires double
<Ctrl+C>or typing/quit//exit, with double<Esc>to quickly clear the search query. - Zero Setup & Resilient Connectivity: Ready to use out-of-the-box with automatic self-healing API connectivity, ensuring queries remain reliable even if upstream service keys rotate.
| Key | Action |
|---|---|
<Enter> |
Execute search (Search Bar) / Prompt install (Results & Details) |
<Esc> |
Return focus to the search bar |
<Esc> (x2 within 500ms) |
Clear the search bar query |
<Tab> |
Cycle focus: Search Bar β Results List β Details Pane |
<β> / <β> (or k / j) |
Navigate up/down through search results |
<Home> / <End> (or g / G) |
Jump to top / bottom of search results |
<Ctrl+C> (x2 within 1.5s) |
Exit the application |
/quit or /exit + <Enter> |
Exit the application from search bar |
(Note: The q key does not exit the app, preventing accidental terminations).
Add this repository as a bucket and install:
scoop bucket add scoopfind https://github.com/B0pol/scoopfind
scoop install scoopfind(Or install directly from the raw manifest URL: scoop install https://raw.githubusercontent.com/B0pol/scoopfind/master/bucket/scoopfind.json)
- Download the latest
scoopfind-*-windows-x64.zipfrom GitHub Releases. - Extract
scoopfind.exeand place it in yourPATH(e.g.,~/scoop/shimsorC:\Windows\System32).
cargo install scoopfind- Rust Toolchain (Rust 2024 / 1.99+)
- C Linker on Windows:
- Option A (Lightweight via Scoop):
scoop install mingw - Option B (Microsoft MSVC): Visual Studio C++ Build Tools (
link.exe)
- Option A (Lightweight via Scoop):
# Clone the repository
git clone https://github.com/B0pol/scoopfind.git
cd scoopfind
# Run the test suite
cargo test
# Build the release binary
cargo build --release
# The binary will be available at:
# target/release/scoopfind.exeAll application state is centralized in an owned App struct to maintain simple, idiomatic Rust code free of complex lifetime annotations:
scoopfind/
βββ src/
β βββ main.rs # Terminal lifecycle (crossterm raw mode) & async Tokio event loop
β βββ app.rs # Centralized App state, cursor handling, navigation, and exit safeguards
β βββ api.rs # Azure AI Search client & dynamic fallback key recovery from scoop.sh
β βββ models.rs # Deserialization models, bucket resolver, and relative age formatters
β βββ ui.rs # Ratatui split-pane layout, widgets, and dynamic responsive footer
βββ docs/ # Architecture, contributing, configuration, and releasing guides
βββ bucket/
β βββ scoopfind.json # Standard Scoop bucket manifest
βββ scoop/
β βββ scoopfind.json # Scoop package manifest template
βββ .cargo/
β βββ config.toml # Portable target configuration (x86_64-pc-windows-gnu)
βββ .github/
β βββ workflows/ # CI testing and automated GitHub release pipelines
βββ Cargo.toml # Package metadata & dependency specifications
For in-depth guides and contributor resources, visit the docs directory:
- ποΈ Architecture & Design β Deep dive into the event loop, state machine, and self-healing search engine.
- βοΈ Configuration & Usage β CLI arguments, keybindings reference, environment variables, and terminal support.
- π€ Contributing Guide β Toolchain requirements, dev setup, code style, and Conventional Commits.
- π Releasing Guide β Step-by-step maintainer guide for version bumping and publishing.
---
## π§ͺ Testing
Run the automated test suite verifying live search queries, dynamic key recovery, and navigation logic:
```bash
cargo test
MIT License - see LICENSE for details.