View Single Post
Old 10-06-2018, 05:26 AM   #17
jasio
Junior Member
jasio shines like a glazed doughnut.jasio shines like a glazed doughnut.jasio shines like a glazed doughnut.jasio shines like a glazed doughnut.jasio shines like a glazed doughnut.jasio shines like a glazed doughnut.jasio shines like a glazed doughnut.jasio shines like a glazed doughnut.jasio shines like a glazed doughnut.jasio shines like a glazed doughnut.jasio shines like a glazed doughnut.
 
Posts: 7
Karma: 8796
Join Date: Aug 2009
Location: UK
Device: Kobo Clara HD (KOReader), Kindle PW1
Quote:
Originally Posted by jcn363 View Post
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.
Code:
ash wb
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.
jasio is offline   Reply With Quote