mcat-0.1.0 is not a library.
Mcat
✨ Features
-
📄 File to Markdown/HTML
Convert structured content like CSVs, directories, and rich document formats (e.g., DOCX) into clean Markdown/HTML. -
🏞️ Markdown/HTML to Image
Render Markdown or HTML files into images. -
🖼️ Inline Image/Videos
Display images/videos inside your terminal using protocols like Kitty, iTerm, or Sixel. -
🌐 URL to Inline Image/Video
View Images/Videos from a URL in your terminal -
💃🏻 Automatic Styling for HTML
automatically inject styles into the HTML to make the image cooler!# dark theme (default is light theme) # or for short ~ # or you own theme ~
⬇️ Installation
or ~
(Coming soon: prebuilt binaries for common platforms.)
🏋️ Example Usage
# View a PDF as Markdown
# Render Markdown to an image
# Show an image inline in your terminal
# Save a document as image
# from a url
⚙️ Supported Formats
| Input Type | Output Options |
|---|---|
| DOCX, PDF, CSV, ODT, PPTX, and more.. | Markdown, HTML, Image, Inline |
| Markdown / HTML | Image, Inline Image |
| Images, Videos | Inline Display |
| URLs | Image/Video Fetch + Inline View |
🛐 Dependencies
Mcat tries to have as little dependencies as possible.
chromium (for rendering HTML to image):
- exists on every windows machine through msedge.
- auto installs the binaries if missing
ffmpeg (for videos)
- auto installs binaries if missing
🆘 Help
<input> file
)
🚧 Roadmap
- mcat.nvim: a neovim plugin to use mcat inside neovim
📎 License
MIT License