IntrRaCLI is a simple yet powerful Terminal User Interface (TUI) file explorer written in Rust. It combines the flexibility of ratatui for rendering UI components with the control of crossterm for handling terminal interactions. Whether you're browsing, previewing, or managing files directly from your terminal, IntrRaCLI has got your back.
- ๐ Keyboard Navigation โ Use arrow keys to smoothly navigate through files and folders.
- ๐ Directory Traversal โ Enter and exit directories effortlessly.
- ๐ File Preview โ View file contents directly within the terminal.
โ ๏ธ Error Handling โ Graceful handling of unreadable files with clear messages.- ๐ Copy File (Ctrl+C) โ Copy the selected fileโs content with a single shortcut.
- ๐ฅ Paste File (Ctrl+V) โ Paste the copied file into the current directory.
- ๐ Exclude Hidden Files โ Automatically hides dotfiles (like
.gitignore). - ๐ Rename Files/Folders (Ctrl+R) โ Rename items using an intuitive pop-up dialog.
git clone https://github.com/BiMalxMe/IntrRaCLI
cd IntrRaCLIcargo run| Key | Action |
|---|---|
| โ / โ | Move up or down the file list |
| Enter | Open a folder or preview a file |
| b | Go back to the parent directory |
| Ctrl+C | Copy the currently selected file |
| Ctrl+V | Paste the copied file into the current directory |
| Ctrl+R | Rename the selected file or folder |
| q | Quit the application |
main.rsโ Handles core logic, UI rendering, and event handling.walkdirfile/mod.rsโ Containsget_dir_datas, which fetches directory entries usingwalkdir, excluding hidden files.
IntrRaCLI is powered by these awesome Rust crates:
ratatuiโ Elegant UI rendering in the terminalcrosstermโ Terminal input/output and event managementwalkdirโ Efficient directory traversaldirsโ Cross-platform support for standard system directories
Check Cargo.toml for exact versions and additional dependencies.
Pull requests and feedback are welcome! Feel free to fork the repo and open an issue or PR.
This project is licensed under the MIT License.