Vert.sh is an open-source, self-hostable file conversion service. It leverages LibreOffice in the backend to handle a wide array of document, image, and presentation formats. Users can easily deploy Vert.sh using Docker and configure it to their specific needs, maintaining complete control over their data privacy. The project aims to provide a robust and versatile alternative to cloud-based conversion tools for individuals and organizations concerned about data security and vendor lock-in.
The author is seeking recommendations for a Markdown to PDF conversion tool that handles complex formatting well, specifically callouts (like admonitions), diagrams using Mermaid or PlantUML, and math using LaTeX or KaTeX. They require a command-line interface for automation and prefer open-source solutions or at least freely available ones for non-commercial use. Existing tools like Pandoc are falling short in areas like callout styling and consistent rendering across different environments. Ideally, the tool would offer a high degree of customizability and produce clean, visually appealing PDFs suitable for documentation.
The Hacker News comments discuss various Markdown to PDF conversion tools, focusing on the original poster's requirements of handling code blocks, math, and images well while being ideally open-source and CLI-based. Pandoc is overwhelmingly recommended as the most powerful and flexible option, though some users caution about its complexity. Several commenters suggest simpler alternatives like md-to-pdf
, glow
, and Typora for less demanding use cases. Some discussion revolves around specific features, like LaTeX integration for math rendering and the challenges of perfectly replicating web-based Markdown rendering in a PDF. A few users mention using custom scripts or web services, while others highlight the benefits of tools like Marked 2 for macOS. The overall consensus seems to be that while a perfect solution might not exist, Pandoc with custom templates or simpler dedicated tools can often meet specific needs.
Summary of Comments ( 66 )
https://news.ycombinator.com/item?id=43663865
Hacker News users generally expressed enthusiasm for the open-source, self-hostable file converter Vert.sh, praising its simplicity and potential usefulness. Several commenters highlighted the benefit of avoiding uploads to third-party services for privacy and security reasons, with some mentioning specific use cases like converting ebooks. A few users questioned the project's long-term viability and maintainability given the potential complexity of handling numerous file formats and dependencies. Some also suggested alternative self-hosted solutions like Pandoc and Soffice/LibreOffice. The discussion also touched on the challenges of sandboxing potentially malicious files uploaded for conversion, with some proposing using Docker or virtual machines for enhanced security.
The Hacker News post discussing the open-source, self-hostable file converter Vert.sh generated a moderate amount of discussion, with several commenters expressing interest in the project and exploring its potential use cases and limitations.
Several users appreciated the simplicity and self-hostable nature of Vert.sh. One commenter highlighted the advantage of using a tool like this for sensitive data, avoiding the privacy concerns associated with uploading files to third-party online converters. Another user mentioned their existing use of Pandoc for similar conversion tasks but expressed interest in exploring Vert.sh due to its potentially streamlined interface and focus on web-based conversion. The self-hosting aspect was repeatedly praised, allowing users to maintain control over their data and avoid potential costs associated with cloud-based services.
Some commenters discussed the technical aspects of Vert.sh. One pointed out that the project relies on LibreOffice running in the background, suggesting that users would need to have it installed and functioning correctly. This sparked a brief discussion about the resource requirements of running LibreOffice and its potential impact on performance, especially for complex conversions. Another user inquired about the possibility of containerizing Vert.sh for easier deployment and management, which another user confirmed was possible through the provided Dockerfile.
The limitations of relying on LibreOffice were also brought up. One user questioned the efficiency of using LibreOffice for simple conversions like Markdown to HTML, suggesting that a dedicated tool might be faster. Another commenter mentioned potential issues with font handling in LibreOffice, which could affect the fidelity of converted documents.
Finally, the discussion touched upon alternative solutions and potential improvements. One user suggested using specialized tools for specific conversion tasks, pointing out the superior performance and quality compared to a general-purpose solution like LibreOffice. Others expressed interest in features like batch conversion and direct integration with cloud storage services. While acknowledging the current limitations, several commenters expressed optimism about the project's future development and potential to become a valuable tool for privacy-conscious users.