| Crates.io | listary |
| lib.rs | listary |
| version | 0.0.1 |
| created_at | 2025-09-04 14:32:43.12537+00 |
| updated_at | 2025-09-04 14:32:43.12537+00 |
| description | A fast command-line file search utility inspired by Listary, with fuzzy search, application launching, and smart auto-open features |
| homepage | https://github.com/qiutian00/listary |
| repository | https://github.com/qiutian00/listary |
| max_upload_size | |
| id | 1824293 |
| size | 105,589 |
A fast command-line file search utility inspired by Listary, built in Rust.
# Clone the repository
git clone <your-repo-url>
cd listary
# Build and install
cargo build --release
cargo install --path .
# Search for files in current directory
listary "config"
# Search for files in specific paths
listary "readme" --paths "/home/user,/opt"
# Search for applications (cross-platform)
listary "notepad" --apps
# Launch an application directly
listary --launch "notepad"
# Disable auto-opening of exact matches
listary "calculator" --apps --no-auto-open
# Limit results
listary "main" --limit 10
# Rebuild index cache
listary --rebuild
# Start interactive search (files only)
listary
# Start interactive search with applications
listary --apps
# Then type your search queries and use interactive features
search> config
search> notepad # Find applications (exact matches auto-open)
search> ↑ # Browse search history with arrow keys
search> history # View all search history
search> 1 # Open first result by number
search> clear # Clear search history
search> q # Quit
-p, --paths <PATHS> - Comma-separated paths to search (default: current directory)-l, --limit <NUMBER> - Maximum number of results (default: 50)-r, --rebuild - Rebuild file index cache-a, --apps - Include installed applications in search (cross-platform)--launch <APP_NAME> - Launch the first matching application--no-auto-open - Disable auto-opening of single exact application matches-h, --help - Show help information# Find all Rust files
listary "rs"
# Search for configuration files
listary "config" --paths "/etc,~/.config"
# Find applications containing "chrome" (exact matches auto-open)
listary "chrome" --apps
# Find applications without auto-opening
listary "calculator" --apps --no-auto-open
# Launch Notepad directly
listary --launch "notepad"
# Interactive search with applications and custom limit
listary --apps --limit 100
# Search only in specific directories
listary "main" --paths "C:\Users\YourName\Documents,D:\Projects"
# Interactive mode examples
listary --apps
# search> Calculator # Auto-opens Calculator app
# search> ↑↓ # Browse search history
# search> history # View all search history
# search> 1 # Open first search result
The tool displays different icons for various file types:
The application search feature scans multiple sources across platforms:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\UninstallC:\Program Files and C:\Program Files (x86)/Applications, /System/Applications, and ~/Applications/System/Library/CoreServices.app bundles and Info.plist files.desktop files in system and user directoriesxdg-openhistory command, clear with clear command