Add support for .cbr and .cbz files (comics) in the app viewer #1377

Closed
opened 2018-04-23 23:52:15 +02:00 by LavRadis · 10 comments
LavRadis commented 2018-04-23 23:52:15 +02:00 (Migrated from github.com)

The Issue

We had a comic author in the Discord who is interested in publishing his work on LBRY. Comics are a huge market and a lot of them come in .cbz or .cbr format (rar or zip files with images) or PDF. It would be great if we could have an in-app comic file viewer. There should be many open source viewers available. Here is one: https://github.com/codedread/kthoom

## The Issue We had a comic author in the Discord who is interested in publishing his work on LBRY. Comics are a huge market and a lot of them come in .cbz or .cbr format (rar or zip files with images) or PDF. It would be great if we could have an in-app comic file viewer. There should be many open source viewers available. Here is one: [https://github.com/codedread/kthoom](https://github.com/codedread/kthoom)
tzarebczan commented 2018-04-24 00:02:58 +02:00 (Migrated from github.com)

Thanks for opening this @LavRadis !

Thanks for opening this @LavRadis !
btzr-io commented 2018-04-24 01:33:23 +02:00 (Migrated from github.com)

@LavRadis I'm currently working on one, it's open source and should be easy to integrate using an iframe or a react-component, I'll try to make a demo for next week...

If you have any features in mind just post it here.

@LavRadis I'm currently working on one, it's open source and should be easy to integrate using an iframe or a `react-component`, I'll try to make a demo for next week... If you have any features in mind just post it here.
btzr-io commented 2018-04-24 02:46:13 +02:00 (Migrated from github.com)
Related https://github.com/lbryio/lbry-app/issues/932
btzr-io commented 2018-05-10 19:28:08 +02:00 (Migrated from github.com)
@LavRadis here is the demo: https://btzr-io.github.io/comic_book_reader/#/reader https://btzr-io.github.io/comic_book_reader/#/reader?file=https://raw.githubusercontent.com/workhorsy/uncompress.js/master/example_rar_5.rar
LavRadis commented 2018-05-10 19:30:58 +02:00 (Migrated from github.com)

@btzr-io I've tested it and it works great!

@btzr-io I've tested it and it works great!
neb-b commented 2018-10-16 19:11:45 +02:00 (Migrated from github.com)

@btzr-io Any plans to add that viewer for comics?

@btzr-io Any plans to add that viewer for comics?
btzr-io commented 2018-10-16 19:17:37 +02:00 (Migrated from github.com)

@seanyesmunt currently is a web app, not sure if an iframe would work 🙃

@seanyesmunt currently is a web app, not sure if an `iframe` would work :upside_down_face:
btzr-io commented 2018-10-16 19:18:45 +02:00 (Migrated from github.com)

If not we need to port it to a react component 😛

If not we need to port it to a react component :stuck_out_tongue:
neb-b commented 2018-10-16 20:55:04 +02:00 (Migrated from github.com)

Ah I didn't realize that. Ok. Well this isn't a high priority, maybe someone will pick it up.

Ah I didn't realize that. Ok. Well this isn't a high priority, maybe someone will pick it up.
btzr-io commented 2019-05-10 07:45:45 +02:00 (Migrated from github.com)

Due to the complexity of this viewer I decided to create a separate modular component:

Small update on this issue:
I created a new react component (WIP) but it should be compatible with preact:
https://github.com/btzr-io/Villain

https://github.com/workhorsy/comic_book_reader/issues/121#issuecomment-491163549

Due to the complexity of this viewer I decided to create a separate modular component: > Small update on this issue: I created a new react component (WIP) but it should be compatible with preact: https://github.com/btzr-io/Villain https://github.com/workhorsy/comic_book_reader/issues/121#issuecomment-491163549
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#1377
No description provided.