Gildas 7b951a634f Merge branch 'master' of https://github.com/gildas-lormeau/SingleFile into master 5 years ago
..
lib 9c19fa7468 added license 5 years ago
linux f85e262ade added scripts for linux and macos 5 years ago
mac f85e262ade added scripts for linux and macos 5 years ago
win 42cc098d1e add keys in HKEY_CURRENT_USER only 5 years ago
README.MD 7b951a634f Merge branch 'master' of https://github.com/gildas-lormeau/SingleFile into master 5 years ago
options.json 65c4b314c6 added singlefile_companion (experimental) 5 years ago
singlefile_companion.js 30903d89bb Added option "Auto-save > save the page with SingleFile Companion" 5 years ago

README.MD

SingleFile Companion

SingleFile Companion is a program that runs outside the browser and can help to make the saving process more transparent when the auto-save is active. It also allows the pages to be saved in another directory than the download directory. It uses the Native Messaging API to communicate with SingleFile.

Install

  • Install SingleFile CLI

  • In the companion folder of SingleFile, go into the subfolder corresponding to your OS and your browser. For example, if you use Chome on Windows:

cd companion

cd win

cd chrome

  • Make install.sh executable (Linux/Unix/BSD etc.).

chmod +x install.sh

  • Run install

./install.sh (Linux/Unix/BSD etc.)

install.bat (Windows)

  • Enable the option Misc. > save the page with SingleFile Companion in SingleFile

Options

The options.json file allows configuring SingleFile Companion. Here are the entries you can edit:

  • savePath: path where to save files (default: SingleFile/companion path)
  • backEnd: backend used to save the page (default: "puppeteer")
  • errorFile: path of the file where errors are stored (default: undefined)
  • browserHeadless: whether the browser is launched in headless mode (default: true)
  • browserDebug: whether the browser is launched with the developer tools opened (default: false)

Notes