Daily Shaarli

All links of one day in a single page.

June 8, 2023

Crazy idea: PDF viewer with built-in git support?

I would like to have a PDF viewer that lets me click a button (or press a key) to move backwards in the PDF file's git history. In effect, git checkout <commit> file.pdf but automatically moving back in the commit history on each keypress.

Combined with something like the overview mode of pdfpc, that could make for a very efficient way to glance through the history of a PDF file, such as a thesis or a beamer presentation.

So far I have not found any PDF viewer software with something akin to that.
Maybe I should just open the PDF in VSCodium and use the built-in git support? Would that provide something similar?