Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I host COPS on Github or Netlify with library in cloud? #513

Open
BravishkaSkytano opened this issue Feb 15, 2022 · 6 comments
Open

Comments

@BravishkaSkytano
Copy link

Hello!

I just want to know if it would be possible for me to run the COPS server on GitHub Pages or Netlify with my Calibre library in a cloud service (in my case, Mega).

I don't know PHP, so I don't want to mess around with this unless it will work. In theory, I don't see why the server itself wouldn't work, but I don't know about the cloud library. Why can't I find anything on this? Lol

Thanks in advance!

@marioscube
Copy link

You need to be able to "mount" the cloud service on a directory in the webserver.
So that depends on:

  • can you mount samba or NFS or ? on the webserver.
  • does the cloud server provide samba or NFS or ? access?

I don't know.

@BravishkaSkytano
Copy link
Author

Even if I make the cloud folder public?

@marioscube
Copy link

You need to be able to point COPS to a calibre library.

$config['calibre_directory'] = './Calibrelibrary/';

if you are able to do that it might work.

@BravishkaSkytano
Copy link
Author

Okay, 'm going to try it and see. Thanks.

@BravishkaSkytano
Copy link
Author

Yeah, it doesn't work :( I think its my cloud service though. Thanks anyway

@mikespub
Copy link

Github Pages or Netlify only support static files, so you would need to use something like https://github.com/calibre2opds/calibre2opds or a more modern equivalent to generate the files first

For COPS you need to have some backend server that can handle PHP scripts. Starting with release 2.7.1 the Calibre library itself can be in the cloud - see #506

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants