haroldtreen / epub-press-clients

📦 Clients for building books with EpubPress.
https://epub.press
GNU General Public License v3.0
585 stars 69 forks source link

Epub-press as a bookmarklet ? #137

Open j-xella opened 1 year ago

j-xella commented 1 year ago

Hi,

Not to say anything bad about the chrome extension, but sometimes users are not at liberty to install chrome extensions, for example in a corporate environment. A bookmarklet would be a workaround in such scenario. It would likely be not as feature reach as the extension (probably converting current page only), but way better than nothing.

I do not know JavaScript, hence only raising this ticket. But I have a feeling that creating a bookmarklet would be a rather simple derivation of the epub-press-widget, wouldn't it?

haroldtreen commented 1 year ago

Hey - thanks for the suggestion.

I actually never got around to building the widget client - so can't say 😅. If I were to attempt this, I might start by seeing if the Bookmarklet could inject a script into the page to load the JS library and then use that? But the JS library has other dependencies and not sure if everything would work in the bookmarklet environment.

Not sure I'll have time to get to this, but would be interesting to explore 👍.