PeruseProject
ActivePublic

Details

Description

A comic book reader app

This is an application for reading comic books distributed in various digital formats, with initial focus on the cbz format. It is based on KDE's Frameworks 5, and the UI is built using Qt Quick 2.

The current featureset includes:

  • Multiple file format support, in two tiers
    • Native support with optimised viewing for comic books
      • cbz
      • cbr
    • Okular based generic view support
      • certain other cb* formats with archive types not supported by KArchive
      • pdf
      • deja-vu
      • epub
  • Touch optimised user interface (nb: mouse/keyboard UI also planned)
    • All the standard stuff like kinetic scrolling, pinch-zoom and so on
    • Plasma Mobile components based experience
  • Baloo based file discovery with simple filesystem scraper fallback

Recent Activity

Oct 8 2018

woltherav closed D15951: Add opening a file via the command line..
Oct 8 2018, 11:29 AM · Peruse
leinir accepted D15951: Add opening a file via the command line..

Looks good from here - unless @pino has further to add, go for it :)

Oct 8 2018, 10:57 AM · Peruse

Oct 5 2018

woltherav added a comment to D15951: Add opening a file via the command line..
Oct 5 2018, 1:00 PM · Peruse
woltherav updated the diff for D15951: Add opening a file via the command line..

Added fixes @pino requested. I hope I did the desktop file one correctly.

Oct 5 2018, 1:00 PM · Peruse
leinir added inline comments to D15951: Add opening a file via the command line..
Oct 5 2018, 12:45 PM · Peruse
woltherav added inline comments to D15951: Add opening a file via the command line..
Oct 5 2018, 12:32 PM · Peruse
leinir added inline comments to D15951: Add opening a file via the command line..
Oct 5 2018, 11:30 AM · Peruse

Oct 4 2018

pino requested changes to D15951: Add opening a file via the command line..

Also, please append the %f placeholder to the command in the Exec of the two .desktop files: this way, it will be possible to select peruse (and perusecreator) as application for opening the comics.

Oct 4 2018, 7:13 PM · Peruse
woltherav requested review of D15951: Add opening a file via the command line..
Oct 4 2018, 7:07 PM · Peruse

Oct 1 2018

woltherav closed D15820: Update database when booklist is updated..
Oct 1 2018, 12:32 PM · Peruse
leinir accepted D15820: Update database when booklist is updated..

bindValue is a good choice, yes, thank you ;) Go for it :)

Oct 1 2018, 12:23 PM · Peruse

Sep 29 2018

woltherav updated the diff for D15820: Update database when booklist is updated..

Making use of bindvalue when possible, this'll avoid drama with quotes.

Sep 29 2018, 10:15 PM · Peruse

Sep 28 2018

woltherav requested review of D15820: Update database when booklist is updated..
Sep 28 2018, 3:25 PM · Peruse
woltherav closed D15766: Add keywords, characters and genres to the bookentry/database and use it for a category filter..
Sep 28 2018, 1:32 PM · Peruse
leinir added a comment to D15766: Add keywords, characters and genres to the bookentry/database and use it for a category filter..

I was thniking in terms of 'putting seriesNumbers and Volumes next to the series entry', and such. But I'll push this after my daily walk :)

Sep 28 2018, 11:35 AM · Peruse
woltherav added a comment to D15766: Add keywords, characters and genres to the bookentry/database and use it for a category filter..

I was thniking in terms of 'putting seriesNumbers and Volumes next to the series entry', and such. But I'll push this after my daily walk :)

Sep 28 2018, 11:34 AM · Peruse
leinir accepted D15766: Add keywords, characters and genres to the bookentry/database and use it for a category filter..

Not entirely sure how we would really make the database any nicer.. don't particularly want to add more tables, though i guess that might be what we'd end up doing (in essence, a new table for everything that's currently a csv list). If you feel like doing it, though, do go ahead :)

Sep 28 2018, 9:08 AM · Peruse

Sep 26 2018

woltherav requested review of D15766: Add keywords, characters and genres to the bookentry/database and use it for a category filter..
Sep 26 2018, 12:55 PM · Peruse

Sep 25 2018

woltherav closed D15734: Order books in their series number if available..

ack forgot to close this one O_O

Sep 25 2018, 8:48 PM · Peruse
woltherav closed D15748: Remove entries from cache if their filename does not exist..
Sep 25 2018, 2:16 PM · Peruse
leinir accepted D15748: Remove entries from cache if their filename does not exist..

Good stuff, let's roll with this one :)

Sep 25 2018, 2:09 PM · Peruse
woltherav updated the diff for D15748: Remove entries from cache if their filename does not exist..

This changes to QFileInfo::exists(filename), because the docs say that is a little faster.

Sep 25 2018, 2:07 PM · Peruse
woltherav added a comment to D15748: Remove entries from cache if their filename does not exist..

hm... will have to chase down an sd card reader first :D

Sep 25 2018, 1:53 PM · Peruse
leinir added a comment to D15748: Remove entries from cache if their filename does not exist..

Well, the thing is, I have a large collection(sqlitebrowser counts about 586 entries right now), yes, but I also have a fairly beefy computer. Starting peruse with clear-db takes way longer than this(which is near instantaneous), but because I have a beefy computer I suspect it might be the debug messages that is the major cause of the slowdown with clear-db. Either someone with a slow harddrive should check this, or I'll drop the patch and wait for one that is theoretically speedier.

Sep 25 2018, 1:51 PM · Peruse
woltherav added a comment to D15748: Remove entries from cache if their filename does not exist..

Well, the thing is, I have a large collection(sqlitebrowser counts about 586 entries right now), yes, but I also have a fairly beefy computer. Starting peruse with clear-db takes way longer than this(which is near instantaneous), but because I have a beefy computer I suspect it might be the debug messages that is the major cause of the slowdown with clear-db. Either someone with a slow harddrive should check this, or I'll drop the patch and wait for one that is theoretically speedier.

Sep 25 2018, 1:48 PM · Peruse
leinir added a comment to D15748: Remove entries from cache if their filename does not exist..

The reason i didn't do this before is that it does file system access, which is precisely what the cache is supposed to try to avoid... You've got a large collection, right? What sort of impact does this have on load time? (baloo shouldn't matter in this case, but it's good to test with that turned off anyway...)

Sep 25 2018, 1:42 PM · Peruse
woltherav requested review of D15748: Remove entries from cache if their filename does not exist..
Sep 25 2018, 1:37 PM · Peruse
leinir added inline comments to D15734: Order books in their series number if available..
Sep 25 2018, 10:05 AM · Peruse
woltherav added inline comments to D15734: Order books in their series number if available..
Sep 25 2018, 10:02 AM · Peruse
leinir accepted D15734: Order books in their series number if available..

Similarly unsure whether we can reasonably make it appreciably cleaner... let's roll with it :)

Sep 25 2018, 8:46 AM · Peruse

Sep 24 2018

woltherav requested review of D15734: Order books in their series number if available..
Sep 24 2018, 6:24 PM · Peruse
woltherav added a commit to T1348: Rating: R157:3794ea968ec6: Support multiple authors/ multiple series/description and ratings/tags/comments..
Sep 24 2018, 12:10 PM · Peruse
woltherav added a commit to T1349: Tags: R157:3794ea968ec6: Support multiple authors/ multiple series/description and ratings/tags/comments..
Sep 24 2018, 12:10 PM · Peruse
woltherav closed D15713: Extend the categories model with some extra items..
Sep 24 2018, 12:09 PM · Peruse
leinir added a comment to D15713: Extend the categories model with some extra items..

Great stuff, push away! :)

No showstopper or anything, just for a bit of background: The reason behind caching everything is that file system access is super expensive, so causing file system access for cached entries seems perhaps less than good. To test whether this is sufficiently fast for you, turn off your file indexer (balooctl stop should do that nicely). If it is, indeed, fast enough, then go for it, otherwise caching will want to happen for those parts as well... We need some way to update the cache when the filesystem has changed, but i'm as yet unsure of how to properly deal with that... However, that doesn't have to stop the patch going in, just something to check :)

Weirdly enough, on my system, if a file has not been indexed by baloo, Peruse just doesn't see it.

Sep 24 2018, 11:55 AM · Peruse
woltherav added a comment to D15713: Extend the categories model with some extra items..

Great stuff, push away! :)

No showstopper or anything, just for a bit of background: The reason behind caching everything is that file system access is super expensive, so causing file system access for cached entries seems perhaps less than good. To test whether this is sufficiently fast for you, turn off your file indexer (balooctl stop should do that nicely). If it is, indeed, fast enough, then go for it, otherwise caching will want to happen for those parts as well... We need some way to update the cache when the filesystem has changed, but i'm as yet unsure of how to properly deal with that... However, that doesn't have to stop the patch going in, just something to check :)

Sep 24 2018, 11:49 AM · Peruse
leinir accepted D15713: Extend the categories model with some extra items..
Sep 24 2018, 9:58 AM · Peruse
leinir added a comment to D15713: Extend the categories model with some extra items..

Great stuff, push away! :)

Sep 24 2018, 9:58 AM · Peruse

Sep 23 2018

woltherav requested review of D15713: Extend the categories model with some extra items..
Sep 23 2018, 4:43 PM · Peruse

Sep 22 2018

woltherav abandoned D15692: Add POT export and PO import..
Sep 22 2018, 10:01 PM · Peruse
pino added a comment to D15692: Add POT export and PO import..
In D15692#330282, @pino wrote:

Not sure I understand, what is the exact workflow that involves writing a .pot file, and reading .po files? Is it because peruse so far is not translatable?
If so, then it'd be much better to extract the messages, and make sure to use ki18n to translate the strings at runtime, just like all the other applications.

Ah, no, what this is for is something else. You see, Peruse Creator makes cbz(comic book) files, and also generates metadata files for cbz, this is done in the ACBF format. The ACBF format supports metadata for text within the comic and holding translations for said text. I figured that it'd be helpful to be able to take these translatable entries, and generate POT files for them (as well as import of translation po files). That way people who'd want to translate a comic can use their favourite pot/po compatible translation tools.

Sep 22 2018, 8:02 PM · Peruse
woltherav added a comment to D15692: Add POT export and PO import..
In D15692#330282, @pino wrote:

Not sure I understand, what is the exact workflow that involves writing a .pot file, and reading .po files? Is it because peruse so far is not translatable?
If so, then it'd be much better to extract the messages, and make sure to use ki18n to translate the strings at runtime, just like all the other applications.

Sep 22 2018, 7:56 PM · Peruse
pino added a comment to D15692: Add POT export and PO import..

Not sure I understand, what is the exact workflow that involves writing a .pot file, and reading .po files? Is it because peruse so far is not translatable?
If so, then it'd be much better to extract the messages, and make sure to use ki18n to translate the strings at runtime, just like all the other applications.

Sep 22 2018, 7:46 PM · Peruse
woltherav updated the diff for D15692: Add POT export and PO import..

Updating with...

Sep 22 2018, 6:37 PM · Peruse
woltherav requested review of D15692: Add POT export and PO import..
Sep 22 2018, 4:17 PM · Peruse

Sep 21 2018

woltherav added a commit to T1350: Viewport-based comic book view support: R157:43a9ef2b962b: Frame based zoom in the image browser..
Sep 21 2018, 2:50 PM · Peruse
woltherav added a task to D15661: Frame zoom in the image browser.: T1350: Viewport-based comic book view support.
Sep 21 2018, 2:49 PM · Peruse
woltherav added a revision to T1350: Viewport-based comic book view support: D15661: Frame zoom in the image browser..
Sep 21 2018, 2:49 PM · Peruse
woltherav closed D15661: Frame zoom in the image browser..
Sep 21 2018, 2:48 PM · Peruse
leinir accepted D15661: Frame zoom in the image browser..

Niiiiice... Really neat stuff, thank you! Sure, i'll do a bit of hooking up with keys and whatnot :)

Sep 21 2018, 2:38 PM · Peruse