KGet Integration captures the downloads to download them in KGet. This application is designed for Linux.
This work was heavily based on the uGet Integrator. Most changes are the name, variables and icons. Plus the kget-integrator is smaller as KGet supports less features.
For Chrome extension, the PEM is put inside to set a fixed extension ID when loaded, useful for the Native messaging configuration file. I refused to pay to upload the Chrome/Chromium addon on the Chrome extensions market.
I developped it on my free time and actually quite quickly. This extension has not guarantee to work properly and I will not maintain it as fast as possible but only when I get the time to look at it.
For this reasons, don't mind if I take some time to answer to the issues. I am sorry for that. Moreover, feel free to fork and improve it.
The following lines considers that you opened a terminal and went into the cloned repository.
Install KGet Integrator: cp kget-integrator /usr/bin/kget-integrator && chmod +x /usr/bin/kget-integrator
Install the Native messaging hosts: cp Conf/com.kgetdm.chrome.json /etc/chromium/native-messaging-hosts/com.kgetdm.chrome.json
. You may have to create this folder.
You can find the latest extension packed from the releases.
Open the extension page: chrome://extensions/
Put the Chrome folder where you want, it should not move after this step.
Click on the button "Load an unpacked extension" and select the "Chrome" folder.
Copy the extension ID (something like chrome-extension://ID_HASH
).
Edit the /etc/chromium/native-messaging-hosts/com.kgetdm.chrome.json
and add your ID to the allowed_origins
key.
Install the Native messaging hosts for firefox with the following lines.
mkdir -p /usr/lib/mozilla/native-messaging-hosts
cp Conf/com.kgetdm.firefox.json /usr/lib/mozilla/native-messaging-hosts/com.kgetdm.firefox.json
Some distributions may require to put this native message host into the lib64. I would rather recommand you to symlink it.
mkdir -p /usr/lib64/mozilla/native-messaging-hosts
ln -s /usr/lib/mozilla/native-messaging-hosts/com.kgetdm.firefox.json /usr/lib64/mozilla/native-messaging-hosts
Install the extension: https://addons.mozilla.org/fr/firefox/addon/kget-integration/
Based on the uGet Integrator
Icon from the Papirus Icon Theme