12-10-2017, 10:34 AM | #1 |
Evangelist
Posts: 445
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Plato: A document reader for PDF, ePUB, DjVu, etc.
Plato is a document reader for Kobo's e-readers.
It was tested on the following devices:
Any 4.X.Y firmware, with X ≥ 6, will do. I wrote a guide and a manual. If you're looking for an english dictionary, you might be interested in my custom version of WordNet 3.1: place wn-xml.* in the dictionaries directory and dictionary-user.css in the css directory. You can convert StarDict dictionaries using sdunpack (pre-built binaries are available for Linux, macOS and Windows). Last edited by baskerville; 11-25-2024 at 07:06 AM. Reason: Add the Nia to the list of supported devices |
12-11-2017, 06:58 AM | #2 | |
The Grand Mouse 高貴的老鼠
Posts: 72,743
Karma: 311192104
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Looking at the github repository:
Quote:
|
|
Advert | |
|
12-11-2017, 08:38 AM | #3 |
Guru
Posts: 962
Karma: 418804
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
|
Binaries? Install instructions??
|
12-11-2017, 09:01 AM | #4 |
Unicycle Daredevil
Posts: 13,940
Karma: 185392166
Join Date: Jan 2011
Location: Planet of the Pudding Brains
Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3
|
I think I'll give this a pass until non-programmers like me can install it without having to spend a whole day on it.
|
12-11-2017, 09:23 AM | #5 |
The Grand Mouse 高貴的老鼠
Posts: 72,743
Karma: 311192104
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Moved to the dev forum
|
Advert | |
|
12-11-2017, 05:22 PM | #6 |
Wizard
Posts: 1,844
Karma: 9547754
Join Date: Jul 2009
Location: Newcastle, Australia
Device: iPhone 12 Mini
|
I was interested until I looked at the guide and realised that I just cannot be bothered with so much fiddling.
|
12-11-2017, 06:36 PM | #7 |
Wizard
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
There is a plato.sh that you would have after moving the plato folder into .adds. You could try running that from KSM.
Luck; Ken |
12-13-2017, 10:42 PM | #8 |
Wizard
Posts: 2,798
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Great job on the reader so far! You may want to improve the build and fmon docs, as it took me about 20 mins to get this to build, and another 15 to get this to work (including reading the source for some info not in the docs), and I already have experience with this kind of thing.
Last edited by geek1011; 12-14-2017 at 12:04 AM. |
12-14-2017, 06:16 AM | #9 | |
Evangelist
Posts: 445
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Quote:
I'd like to known what was missing from the docs: it would be great if you could find the time to create issues on the GitHub page. Although this reader is built around the idea of having good, easily modifiable metadata, I'm going to give a hint on how to speed up the initial import process: the steps involving the -S and -R flags can be skipped. Last edited by baskerville; 12-14-2017 at 01:21 PM. |
|
12-14-2017, 09:24 AM | #10 | |
Wizard
Posts: 2,798
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
A few quick things here: - In the guide, the cargo --feature flag is actually --features, I think that was a typo. - It is unclear where the libs dir goes, the only way I found it was by looking at the gitignore file, and creating it. - It would be nice to have static builds (but I don't know enough about your code yet to see if it is possible, and I don't know much rust). - In English, it is not importation (bad grammar), it is importing. - For most people who follow the guide, it is unclear whether the importing step is required, and if you don't do the importing step, the reader appears to crash, with a error message in the log (which most people wouldn't understand). - It would be good to add uninstallation instructions (from reading the code, it seems like all you need to do is delete the .adds and icons folder, because you added checks, great job on this part -- I like the design of the scripts) - It took a few mins to figure out the required deps, maybe say what debian packages to install - It would be nice to make an automated makefile for building. - A few more things, mostly about the same topic By the way, your code looks nice and well designed. Hint: some screenshots would be nice, I couldn't wait to try it (I love all ebook related software). |
|
12-16-2017, 03:21 PM | #11 |
Connoisseur
Posts: 90
Karma: 11069
Join Date: Feb 2012
Device: Sony PRS-T1, Kobo Glo HD
|
Can I ask which operating system / distribution you used to successfully compile plato?
With arch linux (packages for rust/rustup, libmupdf, djvulibre installed) I get stuck when I build the importer, with Kubuntu 16.04 LTS (rustc, cargo, libdjvulibre21, libdjvulibre-dev, libmupdf-dev installed) even earlier when I try to build the mupdfwrapper. I'm not familiar with rust so I guess I overlooked something. Installation on the Kobo with the files from plato.zip worked fine, I can start plato either via fmon from nickel or by a script I wrote and put in the userscript folder of KSM. Unfortunately, plato crashes immediately because there's no database yet (at least, that's what the crash.log suggests). Running Code:
plato -Z /mnt/onboard/.test |
12-16-2017, 03:51 PM | #12 | |
Wizard
Posts: 2,798
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
|
|
12-16-2017, 05:10 PM | #13 |
absolute beginner
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
|
Two bricks hear.
I think... a step by step, how-to, doc... is needed or perhaps Good luck. |
12-16-2017, 05:17 PM | #14 |
Evangelist
Posts: 445
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
The binary that ships in the archive is the reader: it doesn't take any argument.
I'm working on simplifying all this: it would probably make more sense for the reader to do a quick import (equivalent to plato -I) if the database is missing. Bear with me! |
12-16-2017, 05:22 PM | #15 |
absolute beginner
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PocketBook-KOReader: a document reader for PDF, DJVU, EPUB, FB2, CBZ, ... (AGPLv3) | chrox | KOReader | 569 | 09-15-2024 10:13 AM |
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) | hawhill | Kindle Developer's Corner | 1268 | 02-27-2024 12:49 PM |
Kindle -- KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) | hawhill | KOReader | 1219 | 01-27-2024 03:29 PM |
v3 vs. v3+ as a pdf/DjVu reader | hedonism_bot | HanLin eBook | 7 | 11-02-2010 09:16 PM |