codedread / kthoom

Comic Book Reader in the Browser
MIT License
134 stars 24 forks source link
books cbr cbt cbz comic-reader comics ebook ebook-reader ebooks epub epub-reader javascript unrar unzip

Node.js CI CodeQL

kthoom

kthoom logo

kthoom is a comic book / ebook reader that runs in the browser using modern web technologies such as JavaScript, HTML5, the File System Access API, ES Modules, Web Workers, Typed Arrays, and more. It can open files and directories from your local file system, the network, or Google Drive. It can be embedded in larger web apps.

It is built using pure JavaScript with no external dependencies and no JS frameworks. It can run out of the box without any build / compile / transpile / pack step, straight from the browser. Try it here:

OPEN KTHOOM COMIC BOOK READER.

You can also specify a comic book to load via the ?bookUri parameter. Some examples:

Or a comic book reading list via the ?readingListUri parameter.

Documentation

File Support

Keyboard Shortcuts

You can tell kthoom to open as many books as you like in the Choose Files dialog (shift-select all the books you want to open). Then navigate between books using the square bracket keys or use the Reading Stack tray.

Binary File Support

NOTE: kthoom loads in local compressed files and decompresses them in the browser, which means that kthoom has an implementation of unzip, unrar and untar in JavaScript. This code lives in its own library: BitJS, a more general purpose library to deal with binary file data in native JavaScript. Kthoom keeps an up-to-date version of bitjs in its repository.

JSON Reading Lists

kthoom supports loading lists of comic book files at once. Think audio playlists but for comic books! See JSON Reading Lists for more.

URL parameters