{"repo":"gildas-lormeau/mhtml-to-html","free":true,"listed":false,"github":"https://github.com/gildas-lormeau/mhtml-to-html","clone":"git clone https://github.com/gildas-lormeau/mhtml-to-html.git","description":"Convert MHTML to HTML","language":"JavaScript","stars":107,"topics":["cli","deno","mhtml","javascript","nodejs","html","single-file","web-archiving","executable","bunjs"],"license":"MIT","category":"cli-tools","readme_excerpt":"MHTML-TO-HTML JavaScript library and application for converting MHTML files to single HTML files Download - Download the executable for your OS here: https://github.com/gildas-lormeau/mhtml-to-html/releases - Rename the file to mhtml-to-html and make mhtml-to-html executable (Linux, Unix) Usage Examples Convert MHTML Files Online Use Mhtml Wizard to view and convert MHTML files online, see https://erwannlc.github.io/mhtml-wizard Install - Deno via JSR: - Node.js/Deno via NPM: Import - Deno via JSR: - Deno via NPM: - Node.js: - Client-side: Install from Source - Install Git, see https://git-scm.com - Clone the repository - Deno: - Install Deno, see https://deno.com - Make mhtml-to-html executable (Linux, Unix) - Node.js: - Install Node.js, see https://nodejs.org - Install the dependencies - Linux, Unix: - Replace mhtml-to-html with mhtml-to-html-node.js - Make mhtml-to-html executable - Windows: - Replace mhtml-to-html.bat with mhtml-to-html-node.bat Tests The tests build the MHTML documents they need, so they run on a fresh clone without any sample file. - Node.js: - Deno: Testing against your own files Drop any .mht / .mhtml files into test/files and they are converted too. Because these files are not part of the repository, the tests do not look at what is inside them: they check what must be true of any document, then compare the result with the previous run. That baseline is written to test/snapshots.json the first time, and compared afterwards. When a change to the outpu","default_branch":null,"files":null,"tree":[],"storefront":"/r/gildas-lormeau","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gildas-lormeau/mhtml-to-html/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."}