josharsh/md-pdf-md

Add more helpful error messages for common CLI mistakes

Open

#2 opened on Oct 30, 2025

 (0 comments) (0 reactions) (0 assignees)TypeScript (2 forks)auto 404
clienhancementgood first issuehelp wanted

Repository metrics

Stars
 (7 stars)
PR merge metrics
 (PR metrics pending)

Description

Make error messages more user-friendly when users make common mistakes.

Tasks:

  • Add specific error when file doesn't exist
  • Add hint when Ollama is not running (for PDF→MD)
  • Add suggestion when wrong file type is provided
  • Improve error formatting with colors (using chalk)

Files to modify:

  • src/cli.ts
  • src/converters/pdf-to-markdown.ts

Good First Issue: Simple TypeScript changes with clear requirements!

Contributor guide