This Chrome Extension helps to find similar keywords and sentences from local pdfs. it uses NLP. It also provides a summarised version of the results. It also provides a way to open the pdfs in browser or Adobe Reader or SumatraPDF. It also opens pdf with given page no. and highlighted text.
So, this helps you to quickly find stuff from your local books/notes when you see similar info on web. (I'm looking for contributors, please hmu if you want to contribute.)
- Clone the repo
- Go to
chrome://extensions
and enable developer mode - Click on Load unpacked and select the
quick-ref
folder to load the extension - set openAI key in
api_key.py
(optional) - install dependencies
pip install -r requirements.txt
(use venv in case of conflicts) - run
python main.py
- Add Path of Adobe Reader or SumatraPDF in
integrations.py
and setREADER_TO_USE
to 'Adobe' or 'Sumatra' - Add your pdfs in content folder, (or change
LIB_PATH
for different location) - Enjoy!
python -m venv venv
venv\\Scripts\\activate
pip install -r requirements.txt
python main.py
- Search terms, sentences from local pdfs
- Summarise the results
- Open PDFs in browser or Adobe Reader or SumatraPDF
- Opens pdf with given page no. and highlighted text
OpenAI Embeds don't work for now. other LIB_PATH isn't tested.
- Multiple Directory PDFs Support
- OpenAI Embeds
- Port to FireFox (Someone else will work on this)
- Support Normal Text Files/More Formats?
- Skip Blank Pages from PDF
- Refactoring required (break main.py into api.py , nlp.py,config.py)