# xplr

> Terminal-based file explorer with Lua scripting, keyboard controls, and plugin system for command-line integration

Stars: 4.8k · Language: Rust · License: MIT · Categories: File Management

- Repository: https://github.com/sayanarijit/xplr
- Website: https://xplr.dev
- Page: https://www.trmn.sh/tools/xplr

## Overview

xplr is a terminal-based file explorer built with a focus on extensibility and command-line integration. It provides a keyboard-controlled interface for navigating files and directories while serving as an orchestrator for other command-line utilities that work with the file system.

The tool distinguishes itself through its hackable architecture, supporting Lua scripting for customization and automation. Users can configure key bindings, create custom layouts, and extend functionality through plugins and integrations. xplr aims to bridge the gap between traditional shell commands and GUI file managers by providing a visual interface that can be scripted and integrated into terminal workflows.

Designed for users who want to increase terminal productivity, xplr targets developers and power users who prefer keyboard navigation and scriptable interfaces. The tool supports real-time visual feedback and can be integrated with existing command-line tools rather than replacing them, making it suitable for complex file management tasks in development environments.

![xplr terminal file explorer demo](https://media.trmn.sh/cached/52ad82acff3e173f9bea831a283d34ca3fc40e9d4625a09122cdff6fe02e0201.mp4)

## Alternatives

- [ouch](https://www.trmn.sh/tools/ouch.md): CLI tool for compressing and decompressing files across 14+ formats with automatic format detection (Rust, 3.8k stars)
- [viu](https://www.trmn.sh/tools/viu.md): Rust command-line image viewer for the terminal using the iTerm or Kitty graphics protocols, with a half-block fallback and animated GIF support. (Rust, 3.3k stars)
- [xleak](https://www.trmn.sh/tools/xleak.md): Excel file viewer and interactive TUI for terminal with multi-sheet support and export capabilities (Rust, 1.5k stars)
- [hazelnut](https://www.trmn.sh/tools/hazelnut.md): Terminal-based automated file organizer that watches folders and applies rules to move, copy, rename, or delete files based on patterns (Rust, 327 stars)
- [notox](https://www.trmn.sh/tools/notox.md): CLI tool for renaming files to remove toxic or problematic characters from filenames (Rust, 16 stars)

## Guides

- [Best Terminal File Managers](https://www.trmn.sh/best/terminal-file-managers): Compare terminal file managers: yazi, nnn, ranger, lf, broot and more. Differences in previews, plugins, footprint and keybindings.

---

Canonical: https://www.trmn.sh/tools/xplr
