{"repo":"vimlinuz/mdwatch","free":true,"listed":false,"github":"https://github.com/vimlinuz/mdwatch","clone":"git clone https://github.com/vimlinuz/mdwatch.git","description":"A simple CLI tool to live-preview Markdown files in your browser.","language":"Rust","stars":18,"topics":["cli","markdown","markdown-renderer"],"license":"MIT","category":"cli-tools","readme_excerpt":"mdwatch (Markdown Watcher CLI) A simple command-line tool to preview Markdown files in a web browser. It serves the rendered HTML version of a Markdown file over HTTP, allowing you to easily preview your Markdown content locally. Features - Serve a Markdown file as HTML via a local web server - Automatically open the preview in your default web browser - Auto reload on save - Supports specifying the file path, server IP, and port via command-line arguments - Warns when binding to 0.0.0.0 to expose the server to the network - Sanitizes rendered HTML to prevent injection of unsafe content Installation You have three options: via Cargo, via prebuilt script, or manual install. 1. Easiest: Install via Cargo (Recommended) If you have Rust installed, you can install directly from crates.io: This is the most \"Rusty\" and portable way. It automatically downloads, compiles, and installs the latest version to your $HOME/.cargo/bin . --- 2. Quick Install via Script Alternative: Installs the latest release binary to your user PATH (no sudo). You can customize the install location (default is /.local/bin ): - This script will: 1. Download the latest prebuilt Linux x86 64 or aarch64-apple-darwin release binary. 2. Install it to /.local/bin (or $INSTALL DIR ). 3. Make it executable. Note: Builds/compilation have only been tested on my Linux x86 64 machine so far. --- 3. Manual Build & Install If you prefer full control or want to customize the build: 1. Clone the repository: 2. Build the Rele","default_branch":null,"files":null,"tree":[],"storefront":"/r/vimlinuz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vimlinuz/mdwatch/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."}