{"repo":"Skardyy/mcat","free":true,"listed":false,"github":"https://github.com/Skardyy/mcat","clone":"git clone https://github.com/Skardyy/mcat.git","description":"Terminal image, video, and Markdown viewer","language":"Rust","stars":1379,"topics":["markdown","iterm","kitty","sixel","terminal-graphics","ascii","ls"],"license":"MIT","category":"productivity","readme_excerpt":"Mcat Parse, Convert and Preview files In your Terminal Installation • Examples • CHANGELOG Installation From Source or Prebuilt follow the instructions at the latest release Homebrew (macOS/Linux) AUR (Arch linux) Nix Scoop (Windows) How it works Advanced explanation --- Input ----- Inputs can be: 1. local file 2. url 3. bytes from stdin The type of each input is inferred automatically, and it continues through the pipeline until it reaches the output format the user requested. In the pipeline --------------- For example, if the user runs: mcat will: - Convert both file.docx and file.pdf into a single Markdown file - Convert that Markdown into HTML - Convert the HTML into an image - Convert the image into an inline terminal image and print it You can also start from the middle of the pipeline. For example: This starts at an HTML file and directly converts it into a PNG image. Explanation of the blocks ------------------------- - Markdown - set when -o md or when the stdout isn't the terminal (piped) - Markdown Viewer is markdown with ANSI formatting, and is the default for any non video / image file. (the -c flag forces it) - HTML set when -o html -- only works for non image / video files - PNG Image set when -o image and gives an image - Interactive Viewer set when -o interactive or -I and launches an interactive view to zoom and pan the image in the terminal. - Inline Display set when -o inline or -i and prints the content as image in the terminal --- Example Usage Support ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Skardyy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Skardyy/mcat/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}