{"repo":"Mathpix/mpx-cli","free":true,"listed":false,"github":"https://github.com/Mathpix/mpx-cli","clone":"git clone https://github.com/Mathpix/mpx-cli.git","description":"CLI for document conversion for scientific documents, powered by Mathpix OCR","language":"JavaScript","stars":120,"topics":["cli","converter","science","format-converter","pdf","markdown","latex","html","static-site-generator","document-conversion"],"license":"MIT","category":"cli-tools","readme_excerpt":"mpx cli [![npm package][npm-img]][npm-url] [![github license][license-img]][license-url] Document conversion for scientific documents. Install Usage Sign up at https://accounts.mathpix.com and then run mpx login which will ask for your Mathpix email and password then save an authorization token to be used for any commands that require connecting to our servers such as digitizing PDF files or converting Markdown to docx or pdf files. Alternatively you can use a Mathpix API account by creating an API key from https://accounts.mathpix.com/ocr-api and then set the API key as an environment variable MATHPIX OCR API KEY : Or save it permanently in the mpx config file: To digitize PDF's to editable Mathpix Markdown, docx, html or tex.zip: To digitize images to editable Mathpix Markdown, docx, html or tex.zip: You can also compile Markdown files without using Mathpix OCR: To view mmd files rendered into html on a local server: To build a directory of mmd files into a static html site: The cli has built in --help that will show all commands and flags: [npm-img]: https://img.shields.io/npm/v/@mathpix/mpx-cli?color=blue [npm-url]: https://www.npmjs.com/package/@mathpix/mpx-cli [license-img]: https://img.shields.io/github/license/mathpix/mpx-cli?color=blue [license-url]: https://github.com/Mathpix/mpx-cli/blob/master/LICENSE","default_branch":null,"files":null,"tree":[],"storefront":"/r/Mathpix","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Mathpix/mpx-cli/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."}