View Single Post
Old 11-03-2022, 11:22 AM   #6
elinkser
Groupie
elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.
 
Posts: 185
Karma: 146236
Join Date: Oct 2022
Device: Kobo Clara HD
Another wget tip:
To avoid having to type in a long URL to the wget command, you can first search the URL link using:
wget --output-document url.html "html.duckduckgo.com/html/?q=%3Amobileread.mobi+%223rd+party+web-browser&22"
Then open the downloaded url.html in KOReader, copy the
"www.mobileread.com/forums/showthread.php?t=349634" URL text, and go back to the terminal and paste into the wget command.
It sounds like alot, but much easier if you use KOReader gestures to call up terminal in a single swipe, and the up and down arrows to call up command history in terminal. And it may not work on all sites.
*I don't actually do this since I have elinks browser. Just having a little fun with the Kobo


*EDIT:Looks like an alternative graphical browser is also available (with some setup effort involved) via chroot. Extra Clara HD config steps on post #46.[/QUOTE]


**EDIT- You don't even need a browser on KOReader to transfer files from your phone.
Just run SSH server on KOReader and transfer by SFTP from Ghost Commander+SFTP Plugin.
On android, you can use SFTP-capable Ghost Commander, but I had to use an older version to get an SFTP plugin combination that worked on my older phone:
https://sourceforge.net/projects/gho...er%20versions/

The two apk files that worked for me were:
https://sourceforge.net/projects/gho...3.apk/download
and:
https://sourceforge.net/projects/gho...1.apk/download


****

If you want to download web pages from android as epub files you can use:
https://f-droid.org/en/packages/info...aukao.einkbro/

If you want to download web pages from android as pdf files you can share to:
https://f-droid.org/en/packages/org....efarmer.print/

To web serve these to your kobo browser:
https://f-droid.org/en/packages/net.basov.lws.fdroid/
https://f-droid.org/en/packages/org....s.filemanager/

Yet another option is using the web browser on my phone to copy the html address of the target, then paste this into a ConnectBot (from F-Droid) SSH connection to the Kobo to "wget <address>".
Reliable and easy!
* Edit - if you are using ConnectBot on Android, I think the 1.9.6-oss version and earlier doesn't have the scrolling issue that the later version does.


***

UPDATE - GUI FTP CLIENT IN KOREADER:

The Cloud Storage menu item from the tools menu in Koreader would let us get files from an ftp server on our phone.

Click the + and add an ftp account for your phone server, e.g.:
Myaccount
ftp://192.168.43.147:12345
Myuser
Mypassword
(blank for folder)

Install the primitive ftpd server on your phone.
https://f-droid.org/en/packages/org.primftpd/
Note: For an older phone I had to install an earlier version, 6.15 (code 61), in order for Preferences to work.

Set storage type to plain old filesystem.
In Preferences, set Username, Password, and Server Start Directory (First directory after login), which would be the same directory you gave access to when you set the storage type.

Now from KOReader Cloud Storage you get download access via Myaccount (obviously with the address set to the one given by primitive ftpd.)

*For more advanced ftp command-line app, see lftp in NiLuJe's kobostuff mentioned in post #2.

***

Last edited by elinkser; 09-08-2023 at 08:27 AM. Reason: sftp, GUI FTP CLIENT
elinkser is offline   Reply With Quote