From 63025f020a199fa6def7d341c3d76f5f07a0af02 Mon Sep 17 00:00:00 2001 From: Utsob Roy Date: Wed, 25 May 2022 20:41:22 +0600 Subject: [PATCH] Separate section for Joplin configuration. --- Joplin.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Joplin.md diff --git a/Joplin.md b/Joplin.md new file mode 100644 index 0000000..41c38c7 --- /dev/null +++ b/Joplin.md @@ -0,0 +1,17 @@ +#### Auth Token +You can enter your auth token on your computer by saving an empty token. Then quit KOReader, edit the `exporter.joplin_token` field in `settings.reader.‍lua` after creating a backup, and restart KOReader once you're done. + +#### Port Forwarding +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: + +```cmd +netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=41185 connectaddress=localhost connectport=41184 +``` + +For Linux: + +```bash +socat tcp-listen:41185,reuseaddr,fork tcp:localhost:41184 +``` \ No newline at end of file