03-19-2021, 09:39 PM | #1 |
Member
Posts: 11
Karma: 10
Join Date: Nov 2019
Location: Bogotá, Colombia
Device: Kobo Libra
|
I need a beginner's guide to setup Joplin in koreader
Hi everyone!
I have been using koreader for some years now and found it very useful for my academic work. I used to export all my highlights to evernote but since September 2020 this plugin is broken. I know there is a Joplin plugin right now but found the help section confusing and I could not configure it properly. I have been using Joplin on android and windows and even I could setup a Joplin server in my raspberry pi and connected from my cell phone and laptop. I would like to ask you for a beginner's guide to configure my kobo Libra H2O with koreader... Thanks in advance! |
03-20-2021, 04:28 PM | #2 |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Perhaps the evernote plugin developer/s at the KOReader project on Github, would be able to provide the most help, might even be willing to tweak their code to make a hand off to "Joplin" easier. (Not a Note taking guy, myself.)
Luck; Ken |
Advert | |
|
03-20-2021, 05:34 PM | #3 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
That would be a wash, as the Evernote plugin has been unmaintained for years .
|
03-20-2021, 08:24 PM | #4 | |
Member
Posts: 11
Karma: 10
Join Date: Nov 2019
Location: Bogotá, Colombia
Device: Kobo Libra
|
Quote:
That's what I am asking for: one easy guide to setup properly Joplin... can anybody help me? |
|
03-22-2021, 05:20 PM | #5 | |
cosiñeiro
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Quote:
But, for transferring notes between KOReader and your main instance at your computer you'll need to set up a relay on your computer that listen in a specific port for incomming notes. That's the technical part and what confuses most users. It is basically a single command (OS dependant). From the in-app instructions: Code:
To export to Joplin, you must forward the IP and port used by this plugin to the localhost:port on which Joplin is listening. This can be done with socat or a similar program. For example: For Windows: netsh interface portproxy add listeningaddress:0.0.0.0 listeningport:41185 connectaddress:localhost connectport:41184 For Linux: $socat tcp-listen:41185,reuseaddr,fork tcp:localhost:41184 Code:
netsh interface portproxy add listeningaddress:DEVICE_IP listeningport:41185 connectaddress:localhost connectport:41184 Code:
netsh interface portproxy add listeningaddress:HOME_SUBNET listeningport:41185 connectaddress:localhost connectport:41184 Frankly, these instructions are not ok for most users, so users that are not willing to run these commands should use another methods for syncing their notes, like KoHighlights or exporting them to JSON/text/html and importing them in their liked notes program. |
|
Advert | |
|
04-01-2021, 08:23 PM | #6 | |
Member
Posts: 11
Karma: 10
Join Date: Nov 2019
Location: Bogotá, Colombia
Device: Kobo Libra
|
Hello again and thanks for your answer @pazos
I am still stucked here but I will try to be more especific in what I am doing and my questions. Quote:
Code:
netsh interface portproxy add v4tov4 listeningaddress:192.168.0.199 listeningport:41185 connectaddress:localhost connectport:41184 everything ok ... I went to my kobo with koreader and tried to configure in the joplin's section of evernote plugin... there, I had to put 3 values: my IP (I put my computer's IP, here 192.168.0.190), then the port: 41185 (default) and finally the authentication key that I built as a master pass in Joplin app in my PC... Restarted koreader and tried to export notes... my kobo gets crashed: Colossal image deleted. It was too big for the forum software to reduce. Please reduce the image and repost, but read the Guidelines regarding photo size first. Idon't know if I am doing anything wrong, but tried to change the porto to 41184 and to change the ip address to my kob's but nothing seems to work... Once again thanks for your help! Last edited by issybird; 04-02-2021 at 06:01 PM. |
|
04-02-2021, 05:22 PM | #7 |
cosiñeiro
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
|
I think you need to enable the server part on your joplin client (on your pc). No idea how it works as I don't use that feature.
Anyways, the crash is a bug. If the client isn't listening a message should be enough. There's no need to crash the whole program |
04-02-2021, 06:37 PM | #8 | |
Member
Posts: 11
Karma: 10
Join Date: Nov 2019
Location: Bogotá, Colombia
Device: Kobo Libra
|
Hi again!
Quote:
I was looking into the joplin's github webpage, but there don't mention the server as a plugin or something like that... I think I would have to resign! |
|
06-12-2021, 01:20 PM | #9 |
Junior Member
Posts: 2
Karma: 5801
Join Date: Jun 2021
Device: kindle pw2,pw4
|
The guide
Hey,
don't give up yet! I went on the same quest as you today and figured it out in the end, so I'll try to share my insights. I'll also try to highlight the roles of the different components first, so that it may become clear what's to do and why: Things involved: 1. The Ko-Reader (I only have a Kindle PW, so I don't know how its implemented elsewhere) with the Evernote/Joplin Plugin 2. A Joplin instance, that is listening on an open port 41184 on localhost (127.0.0.1) 3. A program (netsh or socat) that is forwarding incoming traffic (from hostport) on the Joplin host to the Joplin port (41184) - this is because Joplin is only listening on localhost:41184, so that it can not be reached directly from outside - the host port (port that is listening on an outbound interface on the host, for example "eth0" with your local ip (f.e. 192.168.23.42)) can have an arbitrary port but lets say it will be 41185 as its the default - I'm on linux so I'm using socat, Windows might be netsh These components then should work in this fashion: - Ko-Reader sends notes to Joplin host IP on port 41185 - On the Joplin host the intermediary programm (socat or netsh) is listening on 41185 and forwards to - Joplin, which is listening on localhost:41184 So, now for the guide: 1. First install Joplin Desktop. (There is also a server package here but I have not looked into it so far.) 1.1 Launch it and go to Options -- Web-Clipper and activate - this will make Joplin listen on localhost:41184 (As I understood this is originally an interface for a browser-extension which is why it only needs to listen locally. 1.2 In the Web-Clipper menu, a token will appear once it is activated - it'll be important laterJoplin is ready to receive like that. 2. Set up the intermediary: - Now the bride must be build between the interface that can talk to the world (your wifi) and to Joplin. Since I am on Linux I'll do it like this: Code:
$ socat tcp-listen:41185,reuseaddr,fork tcp:localhost:41184 Code:
netsh interface portproxy add listeningaddress:0.0.0.0 listeningport:41185 connectaddress:localhost connectport:41184 You can check if your programs are listening (using) on the ports: Linux: Code:
$ ss -tlpn Code:
netstat -aof Code:
State Recv-Q Send-Q Local Address:Port Peer Address:Port Process LISTEN 0 511 127.0.0.1:41184 0.0.0.0:* users:(("@joplinapp-desk",pid=175283,fd=71)) LISTEN 0 5 0.0.0.0:41185 0.0.0.0:* users:(("socat",pid=176574,fd=5)) 3. Configure Ko-reader 3.1 My ko-reader has an Evernot-Plugin, which then has the Joplin-Plugin included. - In the Joplin-Plugin I can enter an IP-address and a port: The IP-address should be the one of the host from your Joplin instance (the address you are using in your wifi) the port is the one defined in the intermediary (socat or netsh), so here 41185 - check the "export to Joplin" Box- also, there is an option for the token, which is mentioned in 1.2. The token has to be inserted. This can be done by typing on the readers interface but since it's really long this would be quite dull. - On the kindle I can access the configuration directly, once the device is connected to my computer, giving me the chance to copy+paste 1. connect the reader (kindle in my case but I presume it's similar on other devices) In the end, the evernote-section should look like this (it's just the menuentries with values):2. open the (koreader/)settings.reader.lua (make a backup copy of the file first) in an editor 3. find the entry evernote 4. insert the option ["joplin_token"] = "", with your token as value Code:
["evernote"] = { ["html_export"] = false, ["joplin_IP"] = "192.168.23.42", ["joplin_export"] = true, ["joplin_notebook_guid"] = "d50d5af85bb64b189ea16808c88c15e1", ["joplin_port"] = 41185, ["joplin_token"] = "255f85babc8e8341b2ba5d4088d655df7f59c77904ec23400c71e818c1efd649c40b68b3bc60fea3b605a09730784b41d04fc659ed181118f8c9a19ab95ad25f", ["json_export"] = false, ["txt_export"] = false, ["username"] = "", }, Troubleshooting: - If the configuration in ko-reader is not reaching the Joplin interface (ko-reader not set up correctly, intermediary not reachable, Joplin not reachable, ...) it will crash each time you hit sync - make sure there are no firewalls on the Joplin-host preventing the reception of packets on the intermediary port (41185) I hope this helps! Fun things for the future: - Install the nextcloud plugin for Joplin to sync your notes between your different Joplin clients - must be installed manually into the nextcloud - Install the mentioned serverversion of Joplin to have a headless instance in the internetz and sync your notes from everywhere- needs composer (v. 1) install wtih option --ignore-platform-reqs to install dependencies - Links on this: - must then be activated in the Nextcloud app-interface - reachable under https://your.nextcloud.com/remote.php/webdav/joplin - where joplin is a folder you have to create in the root-folder of your Nextcloud-user - Joplin Plugin for Nextcloud (must be renamed to joplin): https://github.com/laurent22/joplin-nextcloud - on the root-folder: https://github.com/laurent22/joplin/...ment-373282608 - a discussion about the installation of the plugin: https://github.com/laurent22/joplin-nextcloud/issues/18 - combine the headless server with a nextcloud instance |
06-17-2021, 05:28 PM | #10 | |
Member
Posts: 19
Karma: 10
Join Date: Apr 2021
Device: nova pro
|
Quote:
I might be missing out here, but do i need to fire up joplin in my pc everytime i want to sync notes? If it is, can it be done without it? Seamless note syncing between devices sounds very appealing |
|
06-18-2021, 09:40 AM | #11 | ||
Junior Member
Posts: 2
Karma: 5801
Join Date: Jun 2021
Device: kindle pw2,pw4
|
Hi there,
Quote:
But once the notes are in Joplin, you can push them to your Nextcloud for example and then sync them from there to other Joplin instances. As I understood by now, this would also be the function of the Joplin server (being a central hub of sorts, though this might not be correct since I still only took a very superficial look on the server part.). So: 1. Set up your computer with Joplin and socat/netsh to push your notes from KoReader to Joplin. 2. Push sync your notes between Joplin instances via a centralized component like Nextcloud (or probably the Joplin Server part). Quote:
So far, snoPp Last edited by faet.snopp; 06-18-2021 at 09:42 AM. |
||
06-18-2021, 01:14 PM | #12 | |
Member
Posts: 19
Karma: 10
Join Date: Apr 2021
Device: nova pro
|
Quote:
anyway, thank you! |
|
08-10-2021, 01:36 PM | #13 | |
Member
Posts: 11
Karma: 10
Join Date: Nov 2019
Location: Bogotá, Colombia
Device: Kobo Libra
|
Thanks it worked!
Hello Again!
After being diconnected from this forum, today I returned and finally got my koreader notes uploaded to Joplin! Your guide is awesome and very clear in every step! I only found one problem but could resolve it: I use windows and this order did not work for me: Quote:
Code:
netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=41185 connectaddress=localhost connectport=41184 |
|
08-10-2021, 01:52 PM | #14 | |
Member
Posts: 11
Karma: 10
Join Date: Nov 2019
Location: Bogotá, Colombia
Device: Kobo Libra
|
Quote:
The behavior you describe is how the evernote plugin for koreader worked before it crashed one year ago. Unfortunately it appears like evernote programmers changed the authentication options and this koreader's plugin just died. Anyway, I have Joplin on all my devices (PC, android phone and ipad) and keep them synchronized using a very simple webdav server in my raspberry pi. I am very careful (maybe paranoid) with my data, but you can synchronize joplin notes with other third party services like dropbox, onedrive and nextcloud and still having all your notes under control in markdown format. |
|
11-11-2021, 09:08 PM | #15 |
Addict
Posts: 315
Karma: 26
Join Date: Jul 2012
Device: Kindle Paperwhite 4 (2018)
|
I followed this guide (thanks!!)
But when I got to the export step I saw: "Multiple errors occurred while trying to export notes from the book: bookname and 0 others" No error in crash.log Any other idea? Not sure why you set the GID for the notebook explicitly either? Is it enough to use a DDNS service for statichostname.provider.com then via my wireless router, map that port back to my local instance of joplin web clipper running? Update: I was able to clip locally from Mac Brave browser to the joplin app running locally on the 41184 port;; just can't seem to connect from koreader because the error messages are pretty vague upon failure. Update 2: Should I be able to telnet to that port? Not sure if it would reject any requests without the right key Last edited by arooni; 11-11-2021 at 09:22 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
H202 Setup and Beginner Help | FlyHero | Kobo Reader | 12 | 06-30-2019 09:15 PM |
Best way to achieve KPVBooklet + KOReader setup | skunkos | Kindle Developer's Corner | 14 | 05-12-2019 01:06 AM |
Beginner's Guide To Running | kanisknayan | Self-Promotions by Authors and Publishers | 1 | 09-03-2017 10:49 AM |
How To Read eBooks: A Beginner's Guide | Bob Russell | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 07-09-2005 11:13 PM |