Skip to content

My personal PDF reader program with LLMs integrations.

Notifications You must be signed in to change notification settings

jaswdr/pdf_reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal application to read books in PDF format

Getting started

Install dependencies:

  1. Festival TTS
  2. 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

Commands

  • <number>: Got to page
  • <Enter>: Go to next page
  • r: Read the page content using Festival TTS
  • s: Summarize current page (requires Ollama installed with mistral model downloaded)
  • rs: Read the summary.

About

My personal PDF reader program with LLMs integrations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages