readable icon indicating copy to clipboard operation
readable copied to clipboard

Add "export to epub" support

Open mre opened this issue 3 years ago • 7 comments

I just thought about adding an option to convert a website to epub on the fly. We could add it as a GET parameter or alternatively provide a button. Would be nice for reading with a desktop epub reader or an ebook reader. What do you think?

mre avatar Nov 13 '22 12:11 mre

Actually funny you should mention that, I came across paperoni at one point while looking at Rust readability solutions which is pretty close, except it's a CLI tool rather than a webapp. It uses epub-builder which looks... pretty straightforward?

jfmontanaro avatar Nov 19 '22 06:11 jfmontanaro

Oh that looks indeed pretty nice. We could take our generated HTML and stuff it into that to see what happens. In my mind it would cool if it somehow produced decent results. Do you want to give it a try?

mre avatar Nov 19 '22 12:11 mre

I would like to work on this.

ShouvikGhosh2048 avatar Dec 17 '22 01:12 ShouvikGhosh2048

@ShouvikGhosh2048 No complaints from me if you do! I got very busy recently so haven't been able to work on this for a while.

I was planning on adding a basic check to the readability library for meta tags like og:image and the like, I was thinking that could be useful for generating the cover of the epub if available. That's very simple so I'll try and get it done soon.

jfmontanaro avatar Dec 17 '22 01:12 jfmontanaro

Ok that is done, if you update to v0.4.0 of readability.rs the metadata should include the image url when available.

jfmontanaro avatar Dec 17 '22 02:12 jfmontanaro

I tried working on this issue but was unsuccessful. Someone else can take this issue up. I'm sorry for the inconvenience caused and the late reply.

ShouvikGhosh2048 avatar Dec 25 '22 12:12 ShouvikGhosh2048

No worries at all. Thanks for the update. 😃

mre avatar Dec 26 '22 20:12 mre