Terminal-based file manager built with Go and Bubble Tea framework
fm is a terminal user interface file manager built with Go using the Bubble Tea framework. It provides file navigation capabilities with visual enhancements including file icons (requiring nerd fonts), syntax highlighting for source code files, and markdown rendering through the Glamour library.
The tool supports multiple themes including default, gruvbox, and nord color schemes. It can render various file types including images (PNG, JPG, JPEG) as ASCII strings and PDF files. The interface adapts to terminal resizing and includes mouse support for navigation.
Developers and terminal users can customize the syntax highlighting themes using styles from Chroma (dracula, monokai, etc.) and configure the tool to open files in their preferred editor through the EDITOR environment variable. The tool also supports copying file paths to clipboard and writing selected item paths to external files for integration with other tools.
# via Curl
curl -sfL https://raw.githubusercontent.com/mistakenelf/fm/main/install.sh | sh
# via Go
go install github.com/mistakenelf/fm@latest
# via AUR
paru -S fm-git