I use a little script [1] and a passive approach to quickly find a PDF I am looking for among a few thousands of academic PDF. The workflow (illustrated in the GIF [2]): - as I read new PDFs in the browser, the PDFs are passively downloaded typically in a Downloads/ folder. - This results in thousands in papers lying in Downloads/ or elsewhere. - The command p from the script [1] let me instantaneously fuzzy-search o…
I love the passive nature of your workflow. I’ve always thought that, as soon as I had consumed (read, viewed, heard) some content (text, audio, video) it would be nice to have a “shadow copy” of it stored in a personal, private knowledgebase, with a simple keyword or more complex semantic search on top. Basically, a personal search engine with a passively gathered corpus of my experienced content - maybe even filter…
I recently used the command with some combination of airport/city/airline and the only match was the boarding pass I was looking for. It could probably be used for receipts from hotel or whatnot, as soon as pdftotext can retrieve the text. It should find tax returns and related PDFs by querying "IRS + SSN".
A current issue that I would like to fix is the preview window that does not always highlight the query in full if a single match was found before the full query was typed. It is linked to how fzf handles previewing. I do not have plans for any big enhancements.
edit: I created a public repo to replace the gist. Feel free to post your thoughts or suggestions in the issues!