Repository navigation
📱 Ink Away + PanelsPlus | Integration Proposal #69
Replies: 7 comments 11 replies
|
First of all, thank you so much for your kind words! It makes me really happy to hear you enjoy using Ink Away. And i am familiar with your plugin too! It is installed on my Paperwhite 10th gen and i really enjoy using it, thank you for all your hard work. As an avid comic book reader myself i LOVE this idea and i think it would be an amazing integration. The demos look very smooth and responsive too so i am down for this integration. You mentioned you have already done the implementation so you can open a PR and i will review it (might take a day or two). Before that tho, i wanted to ask, how does the export feature (in the settings of the toolbar) work in the .cbr and .cbz formats? Currently, Ink Away has the option to export an EPUB or MOBI either as a PDF or an image (so it can keep the annotations as users have created it). And for PDFs, the export allows an editable PDF export so all the annotations can be edited/selected on other devices as well. I wanted to know whether you tested how the export works for a comic book in PanelsPlus. Thank you again for this! I really think this is a very cool idea that people will find very useful. After i merge the PR, you and i can make a collaboration/integration post on Reddit to let people know of this. Have a great day! |
|
Thank you for the update and for putting this much care into it. A public API and keeping the page-turn and open/close events generic will make it useful beyond PanelsPlus and i really like the idea The docs site looks AWESOME! I’d be happy to take it on and link it from the README when the PR is ready. A page that shows off the plugin would indeed be a nice bonus, thank you for your work it looks very cool No rush at all. Take the time you need to polish and test it and I’ll check it on my emulator and my Kindle once the PR is up. One small note: I’m working on a few things in parallel (cloud sync, which touches the book view a little), so if the PR conflicts on merge I’ll sort it out on my side and won’t ask you to rebase Thanks again, this is going to be a fun release! |
|
Hey Kris! Hope you are doing well. Did you get a chance to try Panels+ integration after my latests changes following your PR? I was thinking of making a stable release today |
|
Thank you so much for testing it and am glad you liked the bubbles The image moving video is actually normal, that’s just how e-ink handles moving things around and it settles once you let go. The white squares one is probably from my side tho, i’ll look into it! And yes i’d love to take the docs repo, since i’ll probably keep adding things to the API it’d be easier to keep the docs updated on my side. Transfer it whenever! Lemme know when your release is out and we’ll do the Reddit post! I enjoyed working with you 🦊 very much! |
|
Hi, just to let you know, next weekend I'll release my plugin's next release and I'll do a reddit post to announce this integration by my side. I had to polish many things in my code that I couldn't finish this weekend and... gta 6 is out 😆 .
|
|
Oh mann, i have been playing a loooot of gta 6 this week too! I spent too much time just treasure hunting in the ocean... About the repo transfer, it says 'expired' on my end. Could you transfer it again please? |
|
I've released my new stable version, the reddit post announcing the integration looks like this: https://www.reddit.com/r/koreader/comments/1y7vdkp/update_v170_panels_multiple_plugins_integration/ 👍🏻 |



Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Videos/Demos
early-preview-panelsplus_._ink-away.mp4
This is how it would work with Panels+. It handles smooth transitions and fancy animations for android and desktop users (which can affort CPU and RAM for this).
panelsplus_._inkaway_performant.mp4
But, my main focus are the 99% koreader users: e-reader users (kindle, kobo, etc...) with low-specs (like 300mb ram or less). I've read in CONTRIBUTORS.md you care about it, I do as well. This demo features no transitions and fast panel switching, which works well in low-end-devices
Helloo. Im KristanLaimon, currently the main developer of Panels+
I started using your plugin Ink-Away and I found it amazing. I was surprised how smooth was to draw in my Kindle PW 12thGen, its a whole canvas for all my books. Very good plugin, from one koreader plugin developer to another, congrats.
For fun, I try to see if it worked with my plugin.... and of course it doesn't. It simply ignores my plugin, which is ok and obvious. So I thought:
So, I grabbed the latest commit in your nightly branch ("main") at the moment of writing this discussion and started to do the minimum changes I could, so Panels+ would do all the hard work to see if your plugin is installed along with it and connect to it.
The target-public for this integration are:
For the following formats: .CBZ, .CBR, .PDF (Main priority) & .EPUB, .MOBI, .KEPUB (Secondary)
I would've done this with only Panels+ changes if possible, because I know how time consuming is to review Pull Requests from other people for this kind of stuff.
But I found Ink-Away always uses the native KOReader view render, which has sense. But my plugin Panels+, for the sake of performance I had to make my own view render and Ink-Away doesn't accept an optional view render where to display the annotations, so mainly the changes I've done are based from that, with other edge-cases I found and fixed already.
So in summary. The changes I propose for ink-away to do do, is just accept abstract "view renders" & optional params, so other plugins can coexist with it. I won't hardcode Panels+ specifics at all. It would be an "O" improvement from SOLID Principles.
I was about to make a PR for this, but in your CONTRIBUTOR.md says its better to discuss this kind of ideas here. So, here I am.
In case you like it...
You don't need to start doing an implementation for this or start spending time to see my plugin implementation, I've already done the implementation as you can see in the demos. I would just make a PR and you can refactor in case I've done anything wrong, because, no one knows better your plugin than yourself, I know that first hand haha.
If you're interested in my integration implementation with your plugin I have a dedicated branch in my repo for ink-away here: https://github.com/KristanLaimon/PanelsPlus/tree/feat/ink-away-compatibility . I still need to clean/refactor the code a little, which I'll do before doing the PR, its just an MVP.
Would be great if this is of your taste and found it useful. If you need more demos or questions about the integration, go ahead.
All reactions