Mcat is a multimedia and document viewing utility written in Rust that displays various file formats directly within terminal environments. It supports images, videos, PDF documents, Markdown files, and Microsoft Office documents. Users can retrieve content from local files, remote URLs, or standard input streams. Its internal conversion pipeline automatically identifies input formats and transforms content into the requested output representation. The application supports formatted terminal text, HTML, Markdown, and PNG image generation. An interactive viewing mode enables users to zoom and pan rendered documents and images. Additional capabilities include customizable visual themes, graphical directory listings, and integration with shell pipelines.
Features
- Direct terminal viewing of images, videos, PDF files, and Office documents
- Automatic file format detection from local files, remote URLs, and input streams
- Document conversion into Markdown, HTML, and PNG image representations
- Interactive image and document viewing with zooming and panning controls
- Inline terminal graphics with customizable formatting and visual themes
- Graphical directory listings and standard stream integration for automated workflows