Quote:
Originally Posted by jcn363
Could you please write a step-by-step?
|
I'll try.
There are many ways to copy and edit files on your Kobo. My preference is to enable the SSH server.
Download the latest KoboRoot.tgz from
wallabako's gitlab and extract the wallabako executable from it. Copy it to
/mnt/onboard on your device.
Edit your config file with Wallabag details from the model below and copy it to
/etc/wallabako.js on the Kobo.
Code:
{
"WallabagURL": "https://app.wallabag.it",
"ClientId": "your client id",
"ClientSecret": "your client secret",
"UserName": "your user name",
"UserPassword": "your super password goes here"
}
Create the file
/mnt/onboard/.adds/koreader/wb with the content below, changing the output directory to where you want the Wallabag documents to be downloaded to. Make sure it exists.
Code:
SSL_CERT_FILE=/mnt/onboard/.adds/koreader/common/turbo/ca-certificates.crt /mnt/onboard/wallabako -output "/mnt/onboard/Documents/Wallabag" -delete
That's it for the setup. If you are using SSH, you can try running the script directly to make sure it works.
To run wallabako from within KOReader, in the menu select the tools panel, then
More plugins and
Terminal emulator. Type the following command and Execute it.
The terminal emulator remembers the last command executed so until you reboot, you don't have to re-type it. It is not as convenient as a menu entry but it's not too bad.
That's it really. I hope it works.