Install dependencies:
- Festival TTS
- Ollama + mistral model
Clone this repository.
$ git clone https://github.com/jaswdr/pdf_reader
Install dependencies with poetry
.
$ poetry install
Extract pages.
$ poetry shell
$ python -m pdf_reader --pdf ./path/to/file.pdf
Start reading it from page 1.
$ poetry shell
$ python -m pdf_reader --pdf ./path/to/file.pdf --page 1
<number>
: Got to page<Enter>
: Go to next pager
: Read the page content using Festival TTSs
: Summarize current page (requires Ollama installed with mistral model downloaded)rs
: Read the summary.