Closed dragotin closed 8 months ago
I would love working on this. if possible please do assign.
Gladly! You can create a new app in packages/web-app-epub-viewer
. Might make sense to have a look at e.g. web-app-pdf-viewer
as a blueprint. If you have questions, you can reach out either here or in talk.owncloud.com #web channel.
I am student of BITS Pilani India. Please assign me this issue. @dragotin @kulmann
I am student of BITS Pilani India. Please assign me this issue. @dragotin @kulmann
Thank you for your offer to contribute, much appreciated! 🤩 You can have a look at e.g. packages/web-app-draw-io
or packages/web-app-pdf-viewer
as good examples. An epub
viewer would have very similar architecture.
If you need any help, don't hesitate to communicate here or in our chat channel #web
in talk.owncloud.com
I am trying to insatll the packages but npm is giving "code EUNSUPPORTEDPROTOCOL" this error. Please help me. @kulmann @dragotin
I am trying to insatll the packages but npm is giving "code EUNSUPPORTEDPROTOCOL" this error. Please help me. @kulmann @dragotin
Please see docs here: https://owncloud.dev/clients/web/backend-ocis/#setting-up-web
The project only works with a recent pnpm
. npm
does not work here.
I have installed the packages, downloaded docker and loaded the owncloud image, and followed the documentation you sent. Now how can I add extension of EPUB? Do I need to create one dir for web-app-epub-viewer? Can you please briefly explain Also, I tested on my localhost :9200 when I create txt and pdf file they are opening but when I am trying to open epub, it downloads that file. @kulmann
Are you on slack, I need your guidance for the extension? @kulmann
Not Slack, but you can find the oC Web Developers on https://talk.owncloud.com/
Yes, you would create a web-app-epub-viewer
, it's probably a good idea to look at web-app-pdf-viewer
how works as a handler for pdf files. It's probably the most trivial file viewer we currently have and should be a good starting point for you.
You need to create a folder and then add the application to whatever config.json file you are using, e.g. in config/
or in dev/docker
.
Turns out that https://github.com/futurepress/epub.js/ is indeed the best lib to accomplish this. Nice research @dragotin 💪
Can be closed via #10448 thanks to @AlexAndBear ? 🥳 🐶
Build an EPub Viewer extension for ownCloud Web.
https://github.com/futurepress/epub.js/ might be a reasonable JS lib to render EPub.