04-14-2012, 12:37 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Apr 2012
Device: none
|
Can I use Calibre's CLI tools for an app?
I wonder if Calibre's licence allow's developers to create apps that make use of calibre's CLI tools such as ebook-convert.
|
04-14-2012, 01:08 AM | #2 |
creator of calibre
Posts: 44,482
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes, you can, as long as you do not distribute calibre with your app. If you do that, you have to open source your app.
|
Advert | |
|
04-14-2012, 01:44 AM | #3 |
Junior Member
Posts: 3
Karma: 10
Join Date: Apr 2012
Device: none
|
So I can use Calibre's CLI tools, but if I include any part of calibre source code, I have to open source my app.
If I do not include any calibre source code, and I just ask my users to install Calibre before using my app, I do not have to open source it. Is that right? I plan to open source my app anyway, that's just to make sure I understood you. Thank you |
04-14-2012, 03:23 AM | #4 |
creator of calibre
Posts: 44,482
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It's a bit of a gray area. The GPL specifies that if an GPLed component is an "essential" part of your software then your software must be GPLed. Whether that applies to the case of asking your users to install calibre separately is not entirely clear.
|
04-15-2012, 09:13 PM | #5 |
Junior Member
Posts: 3
Karma: 10
Join Date: Apr 2012
Device: none
|
Nice, Im going to open source it no matter what it doesn't really matter.
Im not a Python nor Qt expert, and Im finding it difficult to extract the ebook-convert tool from Calibre's codebase and bundle it as a separate command line tool that can be used independently. Has this been done before? If not, could you give me any hint as from where to start? |
Advert | |
|
04-15-2012, 10:00 PM | #6 |
creator of calibre
Posts: 44,482
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You cant extract ebook-convert, you'll have to bundle all of calibre, for example ebook-convert uses Qt for SVG rasterization and rendering HTML covers in epub.
Last edited by kovidgoyal; 04-15-2012 at 10:14 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set the index of the file using calibre CLI | kindleren | Conversion | 3 | 02-21-2012 09:53 PM |
Is it possible to compile Calibre without QT, but still use it's command line tools? | rogerx | Calibre | 11 | 08-29-2011 02:41 AM |
Struggling with CLI | Paulinafrica | Calibre | 4 | 01-08-2011 02:04 PM |
Issue with german translation of CLI tools | Manichean | Calibre | 4 | 10-24-2010 11:52 AM |
prs505 cli | ees | Calibre | 3 | 01-10-2009 03:27 AM |