██████╗ ██████╗ ███████╗██████╗ ███╗ ███╗██████╗
██╔══██╗██╔══██╗██╔════╝╚════██╗████╗ ████║██╔══██╗
██████╔╝██║ ██║█████╗ █████╔╝██╔████╔██║██║ ██║
██╔═══╝ ██║ ██║██╔══╝ ██╔═══╝ ██║╚██╔╝██║██║ ██║
██║ ██████╔╝██║ ███████╗██║ ╚═╝ ██║██████╔╝
╚═╝ ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚═════╝
[ EXTRACT // CONVERT // DOMINATE ]
"In the neon-lit depths of your terminal, PDFs become readable text..."
Blazingly fast CLI tool that rips text from PDF files and outputs clean Markdown. No bloat. No GUI. Just pure terminal power.
# 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/# 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.pdfUSAGE: 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
clap— CLI argument parsingpdf-extract— PDF text extraction engineanyhow— Error handling
- Rust 1.70+
- Linux / WSL / macOS
Built with 🦀 Rust // Crafted for the command line warriors
🤖 Generated with Claude Code