{"repo":"spawnia/md-to-pdf","free":true,"listed":false,"github":"https://github.com/spawnia/md-to-pdf","clone":"git clone https://github.com/spawnia/md-to-pdf.git","description":"A web service for converting markdown to PDF","language":"Rust","stars":169,"topics":["pdf","markdown","markdown-converter","pdf-generator","pandoc"],"license":"MIT","category":"media-processing","readme_excerpt":"md-to-pdf A web service for converting Markdown to PDF Sponsors If you make money using this project, please consider sponsoring its maintainer on GitHub Sponsors. Web UI For quick experimentation, you can use the web version hosted on Fly.io. Paste your Markdown and download the converted PDF. Availability of the service is not guaranteed, see Fly.io status when it is down. If you need guaranteed availability, deploy it yourself. API You can convert Markdown by sending a POST request to https://md-to-pdf.fly.dev . Parameter Required Description ------------ ---------- ------------------------------------------------------------------------------------------------------- markdown Required The markdown content to convert css Optional CSS styles to apply engine Optional The PDF conversion engine, can be weasyprint , wkhtmltopdf or pdflatex , defaults to weasyprint Send data from files like this: Deploy A prebuilt container image is available at Docker Hub. The container starts up the web service and listens for HTTP on port 8000. You can run it yourself like this: You may configure the webserver through Rocket environment variables. For example, you could allow larger payloads by increasing the limit for form data: Built with - Rocket - a web framework for Rust - Pandoc - a universal document converter - Codemirror - a text editor for the browser","default_branch":null,"files":null,"tree":[],"storefront":"/r/spawnia","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spawnia/md-to-pdf/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."}