1
2 Comments

Feedback on free open source CLI tool to export markdown to beautiful PDF.

Recently i've been building my first open source project. It's a CLI tool to export Markdown files using FrontMatter metadata to styled PDF's based on Jinja2 templates.

If that sounds a bit too technical did you ever have this problem?
The idea came because I found myself adapting the same word docs over and over again. Only to find out I forgot to change the date or a name in one of the documents.

I figured if i had a markdown file with the fields i had to change as metadata and markdown text to rendered into the body of the document this would solve that problem for me.

https://github.com/andy-verstraeten/mdexport

https://github.com/andy-verstraeten/mdexport/blob/main/demo.gif

on December 1, 2024
  1. 1

    How come you used Python instead of JS? (just curious not a comment on what is best)

    1. 1

      It started out as a quick and dirty script which was in Python. For this use case I think python and node would work equally fine. The availability of python and pip for installation on mac and linux might make distribution a bit easier. One of the downsides of python which i ran into now is i want to add support for mermaid charts. If i used node I guess i would just be able to import it as a dependency. Now i'm looking at running it externally through node which adds some overhead I wish i could avoid.

Trending on Indie Hackers
I'm a lawyer who launched an AI contract tool on Product Hunt today — here's what building it as a non-technical founder actually felt like User Avatar 142 comments “This contract looked normal - but could cost millions” User Avatar 54 comments 👉 The most expensive contract mistakes don’t feel risky User Avatar 41 comments The indie maker's dilemma: 2 months in, 700 downloads, and I'm stuck User Avatar 39 comments A simple way to keep AI automations from making bad decisions User Avatar 31 comments I spent weeks building a food decision tool instead of something useful User Avatar 28 comments