nowfound

Dev tools · April 9, 2026

MA

Mdpdf a 2k line C CLI to convert Markdown to tiny PDFs

I have always searched for a simple tool which can convert a MD document to a well styled small PDF, just like a GitHub Readme. This was inspired by TinyPDF https://news.ycombinator.com/item?id=46316968 I also used this project to get familiar with agentic coding, which I had dreaded before. mdpdf supports: - using the included PDF fonts to generate tiny valid PDFs - outputs as A4 or Letter depending on your locale - plenty of common MD syntax: code blocks, inline code, lists, tables, and jpg and png images That's it. It covers probably most of the use cases and can help to…

In plain words

Mdpdf is a lightweight command-line tool that converts Markdown documents to compact PDFs formatted like GitHub Readmes. Built as a 2,000-line C program, it generates minimal file sizes using embedded PDF fonts and supports common Markdown syntax including code blocks, lists, tables, and images. Output automatically adjusts to A4 or Letter page size based on locale. Intended for developers who need a simple way to convert Markdown write-ups into shareable PDFs without external dependencies.

written from the facts on this page · September 2026

From the sources

In the maker’s words, at launch

I have always searched for a simple tool which can convert a MD document to a well styled small PDF, just like a GitHub Readme. This was inspired by TinyPDF https://news.ycombinator.com/item?id=46316968 I also used this project to get familiar with agentic coding, which I had dreaded before. mdpdf supports: - using the included PDF fonts to generate tiny valid PDFs - outputs as A4 or Letter depending on your locale - plenty of common MD syntax: code blocks, inline code, lists, tables, and jpg and png images That's it. It covers probably most of the use cases and can help to simply convert a Markdown write-up to a PDF to share. GitHub: https://github.com/schicho/mdpdf A simple make call should build it for you.

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 2d ago · opentrailpaper.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

Launched alongside, April 2026

the whole month →
  • Brila1,367

    One-page websites from real Google Maps reviews

    AI · Apr 2026 · brila.ai

  • AG

    Thought the resources for GPU arch were lacking, so here we are

    Life & fun · Apr 2026 · jaso1024.com

  • IB

    Built a ~9M param LLM from scratch to understand how they actually work. Vanilla transformer, 60K synthetic conversations, ~130 lines of PyTorch. Trains in 5 min on a free Colab T4. The fish thinks the meaning of life is food. Fork it and swap the personality for your own character.

    AI · Apr 2026 · github.com

  • AI meeting notes: now bot-free, in ChatGPT & Claude + more

    AI · Apr 2026 · fathom.ai

  • BC

    Life & fun · Apr 2026 · sam-burns.com

  • IB

    With social media and now AI, its important to keep the indie web alive. There are many people who write frequently. Blogosphere tries to highlight them by fetching the recent posts from personal blogs across many categories. There are two versions: Minimal (HN-inspired, fast, static): https://text.blogosphere.app/ Non-minimal: https://blogosphere.app/ If you don't find your blog (or your favorite ones), please add them. I will review and approve it.

    AI · Apr 2026 · text.blogosphere.app