julien-c / epub

node.js epub reader
https://www.npmjs.com/package/epub
Other
333 stars 307 forks source link

Support for other eBook formats #10

Open athieriot opened 10 years ago

athieriot commented 10 years ago

Hi,

This project is incredibly useful and very easy to use.

I was gonna try to wrap the Calibre command line tool ebook-meta but having a pure Node.js implementation is way better.

In your opinion, how hard would it be to support other ebooks format? I am particularly interested in the metadata and not so much in the content itself.

Thanks

julien-c commented 10 years ago

Which ebook formats are you thinking about? Would probably not be hard to do.

athieriot commented 10 years ago

I noticed that Calibre is supporting a crap load of different format:

http://manual.calibre-ebook.com/cli/ebook-meta.html

But to be honest there must be about 3 or 4 majors ones: epub, azw (3, 4?) and mobi. I think I was able to download chm from Google Book but it's probably a glitch or a minor alternative.

mobi is probably equivalent to epub (Some variant of HTML), but It's possible that azw involve working with Adobe eBook DRM which would increase the complexity. (Maybe ok for the metadata though)

julien-c commented 10 years ago

AFAIK usually the whole zip file is encrypted so you wouldn't be able to access metadata either. mobi as well is encrypted. Wrapping ebook-meta actually sounds like a good idea to me. What are the downsides?

athieriot commented 10 years ago

The main downside is the dependency to a native command line tool. The native Node.js implementation is more appealing surely :)

However I was sort of hoping for the meta data reading to be more straightforward.

Thanks for your insight :)

julien-c commented 10 years ago

It might be, not 100% sure :)

On Monday, August 11, 2014, Aurélien Thieriot notifications@github.com wrote:

The main downside is the dependency to a native command line tool. The native Node.js implementation is more appealing surely :)

However I was sort of hoping for the meta data reading to be more straightforward.

Thanks for your insight :)

— Reply to this email directly or view it on GitHub https://github.com/julien-c/epub/issues/10#issuecomment-51763051.

athieriot commented 10 years ago

I might look into it then. (No promise so)

But if I do, I'll definitely propose a Pull Request !