An open API service indexing awesome lists of open source software.

https://github.com/extrawurst/pdf-text-diff

Text based diff between two PDF files
https://github.com/extrawurst/pdf-text-diff

pdf rust-lang

Last synced: about 1 year ago
JSON representation

Text based diff between two PDF files

Awesome Lists containing this project

README

          

# pdf-text-diff

extracts raw text from two PDFs and shows a text-based diff:

usage:

```
cargo r -- pdfs/simple_a.pdf pdfs/simple_b.pdf
```

compares [simple_a.pdf](pdfs/simple_a.pdf) with [simple_b.pdf](pdfs/simple_b.pdf):

![example](assets/example.png)

## dependencies:

* [pdf](https://crates.io/crates/pdf) for the PDF parsing
* [similar](https://crates.io/crates/similar) for the text diffing