npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

unified-markdown

v1.1.0

Published

AI-powered CLI and web UI to convert images, PDFs, DOCX, and PPTX to Markdown using Google Gemini

Downloads

238

Readme

UnifiedMarkdown (umd)

AI-powered CLI and web UI to convert images, PDFs, DOCX, and PPTX documents to Markdown using Google Gemini.

Features

  • Format Support: Convert images (PNG, JPG, JPEG, WEBP, GIF, BMP, TIFF, SVG) and documents (PDF, DOCX, PPTX) to Markdown.
  • Batch Processing: Scan and convert entire directories in parallel with configurable concurrency.
  • Web UI: Built-in web dashboard to browse directories, manage conversions, configure exclusions, and monitor jobs in real time via SSE.
  • Directory Exclusions: Respects .umdignore files (gitignore-style patterns) and custom exclusion rules managed through the UI.
  • Claude Code Skills: Bundled skills let you alternatively convert files using natural language in Claude Code sessions.
  • Easy Setup: Interactive CLI configuration for your Gemini API key.

Prerequisites

  • Node.js >= 18.0.0
  • Google Gemini API key (free tier available at Google AI Studio)
  • LibreOffice (required for PPTX/PPT conversion only):
    • macOS: brew install libreoffice
    • Ubuntu/Debian: sudo apt install libreoffice
    • Windows: Install from official website

Installation

npm install -g unified-markdown

Setup

Run the interactive setup to configure your Gemini API key:

umd setup

Alternatively, set the environment variable directly:

export GEMINI_API_KEY="your-api-key-here"

Configuration is stored at ~/.umd/config.json.

Usage

Convert a Single File

Converts a file to a .md file alongside the original:

umd convert photo.png
umd convert /path/to/document.pdf

Convert a Directory (Sequential)

umd convert /path/to/directory

Batch Convert a Directory in Parallel

Scan and convert all supported files concurrently:

umd orchestrate convert /path/to/directory
umd orch convert /path/to/directory --concurrency 5
umd orch convert /path/to/directory --dry-run

Scan a Directory

Preview what would be converted without converting:

umd orchestrate scan /path/to/directory
umd orch scan /path/to/directory --pending-only

Start the Web UI

Launch a local web dashboard to visually manage conversions:

umd orchestrate ui
umd orch ui --port 8080 --open

The UI provides:

  • Dashboard with live stats and activity feed
  • File Browser with directory scanning, file tree with selection, and native OS folder picker
  • Jobs page with real-time progress tracking and log viewer
  • Settings for managing exclusion rules and viewing configuration

Check Job Status

umd orchestrate status          # Show recent jobs
umd orch status <jobId>         # Show specific job details
umd orch status --all           # Show all jobs

Supported File Types

  • Images: .png, .jpg, .jpeg, .webp, .gif, .bmp, .tiff, .tif, .svg
  • Documents: .pdf, .docx, .pptx, .ppt

.umdignore

Place a .umdignore file in any directory to exclude files from scanning and batch conversion. Uses gitignore-style patterns:

# Ignore all PDFs in this directory
*.pdf

# Ignore a specific subdirectory
drafts/

# Negation to re-include
!important.pdf

Alternative: Claude Code Skills

If you use Claude Code, this package includes bundled skills that are automatically installed to ~/.claude/skills during npm install. Convert files using natural language:

Convert document.pdf to markdown
Convert all files in ./docs/ to markdown

The web UI also has a "Use Claude Code" toggle for batch conversions, which uses the bundled skill with Claude Code's --dangerously-skip-permissions flag.

License

MIT