workhorsy / comic_book_reader Goto Github PK
View Code? Open in Web Editor NEWA browser based touch friendly comic book reader
License: GNU Affero General Public License v3.0
A browser based touch friendly comic book reader
License: GNU Affero General Public License v3.0
We will need this to add Service Workers.
Find a library that can open 7zip files, or compile 7zip with Emscripten/WebAssembly.
Simplify UI with modular and reusable components:
Implement Hot-keys / Shortcuts
When it uncompress a page, it then creates a thumbnail. It does not wait for the thumbnail to be created before it starts uncompressing the next page. This often leads to all the thumbnails getting queued in memory. Then they are finally created after all the pages are uncompressed. This can lead to huge memory spikes, and makes it look like everything is loaded, when it is not.
https://openseadragon.github.io/examples/ui-binding-custom-buttons/
https://openseadragon.github.io/examples/ui-reference-strip/
http://comics.balaclark.com/demo.html
Add support for comic book smart panels view.
https://github.com/zoran123456/Comic-Smart-Panels
This seems to happen only in Chrome, on machines with fast disks such as SSDs. Also note that it only happens when initially loading a comic. When reloading it from localStorage, it is in the correct order.
This probably can be fixed by including the index when sending the uncompressed page from the web workers into the image carousel.
Show what comics was read sorted by date. Include thumb nail, date, and progress bar on bottom of cover.
Comic thumb nail
[======= ]
9:34 AM - comic_02.cbz
Comic thumb nail
[==========]
6/28/2015 - comic_01.cbz
Have it highlight and scroll to the current book. Just like the page selector.
The loading progress is too small, and in the corner. Make it larger and in the center of the page.
Sometimes in Firefox, if I update to a new version of Comic-Book-Reader, it only downloads some of the new files. This then breaks, because the JS files are changed or missing.
Currently errors are printed to the console. Which is useless for normal users that do not have to console open.
The indexedDB standard does not yet have a way to list all databases. Webkit does have indexedDB.webkitGetDatabaseNames though. So we work around this by storing their names in localStorage.
This sucks, especially because tables in the indexedDB can be removed by the LRU cache at any time (without notice). Then the localStorage will list tables that no longer exist.
real input -> event
firefox (window.ontouchstart -> false)
mouse -> mouse
touch -> mouse
pen -> mouse
chrome (window.ontouchstart -> true)
mouse -> mouse
touch -> touch
pen -> mouse
IE (window.ontouchstart -> true)
mouse -> mouse & pen
touch -> mouse & pen
pen -> mouse & pen
Embed api to integrate on other websites and apps.
@workhorsy See: lbryio/lbry-desktop#1377
version Brave 0.15.0
This works for PDF files though.
We should separate the website code from the reader.
Maybe isolate the reader in it's own component?
E.G. issue-01.zip
If I disable cookies on chrome ( android ) I just see a blank page, but there are no errors / warnings.
We could add a fall back to make store data optional.
http://crocodillon.com/blog/always-catch-localstorage-security-and-quota-exceeded-errors
This leads to us having the basically reload the app when it freaks out, because there is not free space.
This will have many advantages:
Extract and read metadata
from the archives.
https://digitalcommons.unl.edu/cgi/viewcontent.cgi?article=3168&context=libphilprac
http://acbf.wikia.com/wiki/Advanced_Comic_Book_Format_Wiki
Advanced Comic Book Format (ACBF) specification is a distribution and interchange format for digital comic books. ACBF specification defines a means of representing structured and semanticaly enhanced content used in comic books. In contrast to widely used Comic Book Archive (CBR, CBZ โฆ), content is represented in separate graphic and text layer(s) as well as comic book metadata is present.
When loading many pages without reloading, E.G 1000+ in Chrome. It will silently corrupt old Object URLS. I have not found a bug for this. Will have to look more.
Add a tutorial buttons that shows how to:
If there are lots of pages in the page selector. The current page may be scrolled off screen. Have it scroll to the current page after opening.
Implement OSD
https://openseadragon.github.io/docs/
An open-source, web-based viewer for high-resolution zoomable images, implemented in pure JavaScript, for desktop and mobile.
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.