flafydev / epub_reader Goto Github PK
View Code? Open in Web Editor NEWAn open source book reader developed in Flutter
License: GNU General Public License v3.0
An open source book reader developed in Flutter
License: GNU General Public License v3.0
Title. Including sub chapters.
Right now the renderer is sending how many anchors you've currently passed in the current file. This is used by the reader app to correctly determine on which chapter you are in case there are multiple chapters pointing to the same file but different anchors).
My idea is instead of sending the passed anchors of the current file, send all of the anchors of the current file together with the inner page they are on. This way the reader app can compute on its own how many anchors have passed. And can also determine how many inner pages until the next chapter.
You wouldn't be able to determine the percentage of how far an anchor is without having the file loaded.
This is solved by #6
When reopen a book on iOS, the ebook player will load next 3 chapters but not last saved point.
in pubspace.yaml file we have assets: - assets/index.html
but doesn't exist in assets folder
The search results when searching queries in books are bad.
Here is how the search fails.
<p>This is a <span>short</span> paragraph</p>
Query | Found |
---|---|
This is a | true |
short | true |
paragraph | true |
is a | true |
short paragraph | false |
This is a short | false |
a short | false |
This is a short paragraph | false |
This weird results are because the search only searches inside text nodes. In this case there are 3 text nodes.
If you have a book in a shelf, it will appear both in the All view and the Shelves view. Going into the book in one view, then going through a few pages, exiting the book and opening the same book in the other view. You'll see it doesn't save the the location.
Right now all the data of the reader is saved on the device.
This includes the epub files of the books and the reading progress of each book.
The disadvantages of this approach:
For these reasons, it should be possible to connect to a server to take care of all these problem.
Show the page number of each chapter(including sub chapters) similar to how Google Play Books does it.
blocked on #6
After downloading a file from the browser, loading it in the app using the file picker and then trying to open that file results in this error.
Unhandled Exception: Unable to load asset: "assets/index.html".
Below given is the screenshot of the error.
Can somebody help me out with the error.
Thanks.
Sometimes when highlighting text it selection will go outside to the text beyond the current inner page's text
I don't know what is better: fetching HTML from webview or injecting JavaScript and processing HTML from a local webserver. From the code of epub_renderer, JavaScript from webview has to do a lot of work. If it fails at some point, the renderer will stop rendering. For example, if we highlight the first word of an inner page, the renderer will stop rendering.
When reading does not display the content of the book page
Bookmarks are useful for quickly saving your location in a book and going somewhere else without any risks.
Pick on of two solutions:
In that case only show the bookmark once but keep in mind that
This is because of the inconsistency between the number of text nodes in the app and in the renderer.
IMO this is not worth fixing until #2 is fixed.
In any page, select first word and highlight it then page is loading (page is not ready).
Reopen book, after navigate to this page by location, can not transition to other page by horizontal drag
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.