ff-pdf

Turn a Firefox profile into a standalone PDF reader app

MIT License

Stars
87

https://github.com/sherlock-project/sherlock/assets/27065646/441ed266-ef4f-4219-8271-8c63b57f960d

What is this?

Firefox comes with a great built-in PDF viewer and editor, but using it solely as a PDF reader may not be visually appealing due to its web browser user interface. Fortunately, the FF PDF installation script can create a separate profile dedicated to reading and editing PDFs. Additionally, the script adds custom CSS to hide the browser's UI elements, giving the appearance of a dedicated PDF reader.

Installation

$ git clone https://github.com/sdushantha/ff-pdf
$ cd ff-pdf
$ bash install.sh

Notice: Only tested on Linux with i3wm. Can't guarantee this will be visualy pleasing on other operating systems or on systems with a desktop environment. But feel free to send PRs if you have a a solution on supporting other operating systems and desktop environments

Usage

  1. Launch it from your application launcher
  2. Open a PDF from your file browser by right clicking and selecting FF PDF
  3. Execute ff-pdf FILE

Highly customizable!

FF PDF stores it's config files in ~/.config/ff-pdf/ and contains the following files

  • icon.png - The icon of app when you launch it from your application launcher or right click in file explorer to open a PDF
  • startpage.html - This is the UI you see when you open FF PDF without opening a PDF file