Repository navigation
Releases: MensahPrince/FileSearch
Release list
Fsearch version 0.5.0 build
fSearch: Improvements Summary
We have significantly enhanced the fSearch CLI tool, moving it from a basic prototype to a more robust, user-friendly, and professional application.
1. Robust Command Line Parsing
We replaced the manual, order-dependent parsing with the industry-standard clap crate.
- Flexible Flags: Commands like
find -f main.rsandfind main.rs -fnow both work correctly. - Automatic Help: Built-in help menus are automatically generated for all commands (
help,-h, or--help). - Structured Code: All command definitions are now organized in a dedicated cli.rs module.
2. Dynamic ASCII Art Banner
The startup experience is now more premium thanks to dynamic ASCII art.
figlet-rsIntegration: The "fSearch" logo is generated dynamically at runtime.- Professional Layout: Added a stylized header with versioning and author information, all themed with vibrant terminal colors.
3. Smarter Shell Prompt
The interactive prompt now feels like a real shell.
- System Hostname: Automatically detects and displays your actual machine name using the
gethostnamecrate. - Concise Pathing: Only shows the name of the current directory (the last path segment), preventing the prompt from becoming too long.
- Better Visibility: Styled in bold bright blue for clear distinction from command output.
4. Bug Fixes & Integrity
- Export System: Fixed several bugs where search results (files, regex matches, and extensions) were not being saved. You can now reliably use
export -o <file>to save any search results. - Code Cleanup: Removed dead code, fixed unused imports, and streamlined the main event loop in main.rs.
- Graceful Errors: Integrated proper error handling for invalid commands, ensuring the app doesn't crash on typos.
Current Project State (v0.5.0)
The tool is now significantly more "release-ready" with a solid foundation for future features like persistent configuration or a GUI.
wget https://github.com/MensahPrince/FileSearch/releases/download/v0.5.0-stable/fSearchYou may need to run this command if dependencies are missing.
sudo apt install -f Usage
fsearchNotes
- Ensure Rust and Cargo are installed if building from source.
- Built using
walkdir,std::env,colored, and basic Rust CLI principles.
Feedback
Issues, suggestions, and contributions are welcome!
Please open an Issue or Pull Request.
fSearch v0.2.0-stable
π fSearch v0.2.0
The second major release of fSearch β a lightweight, terminal-based file and directory search tool written in Rust, now better and more stylish!
β¨ What's New in v0.2.0
- π¨ Improved banner display with styled ASCII and centered layout
- π
find -file <pattern>β Regex-based search for files (e.g.,find -file ^main.*\.rs$) - ποΈ
.deband.rpmpackage builds for Debian and RPM-based Linux systems - π Better command handling and CLI polish
- π§ͺ Internal code cleanups and more robust argument parsing
π§© Features
- π
cd <path>β Change directory - π
lsβ List contents of the current directory - π
find -dir <name>β Recursively find directories by name - π
find -ext <extension>β Recursively find directories by files extension - π
find -file <pattern>β Regex search files by pattern - π
helpor-hβ Show help menu - β
exitβ Quit the application - π‘ Now with a styled banner because CLI deserves cool too!
π¦ Installation
On Linux (Debian-based)
wget https://github.com/MensahPrince/FileSearch/releases/download/v0.2.0/fsearch_0.2.0-1_amd64.deb
sudo dpkg -i fsearch_0.2.0-1_amd64.debOn Linux (RPM-based e.g., Fedora, CentOS)
wget https://github.com/MensahPrince/FileSearch/releases/download/v0.2.0/fsearch-0.2.0-1.x86_64.rpm
sudo rpm -i fsearch-0.2.0-1.x86_64.rpmComplete release of planned v0.1.0
π fSearch v0.1.0
The first official release of fSearch β a lightweight terminal-based file and directory search utility written in Rust.
β¨ Features
- π
cd <path>β Change directory - π
lsβ List contents of the current directory - π
find -dir <name>β Recursively find directories by name usingWalkDir - π
helpor-hβ Show help menu - β
exitβ Quit the application - β¨ Heck, I even added a Banner, how cool is that?
π¦ Installation
On Linux (Debian-based)
wget https://github.com/MensahPrince/FileSearch/releases/download/v0.1.0/fsearch_0.1.0-1_amd64.deb
sudo dpkg -i fsearch_0.1.0-1_amd64.debYou may need to run this command if dependencies are missing.
sudo apt install -f π Usage
fsearchπ Notes
- Ensure Rust and Cargo are installed if building from source.
- Built using
walkdir,std::env,colored, and basic Rust CLI principles.
π₯ Feedback
Issues, suggestions, and contributions are welcome!
Please open an Issue or Pull Request.
fSearch v0.1.0 (Uncomplete and Unstable)
π fSearch v0.1.0 β Initial CLI Release
The first release of fSearch β a lightweight terminal-based file and directory search utility written in Rust.
β¨ Features
- π
cd <path>β Change directory - π
lsβ List contents of the current directory - π
find -dir <name>β Recursively find directories by name usingWalkDir - π
helpor-hβ Show help menu - β
exitβ Quit the application
π¦ Installation
On Linux (Debian-based)
wget https://github.com/MensahPrince/FileSearch/releases/download/v1.1.0-alpha/fsearch_1.1.0-1_amd64.deb
sudo dpkg -i fsearch_1.1.0-1_amd64.debYou may need to run: if dependencies are missing.
sudo apt install -f π Usage
fsearchπ Notes
- Ensure Rust and Cargo are installed if building from source.
- Built using
walkdir,std::env, and basic Rust CLI principles.
π₯ Feedback
Issues, suggestions, and contributions are welcome!
Please open an Issue or Pull Request.