![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Dec 2024
Device: Boox Poke 3
|
![]()
So I´ve been tinkering with a fork of the AskGPT plugin in the hope of adding a save translation to note highlight feature.
So far however tapping the ´Save to Note´ button crashes KOReader. Would really appreciate any help with this as I´m not a developer. It would be great to have something close to an opensource LingQ if we can get this to work. Here is my fork: https://github.com/sebattier/AskGPT I modified the ChatGPT prompt in plateaukao´s fork so that translations are output in English instead of Chinese. This fork offers better UX as text can be translated in one tap instead of two. Does anyone know how translation output can be saved to a note for the selected input text? ![]() |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,149
Karma: 3592855
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
|
https://github.com/sebattier/AskGPT/...dialog.lua#L61
This and further lines do not work in KOReader, far from reality. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Dec 2024
Device: Boox Poke 3
|
Hi hius07, thanks for your reply.
Yes, I´m not a developer and tried tinkering using Claude in the hope of getting something to work so it´s highly likely that bogus code was added. Any idea which koreader modules I should be looking at to create notes from ai translation output? Something like the built-in save to note feature for google translations is what I´m hoping for. |
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,149
Karma: 3592855
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
|
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Dec 2024
Device: Boox Poke 3
|
Thanks for the link. Still no luck with it so far. I´ll keep trying.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
cosiñeiro
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,390
Karma: 2200169
Join Date: Apr 2014
Device: BQ Cervantes 4
|
It is usually easier to learn programming 101 and then have a couple of evenings to grasp lua and a couple more to figure out the chunks of the codebase you want to change.
Relying on AI is going to be surprise after surprise. Even if something somehow works as intended at some random point in time the next iteration will fail in some stupid way. Last edited by pazos; 12-04-2024 at 03:38 PM. Reason: better words |
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Feb 2025
Location: Türkiye
Device: Kobo Forma
|
Try this one
![]() This fork includes a save-as-note button and a copy button for use in any text file you create. Also, you can create shortcuts on the main popup to reach a functionality in one step. |
![]() |
![]() |
![]() |
Tags |
help needed, koreader, plugin development |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Boox Note and Dropbox: Save Files | MadAstra | Onyx Boox | 1 | 05-24-2018 06:28 PM |
Eink wich save highlights and note into pdf | Tenko-78 | Which one should I buy? | 6 | 11-12-2017 10:15 PM |
onix device that save PDF's note into the file | Tenko-78 | Onyx Boox | 7 | 10-31-2017 03:58 AM |
Einfacher Feature-Request: /dev/ptmx und /dev/ttyUSB2 modes | Seneca | PocketBook | 2 | 12-05-2011 04:41 PM |
can't save XJpurnal files or open new note in Notes | HansTWN | iRex | 7 | 07-22-2011 09:18 PM |