Skip to content

dimovdi/pdf2md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

██████╗ ██████╗ ███████╗██████╗ ███╗   ███╗██████╗
██╔══██╗██╔══██╗██╔════╝╚════██╗████╗ ████║██╔══██╗
██████╔╝██║  ██║█████╗   █████╔╝██╔████╔██║██║  ██║
██╔═══╝ ██║  ██║██╔══╝  ██╔═══╝ ██║╚██╔╝██║██║  ██║
██║     ██████╔╝██║     ███████╗██║ ╚═╝ ██║██████╔╝
╚═╝     ╚═════╝ ╚═╝     ╚══════╝╚═╝     ╚═╝╚═════╝

[ EXTRACT // CONVERT // DOMINATE ]


"In the neon-lit depths of your terminal, PDFs become readable text..."

⚡ WHAT IS THIS

Blazingly fast CLI tool that rips text from PDF files and outputs clean Markdown. No bloat. No GUI. Just pure terminal power.

🔧 INSTALLATION

# Clone the repo
git clone https://github.com/dimovdi/pdf2md.git
cd pdf2md

# Build it
cargo build --release

# Deploy to system
sudo cp target/release/pdf2md /usr/local/bin/

🚀 USAGE

# Convert all PDFs in current directory
pdf2md

# Target specific directory
pdf2md /path/to/documents

# Go recursive (subdirectories)
pdf2md -r

# Custom output location
pdf2md -o ./converted

# Force overwrite existing files
pdf2md -f

# Single file extraction
pdf2md target.pdf

📡 OPTIONS

USAGE: pdf2md [OPTIONS] [PATH]

ARGUMENTS:
  [PATH]    Target directory or file [default: .]

OPTIONS:
  -o, --output <DIR>    Output directory
  -r, --recursive       Scan subdirectories
  -f, --force           Overwrite existing .md files
  -h, --help            Display this message

🧬 DEPENDENCIES

  • clap — CLI argument parsing
  • pdf-extract — PDF text extraction engine
  • anyhow — Error handling

⚠️ REQUIREMENTS

  • Rust 1.70+
  • Linux / WSL / macOS

Built with 🦀 Rust // Crafted for the command line warriors

🤖 Generated with Claude Code

About

Rust CLI utility to convert PDF files to Markdown

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages